Skip to content

Inject lowered workload attributes into Cedar context (context.workload.*) #103

Closed

Description

@scttfrdmn

Phase-two of the evidence-kernel adoption (ADR 0001).

Today

internal/evaluator/evaluator.go (buildAttributes) builds Cedar principal and resource entities, but there is no context entity — so vet's context.workload.* attributes have no injection point in the evaluator yet. vet currently writes them to .vet/gate-result.json (provabl/vet#7).

Target

  • Add a Cedar context entity to the evaluator.
  • Inject workload attributes lowered by the kernel (provabl/evidence) via lower.ToAttributes (SLSALevel, SBOMPresent, CVECritical, …, plus attested).
  • Policies can then gate data access on appraised, fresh workload claims alongside principal/training claims.

Notes

  • attest stays the PDP and consumes the kernel.
  • Pairs with the principal-resolver issue (filed alongside this one).

Refs: ADR 0001 · provabl/evidence · vet provabl/vet#7

Activity

  1. added
    type/feature
    status/needs-design
    on Jun 8, 2026
  2. scttfrdmn commented on Jun 8, 2026

    @scttfrdmn
    CollaboratorAuthor

    Part of the Evidence Kernel Integration epic — tracking hub: provabl/evidence#2

  3. added 2 commits that reference this issue on Jun 9, 2026
    ef766bc
    fd1924b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/needs-designtype/feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions