OL 9 must periodically flush audit records to disk to prevent the loss of audit records.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-271582 | OL09-00-000775 | SV-271582r1092574_rule | CCI-000154 | medium |
| Description | ||||
| 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. | ||||
| STIG | Date | |||
| Oracle Linux 9 Security Technical Implementation Guide | 2025-05-08 | |||
Details
Check Text (C-271582r1092574_chk)
Verify that OL 9 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" isn't set to a value of "100" or greater, the value is missing, or the line is commented out, this is a finding.
Fix Text (F-75539r1092573_fix)
Configure OL 9 to flush audit to disk by adding or updating the following configuration in "/etc/audit/auditd.conf":
freq = 100
The audit daemon must be restarted for the changes to take effect.
Restart auditd:
$ sudo service auditd restart