View Source GoogleApi.OnDemandScanning.V1.Model.BuildOccurrence (google_api_on_demand_scanning v0.3.0)

Details of a build occurrence.

Attributes

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

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.OnDemandScanning.V1.Model.BuildOccurrence{
  intotoProvenance:
    GoogleApi.OnDemandScanning.V1.Model.InTotoProvenance.t() | nil,
  intotoStatement:
    GoogleApi.OnDemandScanning.V1.Model.InTotoStatement.t() | nil,
  provenance: GoogleApi.OnDemandScanning.V1.Model.BuildProvenance.t() | nil,
  provenanceBytes: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.