Skip to content

Commit

Permalink
Fix content_diff when a rule is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Apr 18, 2024
1 parent 44b81ca commit 663d5fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ssg/content_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ def compare_existing_rules(self, new_benchmark, old_benchmark,
try:
new_sv_rule_id = new_rule_mapping[old_sv_rule_id]
except KeyError:
missing_rules.append(old_sv_rule_id)
print("%s is missing in new data stream." % old_stig_id)
continue
if self.only_rules:
Expand Down

0 comments on commit 663d5fe

Please sign in to comment.