2.5.7 Ensure Gatekeeper Is Enabled

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Gatekeeper is Apple's application that utilizes allowlisting to restrict downloaded applications from launching. It functions as a control to limit applications from unverified sources from running without authorization.

Rationale:

Disallowing unsigned software will reduce the risk of unauthorized or malicious applications from running on the system.

Solution

Perform the following to enable Gatekeeper:
Graphical Method:

Open System Preferences

Select Security & Privacy

Select General

Set 'Allow apps downloaded from' to 'App Store and identified developers'

Terminal Method:
Run the following command to enable Gatekeeper to allow applications from App Store and identified developers:

$ sudo /usr/sbin/spctl --master-enable

Profile Method:

Create or edit a configuration profile with the PayLoadType of com.apple.systempolicy.control

Add the key AllowIdentifiedDevelopers

Set the key to <true/>

Add the key EnableAssessment

Set the key to <true/>

See Also

https://workbench.cisecurity.org/files/4004