RHEL 10 must periodically flush audit records to disk to ensure that audit records are not lost.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-281111 | SRG-OS-000051-GPOS-00024 | RHEL-10-500125 | SV-281111r1166285_rule | 2026-03-11 | 1 |
Description
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.
ℹ️ Check
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.
✔️ 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