Rule ID
SV-288952r1316793_rule
Version
V1R1
CCIs
Enterprise networks may be required to audit all network traffic by policy; therefore, iCloud Private Relay must be disabled. Network administrators can also prevent the use of this feature by blocking DNS resolution of mask.icloud.com and mask-h2.icloud.com.
Verify the macOS system is configured to disable the iCloud Private Relay with the following command:
/usr/bin/osascript -l JavaScript -e 'var s = $.NSUserDefaults.alloc.initWithSuiteName("com.apple.applicationaccess"); (ObjC.unwrap(s.objectForKey("allowCloudPrivateRelay")) == false && s.objectIsForcedForKey("allowCloudPrivateRelay")) ? "PASS" : "FAIL"'
If the result is not "PASS", this is a finding.Configure the macOS system to disable the iCloud Private Relay by installing the "com.apple.applicationaccess" configuration profile.