The Photon operating system must configure auditd to log to disk.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256487 | SRG-OS-000037-GPOS-00015 | PHTN-30-000010 | SV-256487r958412_rule | 2024-12-16 | 1 |
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.
Satisfies: SRG-OS-000037-GPOS-00015, SRG-OS-000039-GPOS-00017, SRG-OS-000040-GPOS-00018, SRG-OS-000041-GPOS-00019
ℹ️ Check
At the command line, run the following command:
# grep "^write_logs" /etc/audit/auditd.conf
Expected result:
write_logs = yes
If there is no output, this is not a finding.
If the output does not match the expected result, 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:
# killproc auditd -TERM
# systemctl start auditd