pub struct Alert {Show 23 fields
pub alert_id: String,
pub al: ALResults,
pub archive_ts: Option<DateTime<Utc>>,
pub attack: Attack,
pub classification: ExpandingClassification,
pub expiry_ts: Option<DateTime<Utc>>,
pub extended_scan: ExtendedScanValues,
pub file: File,
pub filtered: bool,
pub heuristic: Heuristic,
pub label: Vec<String>,
pub metadata: HashMap<String, Wildcard>,
pub owner: Option<String>,
pub priority: Option<Priorities>,
pub reporting_ts: DateTime<Utc>,
pub submission_relations: Vec<Relationship>,
pub sid: String,
pub status: Option<Statuses>,
pub ts: DateTime<Utc>,
pub alert_type: String,
pub verdict: Verdict,
pub events: Vec<Event>,
pub workflows_completed: bool,
}
Expand description
Model for Alerts
Fields§
§alert_id: String
ID of the alert
al: ALResults
Assemblyline Result Block
archive_ts: Option<DateTime<Utc>>
Timestamp indicating when the alert was archived in the system.
attack: Attack
ATT&CK Block
classification: ExpandingClassification
Classification of the alert
expiry_ts: Option<DateTime<Utc>>
Expiry timestamp
extended_scan: ExtendedScanValues
Status of the extended scan
file: File
File Block
filtered: bool
Are the alert results filtered?
heuristic: Heuristic
Heuristic Block
label: Vec<String>
List of labels applied to the alert
metadata: HashMap<String, Wildcard>
Metadata submitted with the file
owner: Option<String>
Owner of the alert
priority: Option<Priorities>
Priority applied to the alert
reporting_ts: DateTime<Utc>
Alert creation timestamp
submission_relations: Vec<Relationship>
Describes the hierarchical relationships between submissions that contributed to this alert.
sid: String
Submission ID related to this alert
status: Option<Statuses>
Status applied to the alert
ts: DateTime<Utc>
File submission timestamp
alert_type: String
Type of alert
verdict: Verdict
Verdict Block
events: Vec<Event>
An audit of events applied to alert
workflows_completed: bool
Have all workflows ran on this alert?
Trait Implementations§
Source§impl Described<ElasticMeta> for Alert
impl Described<ElasticMeta> for Alert
Source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Get self description of this type
Source§impl<'de> Deserialize<'de> for Alert
impl<'de> Deserialize<'de> for Alert
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 Alert
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnwindSafe for Alert
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more