id: audit_folder_group_configure title: "Configure Audit Log Folders Group to Wheel" discussion: | 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 about users. If log files are set to be readable and writable only by root or administrative users with sudo, the risk is mitigated. The audit log folder must have the group set to Wheel. check: | /bin/ls -dn $(/usr/bin/grep '^dir' /etc/security/audit_control | awk -F: '{print $2}') | awk '{print $4}' result: integer: 0 fix: | ---- /usr/sbin/chgrp wheel $(/usr/bin/awk -F : '/^dir/{print $2}' /etc/security/audit_control) ---- references: cce: - CCE-84717-8 cci: - CCI-000162 800-53r4: - AU-9 srg: - SRG-OS-000057-GPOS-00027 disa_stig: - AOSX-14-001015 macOS: - "10.15" tags: - cnssi-1253 - fisma-low - fisma-moderate - fisma-high - STIG mobileconfig: mobileconfig_info: