InTotoStatementArgs

data class InTotoStatementArgs(val predicateType: Output<String>? = null, val provenance: Output<InTotoProvenanceArgs>? = null, val slsaProvenance: Output<SlsaProvenanceArgs>? = null, val slsaProvenanceZeroTwo: Output<SlsaProvenanceZeroTwoArgs>? = null, val subject: Output<List<SubjectArgs>>? = null, val type: Output<String>? = null) : ConvertibleToJava<InTotoStatementArgs>

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

Constructors

Link copied to clipboard
fun InTotoStatementArgs(predicateType: Output<String>? = null, provenance: Output<InTotoProvenanceArgs>? = null, slsaProvenance: Output<SlsaProvenanceArgs>? = null, slsaProvenanceZeroTwo: Output<SlsaProvenanceZeroTwoArgs>? = null, subject: Output<List<SubjectArgs>>? = null, type: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InTotoStatementArgs

Properties

Link copied to clipboard
val predicateType: Output<String>? = null

"https://slsa.dev/provenance/v0.1" for SlsaProvenance.

Link copied to clipboard
val provenance: Output<InTotoProvenanceArgs>? = null

Generic Grafeas provenance.

Link copied to clipboard
val slsaProvenance: Output<SlsaProvenanceArgs>? = null

SLSA 0.1 provenance.

Link copied to clipboard

SLSA 0.2 provenance.

Link copied to clipboard
val subject: Output<List<SubjectArgs>>? = null

subject is the subjects of the intoto statement

Link copied to clipboard
val type: Output<String>? = null

Always "https://in-toto.io/Statement/v0.1".