Environment
- Carbon Black Cloud Console: All Versions
Objective
To download sensor kits via the API
Resolution
- Create API Key
- Log into Console
- Go to Settings > API Access > Access Levels
- Click "Add Access Level"
- Enter name and description
- Check the "Device- Sensor kits -org.kits - execute" permission
- Save
- Navigate to API Keys tab
- Note the "Org ID"
- Click 'Add API Key' button
- Enter name and description
- Under "Access Level type" choose Custom > Select access level made in steps 2-6.
- Click 'Save'
- Copy API credentials displayed (<API_ID>, <API_Secret_Key> below)
- Export Admin Users
- Log into machine able to run cURL
- Run API call to export the data
curl --location --request GET "https://defense-prod05.conferdeploy.net/appservices/v5/orgs/<org id>/kits/installer_vista_win7_win8-64-3.5.0.1801.msi" --proxy http://<username>:<password>@<proxy>:<proxyport> -H "X-Auth-Token:<secret key>/<api id>" --output c:\temp\3.5.0.1801.msi
- Save data to file as desired
Additional Notes
- Example above would download the 3.5.0.1801 Windows sensor. Edit the version # to download a different kit
- Mac url format:
- Linux url format:
- The API above is an unofficial and unsupported API which is used to populate information for the Console UI and is not supported for use as a standalone API
- Being an unsupported API means the specified route/endpoint could be changed at any point and without notice