GetDatabaseThreatDetectionPolicyResult

data class GetDatabaseThreatDetectionPolicyResult(val disabledAlerts: String? = null, val emailAccountAdmins: String? = null, val emailAddresses: String? = null, val id: String, val kind: String, val location: String? = null, val name: String, val retentionDays: Int? = null, val state: String, val storageEndpoint: String? = null, val type: String, val useServerDefault: String? = null)

Contains information about a database Threat Detection policy.

Constructors

Link copied to clipboard
constructor(disabledAlerts: String? = null, emailAccountAdmins: String? = null, emailAddresses: String? = null, id: String, kind: String, location: String? = null, name: String, retentionDays: Int? = null, state: String, storageEndpoint: String? = null, type: String, useServerDefault: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val disabledAlerts: String? = null

Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; Unsafe_Action.

Link copied to clipboard

Specifies that the alert is sent to the account administrators.

Link copied to clipboard
val emailAddresses: String? = null

Specifies the semicolon-separated list of e-mail addresses to which the alert is sent.

Link copied to clipboard
val id: String

Resource ID.

Link copied to clipboard

Resource kind.

Link copied to clipboard
val location: String? = null

The geo-location where the resource lives

Link copied to clipboard

Resource name.

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

Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required.

Link copied to clipboard
val storageEndpoint: String? = null

Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. If state is Enabled, storageEndpoint is required.

Link copied to clipboard

Resource type.

Link copied to clipboard

Specifies whether to use the default server policy.