View Source GoogleApi.ContainerAnalysis.V1.Model.BuildOccurrence (google_api_container_analysis v0.25.0)

Details of a build occurrence.


  • intotoProvenance (type: GoogleApi.ContainerAnalysis.V1.Model.InTotoProvenance.t, default: nil) - Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
  • intotoStatement (type: GoogleApi.ContainerAnalysis.V1.Model.InTotoStatement.t, default: nil) - 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.
  • provenance (type: GoogleApi.ContainerAnalysis.V1.Model.BuildProvenance.t, default: nil) - 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.ContainerAnalysis.V1.Model.BuildOccurrence{
    GoogleApi.ContainerAnalysis.V1.Model.InTotoProvenance.t() | nil,
    GoogleApi.ContainerAnalysis.V1.Model.InTotoStatement.t() | nil,
  provenance: GoogleApi.ContainerAnalysis.V1.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.