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