Skip to content

Latest commit

 

History

History

protos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

in-toto attestation protobuf definitions

To ensure all in-toto libraries use the same common data format as defined by the in-toto Attestation Framework spec, we provide protobuf definitions. These enable us to pre-generate bindings for different languages that use the same underlying spec format.

DISCLAIMER: The protobuf definitions and language bindings will not be considered stable before the v1.1 tagged release. Use at your own risk.

Predicates with protobuf definitions

In addition to the core in-toto attestation spec, the following attestation predicates have protobuf definitions:

  • in-toto Link: Generic predicate that records a software supply chain step.
  • SLSA Provenance: Describes how an artifact or set of artifacts was produced.
  • SLSA Verification Summary: SLSA verification decision about a software artifact.
  • SCAI: Evidence-based assertions about software artifact and supply chain attributes.
  • Test Result: Expresses the result of a test run in the software supply chain.

Supported language bindings

We currently support bindings for the following languages:

Usage

We outline the package names to import the protobufs or language bindings in your project.

To use any .proto definitions in this repo in your protobufs, import the following packages as needed:

  • in-toto attestation layers: in_toto_attestation/v1
  • attestation predicates: in_toto_attestation/predicates

Building the language bindings

Please read our protos documentation for instructions on building and testing the supported language bindings.