Closed ana-clara-candida closed 1 year ago
Hi @ana-clara-candida -
Can you confirm your API key has access to the Actors, Reports and Indicators (Falcon Intelligence) scopes?
Close due to lack of response. Please reopen if you are still encountering this issue.
I'm getting this error when running
python3 misp-import.py --reports
Console output:cs-misp-importer.py:31: DeprecationWarning: As our baseline system is the latest Ubuntu LTS, and Ubuntu LTS 22.04 has Python 3.10 available, we will officially deprecate python versions below 3.10 on January 1st 2024. **Please update your codebase.** from pymisp import ExpandedPyMISP, MISPObject, MISPEvent, MISPAttribute, MISPOrganisation INFO:root:Started getting reports from Crowdstrike Intel API and pushing them as events in MISP. ERROR:root:'NoneType' object is not iterable Traceback (most recent call last): File "cs-misp-importer.py", line 871, in main importer.import_from_crowdstrike(settings.init_reports_days_before, settings.init_indicators_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