|
|
362bfa |
From bd790153e02c1d1725f59f5d88c65c77eb1421e9 Mon Sep 17 00:00:00 2001
|
|
|
362bfa |
From: Gabriel Becker <ggasparb@redhat.com>
|
|
|
362bfa |
Date: Tue, 24 Aug 2021 12:48:46 +0200
|
|
|
362bfa |
Subject: [PATCH] Add a new selector for var_system_crypto_policy and use it
|
|
|
362bfa |
RHEL8 CIS.
|
|
|
362bfa |
|
|
|
362bfa |
This new selector is used to select explicit DEFAULT value in RHEL8 CIS
|
|
|
362bfa |
L1 profiles. The "default" selector cannot be selected and it causes
|
|
|
362bfa |
errors if used.
|
|
|
362bfa |
---
|
|
|
362bfa |
controls/cis_rhel8.yml | 2 +-
|
|
|
362bfa |
.../software/integrity/crypto/var_system_crypto_policy.var | 1 +
|
|
|
362bfa |
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
362bfa |
|
|
|
362bfa |
diff --git a/controls/cis_rhel8.yml b/controls/cis_rhel8.yml
|
|
|
362bfa |
index 29d972427cf..c0d3f5f40de 100644
|
|
|
362bfa |
--- a/controls/cis_rhel8.yml
|
|
|
362bfa |
+++ b/controls/cis_rhel8.yml
|
|
|
362bfa |
@@ -553,7 +553,7 @@ controls:
|
|
|
362bfa |
automated: yes
|
|
|
362bfa |
rules:
|
|
|
362bfa |
- configure_crypto_policy
|
|
|
362bfa |
- - var_system_crypto_policy=default
|
|
|
362bfa |
+ - var_system_crypto_policy=default_policy
|
|
|
362bfa |
|
|
|
362bfa |
# This rule works in conjunction with the configure_crypto_policy above.
|
|
|
362bfa |
# If a system is remediated to CIS Level 1, just the rule above will apply
|
|
|
362bfa |
diff --git a/linux_os/guide/system/software/integrity/crypto/var_system_crypto_policy.var b/linux_os/guide/system/software/integrity/crypto/var_system_crypto_policy.var
|
|
|
362bfa |
index ce301154a39..8b89848d122 100644
|
|
|
362bfa |
--- a/linux_os/guide/system/software/integrity/crypto/var_system_crypto_policy.var
|
|
|
362bfa |
+++ b/linux_os/guide/system/software/integrity/crypto/var_system_crypto_policy.var
|
|
|
362bfa |
@@ -13,6 +13,7 @@ interactive: false
|
|
|
362bfa |
|
|
|
362bfa |
options:
|
|
|
362bfa |
default: DEFAULT
|
|
|
362bfa |
+ default_policy: DEFAULT
|
|
|
362bfa |
default_nosha1: "DEFAULT:NO-SHA1"
|
|
|
362bfa |
fips: FIPS
|
|
|
362bfa |
fips_ospp: "FIPS:OSPP"
|