pub struct DockerScanner { /* private fields */ }Implementations§
Source§impl DockerScanner
impl DockerScanner
Sourcepub fn with_skip_comments(self, skip: bool) -> Self
pub fn with_skip_comments(self, skip: bool) -> Self
Enables or disables comment skipping during scanning.
Sourcepub fn with_dynamic_rules(self, rules: Vec<DynamicRule>) -> Self
pub fn with_dynamic_rules(self, rules: Vec<DynamicRule>) -> Self
Adds dynamic rules loaded from custom YAML files.
Sourcepub fn with_strict_secrets(self, strict: bool) -> Self
pub fn with_strict_secrets(self, strict: bool) -> Self
Enables or disables strict secrets mode. When enabled, dummy key heuristics are disabled for test files.
Sourcepub fn with_recursive(self, recursive: bool) -> Self
pub fn with_recursive(self, recursive: bool) -> Self
Enables or disables recursive scanning. When disabled, only scans the immediate directory (max_depth = 1).
Source§impl DockerScanner
impl DockerScanner
pub fn with_ignore_filter(self, filter: IgnoreFilter) -> Self
Trait Implementations§
Source§impl ContentScanner for DockerScanner
impl ContentScanner for DockerScanner
Source§impl Default for DockerScanner
impl Default for DockerScanner
Auto Trait Implementations§
impl Freeze for DockerScanner
impl RefUnwindSafe for DockerScanner
impl Send for DockerScanner
impl Sync for DockerScanner
impl Unpin for DockerScanner
impl UnwindSafe for DockerScanner
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