azure-seccntr-email-alerts¶
Ensure that 'Send email notification for high severity alerts' is set to 'On'
Security Center emails subscription owners whenever a high-severity alert is triggered for their subscription. Disabling these notifications may cause critical alerts to be ignored.
Examples¶
Insecure Example
resource "azurerm_security_center_contact" "example" {
email = "contact@example.com"
phone = "+1-555-555-5555"
alert_notifications = false
alerts_to_admins = false
}
Secure Example
resource "azurerm_security_center_contact" "example" {
email = "contact@example.com"
phone = "+1-555-555-5555"
alert_notifications = true
alerts_to_admins = true
}