pub struct DetectionExclusionConfig {
pub excluded_detection_headers: Vec<String>,
pub excluded_detection_params: Vec<String>,
pub excluded_detection_body_fields: Vec<String>,
pub enabled_detection_categories: Option<Vec<String>>,
pub detection_scan_body: Option<bool>,
}Expand description
The global config’s detection-exclusion surface.
The reference SecurityConfig fields of the same names. The category
set is None when nothing is configured (every category scans); the
scan-body flag is None for the reference default (true).
Fields§
§excluded_detection_headers: Vec<String>excluded_detection_headers (merged with the defaults, never a
replacement).
excluded_detection_params: Vec<String>excluded_detection_params.
excluded_detection_body_fields: Vec<String>excluded_detection_body_fields.
enabled_detection_categories: Option<Vec<String>>enabled_detection_categories: None scans every category.
detection_scan_body: Option<bool>detection_scan_body: None is the reference default (true).
Trait Implementations§
Source§impl Clone for DetectionExclusionConfig
impl Clone for DetectionExclusionConfig
Source§impl Debug for DetectionExclusionConfig
impl Debug for DetectionExclusionConfig
Source§impl Default for DetectionExclusionConfig
impl Default for DetectionExclusionConfig
impl Eq for DetectionExclusionConfig
Source§impl PartialEq for DetectionExclusionConfig
impl PartialEq for DetectionExclusionConfig
impl StructuralPartialEq for DetectionExclusionConfig
Auto Trait Implementations§
impl Freeze for DetectionExclusionConfig
impl RefUnwindSafe for DetectionExclusionConfig
impl Send for DetectionExclusionConfig
impl Sync for DetectionExclusionConfig
impl Unpin for DetectionExclusionConfig
impl UnsafeUnpin for DetectionExclusionConfig
impl UnwindSafe for DetectionExclusionConfig
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> 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.