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

Details of a build occurrence.

Attributes

  • inTotoSlsaProvenanceV1 (type: GoogleApi.ContainerAnalysis.V1.Model.InTotoSlsaProvenanceV1.t, default: nil) - In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1.Model.BuildOccurrence{
  inTotoSlsaProvenanceV1:
    GoogleApi.ContainerAnalysis.V1.Model.InTotoSlsaProvenanceV1.t() | nil,
  intotoProvenance:
    GoogleApi.ContainerAnalysis.V1.Model.InTotoProvenance.t() | nil,
  intotoStatement:
    GoogleApi.ContainerAnalysis.V1.Model.InTotoStatement.t() | nil,
  provenance: GoogleApi.ContainerAnalysis.V1.Model.BuildProvenance.t() | nil,
  provenanceBytes: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.