DatabaseThreatDetectionPolicy

data class DatabaseThreatDetectionPolicy(val disabledAlerts: List<String>? = null, val emailAccountAdmins: String? = null, val emailAddresses: List<String>? = null, val retentionDays: Int? = null, val state: String? = null, val storageAccountAccessKey: String? = null, val storageEndpoint: String? = null)

Constructors

Link copied to clipboard
constructor(disabledAlerts: List<String>? = null, emailAccountAdmins: String? = null, emailAddresses: List<String>? = null, retentionDays: Int? = null, state: String? = null, storageAccountAccessKey: String? = null, storageEndpoint: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val disabledAlerts: List<String>? = null

Specifies a list of alerts which should be disabled. Possible values include Access_Anomaly, Sql_Injection and Sql_Injection_Vulnerability.

Link copied to clipboard

Should the account administrators be emailed when this alert is triggered? Possible values are Enabled or Disabled. Defaults to Disabled.

Link copied to clipboard
val emailAddresses: List<String>? = null

A list of email addresses which alerts should be sent to.

Link copied to clipboard
val retentionDays: Int? = null

Specifies the number of days to keep in the Threat Detection audit logs.

Link copied to clipboard
val state: String? = null

The State of the Policy. Possible values are Enabled or Disabled. Defaults to Disabled.

Link copied to clipboard

Specifies the identifier key of the Threat Detection audit storage account. Required if state is Enabled.

Link copied to clipboard
val storageEndpoint: String? = null

Specifies the blob storage endpoint (e.g. https://example.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if state is Enabled.