Skip to content
iam.alan.abreu
← Lab
EXPERIMENTDraftStarted 2025-01

Policy-as-code sandbox

A local environment for writing, testing and dry-running admission policies before they ever reach a cluster.

Domains
  • DevSecOps
  • Platform
  • Security
Technologies
  • OPA
  • Rego
  • Kind
  • Conftest

Hypothesis

Policies fail in production mostly because they were never exercised against realistic manifests.

Objective

Make writing a policy test as cheap as writing the policy itself.

Architecture

A disposable local cluster plus a corpus of real-world manifests, with each policy shipping its own allow and deny fixtures.

Implementation

Placeholder — implementation notes pending.

Findings

Placeholder — findings pending.

Next steps

Measure how many production policy incidents the fixture corpus would have caught.

Linked from

Related suggestions