The Photon operating system must configure auditd to log to disk.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-258807 | SRG-OS-000037-GPOS-00015 | PHTN-40-000014 | SV-258807r958412_rule | 2024-07-11 | 2 |
Description
Without establishing what type of events occurred, it would be difficult to establish, correlate, and investigate the events leading up to an outage or attack.
Audit record content must be shipped to a central location, but it must also be logged locally.
ℹ️ Check
At the command line, run the following command to verify auditd is configured to write logs to disk:
# grep '^write_logs' /etc/audit/auditd.conf
Example result:
write_logs = yes
If there is no output, this is not a finding.
If "write_logs" exists and is not configured to "yes", this is a finding.
✔️ Fix
Navigate to and open:
/etc/audit/auditd.conf
Ensure the "write_logs" line is uncommented and set to the following:
write_logs = yes
At the command line, run the following command:
# pkill -SIGHUP auditd