Description
alert_notifications controls whether Defender for Cloud sends security alert emails to the configured contact.
Potential impact
If the team relies on this mailbox, turning the setting off can delay response even while Defender continues detecting alerts.
Remediation
Set alert_notifications = true and confirm an alert reaches a mailbox the team monitors. Test your backup channel, such as a SIEM or ticketing system.
Examples
To use these excerpts with AzureRM 4.50.0, supply name and alerts_to_admins. The latter controls notifications to subscription administrators.
Before
hcl
resource "azurerm_security_center_contact" "example" {
email = "contact@example.com"
phone = "+1-555-555-5555"
alert_notifications = false
}
After
hcl
resource "azurerm_security_center_contact" "example" {
email = "contact@example.com"
phone = "+1-555-555-5555"
alert_notifications = true
}