Open Policy Agent: security for cloud natives and everyone else
summary
Overview of using Open Policy Agent to codify runtime checks for APIs, Kubernetes and apps, with concrete integrations: policies written as Rego policies served from a local agent or embedded Go library, evaluated in pull requests for IaC via Terraform PR gating (Atlantis fetches policies from S3), and run continuously with Cloudbeat against CIS benchmarks (example run shows 86% compliance and 52 failing rules). Notes: Rego has a steep learning curve, some queries can be 3x optimized, and colocated agents avoid cross‑node latency.
AI-written summary · about
chapters (12)
- 0:00Introduction to security policies
- 1:37Problems with traditional security checks
- 7:17What is Open Policy Agent
- 12:34OPA use cases in infrastructure
- 14:21OPA in application security
- 15:45OPA playground demo
- 21:10OPA for Elasticsearch queries
- 22:32CIS benchmarks with OPA
- 27:57Debugging and optimizing Rego
- 29:01Why externalize security policies
- 30:24Challenges with Rego
- 32:11Q&A session
related talks
36mOPA for the cloud natives
39mIntro: Open Policy Agent
30mOpen Policy Agent Intro
33mIntro: Open Policy Agent
39mApplying Policy Throughout The Application Lifecycle with Open Policy Agent
31mDeploying Policy-as-Code with Readable Rego Policies, and Open Policy Agent
25mPolicing Your Kubernetes Clusters with Open Policy Agent (OPA) - Mark Puddick & Amith Nambiar
39mIntro: Open Policy Agent
