NixOS audit log directory must have a mode of 0700 or less permissive.
An XCCDF Rule
Description
Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality. Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit NixOS system activity.
- ID
- SV-268113r1039227_rule
- Version
- ANIX-00-000550
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure the audit log directory to have a mode of "0700" or less permissive.
Using the path of the directory containing the audit logs, configure the audit log directory to have a mode of "0700" or less permissive by using the following command:
$ sudo chmod 0700 /var/log/audit