Information
AlmaLinux OS 9 must allow only the information system security manager (ISSM) (or individuals or roles appointed by the ISSM) to select which auditable events are to be audited.
GROUP ID: V-269460
RULE ID: SV-269460r1050343
Without the capability to restrict which roles and individuals can select which events are audited, unauthorized personnel may be able to prevent the auditing of critical events. Misconfigured audits may degrade the system's performance by overwhelming the audit log. Misconfigured audits may also make it more difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one.
Solution
Configure the "/etc/audit/rules.d/*.rules", "/etc/audit/audit.rules" and "/etc/audit/auditd.conf" files to have a mode of "0640" with the following command:
$ chmod 0640 /etc/audit/rules.d/*.rules /etc/audit/auditd.conf /etc/audit/audit.rules