RHEL-09-653095 RHEL 9 must periodically flush audit records to disk to prevent the loss of audit records.
All changes in this version
Maps to AU-6(4) via CCI-000154
Title
RHEL 9 must periodically flush audit records to disk to prevent the loss of audit records.
Control
Verify that audit system is configured to flush to disk after every 100 records with the following command: $ sudo grep freq /etc/audit/auditd.conf freq = 100 If "freq" isn't set to a value between "1" and "100", the value is missing, or the line is commented out, this is a finding.
Discussion
If option "freq" is not set to a value that requires audit records being written to disk after a threshold number is reached, then audit records may be lost.
Related controls
CCI-000154
Fix
Configure RHEL 9 to flush audit to disk by adding or updating the following rule in "/etc/audit/auditd.conf": freq = 100 The audit daemon must be restarted for the changes to take effect.