🛡️ Azure Subscription Security Alert Notifications for alerts with High or Critical severity are not configured🟢
- Contextual name: 🛡️ Security Alert Notifications for alerts with High or Critical severity is not configured🟢
- ID:
/ce/ca/azure/subscription/security-alert-notifications-for-alerts-with-high-severity - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Similar Policies
- Cloud Conformity: Email Notification for Alerts
- Internal:
dec-x-ba4c5b1c
Similar Internal Rules
| Rule | Policies | Flags |
|---|---|---|
| ✉️ dec-x-ba4c5b1c | 1 |
Description
Description
Enables emailing security alerts to the subscription owner or other designated security contact.
Rationale
Enabling security alert emails ensures that security alert emails are received from Microsoft. This ensures that the right people are aware of any potential security issues and are able to mitigate the risk.
Impact
Enabling security alert emails can cause alert fatigue, increasing the risk of missing important alerts. Select an appropriate severity level to manage notifications. Azure aims to reduce alert fatigue by limiting the daily email volume per severity level. Learn more: https://learn.microsoft.com/en-us/azure/defender-for-cloud/configure-email-notifications#email-frequency.
Audit
This policy flags an Azure Subscription as
INCOMPLIANTif theSecurity Center: Contactsconfiguration does not include a default contact wherealertNotificationsis set to On andalertNotificationsMinimalSeverityis set to High or Critical.From Azure Policy
If referencing a digital copy of this Benchmark, clicking a Policy ID will open a link to the associated Policy definition in Azure.
... see more
Remediation
Remediation
From Azure Portal
- From Azure Home select the Portal Menu.
- Select
Microsoft Defender for Cloud.- Under
Management, selectEnvironment Settings.- Click on the appropriate Management Group, Subscription, or Workspace.
- Click on
Email notifications.- Under
Notification types, check the check box next toNotify about alerts with the following severity (or higher)and selectHighfrom the drop down menu.- Click
Save.- Repeat steps 1-7 for each Subscription requiring remediation.
From Azure CLI
Use the below command to set
Send email notification for high severity alertstoOn.az account get-access-token --query "{subscription:subscription,accessToken:accessToken}" --out tsv | xargs -L1 bash -c 'curl -X PUT -H "Authorization: Bearer $1" -H "Content-Type: application/json" https://management.azure.com/subscriptions/<$0>/providers/Microsoft.Security/securityContacts/default1?api-version=2017-08-01-preview -d@"input.json"'Where
input.jsoncontains the data below, replacingvalidEmailAddresswith a single email address or multiple comma-separated email addresses:... see more