You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the line above should be 'type': ip-dst|port instead of comment.
The code requires a 'type' attribute to be existing to parse the MISP json format.
But with this line, there will be a missing 'type' attribute when this format is found.
A KeyError will be raised.
Edit:
This is about the openioc.py in pymisp/tools
The text was updated successfully, but these errors were encountered:
kahliya
changed the title
Comment/Type attribute error?
Comment/Type attribute error in openioc.py
Jun 12, 2018
'PortItem/remoteIP|PortItem/remotePort': {'comment': 'ip-dst|port'}
I believe the line above should be 'type': ip-dst|port instead of comment.
The code requires a 'type' attribute to be existing to parse the MISP json format.
But with this line, there will be a missing 'type' attribute when this format is found.
A KeyError will be raised.
Edit:
This is about the openioc.py in pymisp/tools
The text was updated successfully, but these errors were encountered: