GoogleApi.ContainerAnalysis.V1alpha1.Model.BuildDetails (google_api_container_analysis v0.14.0) View Source

Message encapsulating build provenance details.


  • provenance (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.BuildProvenance.t, default: nil) - The actual provenance
  • provenanceBytes (type: String.t, default: nil) - 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.BuildDetails{
    GoogleApi.ContainerAnalysis.V1alpha1.Model.BuildProvenance.t() | nil,
  provenanceBytes: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.