Ensure that an Azure activity log alert is used to detect "Create Policy Assignment" events within your Microsoft Azure cloud account. Activity log alerts get activated when a new activity log event that matches the condition specified in the alert occurs. In this case, the condition used is 'Whenever the Policy Activity Log "Create policy assignment (policyAssignments)" has "any" level, with "any" status and event is initiated by "any"'.
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
Monitoring your Azure cloud account for "Create Policy Assignment" events can provide insights into changes done within the "Policy Assignment" Azure policy and can help reduce the time it takes to detect unsolicited changes.
Audit
To determine if there is an activity log alert created for "Create Policy Assignment" events in your Azure cloud account, perform the following actions:
Remediation / Resolution
To create a Microsoft Azure activity log alert for detecting "Create Policy Assignment" events within your Azure cloud account, perform the following actions:
References
- Azure Official Documentation
- Create, view, and manage activity log alerts by using Azure Monitor
- Action rules (preview)
- CIS Microsoft Azure Foundations
- Azure Command Line Interface (CLI) Documentation
- az monitor log-profiles
- az monitor activity-log alert list
- az monitor activity-log alert show
- az monitor activity-log alert create