pub struct AttestationMapEntry {
pub requirement: Option<CdxaRef>,
pub claims: Vec<CdxaRef>,
pub counter_claims: Vec<CdxaRef>,
pub conformance_score: Option<f64>,
pub conformance_rationale: Option<String>,
pub conformance_mitigation_strategies: Vec<CdxaRef>,
pub confidence_score: Option<f64>,
pub confidence_rationale: Option<String>,
}Expand description
One attestations[].map[] entry: requirement → claims, with the
attestor’s declared conformance and confidence.
Fields§
§requirement: Option<CdxaRef>refLink to the requirement being attested to
(definitions.standards[].requirements[] bom-ref).
claims: Vec<CdxaRef>refLinks to the claims being attested to.
counter_claims: Vec<CdxaRef>refLinks to counter claims. Any entry contests the attestation: the map entry then satisfies nothing (surfaced, never silently passed).
conformance_score: Option<f64>Conformance score in 0..=1, where 1 is 100% conformance. Anything
below 1 is partial conformance and never auto-satisfies a rule.
conformance_rationale: Option<String>§conformance_mitigation_strategies: Vec<CdxaRef>refLinks to evidence describing mitigation strategies for conformance gaps.
confidence_score: Option<f64>Confidence score in 0..=1, where 1 is 100% confidence.
confidence_rationale: Option<String>Trait Implementations§
Source§impl Clone for AttestationMapEntry
impl Clone for AttestationMapEntry
Source§fn clone(&self) -> AttestationMapEntry
fn clone(&self) -> AttestationMapEntry
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 AttestationMapEntry
impl Debug for AttestationMapEntry
Source§impl Default for AttestationMapEntry
impl Default for AttestationMapEntry
Source§fn default() -> AttestationMapEntry
fn default() -> AttestationMapEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttestationMapEntry
impl<'de> Deserialize<'de> for AttestationMapEntry
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
Source§impl PartialEq for AttestationMapEntry
impl PartialEq for AttestationMapEntry
Source§impl Serialize for AttestationMapEntry
impl Serialize for AttestationMapEntry
impl StructuralPartialEq for AttestationMapEntry
Auto Trait Implementations§
impl Freeze for AttestationMapEntry
impl RefUnwindSafe for AttestationMapEntry
impl Send for AttestationMapEntry
impl Sync for AttestationMapEntry
impl Unpin for AttestationMapEntry
impl UnsafeUnpin for AttestationMapEntry
impl UnwindSafe for AttestationMapEntry
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,
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>
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