Information
AlmaLinux OS 9 must have the USBGuard package enabled.
GROUP ID: V-269381
RULE ID: SV-269381r1050264
The USBGuard-daemon is the main component of the USBGuard software framework. It runs as a service in the background and enforces the USB device authorization policy for all USB devices. The policy is defined by a set of rules using a rule language described in the usbguard-rules.conf file. The policy and the authorization state of USB devices can be modified during runtime using the USBGuard tool.
The system administrator (SA) must work with the site information system security officer (ISSO) to determine a list of authorized peripherals and establish rules within the USBGuard software framework to allow only authorized devices.
Solution
To enable the USBGuard service run the following command:
$ systemctl enable --now usbguard