Skip to content

Inject nitro:// runtime attributes into Cedar context #104

Closed

Description

@scttfrdmn

Phase-two of the evidence kernel (ADR 0001) — the attest half of the nitro provider.

Scope

The Cedar context entity introduced in #103 also carries runtime/platform attributes lowered from the nitro appraisal verdict via lower.ToAttributes — e.g. context.platform.nitro_attested, PCR-derived booleans. Policies can then gate data access on runtime state (is the node in known-good condition?), not just config + training + supply-chain claims.

Relationships

Refs: ADR 0001

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. scttfrdmn commented on Jun 9, 2026

    @scttfrdmn
    CollaboratorAuthor

    Unblocked: the nitro provider has landed — evidence#1 merged (provabl/evidence#3), released as evidence v0.2.0, emitting platform.* claims.

    Good news for this issue: the Cedar context plumbing from #103 already handles context.<group>.<attr> generically — buildContext in internal/evaluator/evaluator.go groups any context.<group>.* keys into a nested record. So injecting context.platform.* needs no evaluator change: just a reader (mirroring internal/workload) that loads the nitro attestation result and adds context.platform.* keys to the request attributes, plus the attest evaluate wiring. Consider whether to merge with #103's reader or keep a separate internal/platform loader.

  4. added 2 commits that reference this issue on Jun 9, 2026
    80abae4
    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