RHEL-10-500125 RHEL 10 must periodically flush audit records to disk to ensure that audit records are not lost.
All changes in this version
Maps to AU-6(4) via CCI-000154
Title
RHEL 10 must periodically flush audit records to disk to ensure that audit records are not lost.
Control
Verify RHEL 10 is configured to flush audit records to disk after every 100 records with the following command: $ sudo grep freq /etc/audit/auditd.conf freq = 100 If "freq" is not set to a value of "100" or greater, 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 to be written to disk after a threshold number is reached, audit records may be lost.
Related controls
CCI-000154
Fix
Configure RHEL 10 to flush audit records to disk by adding or updating the following rule in "/etc/audit/rules.d/audit.rules": freq = 100 Restart the audit daemon with the following command for changes to take effect: $ sudo service auditd restart