STIGUI
V-256527CAT II — Medium severitySV-256527r958752_rule

The Photon operating system must configure auditd to keep five rotated log files.

Rule version PHTN-30-000055 · STIG v1 · 2026-08-31

Discussion

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.

Check

At the command line, run the following command:

# grep "^num_logs" /etc/audit/auditd.conf

Expected result:

num_logs = 5

If the output of the command does not match the expected result, this is a finding.

Fix

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

Identifiers

Group ID
V-256527
Group title
SRG-OS-000341-GPOS-00132
Rule ID
SV-256527r958752_rule
Check ID
C-60202r887253_chk
Fix ID
F-60145r887254_fix