azure-policy
azure-policy copied to clipboard
ServiceBus_DeployDiagnosticLog_Deploy_LogAnalytics.json is behind
Currently the categories of the diagnostic policy for service bus is running behind on what is actually available:
Current policy implementation:
{
"category": "OperationalLogs",
"enabled": "[parameters('logsEnabled')]"
},
{
"category": "VNetAndIPFilteringLogs",
"enabled": "[parameters('logsEnabled')]"
}
Currently available for service bus:
This discrepancy is causing the policy to be non-compliant and not cover all bases.
Same thing for the Event hub version of this policy.
Since there is already an allLogs category, so my suggestion would be to use this one.
Agree, the policy should use allLogs category.