Forum Discussion
Policy sets resource to non-compliand but no Events are created
- Oct 05, 2020
Hi
Yes, there is nothing in event log.
But I got this response from support:
As updated from the Product group, any effect related log that is related to compliance evaluation is no longer written to activity log. If it's a policy denying an operation for a PUT/PATCH request on resource, those are still logged.
As confirmed also by PG, we are working towards integrating with Event Grid to create policies state events for resources that become non-compliant. This will allow you to be aware a state change has occurred and trigger actions such as kick off a remediation task. This feature is set to be completed late this calendar year.
So I guess it is correct that there aren't anything in the activity log for me.
Have you looked at Azure Monitor > Activity Log and filtered for Event Category = Policy?
Hi
Yes, there is nothing in event log.
But I got this response from support:
As updated from the Product group, any effect related log that is related to compliance evaluation is no longer written to activity log. If it's a policy denying an operation for a PUT/PATCH request on resource, those are still logged.
As confirmed also by PG, we are working towards integrating with Event Grid to create policies state events for resources that become non-compliant. This will allow you to be aware a state change has occurred and trigger actions such as kick off a remediation task. This feature is set to be completed late this calendar year.
So I guess it is correct that there aren't anything in the activity log for me.