mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-03-04 09:13:19 +00:00
revert to old check
This commit is contained in:
@@ -7,11 +7,7 @@ discussion: |
|
||||
|
||||
Apple’s Find My service uses a personal AppleID for authentication. Organizations should rely on MDM solutions, which have much more secure authentication requirements, to perform remote lock and remote wipe.
|
||||
check: |
|
||||
/usr/bin/osascript -l JavaScript << EOS
|
||||
ObjC.import('Foundation')
|
||||
ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.icloud.managed')\
|
||||
.objectForKey('DisableFMMiCloudSetting'))
|
||||
EOS
|
||||
/usr/bin/profiles -P -o stdout | /usr/bin/grep -Ec '(allowFindMyDevice = 0|allowFindMyFriends = 0|DisableFMMiCloudSetting = 1)'
|
||||
result:
|
||||
integer: 3
|
||||
fix: |
|
||||
|
||||
Reference in New Issue
Block a user