サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
新内閣発足
www.openpolicyagent.org
OPA is purpose built for reasoning about information represented in structured documents. The data that your service and its users publish can be inspected and transformed using OPA’s native query language Rego. What is Rego? Rego was inspired by Datalog, which is a well understood, decades old query language. Rego extends Datalog to support structured document models such as JSON. Rego queries a
The Open Policy Agent (OPA, pronounced "oh-pa") is an open source, general-purpose policy engine that unifies policy enforcement across the stack. OPA provides a high-level declarative language that lets you specify policy as code and simple APIs to offload policy decision-making from your software. You can use OPA to enforce policies in microservices, Kubernetes, CI/CD pipelines, API gateways, an
{ "account": { "state": "open" }, "user": { "risk_score": "low" }, "transaction": { "amount": 950 } } # Run your first Rego policy! package payments default allow := false allow if { input.account.state == "open" input.user.risk_score in ["low", "medium"] input.transaction.amount <= 1000 } # Open in the Rego Playground to see the full example.
このページを最初にブックマークしてみませんか?
『Open Policy Agent - Homepage | Open Policy Agent』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く