ServerSecurityAlertPolicy Class

Workspace managed Sql server security alert policy.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.synapse.models._models_py3.ProxyResource
ServerSecurityAlertPolicy

Constructor

ServerSecurityAlertPolicy(*, state: Optional[Union[str, azure.mgmt.synapse.models._synapse_management_client_enums.SecurityAlertPolicyState]] = None, disabled_alerts: Optional[List[str]] = None, email_addresses: Optional[List[str]] = None, email_account_admins: Optional[bool] = None, storage_endpoint: Optional[str] = None, storage_account_access_key: Optional[str] = None, retention_days: Optional[int] = None, **kwargs)

Parameters

state
str or SecurityAlertPolicyState
Required

Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific server. Possible values include: "New", "Enabled", "Disabled".

disabled_alerts
list[str]
Required

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

email_addresses
list[str]
Required

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

email_account_admins
bool
Required

Specifies that the alert is sent to the account administrators.

storage_endpoint
str
Required

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

storage_account_access_key
str
Required

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

retention_days
int
Required

Specifies the number of days to keep in the Threat Detection audit logs.

Variables

id
str

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

name
str

The name of the resource.

type
str

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

creation_time
datetime

Specifies the UTC creation time of the policy.