Skip to content
Export guide · Endpoint

How to export your SentinelOne configuration, and what we check in it

Where you run it: SentinelOne console (to create a service user and its API token), then the SentinelOne Management API with curl and jq in a bash terminal.

In short

SentinelOne configuration export: the file SentinelOne writes of its own settings, which a configuration review reads setting by setting without connecting to SentinelOne.

How to export the SentinelOne configuration, step by step, what the review checks in the file (18 checks run), and what it does not read.

The fileJSON, one sentinelone.json: the Management API answers for your policies and exclusions, each under its file name
Checks run on it18
Highest grade its findings reachOBSERVED
Feeds attack pathsNo
Not read from this export3 areas, listed below

Sources: SentinelOne documentation (1); SentinelOne documentation (2); SentinelOne documentation (3); the vendor table.

How to export it

These steps have not been checked against the vendor's documentation.

Who can pull it
A service user with Policy.view, Exclusions.view and Sites.view
Time
About 10 minutes, most of it creating the service user.
The file
JSON, one sentinelone.json: the Management API answers for your policies and exclusions, each under its file name

No console export: The file comes from the API steps. The console is where the service user and its token are created.

From the command line

  1. Create a service user for this export: in the SentinelOne console, Policy & Settings → User Management → Service Users (the path SentinelOne’s own repositories give). Give it a role that holds three view permissions, Policy.view, Exclusions.view and Sites.view, and nothing else, and generate its API token. Copy the token before you leave the screen

    The vendor's page, checked 2026-11-11
  2. Keep your console address for this terminal session: export S1_URL=https://<your-console>.sentinelone.netThen run read -rs S1_TOKENand paste the API token, then press Enter (nothing is shown, and the token stays out of the shell history)

    The vendor's page, checked 2026-11-11
  3. curl -s -H "Authorization: ApiToken $S1_TOKEN" "$S1_URL/web/api/v2.1/tenant/policy" > tenant-policy.json(the Global policy, the default for your deployment)

    The vendor's page, checked 2026-11-11
  4. List the site ids: curl -s -H "Authorization: ApiToken $S1_TOKEN" "$S1_URL/web/api/v2.1/sites?limit=1000" | jq -r ".data.sites[].id"Then for each site id: curl -s -H "Authorization: ApiToken $S1_TOKEN" "$S1_URL/web/api/v2.1/sites/<site-id>/policy" > site-<site-id>-policy.json

    The vendor's page, checked 2026-11-11
  5. curl -s -H "Authorization: ApiToken $S1_TOKEN" "$S1_URL/web/api/v2.1/exclusions?limit=1000" > exclusions.json(when its pagination.nextCursor is not null, run the line again with &cursor=<that value> and save the page as exclusions-2.json, and so on)

    The vendor's page, checked 2026-11-11
  6. jq -n 'reduce inputs as $a ({}; . + {(input_filename): $a})' tenant-policy.json site-*-policy.json exclusions*.json > sentinelone.json (each answer is kept as SentinelOne returns it, under its file name)

    The vendor's page, checked 2026-11-11
  7. After the upload has gone through, delete the service user in Policy & Settings → User Management → Service Users, so that no standing token is left

    The vendor's page, checked 2026-11-11

What the file looks like

JSON, one sentinelone.json: the Management API answers for your policies and exclusions, each under its file name. Tens of KB for a few sites; it grows with the number of sites and exclusions. The upload takes files up to 10 MB.

What it holds: Your Global policy and each site’s policy, and your exclusions, as the Management API returns them, in one sentinelone.json.

Upload sentinelone.json, the file the jq step writes. Each policy and exclusions answer in it is kept as SentinelOne returns it. Do not upload the list of sites: it holds each site’s registration token. Run these commands in bash (macOS, Linux or WSL): in Windows PowerShell 5.1, > writes UTF-16, which jq and the upload refuse.

Afterwards

Delete the service user (the last step). Delete the answer files: rm tenant-policy.json site-*-policy.json exclusions*.json. Then close the terminal, which still holds the token.

If the export goes wrong

What you seeThe fix
An answer holds "errors" with HTTP 401Check that S1_URL is your console address and that the token was pasted whole after read -rs, then run the curl lines again.
An answer holds "errors" with HTTP 403The service user’s role lacks a permission: give it Policy.view, Exclusions.view and Sites.view, then run the curl lines again.
jq: command not foundInstall jq (macOS: brew install jq; Debian or Ubuntu, also under WSL: sudo apt-get install jq), then run the site and jq steps again.

What we read from it

Checks run
18 + 5 guidance items, not counted
Formats read
Policy JSON export · Management API answers: policy and exclusions (JSON)
Releases
23.x to current

Checks run is the number of checks that reached a result on this system's own export in our tests, as the vendor table shows it.

The areas checked

  • Each policy: the mitigation mode for malicious and for suspicious threats, anti-tampering, snapshots, network quarantine, automatic decommission, Remote Shell on the Global policy, and the reputation, on-write, executables, data files, exploits, PUP and lateral movement engines
  • Exclusions: a path exclusion over a whole drive or every user profile, one in a user’s Temp, Downloads or AppData folder, one that switches off every agent component on the path, and one that applies to the whole tenant or an account

The grade its findings reach

Observed Findings from this file are OBSERVED: read from the system's own export and cited to the setting.

Its findings stay in the review and its reports. SentinelOne does not feed attack paths.

Attack paths, the one change and dollar figures are MODELED. How each grade is worked out is on the method page.

What we do not read from this export

  • Group and account policies, unless you add their answers (GET /web/api/v2.1/groups/<id>/policy, /accounts/<id>/policy) to the jq step
  • Agent upgrade policies, uninstall passwords and agent versions: separate calls, not in this export
  • Console sign-in, users, roles and API tokens: not in this export
  • Deep Visibility retention, Firewall Control and Device Control rules: not in this export
  • Threats, alerts and their history

Limits of the reader

  • Findings name the setting they come from, not its line number.
  • Findings stay in the review. They do not feed attack paths.
  • The checks of this system are not counted: a check counts once a test shows it firing on a file in the layout the vendor documents.

A finding never comes from what the file does not hold: live traffic, running hosts and logs are not in a configuration export.

Questions

Who can export the SentinelOne configuration?

A service user whose role holds Policy.view, Exclusions.view and Sites.view: SentinelOne’s API definition names these as the permissions of the four calls the steps make (tenant policy, site policy, exclusions, sites). Creating a service user needs a console role that can open User Management: SentinelOne’s public material does not name it.

Does the export change anything?

It adds one service user with an API token (a standing credential with three view permissions) to your console. Every call the steps make is a GET. On your computer the steps write the answer files and sentinelone.json.

Does the file hold passwords or keys?

sentinelone.json holds no password, key or token: it holds policy settings, exclusion paths, hashes and the names of the console users who created them. The list of sites holds each site’s registration token: it is read in the terminal and never saved. With redaction on (the default), the passwords, keys and tokens the review recognises are replaced with a placeholder before anything is stored; the check before upload shows how many it found.