- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- RuleStatus
- RuleAlertsList
- Rule
- RuleProperties
- LiveRuleStatus
- ExecutionState
- RunFrequency
- RLNameVersions
- PolicyRuleType
- DTNameVersions
- Try it!
Full name: projects.locations.instances.legacy.legacySearchRulesAlerts
RPC to get the list of Rules Enginer generated alerts for a customer.
HTTP request
GET https://chronicle.googleapis.com/v1alpha/{instance}/legacy:legacySearchRulesAlerts
Path parameters
Parameters | |
---|---|
instance |
Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
time |
Required. Time range [start, end) for alerts to retrieve. All RE alerts with the detection _time that fall in this time range are returned. |
max |
Optional. Maximum number of alerts to return. |
status |
Optional. When this field is not set, uses ACTIVE by default. |
Request body
The request body must be empty.
Response body
List of Rules alerts aggregated by Rule NEXT TAG: 3
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"rule_alerts": [
{
object ( |
Fields | |
---|---|
rule_ |
Alerts generated by the Rules engine. One entry for each Rule created by the customer |
too_ |
Indicates that more data was available but not sent due to more hits than max_matches_to_return. |
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.legacySearchRulesAlerts
For more information, see the IAM documentation.
RuleStatus
Enums | |
---|---|
ACTIVE |
|
ARCHIVED |
|
ALL |
RuleAlertsList
JSON representation |
---|
{ "rule_metadata": { object ( |
Fields | |
---|---|
rule_ |
|
alerts[] |
|
Rule
JSON representation |
---|
{ "rule_id": string, "properties": { object ( |
Fields | |
---|---|
rule_ |
|
properties |
|
rule_ |
|
RuleProperties
JSON representation |
---|
{ "name": string, "metadata": { string: string, ... }, "last_update_time": string, "live_rule_status": enum ( |
Fields | |
---|---|
name |
|
metadata |
An object containing a list of |
last_ |
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
live_ |
|
execution_ |
Output only. |
rule_ |
|
last_ |
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
user_ |
|
text |
|
creation_ |
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
archived_ |
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
run_ |
|
allowed_ |
|
near_ |
|
rl_ |
|
policy |
|
policy_ |
|
dt_ |
|
LiveRuleStatus
Enums | |
---|---|
LIVE_RULE_STATUS_UNSPECIFIED |
|
ENABLED |
|
DISABLED |
ExecutionState
Enums | |
---|---|
EXECUTION_STATE_UNSPECIFIED |
|
DEFAULT |
|
LIMITED |
|
PAUSED |
RunFrequency
Enums | |
---|---|
RUN_FREQUENCY_UNSPECIFIED |
|
RUN_FREQUENCY_REALTIME |
|
RUN_FREQUENCY_HOURLY |
|
RUN_FREQUENCY_DAILY |
RLNameVersions
JSON representation |
---|
{ "name_versions": { string: string, ... } } |
Fields | |
---|---|
name_ |
An object containing a list of |
PolicyRuleType
Enums | |
---|---|
POLICY_RULE_TYPE_UNSPECIFIED |
|
HUNTING |
|
PRODUCTION |
|
FOUNDATIONAL |
DTNameVersions
JSON representation |
---|
{ "name_versions": { string: string, ... } } |
Fields | |
---|---|
name_ |
An object containing a list of |