BuildDetailsArgs

data class BuildDetailsArgs(val intotoProvenance: Output<InTotoProvenanceArgs>? = null, val intotoStatement: Output<InTotoStatementArgs>? = null, val provenance: Output<BuildProvenanceArgs>? = null, val provenanceBytes: Output<String>? = null) : ConvertibleToJava<BuildDetailsArgs>

Message encapsulating build provenance details.

Constructors

Link copied to clipboard
fun BuildDetailsArgs(intotoProvenance: Output<InTotoProvenanceArgs>? = null, intotoStatement: Output<InTotoStatementArgs>? = null, provenance: Output<BuildProvenanceArgs>? = null, provenanceBytes: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): BuildDetailsArgs

Properties

Link copied to clipboard

Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.

Link copied to clipboard

In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.

Link copied to clipboard
val provenance: Output<BuildProvenanceArgs>? = null

The actual provenance

Link copied to clipboard
val provenanceBytes: Output<String>? = null

Serialized JSON representation of the provenance, used in generating the BuildSignature in the corresponding Result. After verifying the signature, provenance_bytes can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.