pub struct VerifiedFinding {
pub detector_id: Arc<str>,
pub detector_name: Arc<str>,
pub service: Arc<str>,
pub severity: Severity,
pub credential_redacted: Cow<'static, str>,
pub credential_hash: String,
pub location: MatchLocation,
pub verification: VerificationResult,
pub metadata: HashMap<String, String>,
pub additional_locations: Vec<MatchLocation>,
pub confidence: Option<f64>,
}Expand description
A finding after verification — the final output.
Fields§
§detector_id: Arc<str>Stable detector identifier.
detector_name: Arc<str>Human-readable detector name.
service: Arc<str>Service namespace associated with the detector.
severity: SeverityDetector severity level.
credential_redacted: Cow<'static, str>Redacted version of the credential for reporting.
credential_hash: StringSHA-256 hash of the original credential for internal correlation.
location: MatchLocationSource location for the match.
verification: VerificationResultVerification result.
metadata: HashMap<String, String>Additional provider-specific metadata (e.g. account ID, scope).
additional_locations: Vec<MatchLocation>Additional duplicate locations found for this credential.
confidence: Option<f64>Confidence score (0.0 - 1.0) combining entropy, keyword proximity, file type, etc.
Trait Implementations§
Source§impl Clone for VerifiedFinding
impl Clone for VerifiedFinding
Source§fn clone(&self) -> VerifiedFinding
fn clone(&self) -> VerifiedFinding
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 VerifiedFinding
impl Debug for VerifiedFinding
Source§impl<'de> Deserialize<'de> for VerifiedFinding
impl<'de> Deserialize<'de> for VerifiedFinding
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 VerifiedFinding
impl RefUnwindSafe for VerifiedFinding
impl Send for VerifiedFinding
impl Sync for VerifiedFinding
impl Unpin for VerifiedFinding
impl UnsafeUnpin for VerifiedFinding
impl UnwindSafe for VerifiedFinding
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