Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.34 KB

link.md

File metadata and controls

49 lines (37 loc) · 1.34 KB

Predicate type: Link v1

Type URI: https://in-toto.io/Link/v1

Purpose

A generic attestation type with the same schema as in-toto 0.9. This allows existing in-toto users to make minimal changes to upgrade to the new attestation format.

Most users should migrate to a more specific attestation type, such as Provenance.

Schema

{
  "subject": [{ ... }],
  "predicateType": "https://in-toto.io/Link/v1",
  "predicate": {
    "_type": "link",
    "name": "...",
    "command": "...",
    "materials": { ... },
    "products": { ... },
    "byproducts": { ... },
    "environment": { ... }
  }
}

(Note: This is a Predicate type that fits within the larger Attestation framework.)

The predicate has the same schema as the link's signed field in in-toto 0.9. See that document for details.

The subject MUST contain whatever elements from products or materials make sense. For example, a traditional "build" step would list the products in the subject, whereas a "test" or "vulnerability scan" would like the relevant materials.

TODO