SV-268511r1131224_rule
V-268511
SRG-OS-000366-GPOS-00153
APPL-15-002064
CAT I
10
Configure the macOS system to enable gatekeeper by installing the "com.apple.systempolicy.control" configuration profile.
Verify the macOS system is configured to enable gatekeeper with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.systempolicy.control')\
.objectForKey('EnableAssessment').js
EOS
If the result is not "true", this is a finding.
V-268511
False
APPL-15-002064
Verify the macOS system is configured to enable gatekeeper with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.systempolicy.control')\
.objectForKey('EnableAssessment').js
EOS
If the result is not "true", this is a finding.
M
5661