Skip to main content
Question

iCPR Extension Attribute

  • January 15, 2024
  • 2 replies
  • 15 views

aburrow007
Forum|alt.badge.img+4

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

Forum|alt.badge.img+3
  • New Contributor
  • May 2, 2024

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


rpayne
Forum|alt.badge.img+11
  • Contributor
  • October 3, 2024

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