Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
OPA for policy enforcement
Search
Sibi
April 29, 2020
Technology
91
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
OPA for policy enforcement
Sibi
April 29, 2020
More Decks by Sibi
See All by Sibi
Just
psibi
0
110
Nix/NixOS
psibi
0
140
Rust
psibi
2
340
Rust + Credstash
psibi
0
99
ASG and lifecycle hooks
psibi
0
76
Haskell + Azure Pipelines
psibi
0
99
Web programming in Haskell using Yesod
psibi
0
190
Monad
psibi
1
200
Science behind Quantum Computing
psibi
0
320
Other Decks in Technology
See All in Technology
DBTS2026 盛り上がってますか!?Databricksが実現するAI時代のデータ基盤
akuwano
1
190
PostgreSQL オプティマイザ統計の秘密
nori_shinoda
0
360
Software Engineering in an AI-Driven World
erikjhordan_rey
0
130
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
170
生成AI時代のIAMのマニアックな話
takuros
6
2.6k
Building Audio Plugin Ecosystem for Android in 2026
atsushieno
2
160
IBC 2026 動画技術関連レポート / IBC 2026 Report
cyberagentdevelopers
PRO
2
440
Maestro MCPとClaude Code Skillsによる自律的なE2Eテスト支援
asmz
0
420
自律的なチームを作るためにTechPMがやらないこと
ny7760
1
520
複雑な業務システムを高速でつくるため、チーム全員をつくれる人へ
ayakurabuchi
0
140
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
180
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
180
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
670
Producing Creativity
orderedlist
PRO
348
41k
Building Applications with DynamoDB
mza
96
7.3k
First, design no harm
axbom
PRO
2
1.4k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
740
How to train your dragon (web standard)
notwaldorf
96
6.9k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
550
Typedesign – Prime Four
hannesfritz
42
3.2k
Designing for Timeless Needs
cassininazir
1
550
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Transcript
OPA for policy OPA for policy enforcement enforcement Sibi Prabakaran
April 29, 2020
Agenda Agenda Overview of OPA Rego Usecases/Integra ons Example integra
on of OPA + Python web service
OPA OPA Project started in a company named Styra at
2016 Currently an incubator project at Linux founda on (CNCF) Goal: Unify policy enforcement
Overview Overview
Rego Rego Language for wri ng policy Expresssions, Variables, Rules
Itera on Tooling
Expressions Expressions > input.servers[0].protocols[0] "https" > input.servers[0].protocols[0] undefined decision input.servers[0].id
== "app" input.servers[0].protocols[0] == "https"
Rego Variables Rego Variables hello := "world"
Iteration Iteration networks = [{ "id": "net1", "public": false}, {
"id": "net2", "public": false}] > networks[x] +---+------------------------------+ | x | networks[x] | +---+------------------------------+ | 0 | {"id":"net1","public":false} | | 1 | {"id":"net2","public":false} | +---+------------------------------+
Rules Rules any_public_networks = true { # is true if...
net := networks[_] # some network exists and.. net.public # it is public. }
API Integration API Integration Python code Rego code
Experience Experience Policies Error messages aren’t nice Community Tooling
OPA OPA Integrations Integrations
Comparision Comparision with Sentinel with Sentinel Open Source Applicable more
generally Language differences
Other Stu Other Stu WASM Support Editor integra ons h
ps:/ /play.openpolicyagent.org/
Haskell Haskell - Fugue Rego Toolkit h ps:/ /github.com/fugue/fregot
Questions Questions