Skip to content

The Photon operating system must configure auditd to keep logging in the event max log file size is reached.

An XCCDF Rule

Description

Audit logs are most useful when accessible by date, rather than size. This can be accomplished through a combination of an audit log rotation cron job, setting a reasonable number of logs to keep, and configuring auditd to not rotate the logs on its own. This ensures audit logs are accessible to the information system security officer (ISSO) in the event of a central log processing failure. If another solution is not used to rotate auditd logs, auditd can be configured to rotate logs.

ID
SV-256528r958752_rule
Version
PHTN-30-000056
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Navigate to and open:

/etc/audit/auditd.conf

Add or change the "max_log_file_action" line as follows: