diff --git a/infrastructure/modules/sql-server/main.tf b/infrastructure/modules/sql-server/main.tf index 22d9a50..413d096 100644 --- a/infrastructure/modules/sql-server/main.tf +++ b/infrastructure/modules/sql-server/main.tf @@ -82,23 +82,23 @@ 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 +# } /* -------------------------------------------------------------------------------------------------- Security Alert Policy for SQL Server -------------------------------------------------------------------------------------------------- */ -resource "azurerm_mssql_server_security_alert_policy" "sql_server_alert_policy" { +# resource "azurerm_mssql_server_security_alert_policy" "sql_server_alert_policy" { - server_name = azurerm_mssql_server.azure_sql_server.name - resource_group_name = var.resource_group_name - state = var.sql_server_alert_policy_state - retention_days = var.security_alert_policy_retention_days -} +# server_name = azurerm_mssql_server.azure_sql_server.name +# resource_group_name = var.resource_group_name +# state = var.sql_server_alert_policy_state +# retention_days = var.security_alert_policy_retention_days +# } /* -------------------------------------------------------------------------------------------------- Vulnerability Assessment for SQL Server