Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
OPA for policy enforcement
Search
Sibi
April 29, 2020
Technology
77
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
100
Nix/NixOS
psibi
0
130
Rust
psibi
2
340
Rust + Credstash
psibi
0
90
ASG and lifecycle hooks
psibi
0
68
Haskell + Azure Pipelines
psibi
0
98
Web programming in Haskell using Yesod
psibi
0
180
Monad
psibi
1
190
Science behind Quantum Computing
psibi
0
310
Other Decks in Technology
See All in Technology
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」紹介資料
laysakura
2
9.4k
社内の7割が使うデータ基盤を、 データチーム2人で回すためにやったこと
koh_yoshi
4
1.5k
案件に一番詳しいAIを Amazon Bedrock AgentCore で作る ― 知見が知見を生むチームへ / Compounding Knowledge with AgentCore
yusukeshimizu
1
170
AI時代のアウトプット――変わったこと、変わらないこと / Devsumi 2026 Kansai #devsumi
jnchito
0
510
Go 1.27 の標準パッケージに uuid が入った!のでいろいろ喋る / go_127_std_go_uuid
convto
3
590
同じWAFが、攻撃の“形”は弾く── 正当な“形”の不正は通す
kuroneko13
0
270
【Aiming】共通基盤なのに「共通化しない」課金・認証基盤「LINK」が選び取ったシングルテナント戦略と運用の秘訣
saikeda
0
160
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
200
LLM・AIエージェントシステムベストプラクティス
shibuiwilliam
6
1.6k
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
240
長期運営で肥大化したExcelマスターデータの解消に向けた移行事例
gree_tech
PRO
0
260
AIにブラウザを触らせて、E2EテストをPlaywrightで書く
koji_kawamura
0
370
Featured
See All Featured
Between Models and Reality
mayunak
4
400
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Google's AI Overviews - The New Search
badams
0
1.1k
The Cult of Friendly URLs
andyhume
79
7k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
490
Building AI with AI
inesmontani
PRO
1
1.2k
Making Projects Easy
brettharned
120
6.7k
Into the Great Unknown - MozCon
thekraken
41
2.7k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
470
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
730
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
480
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