π 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
- Located in: π Azure Subscription
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-ba4c5b1c
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-ba4c5b1c | 1 |
Logicβ
- π§ prod.logic.yaml π’
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
INCOMPLIANT
if theSecurity Center: Contacts
configuration does not include a default contact wherealertNotifications
is set to On andalertNotificationsMinimalSeverity
is 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 selectHigh
from 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 alerts
toOn
.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.json
contains the data below, replacingvalidEmailAddress
with a single email address or multiple comma-separated email addresses:... see more