Azure/azure-policy

Email notification for high severity alerts should be enabled: Validates that email notifications are off rather than on

mattias-fjellstrom opened this issue · 1 comments

This is a duplicate of #1312 but since it is closed without a proper resolution I am opening a new issue.

Details of the scenario you tried and the problem that is occurring

The rule Email notification for high severity alerts should be enabled in CIS 1.1.0 is broken. We have configured 100+ subscriptions correctly and since a few weeks back every subscription is listed as non-compliant with this policy.

Verbose logs showing the problem

N/A

Suggested solution to the issue

The suggested solution in #1312 is to replace the anyOf with allOf here

If policy is Guest Configuration - details about target node

N/A

I've noticed that now all subscriptions are compliant again. The policy seems to have been updated.