The UTMStack API uses Elasticsearch for alert storage. To query alerts, use the Elasticsearch Search endpoint with filters and pagination.
Count Open Alerts
Get the count of currently open alerts.Response
Returns the number of open alerts as an integer.Number of alerts with open status (status code 2)
Alert Status Codes
Alerts in UTMStack have the following status codes:1- Automatic Review2- Open3- In Progress4- Completed5- Incident Created
Querying Alerts
To retrieve detailed alert information, use the Elasticsearch endpoint:Response Structure
Alert objects contain:Unique alert identifier
Alert name/title
Alert status code (1-5)
Alert severity level (1=Low, 2=Medium, 3=High, 4=Critical)
Alert category
Alert creation timestamp (ISO 8601 format)
Source of the alert (data source, rule, etc.)
Array of tag names associated with the alert
Alert notes/observations
Observation notes when status was updated