| name | cis-azure-foundations-6.1.2.11 |
| description | Ensure that an Activity Log Alert exists for Service Health |
| category | cis-azure-foundations |
| version | 5.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","logging","monitoring","activity-log-alerts","service-health"] |
| cis_id | 6.1.2.11 |
| cis_benchmark | CIS Microsoft Azure Foundations Benchmark v5.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Ensure that an Activity Log Alert exists for Service Health
Description
Create an activity log alert for Service Health.
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 Procedure
Using Azure Portal
- Go to
Monitor.
- Click
Alerts.
- Click
Alert rules.
- Ensure an alert rule exists for a subscription with
Condition set to Service names=All, Event types=All and Target resource type set to Subscription.
- If an alert rule is found for step 4, click the name of the alert rule.
- Ensure the
Actions panel displays an action group configured to notify appropriate personnel.
- Repeat steps 1-6 for each subscription.
Using Azure CLI
Run the following command to list activity log alerts:
az monitor activity-log alert list --subscription <subscription-id>
For each activity log alert, run the following command:
az monitor activity-log alert show --subscription <subscription-id> --resource-group <resource-group> --activity-log-alert-name <activity-log-alert>
Ensure an alert exists for ServiceHealth with scopes set to a subscription ID.
Repeat for each subscription.
Using PowerShell
Run the following command to locate ServiceHealth alert rules for a subscription:
Get-AzActivityLogAlert -SubscriptionId <subscription-id> | where-object {$_.ConditionAllOf.Equal -match "ServiceHealth"} | select-object Location,Name,Enabled,ResourceGroupName,ConditionAllOf
Ensure that at least one ServiceHealth alert rule is returned.
Repeat for each subscription.
Expected Result
An activity log alert rule should exist for Service Health with ServiceHealth category and an action group assigned to notify appropriate personnel.
Remediation
Remediate from Azure Portal
- Go to .