pub struct ValueSelection {
pub name: String,
pub field: String,
pub modifiers: Vec<String>,
pub values: Vec<String>,
}Expand description
One detection selection in a value draft.
name must start with selection_ so the emitted condition
1 of selection_* covers it. modifiers are Sigma modifiers without the
leading |.
Fields§
§name: StringDetection item name, such as selection_destination_ip.
field: StringEvent field, such as DestinationIp.
modifiers: Vec<String>Sigma modifiers, such as cidr or contains.
values: Vec<String>Literal values. *, ?, and wildcard-adjacent backslashes are escaped.
Trait Implementations§
Source§impl Clone for ValueSelection
impl Clone for ValueSelection
Source§impl Debug for ValueSelection
impl Debug for ValueSelection
impl Eq for ValueSelection
Source§impl PartialEq for ValueSelection
impl PartialEq for ValueSelection
impl StructuralPartialEq for ValueSelection
Auto Trait Implementations§
impl Forget for ValueSelection
impl Freeze for ValueSelection
impl Move for ValueSelection
impl RefUnwindSafe for ValueSelection
impl Send for ValueSelection
impl Sync for ValueSelection
impl Unpin for ValueSelection
impl UnsafeUnpin for ValueSelection
impl UnwindSafe for ValueSelection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.