Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm
Browse files Browse the repository at this point in the history
…into v24.03.0_merge_cisagov
  • Loading branch information
mmguero committed Mar 5, 2024
2 parents d10694e + b0356c8 commit 411afbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared/bin/zeek_threat_feed_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,9 @@ def ProcessMISP(
certainty = None

# determine if we're processing an event or an attribute
if 'info' in toParse:
if (('Event' in toParse) and isinstance(toParse['Event'], dict) and ('info' in toParse['Event'])) or (
'info' in toParse
):
# this is an event, which may contain an array of attributes
event = MISPEvent()
event.from_dict(**toParse)
Expand Down

0 comments on commit 411afbb

Please sign in to comment.