Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosignPredicate ¶
type CosignPredicate struct {
Data any
}
CosignPredicate specifies the format of the Custom Predicate. Cosign uses this structure when creating an SBOM attestation. cf. https://github.com/sigstore/cosign/blob/e0547cff64f98585a837a524ff77ff6b47ff5609/pkg/cosign/attestation/attestation.go#L39-L43
type SigstoreBundle ¶ added in v0.68.0
type SigstoreBundle struct {
DSSEEnvelope Statement `json:"dsseEnvelope"`
}
SigstoreBundle represents the structure of a Sigstore bundle containing a DSSE envelope. This format is used by Cosign v3+ with the new bundle format. cf. https://github.com/sigstore/cosign/blob/main/specs/BUNDLE_SPEC.md
type Statement ¶
Statement holds in-toto statement headers and the predicate. Its UnmarshalJSON decodes a DSSE envelope and unwraps the statement from the envelope's payload, so decode into it only when the input is a DSSE envelope. For a bare in-toto statement (no envelope), decode into in_toto.Statement.