pub struct ScanConfig {Show 16 fields
pub timeout_secs: u64,
pub concurrency: usize,
pub max_pages: usize,
pub max_requests: usize,
pub max_body_bytes: usize,
pub profile: ScanProfile,
pub skip_paths: bool,
pub skip_dns: bool,
pub user_agent: String,
pub auth_context: String,
pub openapi_path: Option<String>,
pub custom_rules: Vec<CustomRule>,
pub custom_advisories: Vec<AdvisoryEntry>,
pub auth_headers: Vec<(String, String)>,
pub check_legacy_tls: bool,
pub check_unauth_access: bool,
}Fields§
§timeout_secs: u64§concurrency: usize§max_pages: usize§max_requests: usize§max_body_bytes: usize§profile: ScanProfile§skip_paths: bool§skip_dns: bool§user_agent: String§auth_context: String§openapi_path: Option<String>§custom_rules: Vec<CustomRule>§custom_advisories: Vec<AdvisoryEntry>§auth_headers: Vec<(String, String)>§check_legacy_tls: bool§check_unauth_access: boolTrait Implementations§
Source§impl Clone for ScanConfig
impl Clone for ScanConfig
Source§impl Debug for ScanConfig
impl Debug for ScanConfig
Auto Trait Implementations§
impl Forget for ScanConfig
impl Freeze for ScanConfig
impl Move for ScanConfig
impl RefUnwindSafe for ScanConfig
impl Send for ScanConfig
impl Sync for ScanConfig
impl Unpin for ScanConfig
impl UnsafeUnpin for ScanConfig
impl UnwindSafe for ScanConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.