This is not the latest version of the STIG. This is provided for archival purposes. See the latest STIG.

RHEL 10 must periodically flush audit records to disk to ensure that audit records are not lost.

STIG ID: RHEL-10-500125  |  SRG: SRG-OS-000051-GPOS-00024 |  Severity: medium (CAT II)  |  CCI: CCI-000154 |  Vulnerability Id: V-281111

Vulnerability 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.

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