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

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