OPA & Rego
OPA evaluates policy over JSON. You write rules in Rego, test them, and ask for a decision — in CI with Conftest, or in the cluster with Gatekeeper so a skipped pipeline still gets checked. This course covers deny/allow patterns, data vs input, coverage, admission, bundles, and what to do when the webhook is slow or down. OPA does not replace RBAC, and a policy that never runs in CI will still surprise you at deploy time.
01
OPA fundamentals
4 lessons02
Rego patterns, data & Conftest
4 lessons03
Gatekeeper, bundles & delivery
4 lessons01Gatekeeper: Kubernetes admissionConstraints and templates in-cluster.14 min02The decision API & bundlesOPA as a service; distributing policy.12 min03Performance, safety & the landscapeFast, safe Rego; Sentinel & Kyverno.12 min04Delivering policy securelyVersion, test, and enforce guardrails.12 min
Progress is saved in this browser only — no account required.
Final exam
Test yourself on everything
14 questions drawn from all 3 sections — every answer explained as you pick.