-
Notifications
You must be signed in to change notification settings - Fork 142
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
Create diagnostic settings module and incorporate into all modules #465
Comments
for an example, here's how the diagnostic settings for the Firewall and Firewall PIP are configured in the Terraform implementation: missionlz/src/terraform/modules/firewall/main.tf Lines 91 to 177 in aba1e46
|
Today's Terraform implementation configures these logs categories and the Azure Firewall
Public IP Address
Network Security Group
Virtual Network
|
Is your feature request related to a problem? Please describe.
Parity between TF and Bicep deployment results as well as central logging requirement for compliance.
Describe the solution you'd like
Currently the Bicep deployment only sets diagnostic settings for virtual network metrics, activity logs and the central log analytics workspace itself. Terraform sets for firewall, publicIP, vnet and nsg. Terraform also sends to both LA workspace and storage accounts.
Describe alternatives you've considered
This can be done by creating policies that enable diagnostic settings and then forcing remediation against each and can be done out of band. As policy via remediation it will incur latency in deployment as remediation applies changes but will also benefit by performing on any future resource deployments. Doing out of band risks being immediately out of compliance for basic requirement.
Additional context
Diagnotic settings needs to be complete either on or off and shouldn't leave uncertain results.
The text was updated successfully, but these errors were encountered: