Skip to content

Commit

Permalink
Merge pull request #458 from CybercentreCanada/patch/updater
Browse files Browse the repository at this point in the history
Logging to fix the issue with importing rules[dev]
  • Loading branch information
cccs-mog authored Sep 11, 2024
2 parents 5e32e8a + 7ab16de commit 8b8405b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cape/cape_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ def _load_rules(self):
externals.update(YARA_EXTERNALS)

rules, indexed = {}, []
self.yara_loaded_signature_name.append(yara_root)
for yara_root, _, filenames in os.walk(yara_root, followlinks=True):
for filename in filenames:
self.yara_loaded_signature_name.append(filename)
Expand Down

0 comments on commit 8b8405b

Please sign in to comment.