iCPR Extension Attribute

aburrow007
New Contributor II

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 -))

 

 

2 REPLIES 2

josefrometa
New Contributor II

Did you ever figure this out - I just need to display if the Private Relay is On or Off.

rpayne
Contributor II

What was your outcome? We have been struggling to detect it as well.