Terraform

Terraform

By DeepSource

Azure SQL server send alerts to field value is not set TF-S1026

Security

In case of security threats or other anomalous activities detected on SQL servers, it is crucial to let the concerned people know. Providing the email address to receive alerts ensures that any detection of abnormal activities is reported as soon as possible, so for any potential risk, early mitigation could be enabled.

We recommend you add an email address to the Send Alerts to field value for MySQL servers.

Examples

Recommended

resource "azurerm_mssql_security_alert_policy" "recommended" {
    ...
    email_addresses = ["[email protected]"]
}

References