SentinelOne Executor¶
Category: Endpoint Security
Script: sentinelone.py
Integration: REST API
Faraday Plugin: Raw JSON
Website: https://www.sentinelone.com/
Description¶
Imports threats detected by SentinelOne into Faraday. The executor reads the threats from the SentinelOne management API and creates one host per SentinelOne agent (endpoint), with one vulnerability per threat.
Prerequisites¶
- Access to a SentinelOne management console
- A SentinelOne API token with permission to read threats
- Network access from the agent to the console URL
Configuration¶
Environment Variables (Setup)¶
| Variable | Required | Description |
|---|---|---|
SENTINELONE_URL |
Yes | Management console URL (e.g., https://usea1-partners.sentinelone.net) |
SENTINELONE_TOKEN |
Yes | SentinelOne API token |
SENTINELONE_ACCOUNT_ID |
No | Account ID to limit the import to one account (default: all accounts the token can see) |
Execution Arguments¶
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
SENTINELONE_SINCE |
string | No | Import only threats created at or after this ISO 8601 date (e.g., 2026-01-01T00:00:00Z) |
SENTINELONE_VERIFY_SSL |
boolean | No | Verify the console's TLS certificate (default: true) |
YAML Configuration Example¶
executors:
sentinelone:
repo_executor: sentinelone.py
max_size: 65536
varenvs:
SENTINELONE_URL: "https://usea1-partners.sentinelone.net"
SENTINELONE_TOKEN: "<api_token>"
SENTINELONE_ACCOUNT_ID: "<account_id>"
params:
SENTINELONE_SINCE:
mandatory: false
type: string
base: string
SENTINELONE_VERIFY_SSL:
mandatory: false
type: boolean
base: boolean
How It Works¶
- Calls
{SENTINELONE_URL}/web/api/v2.1/threatswith the headerAuthorization: ApiToken <token>, filtered by account and creation date - Follows the pagination cursor until all threats are fetched (1000 per page)
- Groups threats by SentinelOne agent and creates one host per agent, with its IP, computer name, OS and domain
- Maps each threat to a vulnerability:
- Name: the threat name
- Description: classification, detection type, mitigation status, confidence, file path and SHA1
- Severity: taken from the threat's confidence level (see Notes)
- Resolution: the mitigation status
- External ID: the SentinelOne threat ID
Notes¶
- When an agent has no IP address, the agent ID is used as the host IP.
- Severity comes from the threat's confidence level. Values that are not
critical,high,medium,loworinformationalbecomeunclassified. - The run fails if the API returns an error.
- The shared agent parameters (
AGENT_CONFIG_*tags and severity filters) are not applied by this executor.