Environment
- Carbon Black Cloud Console: All Versions
- Audit and Remediation (CB LiveOps)
- Enterprise EDR (CB ThreatHunter)
- Managed Detection (CB ThreatSight)
- Endpoint Standard (CB Defense)
- Endpoint Advanced (CB Defense + CB LiveOps)
- Endpoint Enterprise (CB Defense + CB LiveOps + CB ThreatHunter)
- Machine able to run Postman
Objective
Provide steps to export the list of Administrators from Settings > Users
Resolution
1. Create API Key
- Log into Console
- Go to Settings > API Keys
- Copy Org ID
- Click 'Add API Key' button
- 'Add API Key' modal/pop-up appears
- Enter name for easy identification
Example: General_Export_From_Console
- Set Access Level
Access level: Custom
Custom access level: View All
*Warning message can be ignored:
This permission set may contain unversioned APIs. Visit developer.carbonblack.com for all currently supported/versioned APIs.
- Enter Description as desired
- Click 'Save'
- Copy API credentials displayed ({{api_id}}, {{secret_key}} below)
2. Configure Postman
- Download and install Postman
- Download configuration JSON file and import into Postman
- Define variables and name the Environment for use with API calls
{{api_id}}
{{environment}}
{{org_id}}
{{secret_key}}
- Select the Environment created
- View Collection named 'Export All Admin Users'
- Run the 'Export All Admin Users' call
- Click 'Save Response' > 'Save to a file' and name the file (Ex: Export_All_Admin_Users.json)
Additional Notes
- The Role (adminRole) will be displayed as DEPRECATED, as mapping from Users to Roles is done on the backend
- For ease of use, there are a number of options available online to convert JSON files to CSV using Python, Java, etc.
Related Content