Rule ID
SV-288989r1316807_rule
Version
V1R1
CCIs
The prompt for Screen Time setup during Setup Assistant must be disabled. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.
Verify the macOS system is configured to disable the Screen Time prompt during Setup Assistant with the following command:
/usr/bin/osascript -l JavaScript -e 'var s = $.NSUserDefaults.alloc.initWithSuiteName("com.apple.SetupAssistant.managed"); (ObjC.unwrap(s.objectForKey("SkipSetupItems").containsObject("ScreenTime")) == true && s.objectIsForcedForKey("SkipSetupItems")) ? "PASS" : "FAIL"'
If the result is not "PASS", this is a finding.Configure the macOS system to disable the Screen Time prompt during Setup Assistant by installing the "com.apple.SetupAssistant.managed" configuration profile.