Blame SOURCES/scap-security-guide-0.1.61-fix_bug_in_delta_tailering_script-PR_8245.patch

5fd106
From 50eb163d9e9751c2e8cf8129523a8cf7e07a5930 Mon Sep 17 00:00:00 2001
5fd106
From: Matthew Burket <mburket@redhat.com>
5fd106
Date: Thu, 17 Feb 2022 12:49:32 -0600
5fd106
Subject: [PATCH] get_implemented_stigs in utils/create_scap_delta_tailoring.py
5fd106
 should return the implemented stig items
5fd106
5fd106
---
5fd106
 utils/create_scap_delta_tailoring.py | 1 +
5fd106
 1 file changed, 1 insertion(+)
5fd106
5fd106
diff --git a/utils/create_scap_delta_tailoring.py b/utils/create_scap_delta_tailoring.py
5fd106
index 2c3c5d0df32..25ad1aef66e 100755
5fd106
--- a/utils/create_scap_delta_tailoring.py
5fd106
+++ b/utils/create_scap_delta_tailoring.py
5fd106
@@ -127,6 +127,7 @@ def get_implemented_stigs(product, root_path, build_config_yaml_path,
5fd106
                 known_rules[ref].append(rule['id'])
5fd106
             else:
5fd106
                 known_rules[ref] = [rule['id']]
5fd106
+    return known_rules
5fd106
 
5fd106
 
5fd106
 get_implemented_stigs.__annotations__ = {'product': str, 'root_path': str,