Information
AlmaLinux OS 9 audit log directory must have 0700 permissions to prevent unauthorized read access.
GROUP ID: V-269537
RULE ID: SV-269537r1050420
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 have 0700 permissions:
$ chmod 0700 /var/log/audit