Skip to content

Commit a571c1d

Browse files
committed
adding terraform v0.15 support
1 parent ad44677 commit a571c1d

File tree

10 files changed

+53
-27
lines changed

10 files changed

+53
-27
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ module "mssql-server" {
4545
sql_database_edition = "Standard"
4646
sqldb_service_objective_name = "S1"
4747
48-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
49-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
48+
# SQL server extended auditing policy defaults to `true`.
49+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
50+
# DB extended auditing policy defaults to `false`.
51+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
5052
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
5153
enable_threat_detection_policy = true
5254
log_retention_days = 30
@@ -131,7 +133,7 @@ By default, this feature enabled on SQL servers. To manage the threat detection
131133

132134
### `threat_detection_policy` - SQL Database Advanced Threat Protection
133135

134-
Advanced Threat Protection for single and pooled databases detects anomalous activities indicating unusual and potentially harmful attempts to access or exploit databases. Advanced Threat Protection can identify Potential SQL injection, Access from unusual location or data center, Access from the unfamiliar principal or potentially harmful application, and Brute force SQL credentials - see more details in Advanced Threat Protection alerts.
136+
Advanced Threat Protection for single and pooled databases detects anomalous activities indicating unusual and potentially harmful attempts to access or exploit databases. Advanced Threat Protection can identify Potential SQL injection, Access from an unusual location or data center, Access from the unfamiliar principal or potentially harmful application, and Brute force SQL credentials - see more details in Advanced Threat Protection alerts.
135137

136138
By default, this feature not enabled on this module. To enable the threat detection policy for the database, set the argument `enable_threat_detection_policy = true`.
137139

examples/README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ module "mssql-server" {
2626
sql_database_edition = "Standard"
2727
sqldb_service_objective_name = "S1"
2828
29-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
30-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
29+
# SQL server extended auditing policy defaults to `true`.
30+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
31+
# DB extended auditing policy defaults to `false`.
32+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
3133
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
3234
enable_threat_detection_policy = true
3335
log_retention_days = 30
@@ -99,8 +101,10 @@ module "mssql-server" {
99101
sql_database_edition = "Standard"
100102
sqldb_service_objective_name = "S1"
101103
102-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
103-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
104+
# SQL server extended auditing policy defaults to `true`.
105+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
106+
# DB extended auditing policy defaults to `false`.
107+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
104108
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
105109
enable_threat_detection_policy = true
106110
log_retention_days = 30
@@ -173,8 +177,10 @@ module "mssql-server" {
173177
sql_database_edition = "Standard"
174178
sqldb_service_objective_name = "S1"
175179
176-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
177-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
180+
# SQL server extended auditing policy defaults to `true`.
181+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
182+
# DB extended auditing policy defaults to `false`.
183+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
178184
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
179185
enable_threat_detection_policy = true
180186
log_retention_days = 30
@@ -250,8 +256,10 @@ module "mssql-server" {
250256
sql_database_edition = "Standard"
251257
sqldb_service_objective_name = "S1"
252258
253-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
254-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
259+
# SQL server extended auditing policy defaults to `true`.
260+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
261+
# DB extended auditing policy defaults to `false`.
262+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
255263
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
256264
enable_threat_detection_policy = true
257265
log_retention_days = 30

examples/SQL_DB_Using_Geo-replication_with_Auto-Failover_Groups/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ module "mssql-server" {
2323
sql_database_edition = "Standard"
2424
sqldb_service_objective_name = "S1"
2525
26-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
27-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
26+
# SQL server extended auditing policy defaults to `true`.
27+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
28+
# DB extended auditing policy defaults to `false`.
29+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
2830
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
2931
enable_threat_detection_policy = true
3032
log_retention_days = 30

examples/SQL_DB_Using_Geo-replication_with_Auto-Failover_Groups/main.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ module "mssql-server" {
1616
sql_database_edition = "Standard"
1717
sqldb_service_objective_name = "S1"
1818

19-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
20-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
19+
# SQL server extended auditing policy defaults to `true`.
20+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
21+
# DB extended auditing policy defaults to `false`.
22+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
2123
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
2224
enable_threat_detection_policy = true
2325
log_retention_days = 30

examples/SQL_DB_Using_Geo-replication_with_Auto-Failover_Groups_and_Private_Endpoints/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ module "mssql-server" {
2525
sql_database_edition = "Standard"
2626
sqldb_service_objective_name = "S1"
2727
28-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
29-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
28+
# SQL server extended auditing policy defaults to `true`.
29+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
30+
# DB extended auditing policy defaults to `false`.
31+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
3032
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
3133
enable_threat_detection_policy = true
3234
log_retention_days = 30

examples/SQL_DB_Using_Geo-replication_with_Auto-Failover_Groups_and_Private_Endpoints/main.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ module "mssql-server" {
1818
sql_database_edition = "Standard"
1919
sqldb_service_objective_name = "S1"
2020

21-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
22-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
21+
# SQL server extended auditing policy defaults to `true`.
22+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
23+
# DB extended auditing policy defaults to `false`.
24+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
2325
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
2426
enable_threat_detection_policy = true
2527
log_retention_days = 30

examples/Simple_SQL_Single_Database_Using_Private_Endpoint/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ module "mssql-server" {
2525
sql_database_edition = "Standard"
2626
sqldb_service_objective_name = "S1"
2727
28-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
29-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
28+
# SQL server extended auditing policy defaults to `true`.
29+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
30+
# DB extended auditing policy defaults to `false`.
31+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
3032
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
3133
enable_threat_detection_policy = true
3234
log_retention_days = 30

examples/Simple_SQL_Single_Database_Using_Private_Endpoint/main.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ module "mssql-server" {
1818
sql_database_edition = "Standard"
1919
sqldb_service_objective_name = "S1"
2020

21-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
22-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
21+
# SQL server extended auditing policy defaults to `true`.
22+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
23+
# DB extended auditing policy defaults to `false`.
24+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
2325
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
2426
enable_threat_detection_policy = true
2527
log_retention_days = 30

examples/Simple_SQL_Single_Database_creation/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ module "mssql-server" {
2424
sql_database_edition = "Standard"
2525
sqldb_service_objective_name = "S1"
2626
27-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
28-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
27+
# SQL server extended auditing policy defaults to `true`.
28+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
29+
# DB extended auditing policy defaults to `false`.
30+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
2931
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
3032
enable_threat_detection_policy = true
3133
log_retention_days = 30

examples/Simple_SQL_Single_Database_creation/main.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ module "mssql-server" {
1616
sql_database_edition = "Standard"
1717
sqldb_service_objective_name = "S1"
1818

19-
# SQL server extended auditing policy defaults to `true`. To turn off set enable_sql_server_extended_auditing_policy to `false`
20-
# DB extended auditing policy defaults to `false`. to tun on set the variable `enable_database_extended_auditing_policy` to `true`
19+
# SQL server extended auditing policy defaults to `true`.
20+
# To turn off set enable_sql_server_extended_auditing_policy to `false`
21+
# DB extended auditing policy defaults to `false`.
22+
# to tun on set the variable `enable_database_extended_auditing_policy` to `true`
2123
# To enable Azure Defender for Azure SQL database servers set `enable_threat_detection_policy` to true
2224
enable_threat_detection_policy = true
2325
log_retention_days = 30

0 commit comments

Comments
 (0)