- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.legacy.legacySearchAssetEvents
Legacy endpoint for getting events for a given asset.
HTTP request
GET https://chronicle.googleapis.com/v1alpha/{instance}/legacy:legacySearchAssetEvents
Path parameters
Parameters | |
---|---|
instance |
Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
assetIndicator |
Required. The asset to return events for. |
timeRange |
Required. The time range of the events to return [inclusive start time, exclusive end time). |
maxResults |
The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 10,000 events will be returned. The maximum value is 100,000; values above 100,000 will be coerced to 100,000. |
referenceTime |
The time used to alias indicator and fetch results of the asset. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Request body
The request body must be empty.
Response body
Returns searched for events grouped into different categories.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "results": [ { object ( |
Fields | |
---|---|
results[] |
A list of network events along with associated domains. Sorted in ASC order of SearchResult.timestamp |
alerts[] |
A list of alerts events for the given indicator and time range. Sorted in ASC order of AssetAlertEvent.timestamp. |
ip_network_events[] |
A list of network events with associated destination ip that do not have domain. Sorted ASC order of IpNetworkEvent.timestamp |
edr_events[] |
A list of EDR events. Sorted ASC order of AssetEdrEvent.timestamp. |
typed_user_events[] |
A list of User Events. Sorted ASC order of UserEvent.timestamp. |
md5_file_hashes[] |
All unique md5 file hashes within all events being returned. |
sha1_file_hashes[] |
All unique sha1 file hashes within all events being returned. |
sha256_file_hashes[] |
All unique sha256 file hashes within all events being returned. |
total_records |
The total number of records matching the request. |
too_many_results |
Whether the request results in more records than those specified in the max_results field. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance
resource:
chronicle.legacies.legacySearchAssetEvents
For more information, see the IAM documentation.