Class Grafeas::V1::InTotoStatement

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".

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#predicate_type

def predicate_type() -> ::String
Returns
  • (::String) — https://slsa.dev/provenance/v0.1 for SlsaProvenance.

#predicate_type=

def predicate_type=(value) -> ::String
Parameter
  • value (::String) — https://slsa.dev/provenance/v0.1 for SlsaProvenance.
Returns
  • (::String) — https://slsa.dev/provenance/v0.1 for SlsaProvenance.

#provenance

def provenance() -> ::Grafeas::V1::InTotoProvenance

#provenance=

def provenance=(value) -> ::Grafeas::V1::InTotoProvenance

#slsa_provenance

def slsa_provenance() -> ::Grafeas::V1::SlsaProvenance

#slsa_provenance=

def slsa_provenance=(value) -> ::Grafeas::V1::SlsaProvenance
Parameter

#subject

def subject() -> ::Array<::Grafeas::V1::Subject>
Returns

#subject=

def subject=(value) -> ::Array<::Grafeas::V1::Subject>
Parameter
Returns

#type

def type() -> ::String
Returns
  • (::String) — Always https://in-toto.io/Statement/v0.1.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Always https://in-toto.io/Statement/v0.1.
Returns
  • (::String) — Always https://in-toto.io/Statement/v0.1.