GetDatabaseSecurityAlertPolicyResult

data class GetDatabaseSecurityAlertPolicyResult(val azureApiVersion: String, val creationTime: String, val disabledAlerts: List<String>? = null, val emailAccountAdmins: Boolean? = null, val emailAddresses: List<String>? = null, val id: String, val name: String, val retentionDays: Int? = null, val state: String, val storageAccountAccessKey: String? = null, val storageEndpoint: String? = null, val systemData: SystemDataResponse, val type: String)

A database security alert policy.

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, creationTime: String, disabledAlerts: List<String>? = null, emailAccountAdmins: Boolean? = null, emailAddresses: List<String>? = null, id: String, name: String, retentionDays: Int? = null, state: String, storageAccountAccessKey: String? = null, storageEndpoint: String? = null, systemData: SystemDataResponse, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

Specifies the UTC creation time of the policy.

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

Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force

Link copied to clipboard

Specifies that the alert is sent to the account administrators.

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

Specifies an array of e-mail addresses to which the alert is sent.

Link copied to clipboard
val id: String

Resource ID.

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, whether it is enabled or disabled or a policy has not been applied yet on the specific database.

Link copied to clipboard

Specifies the identifier key of the Threat Detection audit storage account.

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.

Link copied to clipboard

SystemData of SecurityAlertPolicyResource.

Link copied to clipboard

Resource type.