This module deploys an analytic rule to Azure Sentinel.
You'll need to provide the following:
- Log Analytics Workspace ID
- Query
- Query Frequency
- Query Period
- Severity
- Tactics
- Trigger Operator
- Trigger Threshold
- Entity Mapping
- Incident Configuration
No requirements.
Name | Version |
---|---|
azurerm | n/a |
random | n/a |
No modules.
Name | Type |
---|---|
azurerm_sentinel_alert_rule_scheduled.this | resource |
random_uuid.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
custom_details | (Optional) The custom details of the alert rule. | map(string) |
{} |
no |
description | (Required) The description of the alert rule. | string |
n/a | yes |
display_name | (Required) The display name of the alert rule. | string |
n/a | yes |
enabled | (Optional) The enabled status of the alert rule. Defaults to true. | bool |
true |
no |
entity_mapping | (Optional) The entity mapping of the alert rule. | list(object({ |
[] |
no |
event_grouping | (Optional) The event grouping of the alert rule. | map(string) |
{ |
no |
incident_configuration | (Optional) The incident configuration of the alert rule. | any |
{ |
no |
name | (Optional) The name of the azurerm_sentinel_alert_rule_scheduled. If not provided, a random UUID will be used. | string |
"" |
no |
query | (Required) The query that will be used to create the alert rule. | string |
n/a | yes |
query_frequency | (Optional) The frequency of the query. Defaults to PT1H. | string |
"PT1H" |
no |
query_period | (Optional) The period of the query. Defaults to PT1H. | string |
"PT1H" |
no |
severity | (Optional) The severity of the alert rule. Defaults to Medium. | string |
"Medium" |
no |
suppression_duration | (Optional) The suppression duration of the alert rule. Defaults to PT1H. | string |
"PT1H" |
no |
suppression_enabled | (Optional) The suppression enabled of the alert rule. Defaults to false. | bool |
false |
no |
tactics | (Optional) The tactics of the alert rule. Defaults to [InitialAccess]. | list(string) |
[ |
no |
techniques | (Optional) The techniques of the alert rule. Defaults to null | list(string) |
null |
no |
trigger_operator | (Optional) The trigger operator of the alert rule. Defaults to GreaterThan. | string |
"GreaterThan" |
no |
trigger_threshold | (Optional) The trigger threshold of the alert rule. Defaults to 0. | number |
0 |
no |
workspace_id | (Required) The workspace that the alert is going to use | string |
n/a | yes |
Name | Description |
---|---|
alert_rule_id | The ID of the alert rule. |