pub struct CorrelatedCredential {
pub id: String,
pub kind: CorrelationKind,
pub title: String,
pub service: String,
pub severity: Severity,
pub confidence: Option<f64>,
pub strongest_member_confidence: Option<f64>,
pub scope: Option<String>,
pub file_count: usize,
pub impact: String,
pub members: Vec<CorrelatedMember>,
pub locations: Vec<CorrelatedLocation>,
}Expand description
A credential risk assembled from several findings.
Fields§
§id: StringStable identifier for the group, unique within one report.
kind: CorrelationKindHow the group was joined.
title: StringOne-line operator-facing summary.
service: StringService namespace, or multiple when members disagree.
severity: SeverityGroup severity: the strongest member severity, raised to the composite’s declared severity when the Tier-B policy declares a higher one.
confidence: Option<f64>Correlated confidence: the strongest member confidence lifted by the Tier-B bonus and clamped to the configured ceiling. Absent when no member scored a confidence at all.
strongest_member_confidence: Option<f64>Strongest confidence any single member had before the lift, so a reader can see exactly what correlation added.
scope: Option<String>Directory the composite parts share. Absent for value reuse, which is scoped to the whole scan.
file_count: usizeNumber of distinct files the group spans.
impact: StringWhat the correlation means for an operator, from Tier-B data.
members: Vec<CorrelatedMember>Member findings, sorted by detector id then credential digest.
locations: Vec<CorrelatedLocation>Union of every member location in the group, sorted by path then line.
Trait Implementations§
Source§fn clone(&self) -> CorrelatedCredential
fn clone(&self) -> CorrelatedCredential
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§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>,
Auto Trait Implementations§
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
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> ⓘ
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