The macOS system must disable Screen Time prompt during Setup Assistant.

STIG ID: APPL-14-005055  |  SRG: SRG-OS-000095-GPOS-00049 |  Severity: medium |  CCI: CCI-000381 |  Vulnerability Id: V-259565

Vulnerability Discussion

The prompt for Screen Time setup during Setup Assistant must be disabled.

Check

Verify the macOS system is configured to disable Screen Time prompt during Setup
Assistant with the following command:

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

If the result is not "true", this is a finding.

Fix

Configure the macOS system to disable Screen Time prompt during Setup
Assistant by installing the "com.apple.SetupAssistant.managed" configuration profile.