CrowdStrike / MISP-tools

Import CrowdStrike Threat Intelligence into your instance of MISP
MIT License
40 stars 10 forks source link

Fixes error when there are no reports returned #69

Closed cudeso closed 1 year ago

cudeso commented 1 year ago

Fixes

intel_client.py", line 62, in get_reports
    reports.extend(resp_json.get('resources', []))
TypeError: 'NoneType' object is not iterable