Blame SOURCES/scap-security-guide-0.1.58-ism_usb_hid-PR_7493.patch

362bfa
From 7189a9f4aa319b823e241ca11a798762bd62515f Mon Sep 17 00:00:00 2001
362bfa
From: Matej Tyc <matyc@redhat.com>
362bfa
Date: Tue, 31 Aug 2021 13:58:00 +0200
362bfa
Subject: [PATCH] Allow HID USB in the ISM profile
362bfa
362bfa
The usbguard is too strict without this rule,
362bfa
and its default setting blocks keyboard and mouse.
362bfa
---
362bfa
 products/rhel8/profiles/ism_o.profile | 1 +
362bfa
 products/rhel9/profiles/ism_o.profile | 1 +
362bfa
 2 files changed, 2 insertions(+)
362bfa
362bfa
diff --git a/products/rhel8/profiles/ism_o.profile b/products/rhel8/profiles/ism_o.profile
362bfa
index 95cdfc4ede..2e78dc8776 100644
362bfa
--- a/products/rhel8/profiles/ism_o.profile
362bfa
+++ b/products/rhel8/profiles/ism_o.profile
362bfa
@@ -52,6 +52,7 @@ selections:
362bfa
   ## Identifiers 1418
362bfa
   - package_usbguard_installed
362bfa
   - service_usbguard_enabled
362bfa
+  - usbguard_allow_hid_and_hub
362bfa
 
362bfa
   ## Authentication hardening
362bfa
   ## Identifiers 1546 / 0974 / 1173 / 1504 / 1505 / 1401 / 1559 / 1560
362bfa
diff --git a/products/rhel9/profiles/ism_o.profile b/products/rhel9/profiles/ism_o.profile
362bfa
index 6fc919da12..b395b0e9cb 100644
362bfa
--- a/products/rhel9/profiles/ism_o.profile
362bfa
+++ b/products/rhel9/profiles/ism_o.profile
362bfa
@@ -52,6 +52,7 @@ selections:
362bfa
   ## Identifiers 1418
362bfa
   - package_usbguard_installed
362bfa
   - service_usbguard_enabled
362bfa
+  - usbguard_allow_hid_and_hub
362bfa
 
362bfa
   ## Authentication hardening
362bfa
   ## Identifiers 1546 / 0974 / 1173 / 1504 / 1505 / 1401 / 1559 / 1560