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

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