Carbon Black Cloud: How to export Admin Users via Postman
book
Article ID: 290682
calendar_today
Updated On:
Products
Carbon Black Cloud Endpoint Standard (formerly Cb Defense)
Carbon Black Cloud Enterprise EDR (formerly Cb Threathunter)
Show More
Show Less
Issue/Introduction
Provide steps to export the list of Administrators from Settings > Users
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
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 Information
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.
Feedback
thumb_up
Yes
thumb_down
No