pub struct SecretScan {
pub tool: String,
pub status: ScanStatus,
pub files_scanned: Option<u64>,
pub findings: Vec<SecretFinding>,
pub reason: Option<String>,
pub notes: Vec<String>,
}Expand description
A secret scan of the content a commit would record.
Fields§
§tool: StringWhat scanned: jouet (gitleaks’ rules), fnox, or jouet+fnox.
status: ScanStatus§files_scanned: Option<u64>How many files it read.
findings: Vec<SecretFinding>Where a secret was found. Never the secret itself.
reason: Option<String>Why the scan, or a part of it, was skipped.
notes: Vec<String>What the scanner warned about, such as secrets it could not check.
Trait Implementations§
Source§impl Clone for SecretScan
impl Clone for SecretScan
Source§impl Debug for SecretScan
impl Debug for SecretScan
impl Eq for SecretScan
Source§impl PartialEq for SecretScan
impl PartialEq for SecretScan
Source§impl Serialize for SecretScan
impl Serialize for SecretScan
impl StructuralPartialEq for SecretScan
Auto Trait Implementations§
impl Forget for SecretScan
impl Freeze for SecretScan
impl Move for SecretScan
impl RefUnwindSafe for SecretScan
impl Send for SecretScan
impl Sync for SecretScan
impl Unpin for SecretScan
impl UnsafeUnpin for SecretScan
impl UnwindSafe for SecretScan
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