Posted on 01-14-2024 07:45 PM
Work being carried out with a new VPN implementation, we've identified that macOS users with iCPR enabled causes problems, I was hoping to setup an EA to bring inventory the current status of Private Relay On or Off. I found this page Determining “iCloud Private Relay” and “Limit IP tracking” status in macOS – brunerd.
Which I thought with some tweaking would do the trick, however during testing the status is always Off. I believe the issue is with this line.
childData=$(/usr/libexec/PlistBuddy -c "print :" /dev/stdin 2>/dev/null <<< $(plutil -extract "${key}" xml1 -o - /dev/stdin <<< "${parentData}" | xmllint --xpath "string(//data)" - | base64 --decode | plutil -convert xml1 - -o -))
Posted on 05-02-2024 12:45 PM
Did you ever figure this out - I just need to display if the Private Relay is On or Off.
Posted on 10-03-2024 10:27 AM
What was your outcome? We have been struggling to detect it as well.