Blame SOURCES/scap-security-guide-0.1.58-RHEL_08_010630-PR_7250.patch

76240a
From 4ac2a6db67e03e616b26d39fb0620d4656bac65b Mon Sep 17 00:00:00 2001
76240a
From: Matthew Burket <mburket@redhat.com>
76240a
Date: Wed, 14 Jul 2021 13:19:42 -0500
76240a
Subject: [PATCH] Add RHEL-08-010590 STIG to existing rule
76240a
76240a
---
76240a
 products/rhel8/profiles/stig.profile                          | 1 +
76240a
 tests/data/profile_stability/rhel8/stig.profile               | 1 +
76240a
 tests/data/profile_stability/rhel8/stig_gui.profile           | 1 +
76240a
 3 files changed, 3 insertions(+)
76240a
76240a
diff --git a/products/rhel8/profiles/stig.profile b/products/rhel8/profiles/stig.profile
76240a
index 2508008d511..fef1965fb1d 100644
76240a
--- a/products/rhel8/profiles/stig.profile
76240a
+++ b/products/rhel8/profiles/stig.profile
76240a
@@ -341,6 +341,7 @@ selections:
76240a
     - mount_option_nodev_nonroot_local_partitions
76240a
 
76240a
     # RHEL-08-010590
76240a
+    - mount_option_home_noexec
76240a
 
76240a
     # RHEL-08-010600
76240a
     - mount_option_nodev_removable_partitions
76240a
diff --git a/tests/data/profile_stability/rhel8/stig.profile b/tests/data/profile_stability/rhel8/stig.profile
76240a
index 765487c6f16..843d8eb7d0a 100644
76240a
--- a/tests/data/profile_stability/rhel8/stig.profile
76240a
+++ b/tests/data/profile_stability/rhel8/stig.profile
76240a
@@ -156,6 +156,7 @@ selections:
76240a
 - mount_option_dev_shm_nodev
76240a
 - mount_option_dev_shm_noexec
76240a
 - mount_option_dev_shm_nosuid
76240a
+- mount_option_home_noexec
76240a
 - mount_option_home_nosuid
76240a
 - mount_option_nodev_nonroot_local_partitions
76240a
 - mount_option_nodev_remote_filesystems
76240a
diff --git a/tests/data/profile_stability/rhel8/stig_gui.profile b/tests/data/profile_stability/rhel8/stig_gui.profile
76240a
index 9fd80aac727..6dd0f08b142 100644
76240a
--- a/tests/data/profile_stability/rhel8/stig_gui.profile
76240a
+++ b/tests/data/profile_stability/rhel8/stig_gui.profile
76240a
@@ -167,6 +167,7 @@ selections:
76240a
 - mount_option_dev_shm_nodev
76240a
 - mount_option_dev_shm_noexec
76240a
 - mount_option_dev_shm_nosuid
76240a
+- mount_option_home_noexec
76240a
 - mount_option_home_nosuid
76240a
 - mount_option_nodev_nonroot_local_partitions
76240a
 - mount_option_nodev_remote_filesystems