CrowdStrike / MISP-tools

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

Fixes error when there are no reports returned #69

Closed cudeso closed 1 year ago

cudeso commented 2 years ago

Fixes

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