View Source GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1BuildDetails (google_api_container_analysis v0.28.0)

Details of a build occurrence.

Attributes

  • inTotoSlsaProvenanceV1 (type: GoogleApi.ContainerAnalysis.V1beta1.Model.InTotoSlsaProvenanceV1.t, default: nil) -
  • provenance (type: GoogleApi.ContainerAnalysis.V1beta1.Model.BuildProvenance.t, default: nil) - Required. The actual provenance for the build.
  • provenanceBytes (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1BuildDetails{
  inTotoSlsaProvenanceV1:
    GoogleApi.ContainerAnalysis.V1beta1.Model.InTotoSlsaProvenanceV1.t() | nil,
  provenance:
    GoogleApi.ContainerAnalysis.V1beta1.Model.BuildProvenance.t() | nil,
  provenanceBytes: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.