pub struct SecurityAlertPolicyProperties {
pub state: State,
pub disabled_alerts: Vec<String>,
pub email_addresses: Vec<String>,
pub email_account_admins: Option<bool>,
pub storage_endpoint: Option<String>,
pub storage_account_access_key: Option<String>,
pub retention_days: Option<i32>,
pub creation_time: Option<OffsetDateTime>,
}Expand description
Properties of a security alert policy.
Fields§
§state: StateSpecifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database.
disabled_alerts: Vec<String>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_addresses: Vec<String>Specifies an array of e-mail addresses to which the alert is sent.
email_account_admins: Option<bool>Specifies that the alert is sent to the account administrators.
storage_endpoint: Option<String>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: Option<String>Specifies the identifier key of the Threat Detection audit storage account.
retention_days: Option<i32>Specifies the number of days to keep in the Threat Detection audit logs.
creation_time: Option<OffsetDateTime>Specifies the UTC creation time of the policy.
Implementations§
Trait Implementations§
Source§impl Clone for SecurityAlertPolicyProperties
impl Clone for SecurityAlertPolicyProperties
Source§fn clone(&self) -> SecurityAlertPolicyProperties
fn clone(&self) -> SecurityAlertPolicyProperties
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for SecurityAlertPolicyProperties
impl<'de> Deserialize<'de> for SecurityAlertPolicyProperties
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for SecurityAlertPolicyProperties
impl PartialEq for SecurityAlertPolicyProperties
Source§fn eq(&self, other: &SecurityAlertPolicyProperties) -> bool
fn eq(&self, other: &SecurityAlertPolicyProperties) -> bool
self and other values to be equal, and is used by ==.