#[non_exhaustive]pub enum AttestationStatus {
Verified,
NotFound,
Unverified,
Other(String),
}Expand description
Attestation status for a GitHub release as determined by the GitHub Attestations API.
Used by the controller to record results of actions/attest-based Sigstore
provenance checks and by the agent to enforce the require_attestation policy.
§Wire forward-compatibility
Other(String) is a catch-all variant for status strings received from a
newer peer that this binary does not yet know about. Serde deserialization
is infallible: an unknown string becomes Other(s) rather than a parse error,
allowing older agents and web-API clients to survive rolling upgrades.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Verified
At least one release asset was verified via the GitHub Attestations API.
NotFound
GitHub Attestations API returned no attestations for the release asset digest.
Unverified
Attestation check was not performed (no checksums file found or check disabled).
Other(String)
An unknown attestation status received from a newer peer.
Trait Implementations§
Source§impl Clone for AttestationStatus
impl Clone for AttestationStatus
Source§fn clone(&self) -> AttestationStatus
fn clone(&self) -> AttestationStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more