Reference documentation and code samples for the Grafeas V1 API 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
Returns
#provenance=
def provenance=(value) -> ::Grafeas::V1::InTotoProvenance
Parameter
- value (::Grafeas::V1::InTotoProvenance)
Returns
#slsa_provenance
def slsa_provenance() -> ::Grafeas::V1::SlsaProvenance
Returns
#slsa_provenance=
def slsa_provenance=(value) -> ::Grafeas::V1::SlsaProvenance
Parameter
- value (::Grafeas::V1::SlsaProvenance)
Returns
#slsa_provenance_zero_two
def slsa_provenance_zero_two() -> ::Grafeas::V1::SlsaProvenanceZeroTwo
Returns
#slsa_provenance_zero_two=
def slsa_provenance_zero_two=(value) -> ::Grafeas::V1::SlsaProvenanceZeroTwo
Parameter
Returns
#subject
def subject() -> ::Array<::Grafeas::V1::Subject>
Returns
- (::Array<::Grafeas::V1::Subject>)
#subject=
def subject=(value) -> ::Array<::Grafeas::V1::Subject>
Parameter
- value (::Array<::Grafeas::V1::Subject>)
Returns
- (::Array<::Grafeas::V1::Subject>)
#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
.