1.386 RHEL-09-653105

Information

RHEL 9 must write audit records to disk.

GROUP ID: V-258170
RULE ID: SV-258170r991589

Audit data should be synchronously written to disk to ensure log integrity. This setting assures that all audit event data is written disk.

Solution

Configure the audit system to write log files to the disk.

Edit the /etc/audit/auditd.conf file and add or update the "write_logs" option to "yes":

write_logs = yes

The audit daemon must be restarted for changes to take effect.

See Also

https://workbench.cisecurity.org/benchmarks/22008