Skip to content

Commit

Permalink
Trying to match tags with prescript signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-mog authored Aug 29, 2024
1 parent 730c40c commit 7141a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cape/cape_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def _general_flow(
for match in matches:
strings = match.strings
rule_name = match.rule
_ = add_tag(prescipt_detection_section, "rule.yara.prescript", rule_name)
_ = add_tag(prescipt_detection_section, "file.rule.prescript", f"prescript_cape.{rule_name}")
matched_strings = ""
for matched_string in strings:
for matched_instance in matched_string.instances:
Expand Down

0 comments on commit 7141a05

Please sign in to comment.