View Source GoogleApi.ContainerAnalysis.V1alpha1.Model.InTotoStatement (google_api_container_analysis v0.28.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.ContainerAnalysis.V1alpha1.Model.InTotoProvenance.t, default: nil) - Generic Grafeas provenance.
  • slsaProvenance (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.SlsaProvenance.t, default: nil) - SLSA 0.1 provenance.
  • slsaProvenanceZeroTwo (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.SlsaProvenanceZeroTwo.t, default: nil) - SLSA 0.2 provenance.
  • subject (type: list(GoogleApi.ContainerAnalysis.V1alpha1.Model.Subject.t), default: nil) - subject is the subjects of the intoto statement

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.InTotoStatement{
  _type: String.t() | nil,
  predicateType: String.t() | nil,
  provenance:
    GoogleApi.ContainerAnalysis.V1alpha1.Model.InTotoProvenance.t() | nil,
  slsaProvenance:
    GoogleApi.ContainerAnalysis.V1alpha1.Model.SlsaProvenance.t() | nil,
  slsaProvenanceZeroTwo:
    GoogleApi.ContainerAnalysis.V1alpha1.Model.SlsaProvenanceZeroTwo.t() | nil,
  subject: [GoogleApi.ContainerAnalysis.V1alpha1.Model.Subject.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.