tyconsulting / azurepolicy

MIT License
147 stars 132 forks source link

Existence condition when metrics/logs are disabled #29

Open tesharp opened 1 year ago

tesharp commented 1 year ago

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