ManagedServerSecurityAlertPolicy interface

A managed server security alert policy.

Extends

Properties

creationTime

Specifies the UTC creation time of the policy. NOTE: This property will not be serialized. It can only be populated by the server.

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

emailAccountAdmins

Specifies that the alert is sent to the account administrators.

emailAddresses

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

retentionDays

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.

storageAccountAccessKey

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

storageEndpoint

Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

systemData

SystemData of SecurityAlertPolicyResource. NOTE: This property will not be serialized. It can only be populated by the server.

Inherited Properties

id

Resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

name

Resource name. NOTE: This property will not be serialized. It can only be populated by the server.

type

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

creationTime

Specifies the UTC creation time of the policy. NOTE: This property will not be serialized. It can only be populated by the server.

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?: SecurityAlertsPolicyState

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

systemData

SystemData of SecurityAlertPolicyResource. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

Inherited Property Details

id

Resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyResource.id

name

Resource name. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyResource.name

type

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyResource.type