pub struct HarScanner;Expand description
Scans HAR (HTTP Archive) files for security issues.
Implementations§
Source§impl HarScanner
impl HarScanner
Sourcepub fn scan_file<P: AsRef<Path>>(path: P) -> Result<ScanReport, Box<dyn Error>>
pub fn scan_file<P: AsRef<Path>>(path: P) -> Result<ScanReport, Box<dyn Error>>
Scan a HAR file and return a ScanReport containing deduplicated
results and the computed score.
When a HAR file contains multiple entries the worst-case result for each named check is kept, giving a conservative picture of the overall security posture.
Auto Trait Implementations§
impl Freeze for HarScanner
impl RefUnwindSafe for HarScanner
impl Send for HarScanner
impl Sync for HarScanner
impl Unpin for HarScanner
impl UnsafeUnpin for HarScanner
impl UnwindSafe for HarScanner
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