Rule ID
SV-269510r1050393_rule
Version
V1R6
CCIs
When audit logs are not labelled before they are sent to a central log server, the audit data will not be able to be analyzed and tied back to the correct system.
Verify that AlmaLinux OS 9 Audit Daemon is configured to label all offloaded audit logs, with the following command: $ grep name_format /etc/audit/auditd.conf name_format = HOSTNAME If the "name_format" option is not "HOSTNAME", "fqd", or "numeric", or the line is commented out, this is a finding.
Edit the /etc/audit/auditd.conf file and add or update the "name_format" option: name_format = HOSTNAME The audit daemon must be restarted for changes to take effect.