BaselineWatch
Desk

system_settings_gatekeeper_override_disallow Configure Gatekeeper to Disallow End User Override

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

Title

Configure Gatekeeper to Disallow End User Override

Control

/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.systempolicy.managed')\
.objectForKey('DisableOverride').js
EOS

Discussion

Gatekeeper _MUST_ be configured with a configuration profile to prevent normal users from overriding its settings.

If users are allowed to disable Gatekeeper or set it to a less restrictive setting, malware could be introduced into the system.

Related controls

cm-5, si-7.15

Fix

This is implemented by a Configuration Profile.