STIG ID: APPL-14-000002 | SRG: SRG-OS-000028-GPOS-00009 | Severity: medium | CCI: | Vulnerability Id: V-259419
Users must authenticate when unlocking the screen saver.
The screen saver acts as a session lock and prevents unauthorized users from accessing the current user's account.
Configure the macOS system to prompt users to enter a password to unlock the screen saver by installing the "com.apple.screensaver" configuration profile.
Verify the macOS system is configured to prompt users to enter a password to unlock the screen saver with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.screensaver')\
.objectForKey('askForPassword').js
EOS
If the result is not "true", this is a finding.