azure-policy icon indicating copy to clipboard operation
azure-policy copied to clipboard

ServiceBus_DeployDiagnosticLog_Deploy_LogAnalytics.json is behind

Open swupdiedoowap opened this issue 2 years ago • 1 comments

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: image

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.

swupdiedoowap avatar Apr 01 '22 09:04 swupdiedoowap

Agree, the policy should use allLogs category.

jurajsucik avatar May 19 '22 10:05 jurajsucik