- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Full name: projects.locations.instances.findEntityAlerts
Get alerts for an entity. The API returns a maximum of 1000 alerts for the requested entity.
HTTP request
GET https://{endpoint}/v1beta/{instance}:findEntityAlerts
Where {endpoint} is one of the supported service endpoints.
Path parameters
| Parameters | |
|---|---|
instance |
Required. The ID of the Instance to summarize entity for. Format: |
Query parameters
| Parameters | |
|---|---|
timeRange |
Required. Time range to retrieve the alerts for [Inclusive start time, exclusive end time). |
Union parameter id. Identifier to find the entity. id can be only one of the following: |
|
entityId |
ID of the entity. |
fieldAndValue |
Field path or type with value to identify entity. |
Request body
The request body must be empty.
Response body
Response message to retrieve alerts for an entity.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "alertCounts": [ { object ( |
| Fields | |
|---|---|
alertCounts[] |
Rule names with alert count for each. |
hasMoreAlerts |
Indicates if there are more alerts than the limit (1000 currently). |
timeline |
Bucketed timeline with alert count. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
chronicle.entities.findEntityAlerts
For more information, see the IAM documentation.