From 080cf8d8bec9e7d8d782e86710223d2643fca8ea Mon Sep 17 00:00:00 2001 From: Alastair Lock Date: Tue, 10 Dec 2024 15:44:30 +0000 Subject: [PATCH] wip --- infrastructure/modules/sql-server/main.tf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/infrastructure/modules/sql-server/main.tf b/infrastructure/modules/sql-server/main.tf index d16ae8d..bca0e6f 100644 --- a/infrastructure/modules/sql-server/main.tf +++ b/infrastructure/modules/sql-server/main.tf @@ -82,16 +82,16 @@ module "diagnostic_setting_sql_server" { /* -------------------------------------------------------------------------------------------------- SQL Server Extended Auditing Policy -------------------------------------------------------------------------------------------------- */ -resource "azurerm_mssql_server_extended_auditing_policy" "azure_sql_server" { +# resource "azurerm_mssql_server_extended_auditing_policy" "azure_sql_server" { - server_id = azurerm_mssql_server.azure_sql_server.id - log_monitoring_enabled = var.log_monitoring_enabled - retention_in_days = var.auditing_policy_retention_in_days +# server_id = azurerm_mssql_server.azure_sql_server.id +# log_monitoring_enabled = var.log_monitoring_enabled +# retention_in_days = var.auditing_policy_retention_in_days - depends_on = [ - module.rbac_assignments - ] -} +# depends_on = [ +# module.rbac_assignments +# ] +# } /* -------------------------------------------------------------------------------------------------- Security Alert Policy for SQL Server