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

Opt-in for AllMetrics diagnostic settings #475

Open
glennmusa opened this issue Oct 21, 2021 · 1 comment
Open

Opt-in for AllMetrics diagnostic settings #475

glennmusa opened this issue Oct 21, 2021 · 1 comment
Labels
bicep Related to Bicep code core New feature or request

Comments

@glennmusa
Copy link
Contributor

glennmusa commented Oct 21, 2021

Benefit/Result/Outcome

The Diagnostics Setting for AllMetrics is verbose, costly, and not always necessary for SCCA compliance. Instead of being turned on by default, we can make this an opt-in decision.

Description

The Diagnostic Settings resources are currently created for the firewall, the firewall Public IP addresses, and all network security groups. Update these diagnostic settings resources with metrics collections that by default do not configure the AllMetrics category, but given a boolean parameter, include that AllMetrics category.

Acceptance Criteria

  • The AllMetrics diagnostic setting is not enabled by default on the firewall, public IP addresses, and network security groups.
  • The firewall, public IP, and network security groups have separate boolean parameters that default to false which can be overridden to enable AllMetrics on any of the resource types listed above, i.e., three boolean parameters that control their respective AllMetrics settings.
  • The parameters are available in Bicep and Terraform.
  • The parameters are visible in the portal form.
@brooke-hamilton
Copy link
Contributor

@glennmusa apologies for asking this after triage happened on this item.

I updated the acceptance criteria to add more detail. I want to verify that there is currently no diagnostic setting applied to NSGs (unless it's the default) and we want to add one. The description says NSGs currently have AllMetrics applied to them but I don't find it in the code.

Questions:

  • Do you think the default should be true instead of false for AllMetrics because that's our current setting, and changing it would change the behavior of MLZ, which could be unexpected for some people?
  • As part of this backlog item are we adding a setting for NSGs? (I added it to the acceptance criteria but I want to confirm.)

@brooke-hamilton brooke-hamilton moved this from Backlog to Deferred in Mission Landing Zone 2022 Feb 3, 2022
@jamasten jamasten added the bicep Related to Bicep code label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bicep Related to Bicep code core New feature or request
Projects
No open projects
Status: Future Backlog
Development

No branches or pull requests

3 participants