InTotoArgs

data class InTotoArgs(val expectedCommand: Output<List<String>>? = null, val expectedMaterials: Output<List<ArtifactRuleArgs>>? = null, val expectedProducts: Output<List<ArtifactRuleArgs>>? = null, val signingKeys: Output<List<SigningKeyArgs>>? = null, val stepName: Output<String>? = null, val threshold: Output<String>? = null) : ConvertibleToJava<InTotoArgs>

This contains the fields corresponding to the definition of a software supply chain step in an in-toto layout. This information goes into a Grafeas note.

Constructors

Link copied to clipboard
fun InTotoArgs(expectedCommand: Output<List<String>>? = null, expectedMaterials: Output<List<ArtifactRuleArgs>>? = null, expectedProducts: Output<List<ArtifactRuleArgs>>? = null, signingKeys: Output<List<SigningKeyArgs>>? = null, stepName: Output<String>? = null, threshold: Output<String>? = null)

Functions

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

Properties

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

This field contains the expected command used to perform the step.

Link copied to clipboard

The following fields contain in-toto artifact rules identifying the artifacts that enter this supply chain step, and exit the supply chain step, i.e. materials and products of the step.

Link copied to clipboard
val expectedProducts: Output<List<ArtifactRuleArgs>>? = null
Link copied to clipboard
val signingKeys: Output<List<SigningKeyArgs>>? = null

This field contains the public keys that can be used to verify the signatures on the step metadata.

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

This field identifies the name of the step in the supply chain.

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

This field contains a value that indicates the minimum number of keys that need to be used to sign the step's in-toto link.