BaselineWatch
Desk

audit_files_group_configure Configure Audit Log Files Group to Wheel

NIST macOS Security Compliance Project Sequoia Guidance, Revision 4.0 (be5491f)
All changes in this version
first version loaded Auditing

Title

Configure Audit Log Files Group to Wheel

Control

/bin/ls -n $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}') | /usr/bin/awk '{s+=$4} END {print s}'

Discussion

Audit log files _MUST_ have the group set to wheel.

The audit service _MUST_ be configured to create log files with the correct group ownership to prevent normal users from reading audit logs.

Audit logs contain sensitive data about the system and users. If log files are set to be readable and writable only by system administrators, the risk is mitigated.

Related controls

au-9

Fix

[source,bash]
----
/usr/bin/chgrp -R wheel /var/audit/*
----