Blame SOURCES/scap-security-guide-0.1.58-remove_RHEL_08_040162-PR_7369.patch

362bfa
From 8fa9ca61649a36dd1f3d5e5c72c0162a4dbfe694 Mon Sep 17 00:00:00 2001
362bfa
From: Gabriel Becker <ggasparb@redhat.com>
362bfa
Date: Tue, 10 Aug 2021 09:45:56 +0200
362bfa
Subject: [PATCH] Remove RHEL-08-040162 from STIG profile.
362bfa
362bfa
This item has been removed in version RHEL8 DISA STIG V1R3.
362bfa
---
362bfa
 .../services/ssh/ssh_client/ssh_client_rekey_limit/rule.yml    | 1 -
362bfa
 products/rhel8/profiles/stig.profile                           | 3 ---
362bfa
 tests/data/profile_stability/rhel8/stig.profile                | 1 -
362bfa
 tests/data/profile_stability/rhel8/stig_gui.profile            | 1 -
362bfa
 4 files changed, 6 deletions(-)
362bfa
362bfa
diff --git a/linux_os/guide/services/ssh/ssh_client/ssh_client_rekey_limit/rule.yml b/linux_os/guide/services/ssh/ssh_client/ssh_client_rekey_limit/rule.yml
362bfa
index 1852313216a..f43f92c2f15 100644
362bfa
--- a/linux_os/guide/services/ssh/ssh_client/ssh_client_rekey_limit/rule.yml
362bfa
+++ b/linux_os/guide/services/ssh/ssh_client/ssh_client_rekey_limit/rule.yml
362bfa
@@ -32,7 +32,6 @@ references:
362bfa
     disa: CCI-000068
362bfa
     ospp: FCS_SSHS_EXT.1
362bfa
     srg: SRG-OS-000423-GPOS-00187,SRG-OS-000033-GPOS-00014
362bfa
-    stigid@rhel8: RHEL-08-040162
362bfa
 
362bfa
 ocil_clause: 'it is commented out or is not set'
362bfa
 
362bfa
diff --git a/products/rhel8/profiles/stig.profile b/products/rhel8/profiles/stig.profile
362bfa
index a358f61dba5..9d4d1965141 100644
362bfa
--- a/products/rhel8/profiles/stig.profile
362bfa
+++ b/products/rhel8/profiles/stig.profile
362bfa
@@ -1071,9 +1071,6 @@ selections:
362bfa
     # RHEL-08-040161
362bfa
     - sshd_rekey_limit
362bfa
 
362bfa
-    # RHEL-08-040162
362bfa
-    - ssh_client_rekey_limit
362bfa
-
362bfa
     # RHEL-08-040170
362bfa
     - disable_ctrlaltdel_reboot
362bfa
 
362bfa
diff --git a/tests/data/profile_stability/rhel8/stig.profile b/tests/data/profile_stability/rhel8/stig.profile
362bfa
index 7d54a7505fb..fca5842cf22 100644
362bfa
--- a/tests/data/profile_stability/rhel8/stig.profile
362bfa
+++ b/tests/data/profile_stability/rhel8/stig.profile
362bfa
@@ -323,7 +323,6 @@ selections:
362bfa
 - service_usbguard_enabled
362bfa
 - set_password_hashing_algorithm_logindefs
362bfa
 - set_password_hashing_algorithm_systemauth
362bfa
-- ssh_client_rekey_limit
362bfa
 - sshd_disable_compression
362bfa
 - sshd_disable_empty_passwords
362bfa
 - sshd_disable_gssapi_auth
362bfa
diff --git a/tests/data/profile_stability/rhel8/stig_gui.profile b/tests/data/profile_stability/rhel8/stig_gui.profile
362bfa
index 97291230e7c..35fa9ddea2b 100644
362bfa
--- a/tests/data/profile_stability/rhel8/stig_gui.profile
362bfa
+++ b/tests/data/profile_stability/rhel8/stig_gui.profile
362bfa
@@ -334,7 +334,6 @@ selections:
362bfa
 - service_usbguard_enabled
362bfa
 - set_password_hashing_algorithm_logindefs
362bfa
 - set_password_hashing_algorithm_systemauth
362bfa
-- ssh_client_rekey_limit
362bfa
 - sshd_disable_compression
362bfa
 - sshd_disable_empty_passwords
362bfa
 - sshd_disable_gssapi_auth