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

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