SV-268423r1034209_rule
V-268423
SRG-OS-000030-GPOS-00011
APPL-15-000005
CAT II
10
Configure the macOS system to lock the user session when a smart token is removed by installing the "com.apple.security.smartcard" configuration profile.
NOTE: To ensure continued access to the operating system, consult the supplemental guidance provided with the STIG before applying the configuration profile.
Verify the macOS system is configured to lock the user session when a smart token is removed with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.security.smartcard')\
.objectForKey('tokenRemovalAction').js
EOS
If the result is not "1", this is a finding.
V-268423
False
APPL-15-000005
Verify the macOS system is configured to lock the user session when a smart token is removed with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.security.smartcard')\
.objectForKey('tokenRemovalAction').js
EOS
If the result is not "1", this is a finding.
M
5661