SV-274069r1120195_rule
V-274069
SRG-OS-000342-GPOS-00133
AZLX-23-002025
CAT II
10
Configure Amazon Linux 2023 to be configured so that the Audit Daemon labels all off-loaded audit logs.
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 Amazon Linux 2023 is configured so that the Audit Daemon labels all off-loaded audit logs with the following command:
$ sudo 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.
V-274069
False
AZLX-23-002025
Verify Amazon Linux 2023 is configured so that the Audit Daemon labels all off-loaded audit logs with the following command:
$ sudo 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.
M
5700