- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- OnDemandEventSampleList
- EventSample
- RawLogEventInformation
- Try it!
Full name: projects.locations.instances.legacy.legacySearchRuleDetectionEvents
Legacy RPC for listing events associated with a particular Detection generated by a Rules Engine rule.
HTTP request
GET https://chronicle.googleapis.com/v1alpha/{instance}/legacy:legacySearchRuleDetectionEvents
Path parameters
Parameters | |
---|---|
instance |
Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
ruleId |
Required. The rule ID that generated the detection. |
versionTimestamp |
Optional. The version timestamp of the rule that generated the detection. If omitted, the latest version of the rule will be used. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
detectionId |
Required. The ID of the detection. |
maxEvents |
Optional. Max events returned over all event variables. The default and limit is 100k events over all event variables. The events of this detection are sorted by event timestamp, truncated to max_events events, and grouped by event variable in the response. |
Request body
The request body must be empty.
Response body
Events associated with a Rule-generated Detection. NEXT TAG: 3
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"result_events": {
string: {
object ( |
Fields | |
---|---|
result_events |
Map from event variable to the event samples. The events for each event variable are sorted by the event timestamp. An object containing a list of |
too_many_events |
True if the request would have returned more event samples than max_events allows. |
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.legacySearchRuleDetectionEvents
For more information, see the IAM documentation.
OnDemandEventSampleList
JSON representation |
---|
{
"event_samples": [
{
object ( |
Fields | |
---|---|
event_samples[] |
|
EventSample
JSON representation |
---|
{ "raw_log_event_information": { object ( |
Fields | |
---|---|
raw_log_event_information |
|
raw_log_token |
|
event_id |
|
Union field
|
|
event |
|
entity |
|
RawLogEventInformation
JSON representation |
---|
{ "batch_id": string, "offset": integer, "timestamp": string, "event_type": enum ( |
Fields | |
---|---|
batch_id |
A base64-encoded string. |
offset |
|
timestamp |
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
event_type |
|
disambiguation_key |
A base64-encoded string. |
normalized_event_type |
|