azurepolicy
azurepolicy copied to clipboard
Existence condition when metrics/logs are disabled
Great policies, just one note regarding existence condition. Due to lack of metrics in diagnostics logs we dont export metrics at all and disable them. However the existence condition checks if metrics are True, even if parameters is set to false. So it will just never be compliant because metrics is never enabled.
Existence condition should check same as parameter input