Query threats and trigger remediation via the SentinelOne API

domain: usea1.sentinelone.net · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Generate an API token in the SentinelOne management console under Settings > Users > API Token (Admin role recommended) and include it as Authorization: ApiToken YOUR_TOKEN on all requests; note your console URL (https://{tenant}.sentinelone.net).
  2. Query threats with GET https://{tenant}.sentinelone.net/web/api/v2.1/threats, using query parameters such as resolved (false for open threats), agentMachineTypeIn, severityIn, and createdAt__gte (ISO 8601) to filter the result set.
  3. Parse each threat object for id, agentId, threatInfo.threatName, threatInfo.sha256, threatInfo.confidenceLevel, threatInfo.mitigationStatus, and agentRealtimeInfo.agentComputerName to build incident context.
  4. Trigger automated mitigation on a specific threat by POSTing to https://{tenant}.sentinelone.net/web/api/v2.1/threats/mitigate/{action} (where action is one of: quarantine, kill, remediate, rollback-remediation) with a JSON body containing a filter containing the threat IDs.
  5. Confirm remediation by polling the threat record until mitigationStatus transitions to the expected state; log the outcome alongside the original threat ID for audit trail purposes.

Known gotchas

Related routes

Query assets and vulnerabilities via the Rapid7 InsightVM API
docs.rapid7.com · 5 steps · unrated
Trigger, acknowledge, and resolve incidents using the PagerDuty Events API v2
developer.pagerduty.com · 5 steps · unrated
Query and triage findings from Google Cloud Security Command Center via the REST API
cloud.google.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans