#[non_exhaustive]pub enum SiemTaskData {
EXECUTE_ENDPOINT_SCRIPT(LogString, BTreeMap<LogString, LogString>),
REMEDIATE_EMAILS(BTreeMap<LogString, LogString>),
REPORT_ABUSE(BTreeMap<LogString, LogString>),
UPDATE_GEOIP,
UPDATE_CLOUD_PROVIDER,
OTHER(LogString, BTreeMap<LogString, LogString>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EXECUTE_ENDPOINT_SCRIPT(LogString, BTreeMap<LogString, LogString>)
Script name and Script parameters
REMEDIATE_EMAILS(BTreeMap<LogString, LogString>)
Remediate a list of emails. List of parameters
REPORT_ABUSE(BTreeMap<LogString, LogString>)
Report IP, email to abuse mail. Needed provider name and parameters
UPDATE_GEOIP
Update GeoIP dataset
UPDATE_CLOUD_PROVIDER
Update CloudProvider dataset
OTHER(LogString, BTreeMap<LogString, LogString>)
Task name, Map<ParamName, Description>
Implementations§
Source§impl SiemTaskData
impl SiemTaskData
pub fn class(&self) -> SiemTaskType
Trait Implementations§
Source§impl Clone for SiemTaskData
impl Clone for SiemTaskData
Source§fn clone(&self) -> SiemTaskData
fn clone(&self) -> SiemTaskData
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 SiemTaskData
impl Debug for SiemTaskData
Source§impl<'de> Deserialize<'de> for SiemTaskData
impl<'de> Deserialize<'de> for SiemTaskData
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 SiemTaskData
impl RefUnwindSafe for SiemTaskData
impl Send for SiemTaskData
impl Sync for SiemTaskData
impl Unpin for SiemTaskData
impl UnwindSafe for SiemTaskData
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