pub struct ResolvedExclusions {
pub excluded_params: HashSet<String>,
pub excluded_body_fields: HashSet<String>,
pub excluded_headers: HashSet<String>,
pub enabled_categories: Option<HashSet<String>>,
pub scan_body: bool,
}Expand description
The resolved exclusion sets for one request (routeDetectionExclusions
in the Go port).
Fields§
§excluded_params: HashSet<String>Lowercased: query-param names the scan skips.
excluded_body_fields: HashSet<String>Lowercased: body field names the scan skips.
excluded_headers: HashSet<String>Lowercased: header names routed through the excluded-header scan (defaults + config + route, merged).
enabled_categories: Option<HashSet<String>>Lowercased: the categories that may contribute a detection. None
means every category scans.
scan_body: boolWhether the body surface scans at all.
Trait Implementations§
Source§impl Clone for ResolvedExclusions
impl Clone for ResolvedExclusions
Source§impl Debug for ResolvedExclusions
impl Debug for ResolvedExclusions
Source§impl Default for ResolvedExclusions
impl Default for ResolvedExclusions
impl Eq for ResolvedExclusions
Source§impl PartialEq for ResolvedExclusions
impl PartialEq for ResolvedExclusions
impl StructuralPartialEq for ResolvedExclusions
Auto Trait Implementations§
impl Freeze for ResolvedExclusions
impl RefUnwindSafe for ResolvedExclusions
impl Send for ResolvedExclusions
impl Sync for ResolvedExclusions
impl Unpin for ResolvedExclusions
impl UnsafeUnpin for ResolvedExclusions
impl UnwindSafe for ResolvedExclusions
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.