Skip to content

Commit

Permalink
Fix findings reset, if inScope is False
Browse files Browse the repository at this point in the history
  • Loading branch information
Dakes committed Jun 21, 2024
1 parent 4feea39 commit e12dc89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytm/pytm.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ def resolve(self):
elements = defaultdict(list)
for e in TM._elements:
if not e.inScope:
e.findings = findings
continue

override_ids = set(f.threat_id for f in e.overrides)
Expand Down

0 comments on commit e12dc89

Please sign in to comment.