Big Sur - Configure Audit Log Folders Group to Wheel

Information

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.

Solution

[source,bash]
----
/usr/bin/chgrp wheel $(/usr/bin/awk -F : '/^dir/{print $2}' /etc/security/audit_control)
----

See Also

https://github.com/usnistgov/macos_security

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9, CCE|CCE-85268-1, CCI|CCI-000162, STIG-ID|APPL-11-001015

Plugin: Unix

Control ID: f7c458c8d4c50189dc07f319b4bb9c126de7f4fc7ec915a708b43522a276c906