pub struct ContainerImageEvidence {
pub reference: String,
pub digest: Option<String>,
pub signature_verified: bool,
pub provenance_present: bool,
pub sbom_present: bool,
pub signer_identity: Option<String>,
pub source_repo: Option<String>,
pub verification: VerificationOutcome,
}Expand description
Evidence for a container image’s provenance and signature status.
Fields§
§reference: StringFull image reference (e.g. “ghcr.io/owner/repo:v1.0.0”).
digest: Option<String>Image digest (e.g. “sha256:abcdef…”).
signature_verified: boolWhether a cosign signature was found and verified.
provenance_present: boolWhether SLSA provenance attestation exists.
sbom_present: boolWhether SBOM attestation exists.
signer_identity: Option<String>Signer identity (e.g. OIDC subject from Fulcio cert).
source_repo: Option<String>Source repository from provenance.
verification: VerificationOutcomeVerification outcome (reuse existing VerificationOutcome).
Trait Implementations§
Source§impl Clone for ContainerImageEvidence
impl Clone for ContainerImageEvidence
Source§fn clone(&self) -> ContainerImageEvidence
fn clone(&self) -> ContainerImageEvidence
Returns a duplicate of the value. Read more
1.0.0 · 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 ContainerImageEvidence
impl Debug for ContainerImageEvidence
Source§impl<'de> Deserialize<'de> for ContainerImageEvidence
impl<'de> Deserialize<'de> for ContainerImageEvidence
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 ContainerImageEvidence
impl PartialEq for ContainerImageEvidence
Source§impl Serialize for ContainerImageEvidence
impl Serialize for ContainerImageEvidence
impl Eq for ContainerImageEvidence
impl StructuralPartialEq for ContainerImageEvidence
Auto Trait Implementations§
impl Freeze for ContainerImageEvidence
impl RefUnwindSafe for ContainerImageEvidence
impl Send for ContainerImageEvidence
impl Sync for ContainerImageEvidence
impl Unpin for ContainerImageEvidence
impl UnsafeUnpin for ContainerImageEvidence
impl UnwindSafe for ContainerImageEvidence
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