STIG ID: ALMA-09-052270 | SRG: SRG-OS-000479-GPOS-00224 | Severity: medium | CCI: | Vulnerability Id: V-269510
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.
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.
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.