Description
Create an activity log alert for the Create Policy Assignment event.
Rationaleβ
Monitoring for create policy assignment events gives insight into changes done in "Azure policy - assignments" and can reduce the time it takes to detect unsolicited changes.
Auditβ
This policy evaluates Azure Subscriptions for the presence of an Azure Activity Log Alert that captures Create Policy Assignment events. A subscription is marked asΒ INCOMPLIANT
Β if it does not have an Activity Log Alert whose Condition JSON
filters on theΒ Microsoft.Authorization/policyAssignments/writeΒ operation.
Default Valueβ
By default, no monitoring alerts are created.
Referencesβ
- https://azure.microsoft.com/en-us/updates/classic-alerting-monitoring-retirement
- https://docs.microsoft.com/en-in/azure/azure-monitor/platform/alerts-activity-log
- https://docs.microsoft.com/en-in/rest/api/monitor/activitylogalerts/createorupdate
- https://docs.microsoft.com/en-in/rest/api/monitor/activitylogalerts/listbysubscriptionid
- https://learn.microsoft.com/en-us/security/benchmark/azure/mcsb-logging-threat-detection#lt-3-enable-logging-for-security-investigation
- https://docs.microsoft.com/en-in/rest/api/policy/policy-assignments
- https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-log