SentinelOne Configuration#
Authentication#
Create a service user and save its API token:
In SentinelOne, open Settings.
From the top menu, select Users.
In the left-hand menu, select Service Users.
Select Actions and then Create New Service User.
Enter a name and expiration date for the Service User and select Next.
Choose the account or site that the Service User should have access to and select Create.
Copy the API token when it is shown. SentinelOne only displays it once.
Required Permissions#
The default Viewer role is sufficient for Cartography.
Configure Cartography#
Pass the SentinelOne API URL to the
--sentinelone-api-urlCLI arg.Populate an environment variable with the API token.
Pass that environment variable name to the
--sentinelone-api-token-env-varCLI arg.Optionally, pass specific account IDs to sync using the
--sentinelone-account-idsCLI arg (comma-separated).Optionally, pass specific site IDs to sync using the
--sentinelone-site-idsCLI arg (comma-separated).
Run Cartography#
export SENTINELONE_API_TOKEN="<token>"
cartography \
--selected-modules sentinelone \
--sentinelone-api-url https://example.sentinelone.net \
--sentinelone-api-token-env-var SENTINELONE_API_TOKEN
Advanced Configuration#
MSSP and site-scoped deployments#
Some SentinelOne MSSP deployments issue API tokens for site-scoped users. Those
tokens can query site, agent, application inventory, and risk endpoints but
cannot call /web/api/v2.1/accounts. When Cartography receives SentinelOne’s
4030010 “Action is not allowed to site users” response from the accounts
endpoint, it automatically falls back to enumerating /web/api/v2.1/sites.
If you know you are using a site-scoped token, prefer
--sentinelone-site-ids over --sentinelone-account-ids. If you do not pass
explicit site IDs, Cartography will sync all sites visible to that token.
Canonical Device projection#
To use SentinelOne as a canonical device source, include it in
--ontology-devices-source and run the ontology module:
cartography \
--selected-modules sentinelone,ontology \
--sentinelone-api-url https://example.sentinelone.net \
--sentinelone-api-token-env-var SENTINELONE_API_TOKEN \
--ontology-devices-source sentinelone
Multiple device sources can be provided as a comma-separated list, for example
--ontology-devices-source sentinelone,jamf.