Skip to content

Commit

Permalink
refactor[scripts] Fixed for xprotect
Browse files Browse the repository at this point in the history
No relevant oval test for os_anti_virus_installed
  • Loading branch information
robertgendler committed Sep 10, 2024
1 parent bdd06fd commit 3292df6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/generate_scap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,11 @@ def generate_scap(all_rules, all_baselines, args):
xccdf_rules = replace_ocil(xccdf_rules,x)
x += 1
continue

if "xprotect status" in rule_yaml['check']:
print(rule_yaml['id'] + " - No relevant oval test")
xccdf_rules = replace_ocil(xccdf_rules,x)
x += 1
continue
if "SPStorageDataType" in rule_yaml['check']:

print(rule_yaml['id'] + " - No relevant oval test")
Expand Down

0 comments on commit 3292df6

Please sign in to comment.