AlmaLinux OS 9 audit system must audit local events.

STIG ID: ALMA-09-045670  |  SRG: SRG-OS-000062-GPOS-00031 |  Severity: medium |  CCI: CCI-000169 |  Vulnerability Id: V-269458

Vulnerability Discussion

Without establishing what type of events occurred, the source of events, where events occurred, and the outcome of events, 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 network will be aggregated.

Check

Verify that the AlmaLinux OS 9 audit system is configured to audit local events with the following command:

$ grep local_events /etc/audit/auditd.conf

local_events = yes

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

Fix

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

local_events = yes

The audit daemon must be restarted for the changes to take effect.