RHEL 10 must audit local events.

STIG ID: RHEL-10-500010  |  SRG: SRG-OS-000062-GPOS-00031 |  Severity: medium (CAT II)  |  CCI: CCI-000169 |  Vulnerability Id: V-281098

Vulnerability Discussion

Without establishing what type of events occurred, along with the source, location, and outcome, it would be difficult to establish, correlate, and investigate the events leading up to an outage or attack.

If option "local_events" is not set to "yes", only events from the network will be aggregated.

Check

Verify that RHEL 10 generates audit records for local events with the following command:

$ sudo grep local_events /etc/audit/auditd.conf
local_events = yes

If "local_events" is not set to "yes", the command does not return a line, or the line is commented out, this is a finding.

Fix

Configure RHEL 10 to generate audit records for local events by adding or updating the following line in "/etc/audit/auditd.conf":

local_events = yes

Restart the audit daemon with the following command for the changes to take effect:

$ sudo service auditd restart