🛡️ Azure Subscription Activity Log Alert for Service Health does not exist🟢
- Contextual name: 🛡️ Activity Log Alert for Service Health does not exist🟢
- ID:
/ce/ca/azure/subscription/activity-log-alert-for-service-health
- Tags:
- Policy Type:
COMPLIANCE_POLICY
- Policy Categories:
SECURITY
Logic
Description
Description
Create an activity log alert for Service Health event.
Rationale
Monitoring for Service Health events provides insight into service issues, planned maintenance, security advisories, and other changes that may affect the Azure services and regions in use.
Impact
There is no charge for creating activity log alert rules.
Audit
This policy evaluates Azure Subscriptions for the presence of an Azure Activity Log Alert that captures Service Health events. A subscription is marked as
INCOMPLIANT
if it does not have an Activity Log Alert whoseCondition JSON
filters on the ServiceHealth operation and theScope
is set to subscription.Default Value
By default, no monitoring alerts are created.
References
- https://learn.microsoft.com/en-us/azure/service-health/overview
- https://learn.microsoft.com/en-us/azure/service-health/alerts-activity-log-service-notifications-portal
- https://azure.microsoft.com/en-gb/pricing/details/monitor/#faq
- https://learn.microsoft.com/en-us/cli/azure/monitor/activity-log/alert
... see more
Remediation
Remediation
From Azure Portal
- Go to
Monitor
.- Click
Alerts
.- Click
+ Create
.- Select
Alert rule
from the drop-down menu.- Choose a subscription.
- Click
Apply
.- Select the
Condition
tab.- Click
See all signals
.- Select
Service health
.- Click
Apply
.- Open the drop-down menu next to
Event types
.- Check the box next to
Select all
.- Select the
Actions
tab.- Click
Select action groups
to select an existing action group, orCreate action group
to create a new action group.- Follow the prompts to choose or create an action group.
- Select the
Details
tab.- Select a
Resource group
, provide anAlert rule name
and an optionalAlert rule description
.- Click
Review + create
.- Click
Create
.- Repeat steps 1-19 for each subscription requiring remediation.
From Azure CLI
For each subscription requiring remediation, run the following command to create a
ServiceHealth
alert rule for a subscription:az monitor activity-log alert create --subscription <subscription-id> --resource-group <resource-group> --name <alert-rule> --condition category=ServiceHealth and properties.incidentType=Incident --scope /subscriptions/<subscription-id> --action-group <action-group>
... [see more](remediation.md)
policy.yaml
Linked Framework Sections
Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
---|---|---|---|---|---|
💼 CIS Azure v4.0.0 → 💼 7.1.2.11 Ensure that an Activity Log Alert exists for Service Health (Automated) | 1 | no data | |||
💼 Cloudaware Framework → 💼 Alerting and Notification | 27 | no data |