Get the SentinelOne alerts, optionally narrowed by a filter
Return the SentinelOne alerts, newest detection first, one page as JSON (data, pagination): each with its alertId, name, severity, status, mitigationStatus, classification, analystVerdict, detectedAt, the Primo device it matched (deviceId, deviceName, null when no device matched), the id of the device owner (employeeId, resolve it with getEmployees) and its consoleLink. Narrow it with filter, whose keys (status, severity, mitigationStatus, analystVerdict, deviceId, employeeId) each take a clause { "operationType": "INCLUDE" | "EXCLUDE", "values": [...] }, ANDed, and search on the name. Example, the open alerts still unmitigated: {"filter":{"status":{"operationType":"EXCLUDE","values":["RESOLVED"]},"mitigationStatus":{"operationType":"INCLUDE","values":["UNMITIGATED"]}}}. For the counts alone (open, unmitigated, per status, devices affected), getSentinelOneAlertsSummary. SentinelOne alerts are the threats SentinelOne raised on the company’s devices, as Primo stored them at its last sync (every 5 minutes, once the company turned the alert sync on; a company without it has none). An alert resolved in SentinelOne stays listed with status RESOLVED. They are not the MDM compliance alerts (getComplianceAlerts) nor the AI tools risks (getAiFindings).