Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore RES-1267 Write data to file Jun 18, 2018
LICENSE Add LICENSE Dec 5, 2018 Update with required permissions for API Jul 2, 2018

GDPR Script

This script is used to gather all personal information related to a specific user within Jamf Pro along with any devices their account is tied to as they may also contain more personal information.

Locations where personal information can be found in the API & Required Jamf Pro account permissions in order to retrieve all data:

Resource Permission
/accounts/username/[username] Jamf Pro User Accounts & Groups
/ldapservers/id/[id]/user/[username] LDAP Servers
/users/name/[username] Users
/computers/id/[id] Computers
/mobiledevices/id/[id] Mobile Devices

The script looks through these API endpoints for a specified username and outputs the results to a JSON file.

In order to run the script you must have a Jamf Pro account with permissions to access the API.

When running the script, it will ask for the Jamf Pro instance you want to get information out of along with an account to be used to authenticate and access the API with. You will then will be prompted to enter a username to search for and if results are found the will be saved to a file.

Example running:

$ python3

Jamf Pro
Jamf Pro Username:admin
Jamf Pro Password:********
Search Username:username
User found
LDAP account found on:
2 mobile devices found
2 computers found
Saved: example-url.com_username.json
Search new user?: [y/n] n
You can’t perform that action at this time.