Configure auditd Max Log File Size
An XCCDF Rule
Description
Determine the amount of audit data (in megabytes)
which should be retained in each log file. Edit the file
/etc/audit/auditd.conf
. Add or modify the following line, substituting
the correct value of
max_log_file = STOREMBSet the value to
6
(MB) or higher for general-purpose systems.
Larger values, of course,
support retention of even more audit data.
Rationale
The total storage for audit log files must be large enough to retain log information over the period required. This is a function of the maximum log file size and the number of logs retained.
- ID
- xccdf_org.ssgproject.content_rule_auditd_data_retention_max_log_file
- Severity
- Medium
- References
- Updated