Azure Monitor Action Rule Suppression
This page shows how to write Terraform and Azure Resource Manager for Monitor Action Rule Suppression and write them securely.
azurerm_monitor_action_rule_suppression (Terraform)
The Action Rule Suppression in Monitor can be configured in Terraform with the resource name azurerm_monitor_action_rule_suppression. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
descriptionoptional - string -
enabledoptional - bool -
idoptional computed - string -
namerequired - string -
resource_group_namerequired - string -
tagsoptional - map from string to string -
conditionlist block-
alert_contextlist block -
alert_rule_idlist block -
descriptionlist block -
monitorlist block -
monitor_servicelist block -
severitylist block -
target_resource_typelist block
-
-
scopelist block-
resource_idsrequired - set of string -
typerequired - string
-
-
suppressionlist block-
recurrence_typerequired - string -
schedulelist block-
end_date_utcrequired - string -
recurrence_monthlyoptional - set of number -
recurrence_weeklyoptional - set of string -
start_date_utcrequired - string
-
-
-
timeoutssingle block
Explanation in Terraform Registry
Manages an Monitor Action Rule which type is suppression.
Tips: Best Practices for The Other Azure Monitor Resources
In addition to the azurerm_monitor_log_profile, Azure Monitor has the other resources that should be configured for security reasons. Please check some examples of those resources and precautions.
azurerm_monitor_log_profile
Ensure to enable the activity retention log
It is better to enable the activity retention log to ensure that all the information required for an effective investigation is still available.
Microsoft.AlertsManagement/actionRules (Azure Resource Manager)
The actionRules in Microsoft.AlertsManagement can be configured in Azure Resource Manager with the resource name Microsoft.AlertsManagement/actionRules. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.