pub enum FieldSource {
Detection,
Correlation,
Filter,
Metadata,
}Expand description
Where in a rule a field reference came from.
Variants§
Detection
Field used in a detection condition (selection, etc.).
Correlation
Field used by a correlation rule (group-by, threshold field, alias mapping).
Filter
Field used in a filter rule’s detection block.
Metadata
Field listed in rule-level fields: metadata.
Implementations§
Trait Implementations§
Source§impl Clone for FieldSource
impl Clone for FieldSource
impl Copy for FieldSource
Source§impl Debug for FieldSource
impl Debug for FieldSource
impl Eq for FieldSource
Source§impl Hash for FieldSource
impl Hash for FieldSource
Source§impl Ord for FieldSource
impl Ord for FieldSource
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FieldSource
impl PartialEq for FieldSource
Source§impl PartialOrd for FieldSource
impl PartialOrd for FieldSource
Source§impl Serialize for FieldSource
impl Serialize for FieldSource
impl StructuralPartialEq for FieldSource
Auto Trait Implementations§
impl Freeze for FieldSource
impl RefUnwindSafe for FieldSource
impl Send for FieldSource
impl Sync for FieldSource
impl Unpin for FieldSource
impl UnsafeUnpin for FieldSource
impl UnwindSafe for FieldSource
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.