Policy as code
summary
Open Policy Agent is an open source, lightweight policy engine that serves JSON over a REST API and runs as a sidecar deployment next to services; policies are written in the declarative language Rego and can return any JSON value. A live demo shows a 13‑line Rego policy that lets GETs pass and allows PUT only when the path username matches the requester — written, deployed and evaluated successfully. Management features include bundle, decision log, status and discovery APIs for distributing policies and collecting audits.
AI-written summary · about
