MEDIUM
Source
Trivy/CSPM
CSPM ID
high-severity-alerts-enabled
ID
AVD-AZU-0044

Send notification emails for high severity alerts

It is recommended that at least one valid contact is configured for the security center. Microsoft will notify the security contact directly in the event of a security incident using email and require alerting to be turned on.

Impact

The ability to react to high severity notifications could be delayed

Follow the appropriate remediation steps below to resolve the issue.

  1. Log in to the Microsoft Azure Management Console.

  2. Select the “Search resources, services, and docs” option at the top and search for “Microsoft Defender for Cloud”. Step

  3. On the “Microsoft Defender for Cloud” page, scroll down the left navigation panel and choose “Environment Settings”.Step

  4. On the “Environment Settings” page, select the “Subscription” by clicking on the “Name”.Step

  5. Under the “Settings | Defender plans " page, click on the “Email Notifications. “Step

  6. On the “Settings | Email notifications” page under “Email recipients” if the “Additional email addresses (separated by commas)” is empty and only “owner” is selected in “All users with the following roles” then high severity alerts are not configured to be sent to the admins.Step

  7. Under “Email recipients”, click the dropdown for “All users with the following roles” and check mark “AccountAdmin and “ServiceAdmin” along with owner and enter one or more than one “Email addresses” separated by “comma in section “Additional email addresses (separated by commas)”.Step

  8. Under “Notification types” select “High” from the dropdown next to “Notify about alerts with the following severity (or higher). Click on the “Save” button to make the changes.Step

  9. Repeat step number 3 - 8 to ensure that high severity alerts are configured to be sent to subscription owners.

Set alert notifications to be on

1
2
3
4
5
6
7
8
		resource "azurerm_security_center_contact" "good_example" {
		email = "good_example@example.com"
		phone = "+1-555-555-5555"

		alert_notifications = true
		alerts_to_admins = true
		}