Skip to main content
The Audit policy control turns on security auditing on your devices and chooses which events they record, such as sign-ins, administrative actions and failed file accesses. It also decides what a device does when it can no longer record the audit.

Platform compatibility

Requires macOS 15 or later. On Windows, Audit the use of the backup and restore privileges, Subcategories override category settings and Shut down when the audit cannot be recorded need Windows 11 22H2 with KB5053657, 23H2 with KB5053657, or 24H2 and later.

Set up the control

1

Add a configuration

Go to MDM > Controls and open Audit policy. Select the platform tab, then click Add configuration.
2

Configure the settings

Set each setting you want to enforce. See the settings below. On macOS, select at least one event. On Windows, set at least one setting.
3

Select targeting

Choose which devices to apply the configuration to: all devices on that platform, specific device groups, or a custom target. Click Activate to deploy the configuration. Save keeps it inactive.

Settings

  • Audited events: the Mac records only these events. Selecting events turns security auditing on.
  • When the audit cannot be recorded: shutting down protects the audit trail, but a full disk then stops the Mac. Not configured keeps the Mac’s own setting.

How it works

Primo runs a script on each Mac and checks the result with a policy. The script saves the Mac’s own audit configuration, writes the events you selected to /etc/security/audit_control, and starts the audit daemon. The settings you don’t manage keep Apple’s defaults.If someone edits the audit configuration on the Mac, the policy fails and Primo runs the script again.When you remove the configuration, Primo puts back the Mac’s own audit configuration and the audit daemon’s previous state.
Apple has deprecated the audit daemon in favor of the Endpoint Security framework, and Macs don’t run it by default. The control turns it on.
Shut down the Mac stops the Mac when it can’t write its audit trail, for example when its disk is full. On Windows, Shut down when the audit cannot be recorded stops the device when the security log is full and can’t be overwritten, and only an administrator can sign in afterwards.

Modify or remove the control

Open the control from MDM > Controls to edit, deactivate or replace a configuration.