pub struct TopFindings {
pub cve_count: Option<u32>,
pub on_kev: Option<bool>,
pub on_ransomware: Option<bool>,
pub findings: Vec<Finding>,
}Expand description
CLEANLIB-613: the App’s top_findings block on a customer verdict — the
per-CVE findings that back a VECTOR_VERDICT/DENY, plus the KEV / ransomware
flags. Modeled so the CLI fix command can reach each finding’s structured
fixed_version (the App’s always-populated remediation target). Tolerant:
#[serde(default)], all-optional, no deny_unknown_fields.
Fields§
§cve_count: Option<u32>Total CVE count backing this verdict (may exceed findings.len() when the
App truncates to the top-N; the summary still counts them all).
on_kev: Option<bool>§on_ransomware: Option<bool>§findings: Vec<Finding>The per-CVE findings. Each carries its own fixed_version; the CLI fix
command takes the max across these as the cumulative upgrade target.
Trait Implementations§
Source§impl Clone for TopFindings
impl Clone for TopFindings
Source§fn clone(&self) -> TopFindings
fn clone(&self) -> TopFindings
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 TopFindings
impl Debug for TopFindings
Source§impl Default for TopFindings
impl Default for TopFindings
Source§fn default() -> TopFindings
fn default() -> TopFindings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TopFindingswhere
TopFindings: Default,
impl<'de> Deserialize<'de> for TopFindingswhere
TopFindings: Default,
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 TopFindings
impl RefUnwindSafe for TopFindings
impl Send for TopFindings
impl Sync for TopFindings
impl Unpin for TopFindings
impl UnsafeUnpin for TopFindings
impl UnwindSafe for TopFindings
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