Skip to main content

🛡️ 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

Stats​

not available

Logic​

Description​

Open File

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 flags an Azure Subscription as INCOMPLIANT if it does not have an enabled related Azure Activity Log Alert scoped to the subscription whose Condition JSON filters on ServiceHealth.

Default Value​

By default, no monitoring alerts are created.

References​

  1. https://learn.microsoft.com/en-us/azure/service-health/overview
  2. https://learn.microsoft.com/en-us/azure/service-health/alerts-activity-log-service-notifications-portal
  3. https://azure.microsoft.com/en-us/pricing/details/monitor/#faq
  4. https://learn.microsoft.com/en-us/cli/azure/monitor/activity-log/alert
  5. https://learn.microsoft.com/en-us/powershell/module/az.monitor/get-azactivitylogalert

... see more

Remediation​

Open File

Remediation​

From Azure Portal​

  1. Go to Monitor.
  2. Click Alerts.
  3. Click + Create.
  4. Select Alert rule from the drop-down menu.
  5. Choose a subscription.
  6. Click Apply.
  7. Select the Condition tab.
  8. Click See all signals.
  9. Select Service health.
  10. Click Apply.
  11. Open the drop-down menu next to Event types.
  12. Check the box next to Select all.
  13. Select the Actions tab.
  14. Click Select action groups to select an existing action group, or Create action group to create a new action group.
  15. Follow the prompts to choose or create an action group.
  16. Select the Details tab.
  17. Select a Resource group, provide an Alert rule name and an optional Alert rule description.
  18. Click Review + create.
  19. Click Create.
  20. 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}} \

... [see more](remediation.md)

policy.yaml​

Open File

Linked Framework Sections​

SectionSub SectionsInternal RulesPoliciesFlagsCompliance
💼 CIS Azure v5.0.0 → 💼 6.1.2.11 Ensure that an Activity Log Alert exists for Service Health (Automated)1no data
💼 CIS Azure v6.0.0 → 💼 6.1.2.11 Ensure that an Activity Log Alert Exists for Service Health (Automated)1no data
💼 Cloudaware Framework → 💼 Alerting and Notification42no data