Skip to content

Commit

Permalink
Resolve actor tag lookup failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Jan 23, 2024
1 parent f1bd1a1 commit 9944bfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions misp_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,9 @@ def retrieve_tags(tag_type: str, settings):
# if args.indicators:
# tags.append(settings["CrowdStrike"]["indicators_unique_tag"])
if tag_type == "actors":
for adv_type in [a.value for a in Adversary]:
tags.append(f"crowdstrike:report-type=\"Adversary Detail Report\"")
#tags.append(f"crowdstrike:report-type=\"Adversary Detail Report\"")
for adv_type in [a.name for a in Adversary]:
tags.append(f"crowdstrike:branch=\"{adv_type}\"")

return tags

Expand Down

0 comments on commit 9944bfd

Please sign in to comment.