pub struct ScanFinding {
pub event_id: Option<i64>,
pub step: Option<i64>,
pub event_kind: Option<EventKind>,
pub location: FindingLocation,
pub secret: SecretKind,
pub hash8: String,
pub count: u64,
}Expand description
One hh scan finding: what kind of secret, where, and its correlation
tag — never the secret itself (docs/redaction-design.md).
Fields§
§event_id: Option<i64>The containing event’s row id; None for session-level locations
(the command line).
step: Option<i64>The containing event’s step ordinal, if it has one.
event_kind: Option<EventKind>The containing event’s kind, if event-scoped.
location: FindingLocationWhere within the session the secret sits.
secret: SecretKindThe detected secret kind.
hash8: StringBLAKE3(secret)[..8] — correlates the same secret across findings.
count: u64Number of occurrences of this (secret, hash8) at this location.
Trait Implementations§
Source§impl Clone for ScanFinding
impl Clone for ScanFinding
Source§fn clone(&self) -> ScanFinding
fn clone(&self) -> ScanFinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScanFinding
impl Debug for ScanFinding
impl Eq for ScanFinding
Source§impl PartialEq for ScanFinding
impl PartialEq for ScanFinding
impl StructuralPartialEq for ScanFinding
Auto Trait Implementations§
impl Freeze for ScanFinding
impl RefUnwindSafe for ScanFinding
impl Send for ScanFinding
impl Sync for ScanFinding
impl Unpin for ScanFinding
impl UnsafeUnpin for ScanFinding
impl UnwindSafe for ScanFinding
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.