SV-281365r1167245_rule
V-281365
SRG-OS-000057-GPOS-00027
RHEL-10-900100
CAT II
10
Configure RHEL 10 to protect the audit system from unauthorized changes.
Set the audit rules to be immutable by adding the following line to end of "/etc/audit/rules.d/audit.rules":
-e 2
Restart the audit daemon with the following command for the changes to take effect:
$ sudo service auditd restart
Verify the RHEL 10 audit system prevents unauthorized changes with the following command:
$ sudo grep "^\s*[^#]" /etc/audit/audit.rules | tail -1
-e 2
If the audit system is not set to be immutable by adding the "-e 2" option to the end of "/etc/audit/audit.rules", this is a finding.
V-281365
False
RHEL-10-900100
Verify the RHEL 10 audit system prevents unauthorized changes with the following command:
$ sudo grep "^\s*[^#]" /etc/audit/audit.rules | tail -1
-e 2
If the audit system is not set to be immutable by adding the "-e 2" option to the end of "/etc/audit/audit.rules", this is a finding.
M
5733