SV-281105r1166267_rule
V-281105
SRG-OS-000039-GPOS-00017
RHEL-10-500045
CAT II
10
Configure RHEL 10 so that all off-loaded audit logs are labeled before sending them to the central log server.
Edit the "/etc/audit/auditd.conf" file and add or update the "name_format" option:
name_format = hostname
Restart the audit daemon with the following command for the changes to take effect:
$ sudo service auditd restart
Verify the RHEL 10 audit daemon is configured to label 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-281105
False
RHEL-10-500045
Verify the RHEL 10 audit daemon is configured to label 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
5733