SecurityAlertPolicyProperties interface
Properties of a security alert policy.
Properties
| creation |
Specifies the UTC creation time of the policy. |
| disabled |
Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force |
| email |
Specifies that the alert is sent to the account administrators. |
| email |
Specifies an array of e-mail addresses to which the alert is sent. |
| retention |
Specifies the number of days to keep in the Threat Detection audit logs. |
| state | Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. |
| storage |
Specifies the identifier key of the Threat Detection audit storage account. |
| storage |
Specifies the blob storage endpoint (e.g. |
Property Details
creationTime
Specifies the UTC creation time of the policy.
creationTime?: Date
Property Value
Date
disabledAlerts
Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
disabledAlerts?: string[]
Property Value
string[]
emailAccountAdmins
Specifies that the alert is sent to the account administrators.
emailAccountAdmins?: boolean
Property Value
boolean
emailAddresses
Specifies an array of e-mail addresses to which the alert is sent.
emailAddresses?: string[]
Property Value
string[]
retentionDays
Specifies the number of days to keep in the Threat Detection audit logs.
retentionDays?: number
Property Value
number
state
Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database.
state: SecurityAlertPolicyState
Property Value
storageAccountAccessKey
Specifies the identifier key of the Threat Detection audit storage account.
storageAccountAccessKey?: string
Property Value
string
storageEndpoint
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
storageEndpoint?: string
Property Value
string