You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable logging by category group for Network security groups (microsoft.network/networksecuritygroups) to Event Hub: Non existent default option 'audit'
#1397
Open
thedevopsjedi opened this issue
Oct 27, 2024
· 0 comments
Details of the scenario you tried and the problem that is occurring
I have assigned the Policy named Enable logging by category group for Network security groups (microsoft.network/networksecuritygroups) to Event Hub which I believe is represented in built-in-policies/policyDefinitions/Monitoring/DS_EH_network-networksecuritygroups_DINE.json however the default option for Category Group is audit and this resource does not have an audit category so this is incorrect.
When left using the default option the policy appears to apply correctly but no diagnostic settings are configured.
Verbose logs showing the problem
N/A
Suggested solution to the issue
Please remove audit from the Category Group parameters and set set allLogs as the default option.
The text was updated successfully, but these errors were encountered:
Details of the scenario you tried and the problem that is occurring
I have assigned the Policy named
Enable logging by category group for Network security groups (microsoft.network/networksecuritygroups) to Event Hub
which I believe is represented inbuilt-in-policies/policyDefinitions/Monitoring/DS_EH_network-networksecuritygroups_DINE.json
however the default option forCategory Group
isaudit
and this resource does not have an audit category so this is incorrect.When left using the default option the policy appears to apply correctly but no diagnostic settings are configured.
Verbose logs showing the problem
N/A
Suggested solution to the issue
Please remove
audit
from theCategory Group
parameters and set setallLogs
as the default option.The text was updated successfully, but these errors were encountered: