Get the ThreatDown active detections, optionally narrowed by a filter
Return the ThreatDown active detections, newest scan first unless sort says otherwise, one page as JSON (data, pagination): each with its detectionId, threatName, category, types, scannedAt, 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 (category, type, deviceId, employeeId, scannedAt) each take a clause { "operationType": "INCLUDE" | "EXCLUDE", "values": [...] }, ANDed unless matchAnyFilters is true, and search on the threat name. Example, the malware found in the last 7 days: {"filter":{"category":{"operationType":"INCLUDE","values":["Malware"]},"scannedAt":{"operationType":"INCLUDE","values":["UNDER_24_HOURS","ONE_TO_SEVEN_DAYS"]}}}. For the counts alone (total, per category, devices affected), getThreatDownActiveDetectionsSummary. ThreatDown active detections are the threats ThreatDown still finds 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). A detection leaves the list once ThreatDown no longer reports it. They are not the SentinelOne alerts (getSentinelOneAlerts), the MDM compliance alerts (getComplianceAlerts) nor the AI tools risks (getAiFindings).