pub struct ResolvedExclusions {
pub excluded_params: HashSet<String>,
pub excluded_body_fields: HashSet<String>,
pub excluded_headers: HashSet<String>,
pub semantic_headers: HashSet<String>,
pub enabled_categories: Option<HashSet<String>>,
pub scan_body: bool,
pub max_scan_seconds: Option<f64>,
}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).
semantic_headers: HashSet<String>Lowercased, trimmed: header names whose values skip the semantic analyzer only (global + 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.
max_scan_seconds: Option<f64>The per-request scan time cap in seconds; None is the reference
default (DEFAULT_MAX_SCAN_SECONDS).
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
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