In-Toto · API Governance Rules
In-Toto API Rules
Spectral linting rules defining API design standards and conventions for In-Toto.
0 Rules
Spectral Ruleset
x-aid: in-toto
x-name: in-toto Supply Chain Rules
description: >-
Operational guardrails for adopting the in-toto framework to secure software
supply chains. These rules capture conventions for layouts, link metadata,
signing, attestation, and verification across reference implementations.
rules:
- id: in-toto-layout-authority
name: Layouts are signed by a project owner
description: >-
Layout metadata defines the expected steps and authorized functionaries
and must be signed by a designated project-owner key. Verifiers anchor
trust in the owner key, so its provenance and rotation policy must be
explicit.
- id: in-toto-link-coverage
name: Cover every supply chain step with a link
description: >-
Each step declared in a layout must produce a corresponding signed link
file recording materials consumed and products produced. Missing or
unsigned links must fail verification.
- id: in-toto-attestation-statement
name: Use the in-toto Attestation Statement envelope
description: >-
New attestations should use the v1 Statement format (subject, predicate,
predicateType) wrapped in a DSSE envelope. Predicates such as SLSA
Provenance, SPDX, or CycloneDX must be referenced by their canonical
predicateType URIs.
- id: in-toto-signing-keys
name: Bind functionaries to verifiable signing keys
description: >-
Functionary identities in layouts must be bound to keys recoverable by
verifiers, whether GPG, X.509 (ITE-7 / SPIFFE), or Sigstore-issued
certificates. Verification must reject metadata signed by keys not
authorized for that step.
- id: in-toto-product-material-flow
name: Materials of one step match products of the previous
description: >-
Layout inspection rules should enforce that materials consumed by a
step match products produced by the upstream step, modulo declared
additions and removals, to detect tampering between steps.
- id: in-toto-no-secrets-in-links
name: Do not record secrets in link metadata
description: >-
Link files capture command lines and environment context. Strip API
tokens, passwords, and other secrets from recorded commands and
byproducts before publishing links to a transparency log or registry.
- id: in-toto-verify-before-deploy
name: Verify the full chain before deployment
description: >-
Deployment systems must run in-toto-verify (or an equivalent verifier)
against the final product and its layout before promoting an artifact
to a production environment. Verification failures must block release.
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for spectral rules
4 MCP tools reach this
find_rulesBrowse and filter every ruleset in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/in-toto-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.