pub enum DetectorScope {
System,
Workspace,
Account,
Unknown,
}Expand description
The scope of the detector that identified the signal. Derived from the signal type and detection type at simulation time. system — built-in WAF rule (e.g., SQLI, XSS). workspace — workspace-level custom rule or signal (e.g., site.* prefix). account — account-level custom signal (e.g., corp.* prefix). unknown — scope could not be determined (e.g., tags fetch failed or unrecognized type).
Variants§
Trait Implementations§
Source§impl Clone for DetectorScope
impl Clone for DetectorScope
Source§fn clone(&self) -> DetectorScope
fn clone(&self) -> DetectorScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DetectorScope
Source§impl Debug for DetectorScope
impl Debug for DetectorScope
Source§impl Default for DetectorScope
impl Default for DetectorScope
Source§fn default() -> DetectorScope
fn default() -> DetectorScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DetectorScope
impl<'de> Deserialize<'de> for DetectorScope
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
impl Eq for DetectorScope
Source§impl Hash for DetectorScope
impl Hash for DetectorScope
Source§impl Ord for DetectorScope
impl Ord for DetectorScope
Source§fn cmp(&self, other: &DetectorScope) -> Ordering
fn cmp(&self, other: &DetectorScope) -> Ordering
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
Source§impl PartialEq for DetectorScope
impl PartialEq for DetectorScope
Source§impl PartialOrd for DetectorScope
impl PartialOrd for DetectorScope
Source§impl Serialize for DetectorScope
impl Serialize for DetectorScope
impl StructuralPartialEq for DetectorScope
Auto Trait Implementations§
impl Freeze for DetectorScope
impl RefUnwindSafe for DetectorScope
impl Send for DetectorScope
impl Sync for DetectorScope
impl Unpin for DetectorScope
impl UnsafeUnpin for DetectorScope
impl UnwindSafe for DetectorScope
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> 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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.