ServerSecurityAlertPolicy interface

A server security alert policy.

Extends

Properties

creationTime

Specifies the UTC creation time of the policy.

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.

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From ProxyResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From ProxyResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From ProxyResource.type