pub struct SecurityAlert {
pub alert_id: String,
pub rule_id: String,
pub rule_name: String,
pub triggered_at: DateTime<Utc>,
pub resolved_at: Option<DateTime<Utc>>,
pub severity: SecuritySeverity,
pub description: String,
pub triggering_events: Vec<String>,
pub metadata: HashMap<String, String>,
pub actions_taken: Vec<String>,
}
Expand description
Active security alert
Fields§
§alert_id: String
Unique alert identifier
rule_id: String
Alert rule that triggered this alert
rule_name: String
Alert rule name
triggered_at: DateTime<Utc>
Alert triggered timestamp
resolved_at: Option<DateTime<Utc>>
Alert resolved timestamp (if resolved)
severity: SecuritySeverity
Alert severity
description: String
Alert description
triggering_events: Vec<String>
Events that triggered this alert
metadata: HashMap<String, String>
Alert metadata
actions_taken: Vec<String>
Actions taken for this alert
Trait Implementations§
Source§impl Clone for SecurityAlert
impl Clone for SecurityAlert
Source§fn clone(&self) -> SecurityAlert
fn clone(&self) -> SecurityAlert
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SecurityAlert
impl Debug for SecurityAlert
Source§impl<'de> Deserialize<'de> for SecurityAlert
impl<'de> Deserialize<'de> for SecurityAlert
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SecurityAlert
impl RefUnwindSafe for SecurityAlert
impl Send for SecurityAlert
impl Sync for SecurityAlert
impl Unpin for SecurityAlert
impl UnwindSafe for SecurityAlert
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more