aggregate |
Risk Calculation Function |
String |
Risk Calculation Function. Accepts values such as “min”,”max” and “avg”. Used for calculating Risk Value of the alert. Mandatory Field |
apply_jinja_template |
Apply Jinja Template |
String |
Option to view rows that is displayed in Incident Data View in a format defined by the Jinja template. Optional Field |
alert_context_template |
Template Syntax |
String |
Specify the Jinja Template syntax for rows that is displayed in the Incident Data View. Optional Field |
assigned_to |
Assigned To |
String |
ID of the user who can re-assign, comment on and view the data of the generated incident. Optional Field |
attack_tag |
Attack Tag |
[String] |
List of attack tag IDs to categorize the alert rules. Use MitreAttacks - FetchMitreAttacks to obtain value for this parameter. Optional Field |
condition_option |
Condition |
String |
Accepts values such as “greaterthan”, “lessthan”, “equalsto”, “lessequal”, “equals”, “moreequal” and “notequal”. Mandatory Field |
condition_value |
Condition |
int |
Can be positive integer or 0. Mandatory Field |
delay_interval_minute |
Delay Threshold (Minutes) |
int |
Specify the value of delay interval in minutes to wait for the logs before processing. To set the value, “timestamp_on” parameter value must be “log_ts” in SystemSettingsGeneral API. Accepts values from 1 to 1440 only. Optional Field. |
description |
Description |
String |
Description of the alert rule. Optional Field |
flush_on_trigger |
Flush On Trigger |
String |
Enabling Flush on Trigger activates the next alert rule only by new set of events. Accepts only “on” as value to enable flush on trigger. Optional Field |
limit |
Limit |
int |
Number of logs. Minimum value for the field is 1. Mandatory Field |
log_source |
Log Sources |
[String] |
List of log sources from where the logs should be collected. Optional Field |
manageable_by |
Manageable by |
[String] |
A list of incident user groups ID where users can re-assign, comment on, view data and resolve the generated incidents. Optional Field |
metadata |
Metadata |
[json] |
Optional Field. Array of key-value pair objects to define custom metadata for an alert rule. Each object in the array must include the following parameters:
field: Field for the custom metadata.
value: Value associated with the given field.
|
original_data |
Alert using original data |
boolean |
Alert will be generated with encrypted data where Data Privacy Module is enabled. Setting this value as “true” sends request to generate alert with original data. Can be true/false. Optional Field |
owner |
- |
String |
ID of the user who owns alert rule. Mandatory Field |
query |
Query |
String |
The query for which the alert rule should be fired. Optional Field |
repos |
Repos |
[String] |
The list of the Repos that you want to monitor for the matching alert condition. Use Repos - FetchRemoteRepos to obtain value for this parameter. Mandatory Field |
risk |
Risk |
String |
Risk level of the Alert. Accepts values such as “low”, “medium”, “high” and “critical”. Used for calculating Risk Value of the alert. Mandatory Field |
search_interval_minute |
Search Interval (Minutes) |
int |
Specify the custom search interval for retrieving the logs via search in minutes. Optional Field |
searchname |
Name |
String |
Name of the alert. It should be a unique valid string. Mandatory Field |
throttling_enabled |
Alert Throttling |
String |
Accepts “on” as value to enable Alert Throttling. Can be “on” only. Optional Field |
throttling_field |
Field |
String |
Specify a field on the basis of which alert throttling will be applied. Can be positive integer or 0. Mandatory only when the value of throttling_enabled is “on”. Optional Field |
throttling_time_range |
Minutes |
int |
Specify a time in minutes for which alert will not be dispatched. Mandatory only when the value of the value of throttling_enabled is “on”. Optional Field |
timerange_day |
Day |
int |
Specify the timerange in Day for which the alert condition is to be matched. Either timerange_day or timerange_hour must be present when timerange_minute is not present in the request. Optional Field |
timerange_hour |
Hour |
int |
Specify the timerange in Hour for which the alert condition is to be matched. Either timerange_day or timerange_hour must be present when timerange_minute is not present in the request. Optional Field |
timerange_minute |
Minute |
int |
Specify the timerange in Minute for which the alert condition is to be matched. Mandatory only when timerange_day and timerange_hour is not present in the request. Optional Field |