~/talk

Open Policy Agent Deep Dive

Talkat KubeCon + CloudNativeCon Europe 2018 · 2018-05-02..05-04· B5-M2+4· [security]
links:none on file
slides:none on file

Open Policy Agent (OPA) is a host‑local, in‑memory policy engine that returns arbitrary JSON decisions (not just booleans) and integrates with systems like Kubernetes (admission control), SSH, Docker and Terraform. Policies are evaluated via HTTP POST with JSON input/output to named policies, external context is provided by data injected via HTTP PUT into OPA, and the language supports iteration via implicit variables, about 50 built‑in operators, and a distinction between functions vs virtual documents for reusable logic and indexed lookups. Performance tools include tracing, indexing and unit tests; built‑ins are side‑effect free.

AI-written summary · about

  1. 0:00Start
  2. 2:46Use OPA to policy-enable your project
  3. 4:05How Policies are invoked
  4. 6:53Example: HTTP API Authorization
  5. 10:59Lookup and Compare Values
  6. 12:35Create Rules
  7. 14:47Create Functions
  8. 27:07Policies Use Context
  9. 31:11What about Arrays?
  10. 39:37Iterate over Everything
  11. 40:50Create a Virtual Document
  12. 41:31Different Syntaxes for Virtual Sets
  13. 42:16Create Virtual Dictionaries too
  14. 43:15Virtual Docs support iteration Functions dont Dictionary
~/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.