-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incorporate schema change suggestions from code review
Signed-off-by: Owen Farrell <[email protected]>
- Loading branch information
1 parent
35bf494
commit bdd4d1a
Showing
11 changed files
with
42 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,8 +91,8 @@ resource "azurerm_synapse_sql_pool_vulnerability_assessment" "test" { | |
storage_account_access_key = azurerm_storage_account.test.primary_access_key | ||
recurring_scans { | ||
enabled = true | ||
email_subscription_admins = true | ||
enabled = true | ||
email_subscription_admins_enabled = true | ||
emails = [ | ||
"[email protected]", | ||
"[email protected]" | ||
|
@@ -160,7 +160,7 @@ resource "azurerm_storage_container" "test" { | |
resource "azurerm_synapse_sql_pool_security_alert_policy" "test" { | ||
sql_pool_id = azurerm_synapse_sql_pool.test.id | ||
state = "Enabled" | ||
policy_state = "Enabled" | ||
storage_endpoint = azurerm_storage_account.test.primary_blob_endpoint | ||
storage_account_access_key = azurerm_storage_account.test.primary_access_key | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,8 +91,8 @@ resource "azurerm_synapse_workspace_vulnerability_assessment" "test" { | |
storage_account_access_key = azurerm_storage_account.test.primary_access_key | ||
recurring_scans { | ||
enabled = true | ||
email_subscription_admins = true | ||
enabled = true | ||
email_subscription_admins_enabled = true | ||
emails = [ | ||
"[email protected]", | ||
"[email protected]" | ||
|
@@ -153,7 +153,7 @@ resource "azurerm_storage_container" "test" { | |
resource "azurerm_synapse_workspace_security_alert_policy" "test" { | ||
synapse_workspace_id = azurerm_synapse_workspace.test.id | ||
state = "Enabled" | ||
policy_state = "Enabled" | ||
storage_endpoint = azurerm_storage_account.test.primary_blob_endpoint | ||
storage_account_access_key = azurerm_storage_account.test.primary_access_key | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ resource "azurerm_storage_account" "audit_logs" { | |
resource "azurerm_synapse_sql_pool_security_alert_policy" "example" { | ||
sql_pool_id = azurerm_synapse_sql_pool.example.id | ||
state = "Enabled" | ||
policy_state = "Enabled" | ||
storage_endpoint = azurerm_storage_account.audit_logs.primary_blob_endpoint | ||
storage_account_access_key = azurerm_storage_account.audit_logs.primary_access_key | ||
disabled_alerts = [ | ||
|
@@ -86,8 +86,8 @@ resource "azurerm_synapse_sql_pool_vulnerability_assessment" "example" { | |
storage_account_access_key = azurerm_storage_account.example.primary_access_key | ||
recurring_scans { | ||
enabled = true | ||
email_subscription_admins = true | ||
enabled = true | ||
email_subscription_admins_enabled = true | ||
emails = [ | ||
"[email protected]", | ||
"[email protected]" | ||
|
@@ -115,7 +115,7 @@ The following arguments are supported: | |
`recurring_scans` supports the following: | ||
|
||
* `enabled` - (Optional) Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`. | ||
* `email_subscription_admins` - (Optional) Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. | ||
* `email_subscription_admins_enabled` - (Optional) Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. | ||
* `emails` - (Optional) Specifies an array of e-mail addresses to which the scan notification is sent. | ||
|
||
## Attributes Reference | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ resource "azurerm_storage_account" "audit_logs" { | |
resource "azurerm_synapse_workspace_security_alert_policy" "example" { | ||
synapse_workspace_id = azurerm_synapse_workspace.example.id | ||
state = "Enabled" | ||
policy_state = "Enabled" | ||
storage_endpoint = azurerm_storage_account.audit_logs.primary_blob_endpoint | ||
storage_account_access_key = azurerm_storage_account.audit_logs.primary_access_key | ||
disabled_alerts = [ | ||
|
@@ -79,8 +79,8 @@ resource "azurerm_synapse_workspace_vulnerability_assessment" "example" { | |
storage_account_access_key = azurerm_storage_account.example.primary_access_key | ||
recurring_scans { | ||
enabled = true | ||
email_subscription_admins = true | ||
enabled = true | ||
email_subscription_admins_enabled = true | ||
emails = [ | ||
"[email protected]", | ||
"[email protected]" | ||
|
@@ -108,7 +108,7 @@ The following arguments are supported: | |
`recurring_scans` supports the following: | ||
|
||
* `enabled` - (Optional) Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`. | ||
* `email_subscription_admins` - (Optional) Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. | ||
* `email_subscription_admins_enabled` - (Optional) Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. | ||
* `emails` - (Optional) Specifies an array of e-mail addresses to which the scan notification is sent. | ||
|
||
## Attributes Reference | ||
|