certtools / intelmq

IntelMQ is a solution for IT security teams for collecting and processing security feeds using a message queuing protocol.
https://docs.intelmq.org/latest/
GNU Affero General Public License v3.0
948 stars 296 forks source link

Fix Shadowserver parser fixed report type. #2459

Closed gethvi closed 5 months ago

gethvi commented 5 months ago

Fixes following error when using Fixed Report Type:

File "/opt/venv/lib/python3.9/site-packages/intelmq/bots/parsers/shadowserver/parser.py", line 129, in parse_line
    for item in conf.get('required_fields'):
AttributeError: 'tuple' object has no attribute 'get'
kamil-certat commented 5 months ago

@sebix Could you merge please?