Information
AlmaLinux OS 9 audit log directory must be owned by root to prevent unauthorized read access.
GROUP ID: V-269536
RULE ID: SV-269536r1050419
Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality.
Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit operating system activity.
Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000059-GPOS-00029
Solution
Change the audit directory to be owned by the root user and group:
$ chown root:root /var/log/audit