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

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