Skip to content

Commit bcdf2e2

Browse files
committed
fix error that was accidentially
introduced in previous commit. forgot to actually assign mitre_attack_enrichments to self after resolving them
1 parent 4216c45 commit bcdf2e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contentctl/objects/detection_tags.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ def addAttackEnrichment(self, info: ValidationInfo):
147147
if len(missing_tactics) > 0:
148148
raise ValueError(f"Missing Mitre Attack IDs. {missing_tactics} not found.")
149149

150+
self.mitre_attack_enrichments = mitre_enrichments
151+
150152
return self
151153

152154
"""

0 commit comments

Comments
 (0)