Merge branch 'dev_ventura_issue167' into dev_ventura

This commit is contained in:
Allen Golbig
2022-09-29 09:15:11 -04:00
9 changed files with 9 additions and 9 deletions

View File

@@ -2750,7 +2750,7 @@ def generate_scap(all_rules, all_baselines, args):
continue
if "launchctl" in command[2] or "launchctl" in rule_yaml['fix']:
if "disable" in command[2] and "=> true" in rule_yaml['check'] or "unload -w" in rule_yaml['fix']:
if "disable" in command[2] and "=> true" in rule_yaml['check'] or "unload -w" in rule_yaml['fix'] or "disable" in command[2] and "=> disabled" in rule_yaml['check']:
oval_definition = oval_definition + '''
<definition id="oval:mscp:def:{}" version="1" class="compliance">
<metadata>