Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@thedevopsjedi
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant