PHTN-30-000055 - The Photon operating system must configure auditd to keep five rotated log files.

Information

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.

Solution

Navigate to and open:

/etc/audit/auditd.conf

Add or change the 'num_logs' line as follows:

num_logs = 5

At the command line, run the following commands:

# killproc auditd -TERM
# systemctl start auditd

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y24M01_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-4, CAT|II, CCI|CCI-001849, Rule-ID|SV-256527r887255_rule, STIG-ID|PHTN-30-000055, Vuln-ID|V-256527

Plugin: Unix

Control ID: a04cd070aa1e29887ed0c15daf77a72b8d8398f93e011ce16ffda174347a477c