Skip to content

TypeError: 'NoneType' object is not iterable #186

@Tyrell20

Description

@Tyrell20

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions