Information
RHEL 10 must label all off-loaded audit logs before sending them to the central log server.
GROUP ID: V-281105
RULE ID: SV-281105r1166267
Enriched logging is needed to determine who, what, and when events occur on a system. Without this, determining root cause of an event will be much more difficult.
When audit logs are not labeled 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.
Satisfies: SRG-OS-000039-GPOS-00017, SRG-OS-000342-GPOS-00133, SRG-OS-000479-GPOS-00224
Solution
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