Blame SOURCES/scap-security-guide-0.1.61-add_RHEL_08_040321-PR_8169.patch

07cb6b
diff --git a/linux_os/guide/services/xwindows/disabling_xwindows/xwindows_runlevel_target/rule.yml b/linux_os/guide/services/xwindows/disabling_xwindows/xwindows_runlevel_target/rule.yml
07cb6b
index de0e359a44e..df56a30be80 100644
07cb6b
--- a/linux_os/guide/services/xwindows/disabling_xwindows/xwindows_runlevel_target/rule.yml
07cb6b
+++ b/linux_os/guide/services/xwindows/disabling_xwindows/xwindows_runlevel_target/rule.yml
07cb6b
@@ -39,6 +39,7 @@ references:
07cb6b
     nist: CM-7(a),CM-7(b),CM-6(a)
07cb6b
     nist-csf: PR.AC-3,PR.PT-4
07cb6b
     srg: SRG-OS-000480-GPOS-00227
07cb6b
+    stigid@rhel8: RHEL-08-040321
07cb6b
 
07cb6b
 ocil_clause: 'the X windows display server is running and/or has not been disabled'
07cb6b
 
07cb6b
diff --git a/products/rhel8/profiles/stig.profile b/products/rhel8/profiles/stig.profile
07cb6b
index 09fa85df181..ffca983d0bd 100644
07cb6b
--- a/products/rhel8/profiles/stig.profile
07cb6b
+++ b/products/rhel8/profiles/stig.profile
07cb6b
@@ -1169,6 +1169,9 @@ selections:
07cb6b
     # RHEL-08-040320
07cb6b
     - xwindows_remove_packages
07cb6b
 
07cb6b
+    # RHEL-08-040321
07cb6b
+    - xwindows_runlevel_target
07cb6b
+
07cb6b
     # RHEL-08-040330
07cb6b
     - network_sniffer_disabled
07cb6b
 
07cb6b
diff --git a/products/rhel8/profiles/stig_gui.profile b/products/rhel8/profiles/stig_gui.profile
07cb6b
index d1577215b07..d29ceb9c54e 100644
07cb6b
--- a/products/rhel8/profiles/stig_gui.profile
07cb6b
+++ b/products/rhel8/profiles/stig_gui.profile
07cb6b
@@ -35,3 +35,6 @@ extends: stig
07cb6b
 selections:
07cb6b
     # RHEL-08-040320
07cb6b
     - '!xwindows_remove_packages'
07cb6b
+
07cb6b
+    # RHEL-08-040321
07cb6b
+    - '!xwindows_runlevel_target'
07cb6b
diff --git a/tests/data/profile_stability/rhel8/stig.profile b/tests/data/profile_stability/rhel8/stig.profile
07cb6b
index 9c05c27117c..e4fee44f9f9 100644
07cb6b
--- a/tests/data/profile_stability/rhel8/stig.profile
07cb6b
+++ b/tests/data/profile_stability/rhel8/stig.profile
07cb6b
@@ -398,6 +398,7 @@ selections:
07cb6b
 - usbguard_generate_policy
07cb6b
 - wireless_disable_interfaces
07cb6b
 - xwindows_remove_packages
07cb6b
+- xwindows_runlevel_target
07cb6b
 - var_rekey_limit_size=1G
07cb6b
 - var_rekey_limit_time=1hour
07cb6b
 - var_accounts_user_umask=077