~/talk

The Battle of Policies: OPA’s Rego vs. JSON Schema

Talkat cdCon 2022 · 2022-06-07..06-08· [security, web-platform]
linkedin:tolts
slides:none on file

Compares OPA Rego and JSON Schema by validating real Kubernetes manifests (schema versions, labels, image tags, probes, CPU/memory limits) inside CI/CD and as admission controllers; the team interviews 1,000+ customers and reports Datree (5,000+ GitHub stars) implements custom policies via policies.yaml (written as YAML, converted to JSON) and runs them in its engine. Rego gives richer conditional logic but is harder to master, while JSON Schema is broadly supported and easier for teams to adopt. Rego offers richer policy logic JSON Schema wins for simplicity and ecosystem support

AI-written summary · about

  1. 0:00Introduction to policy
  2. 1:22Need for policy enforcement
  3. 2:22Understanding Rego
  4. 6:41Deep dive into Rego usage
  5. 12:21Understanding JSON schema
  6. 17:21Comparing Rego and JSON schema
  7. 21:35Choosing the right solution
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.