- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: projects.locations.instances.findEntityAlerts
Get alerts for an entity
HTTP request
GET https://chronicle.googleapis.com/v1alpha/{instance}:findEntityAlerts
Path parameters
Parameters | |
---|---|
instance |
Required. The ID of the Instance to summarize entity for. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
timeRange |
Required. Time range to retrieve the alerts for [Inclusive start time, exclusive end time). |
pageSize |
The maximum number of alerts to return. The service may return fewer than this value. If unspecified, at most 1000 alerts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
A page token received from a previous |
Union parameter
|
|
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. NEXT TAG = 4;
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "alert_counts": [ { object ( |
Fields | |
---|---|
alert_counts[] |
Rule names with alert count for each. |
has_more_alerts |
Indicates if there are more alerts than the limit (1000 currently). |
timeline |
Bucketed timeline with alert count. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.