View Source GoogleApi.OnDemandScanning.V1.Model.SlsaProvenance (google_api_on_demand_scanning v0.4.0)

Attributes

  • builder (type: GoogleApi.OnDemandScanning.V1.Model.SlsaBuilder.t, default: nil) - required
  • materials (type: list(GoogleApi.OnDemandScanning.V1.Model.Material.t), default: nil) - The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
  • metadata (type: GoogleApi.OnDemandScanning.V1.Model.SlsaMetadata.t, default: nil) -
  • recipe (type: GoogleApi.OnDemandScanning.V1.Model.SlsaRecipe.t, default: nil) - Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OnDemandScanning.V1.Model.SlsaProvenance{
  builder: GoogleApi.OnDemandScanning.V1.Model.SlsaBuilder.t() | nil,
  materials: [GoogleApi.OnDemandScanning.V1.Model.Material.t()] | nil,
  metadata: GoogleApi.OnDemandScanning.V1.Model.SlsaMetadata.t() | nil,
  recipe: GoogleApi.OnDemandScanning.V1.Model.SlsaRecipe.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.