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://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}:findEntityAlerts 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). |
pageSize |
Optional. Deprecated: Pagination is not supported for this API. 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 |
Optional. Deprecated: Pagination is not supported for this API. A page token received from a previous |
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.