- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#SCHEMA_REPRESENTATION)
- [RuleType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#RuleType)
- [Value](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Value)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Value.SCHEMA_REPRESENTATION)
- [BoolList](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#BoolList)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#BoolList.SCHEMA_REPRESENTATION)
- [BytesList](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#BytesList)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#BytesList.SCHEMA_REPRESENTATION)
- [DoubleList](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#DoubleList)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#DoubleList.SCHEMA_REPRESENTATION)
- [Int64List](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Int64List)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Int64List.SCHEMA_REPRESENTATION)
- [Uint64List](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Uint64List)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Uint64List.SCHEMA_REPRESENTATION)
- [StringList](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#StringList)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#StringList.SCHEMA_REPRESENTATION)
- [EventSampleList](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSampleList)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSampleList.SCHEMA_REPRESENTATION)
- [EventSample](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSample)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSample.SCHEMA_REPRESENTATION)
- [AlertingType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#AlertingType)

| JSON representation |
|---|
| ``` { "id": string, "ruleType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#RuleType`), "fields": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Value`) } ], "outcomes": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Value`) } ], "timeWindow": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Interval`) }, "resultEvents": { string: { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSampleList`) }, ... }, "resultEntityEvents": { string: { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSampleList`) }, ... }, "detectionTimestamp": string, "commitTimestamp": string, "alertingType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#AlertingType`) } ``` |

| Fields ||
|---|---|
| `id` | `string` |
| `ruleType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#RuleType`)`` |
| `fields[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Value`)`` |
| `outcomes[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Value`)`` |
| `timeWindow` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Interval`)`` |
| `resultEvents` | ``map (key: string, value: object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSampleList`))`` An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `resultEntityEvents` | ``map (key: string, value: object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSampleList`))`` An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `detectionTimestamp` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `commitTimestamp` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `alertingType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#AlertingType`)`` |

## RuleType

| Enums ||
|---|---|
| `UNKNOWN` |   |
| `SINGLE_EVENT` |   |
| `MULTI_EVENT` |   |
| `WINDOWED_SINGLE_EVENT` |   |

## Value

| JSON representation |
|---|
| ``` { "name": string, "fieldPath": string, "valueTruncated": boolean, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "boolVal": boolean, "bytesVal": string, "doubleVal": number, "int64Val": string, "uint64Val": string, "stringVal": string, "nullVal": boolean, "boolList": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#BoolList`) }, "bytesList": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#BytesList`) }, "doubleList": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#DoubleList`) }, "int64List": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Int64List`) }, "uint64List": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Uint64List`) }, "stringList": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#StringList`) }, "boolSeq": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/BoolSequence`) }, "bytesSeq": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/BytesSequence`) }, "doubleSeq": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/DoubleSequence`) }, "int64Seq": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Int64Sequence`) }, "uint64Seq": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Uint64Sequence`) }, "stringSeq": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/StringSequence`) }, "timestampVal": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `name` | `string` |
| `fieldPath` | `string` |
| `valueTruncated` | `boolean` |
| The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `boolVal` | `boolean` |
| `bytesVal` | `string (https://developers.google.com/discovery/v1/type-format format)` A base64-encoded string. |
| `doubleVal` | `number` |
| `int64Val` | `string (https://developers.google.com/discovery/v1/type-format format)` |
| `uint64Val` | `string` |
| `stringVal` | `string` |
| `nullVal` | `boolean` |
| `boolList (deprecated)` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#BoolList`)`` > [!WARNING] > This item is deprecated! |
| `bytesList (deprecated)` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#BytesList`)`` > [!WARNING] > This item is deprecated! |
| `doubleList (deprecated)` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#DoubleList`)`` > [!WARNING] > This item is deprecated! |
| `int64List (deprecated)` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Int64List`)`` > [!WARNING] > This item is deprecated! |
| `uint64List (deprecated)` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#Uint64List`)`` > [!WARNING] > This item is deprecated! |
| `stringList (deprecated)` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#StringList`)`` > [!WARNING] > This item is deprecated! |
| `boolSeq` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/BoolSequence`)`` |
| `bytesSeq` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/BytesSequence`)`` |
| `doubleSeq` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/DoubleSequence`)`` |
| `int64Seq` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Int64Sequence`)`` |
| `uint64Seq` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Uint64Sequence`)`` |
| `stringSeq` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/StringSequence`)`` |
| `timestampVal` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| End of mutually exclusive fields. ||

## BoolList

| JSON representation |
|---|
| ``` { "boolVals": [ boolean ] } ``` |

| Fields ||
|---|---|
| `boolVals[]` | `boolean` |

## BytesList

| JSON representation |
|---|
| ``` { "bytesVals": [ string ] } ``` |

| Fields ||
|---|---|
| `bytesVals[]` | `string (https://developers.google.com/discovery/v1/type-format format)` A base64-encoded string. |

## DoubleList

| JSON representation |
|---|
| ``` { "doubleVals": [ number ] } ``` |

| Fields ||
|---|---|
| `doubleVals[]` | `number` |

## Int64List

| JSON representation |
|---|
| ``` { "int64Vals": [ string ] } ``` |

| Fields ||
|---|---|
| `int64Vals[]` | `string (https://developers.google.com/discovery/v1/type-format format)` |

## Uint64List

| JSON representation |
|---|
| ``` { "uint64Vals": [ string ] } ``` |

| Fields ||
|---|---|
| `uint64Vals[]` | `string` |

## StringList

| JSON representation |
|---|
| ``` { "stringVals": [ string ] } ``` |

| Fields ||
|---|---|
| `stringVals[]` | `string` |

## EventSampleList

| JSON representation |
|---|
| ``` { "eventSamples": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSample`) } ], "tooManyEventSamples": boolean } ``` |

| Fields ||
|---|---|
| `eventSamples[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/YaraL2Detection#EventSample`)`` |
| `tooManyEventSamples` | `boolean` |

## EventSample

| JSON representation |
|---|
| ``` { "rawLogToken": string, "joinedDataTableRows": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/DataTableRowDetails`) } ], // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "event": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Collection#UDM`) }, "entity": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Collection#Entity`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `rawLogToken` | `string` |
| `joinedDataTableRows[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/DataTableRowDetails`)`` |
| The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `event` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Collection#UDM`)`` |
| `entity` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Collection#Entity`)`` |
| End of mutually exclusive fields. ||

## AlertingType

| Enums ||
|---|---|
| `UNSPECIFIED` |   |
| `NOT_ALERTING` |   |
| `ALERTING` |   |