SentinelOne Configuration¶
Follow these steps to analyze SentinelOne objects with Cartography.
Create a Service User in SentinelOne¶
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.
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).
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.
In that fallback mode:
Cartography synthesizes
S1Accountnodes from the parent account metadata on each site response so the existing graph model remains intact.Resources are fetched per site and attached to their parent
S1Account.--sentinelone-site-idscan be used to limit the sync to specific sites.When
--sentinelone-site-idsis used, Cartography skips account-wide cleanup so data from sibling sites under the same account is not deleted.
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.