GrafeasV1beta1BuildDetailsArgs

data class GrafeasV1beta1BuildDetailsArgs(val provenance: Output<BuildProvenanceArgs>, val provenanceBytes: Output<String>? = null) : ConvertibleToJava<GrafeasV1beta1BuildDetailsArgs>

Details of a build occurrence.

Constructors

Link copied to clipboard
fun GrafeasV1beta1BuildDetailsArgs(provenance: Output<BuildProvenanceArgs>, provenanceBytes: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard

The actual provenance for the build.

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

Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. 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.