Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object is not iterable #186

Open
Tyrell20 opened this issue Oct 18, 2024 · 0 comments
Open

TypeError: 'NoneType' object is not iterable #186

Tyrell20 opened this issue Oct 18, 2024 · 0 comments

Comments

@Tyrell20
Copy link

Tyrell20 commented Oct 18, 2024

Hi All,
same issue encountered on #107.

INFO:root:Started getting reports from Crowdstrike Intel API and pushing them as events in MISP. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.eu-1.crowdstrike.com:443 DEBUG:urllib3.connectionpool:https://api.eu-1.crowdstrike.com:443 "GET /intel/combined/reports/v1/?sort=last_modified_date.asc&filter=last_modified_date%3A%3E1727733600&limit=1000&offset=0 HTTP/1.1" 200 197 ERROR:root:'NoneType' object is not iterable Traceback (most recent call last): File "cs-misp-importer.py", line 872, in main settings.init_actors_days_before) File "cs-misp-importer.py", line 796, in import_from_crowdstrike self.reportsImporter.process_reports(reports_days_before, self.eventIDS) File "cs-misp-importer.py", line 234, in process_reports reports = self.intel_api_client.get_reports(start_get_events) File "cs-misp-importer.py", line 104, in get_reports reports.extend(resp_json.get('resources', [])) TypeError: 'NoneType' object is not iterable

Permissions are set correctly. Thanks for your help.

Originally posted by @Tyrell20 in #107 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant