Blame SOURCES/scap-security-guide-0.1.64-ospp_grub_disable_recovery-PR_9321.patch

792d3d
From b36ecf8942ce8dea0c4a2b06b4607259deaf3613 Mon Sep 17 00:00:00 2001
792d3d
From: Vojtech Polasek <vpolasek@redhat.com>
792d3d
Date: Wed, 10 Aug 2022 09:59:57 +0200
792d3d
Subject: [PATCH] switch rule grub2_disable_interactive_boot for
792d3d
 grub2_disable_recovery in rhel8 ospp
792d3d
792d3d
---
792d3d
 .../system/bootloader-grub2/grub2_disable_recovery/rule.yml     | 1 +
792d3d
 products/rhel8/profiles/ospp.profile                            | 2 +-
792d3d
 tests/data/profile_stability/rhel8/ospp.profile                 | 2 +-
792d3d
 4 files changed, 3 insertions(+), 3 deletions(-)
792d3d
792d3d
diff --git a/linux_os/guide/system/bootloader-grub2/grub2_disable_recovery/rule.yml b/linux_os/guide/system/bootloader-grub2/grub2_disable_recovery/rule.yml
792d3d
index 4f8d4ddcfde..fb126cbe7d8 100644
792d3d
--- a/linux_os/guide/system/bootloader-grub2/grub2_disable_recovery/rule.yml
792d3d
+++ b/linux_os/guide/system/bootloader-grub2/grub2_disable_recovery/rule.yml
792d3d
@@ -17,6 +17,7 @@ rationale: |-
792d3d
 severity: medium
792d3d
 
792d3d
 identifiers:
792d3d
+    cce@rhel8: CCE-86006-4
792d3d
     cce@rhel9: CCE-85986-8
792d3d
 
792d3d
 references:
792d3d
diff --git a/products/rhel8/profiles/ospp.profile b/products/rhel8/profiles/ospp.profile
792d3d
index ebec8a3a6f9..6e3b30f64bb 100644
792d3d
--- a/products/rhel8/profiles/ospp.profile
792d3d
+++ b/products/rhel8/profiles/ospp.profile
792d3d
@@ -304,7 +304,7 @@ selections:
792d3d
     ## Disable Unauthenticated Login (such as Guest Accounts)
792d3d
     ## FIA_UAU.1
792d3d
     - require_singleuser_auth
792d3d
-    - grub2_disable_interactive_boot
792d3d
+    - grub2_disable_recovery
792d3d
     - grub2_uefi_password
792d3d
     - no_empty_passwords
792d3d
 
792d3d
diff --git a/tests/data/profile_stability/rhel8/ospp.profile b/tests/data/profile_stability/rhel8/ospp.profile
792d3d
index 21e93e310d5..267b66a4f89 100644
792d3d
--- a/tests/data/profile_stability/rhel8/ospp.profile
792d3d
+++ b/tests/data/profile_stability/rhel8/ospp.profile
792d3d
@@ -89,7 +89,7 @@ selections:
792d3d
 - ensure_redhat_gpgkey_installed
792d3d
 - grub2_audit_argument
792d3d
 - grub2_audit_backlog_limit_argument
792d3d
-- grub2_disable_interactive_boot
792d3d
+- grub2_disable_recovery
792d3d
 - grub2_kernel_trust_cpu_rng
792d3d
 - grub2_page_poison_argument
792d3d
 - grub2_pti_argument