From 62a5b5839d7b3cf3f56a12cb2aca88a4fb4ac006 Mon Sep 17 00:00:00 2001 From: Bob Gendler Date: Thu, 12 Sep 2024 12:10:10 -0400 Subject: [PATCH] sync branches --- scripts/generate_scap.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/generate_scap.py b/scripts/generate_scap.py index 9baa0cde9..2124e8f5e 100755 --- a/scripts/generate_scap.py +++ b/scripts/generate_scap.py @@ -487,6 +487,11 @@ def generate_scap(all_rules, all_baselines, args): xccdf_rules = replace_ocil(xccdf_rules,x) x += 1 continue + if "objectIsForcedForKey" in rule_yaml['check']: + print(rule_yaml['id'] + " - Manual Check") + xccdf_rules = replace_ocil(xccdf_rules,x) + x += 1 + continue if "bluetooth" in rule_yaml['id'] and "unpaired" in rule_yaml['id']: print(rule_yaml['id'] + " - Manual Check Required") xccdf_rules = replace_ocil(xccdf_rules,x)