pub struct ScanProfile {Show 15 fields
pub mode: Option<AnalysisMode>,
pub min_severity: Option<Severity>,
pub max_file_size_mb: Option<u64>,
pub include_nonprod: Option<bool>,
pub enable_state_analysis: Option<bool>,
pub enable_auth_analysis: Option<bool>,
pub default_format: Option<OutputFormat>,
pub quiet: Option<bool>,
pub attack_surface_ranking: Option<bool>,
pub max_results: Option<u32>,
pub min_score: Option<u32>,
pub show_all: Option<bool>,
pub include_quality: Option<bool>,
pub worker_threads: Option<usize>,
pub max_depth: Option<usize>,
}Expand description
A named scan profile, a partial overlay of scan-related settings.
All fields are Option<T>: None means “don’t override”.
Fields§
§mode: Option<AnalysisMode>§min_severity: Option<Severity>§max_file_size_mb: Option<u64>§include_nonprod: Option<bool>§enable_state_analysis: Option<bool>§enable_auth_analysis: Option<bool>§default_format: Option<OutputFormat>§quiet: Option<bool>§attack_surface_ranking: Option<bool>§max_results: Option<u32>§min_score: Option<u32>§show_all: Option<bool>§include_quality: Option<bool>§worker_threads: Option<usize>§max_depth: Option<usize>Trait Implementations§
Source§impl Clone for ScanProfile
impl Clone for ScanProfile
Source§fn clone(&self) -> ScanProfile
fn clone(&self) -> ScanProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScanProfile
impl Debug for ScanProfile
Source§impl Default for ScanProfile
impl Default for ScanProfile
Source§fn default() -> ScanProfile
fn default() -> ScanProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScanProfilewhere
ScanProfile: Default,
impl<'de> Deserialize<'de> for ScanProfilewhere
ScanProfile: Default,
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
Auto Trait Implementations§
impl Freeze for ScanProfile
impl RefUnwindSafe for ScanProfile
impl Send for ScanProfile
impl Sync for ScanProfile
impl Unpin for ScanProfile
impl UnsafeUnpin for ScanProfile
impl UnwindSafe for ScanProfile
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more