Skip to content
provablPublic

About

Copland-model evidence kernel beneath Cedar for the Provabl suite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

provabl/evidence

The Copland-model evidence kernel beneath Cedar for the Provabl suite.

Part of the Provabl suite:

  • ground — deploy correct AWS foundations
  • attest — compile, enforce, and prove compliance
  • qualify — train and qualify researchers
  • vet — verify the software supply chain
  • evidence — the attestation layer the others gather and appraise evidence through ← you are here

Ground your infrastructure, attest your controls, qualify your people, vet your software, steward your data.


The evidence kernel for the provabl suite. The Copland attestation model — terms, typed evidence, appraisal, freshness — in Go, sitting one layer below Cedar.

Appraisal produces a verdict; Cedar acts on it. The kernel is the evidence layer; attest stays the policy decision point. Each provabl capability (vet, nitro, qualify, attest) becomes one (ASP, appraiser) pair registered against the kernel. Two are implemented here: vet (supply-chain provenance — freshness rides the kernel's outer SIG) and nitro (enclave attestation — the appraiser binds the run's nonce natively against the NSM document and verifies it to the aws-nitro trust root).

Core concepts

(terms link to the suite glossary)

  • Copland model — terms (what to measure), typed evidence, appraisal (the verdict), and freshness — in Go, without the formal proofs.
  • (ASP, appraiser) pair — the unit of extension: a measurer + the judge for what it measured. Each capability (vet/nitro/tpm/qualify) registers one; the kernel refuses half a pair.
  • Freshness spine — the kernel owns the nonce/SIG/HSH challenge so an attribute is appraised and fresh, not a bare assertion.
  • Lowered attribute — lower.ToAttributes turns a verdict into the Cedar attributes the importing tools persist; attest consumes those. attest stays the PDP; the kernel never decides.

Unlike the other tools, the kernel is a library others import, not a service they hand off to — the dependency points inward (tools → evidence), never out:

flowchart LR
    vet["vet"] -->|"imports"| ev["<b>evidence</b><br/>kernel: terms · typed evidence ·<br/>appraisal · freshness spine"]
    nitro["nitro"] -->|"imports"| ev
    tpm["tpm"] -->|"imports"| ev
    qualify["qualify"] -->|"imports"| ev
    ev -->|"lower.ToAttributes"| attrs["Cedar attributes<br/>(written by each tool, read by attest)"]
Loading
go test ./...          # green
go run ./cmd/slice     # kernel + vet + nitro, end to end
$ go run ./cmd/slice
evidence bundle:
  Signed[by=provabl-am-v1]
    Seq
      Nonce(32 bytes)
      Meas[asp=vet place=self status=collected]

verdict: pass=true  (all measurements collected and passed)

lowered Cedar attributes:
  attested                   = true     (bool)
  workload.cves_critical     = 0        (long)
  workload.signature_valid   = true     (bool)
  workload.slsa_level        = 2        (long)
  workload.subject_digest    = sha256:1f3a… (string)

Install

evidence is a library, not a CLI — the other tools import it; there is no binary to install (cmd/slice is a runnable end-to-end demo, not a product). Add it as a dependency:

go get github.com/provabl/evidence@latest   # requires Go 1.26.4+

Prerequisites. Go 1.26.4+ only — the kernel is stdlib-only (no third-party, no AWS). A capability uses it by registering one (ASP, appraiser) pair; see ARCHITECTURE.md for the contract.

See ARCHITECTURE.md for the contract and CLAUDE.md for the build guide.

The one rule: the kernel does exactly five things — route, thread, stamp place, apply the nonce/SIG/HSH built-ins, dispatch appraisal. All domain meaning lives in the pairs. The day an ASP-specific branch appears in the kernel, the abstraction has failed.

Apache-2.0 · © 2026 Playground Logic LLC

About

Copland-model evidence kernel beneath Cedar for the Provabl suite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages