Rule ID
SV-288951r1316791_rule
Version
V1R1
CCIs
The "allowGameCenter" Application Programming Interface works only with supervised devices (Mobile Device Management [MDM]) and allows users to disable Apple Game Center. The rationale is that Game Center is using Apple ID and will share data on AppleID-based services; therefore, Game Center must be disabled. This setting also prohibits the functionality of adding friends to Game Center.
Verify the macOS system is configured to disable iCloud Game Center with the following command:
/usr/bin/osascript -l JavaScript -e 'var s = $.NSUserDefaults.alloc.initWithSuiteName("com.apple.applicationaccess"); (ObjC.unwrap(s.objectForKey("allowGameCenter")) == false && s.objectIsForcedForKey("allowGameCenter")) ? "PASS" : "FAIL"'
If the result is not "PASS", this is a finding.Configure the macOS system to disable iCloud Game Center by installing the "com.apple.applicationaccess" configuration profile.