SV-256528r958752_rule
V-256528
SRG-OS-000341-GPOS-00132
PHTN-30-000056
CAT II
10
Navigate to and open:
/etc/audit/auditd.conf
Add or change the "max_log_file_action" line as follows:
max_log_file_action = IGNORE
Note: This can also be set to "ROTATE" if another tool is not used to rotate auditd logs.
At the command line, run the following commands:
# killproc auditd -TERM
# systemctl start auditd
At the command line, run the following command:
# grep "^max_log_file_action" /etc/audit/auditd.conf
Example result:
max_log_file_action = IGNORE
If logs are rotated outside of auditd with a tool such as logrotated, and this setting is not set to "IGNORE", this is a finding.
If logs are NOT rotated outside of auditd, and this setting is not set to "ROTATE", this is a finding.
V-256528
False
PHTN-30-000056
At the command line, run the following command:
# grep "^max_log_file_action" /etc/audit/auditd.conf
Example result:
max_log_file_action = IGNORE
If logs are rotated outside of auditd with a tool such as logrotated, and this setting is not set to "IGNORE", this is a finding.
If logs are NOT rotated outside of auditd, and this setting is not set to "ROTATE", this is a finding.
M
5520