ServerSecurityAlertPolicy Class
A server security alert policy.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.sql.models._models_py3.ProxyResourceServerSecurityAlertPolicy
Constructor
ServerSecurityAlertPolicy(*, state: Optional[Union[str, azure.mgmt.sql.models._sql_management_client_enums.SecurityAlertsPolicyState]] = 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 SecurityAlertsPolicyState
Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. Possible values include: "Enabled", "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.
Specifies an array of e-mail addresses to which the alert is sent.
- storage_endpoint
- str
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
Specifies the identifier key of the Threat Detection audit storage account.
- retention_days
- int
Specifies the number of days to keep in the Threat Detection audit logs.
Variables
- id
- str
Resource ID.
- name
- str
Resource name.
- type
- str
Resource type.
- system_data
- SystemData
SystemData of SecurityAlertPolicyResource.
- creation_time
- datetime
Specifies the UTC creation time of the policy.
Feedback
Submit and view feedback for