Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_monitor_activity_log_alert - support for Security event type for Azure Service Health alerts #11802

Merged
merged 4 commits into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func resourceMonitorActivityLogAlert() *schema.Resource {
"Maintenance",
"Informational",
"ActionRequired",
"Security",
},
false,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ resource "azurerm_monitor_activity_log_alert" "test" {
criteria {
category = "ServiceHealth"
service_health {
events = ["Incident", "Maintenance", "ActionRequired"]
events = ["Incident", "Maintenance", "ActionRequired", "Security"]
services = ["Action Groups"]
locations = ["Global", "West Europe", "East US"]
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/monitor_activity_log_alert.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ A `criteria` block supports the following:

A `service_health` block supports the following:

* `events` (Optional) Events this alert will monitor Possible values are `Incident`, `Maintenance`, `Informational`, and `ActionRequired`.
* `events` (Optional) Events this alert will monitor Possible values are `Incident`, `Maintenance`, `Informational`, `ActionRequired` and `Security`.
* `locations` (Optional) Locations this alert will monitor. For example, `West Europe`. Defaults to `Global`.
* `services` (Optional) Services this alert will monitor. For example, `Activity Logs & Alerts`, `Action Groups`. Defaults to all Services.

Expand Down