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

Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always "application/vnd.in-toto+json".

Attributes

  • _type (type: String.t, default: nil) - Always https://in-toto.io/Statement/v0.1.
  • predicateType (type: String.t, default: nil) - https://slsa.dev/provenance/v0.1 for SlsaProvenance.
  • provenance (type: GoogleApi.OnDemandScanning.V1.Model.InTotoProvenance.t, default: nil) -
  • slsaProvenance (type: GoogleApi.OnDemandScanning.V1.Model.SlsaProvenance.t, default: nil) -
  • subject (type: list(GoogleApi.OnDemandScanning.V1.Model.Subject.t), default: nil) -

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.InTotoStatement{
  _type: String.t() | nil,
  predicateType: String.t() | nil,
  provenance: GoogleApi.OnDemandScanning.V1.Model.InTotoProvenance.t() | nil,
  slsaProvenance: GoogleApi.OnDemandScanning.V1.Model.SlsaProvenance.t() | nil,
  subject: [GoogleApi.OnDemandScanning.V1.Model.Subject.t()] | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.