python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Rego function to define variables
For several rules, we need to define the same set of variables. In the example, these are "ns", "externaldns", "svc", "nssvc". How could we take these definitio...
carrotcakeslayer
Votes: 0
Answers: 1
Open Policy Agent (OPA) for front and back end policy evaluation
We have a business application that has a number of policy rules for which OPA seems well suited for. As a simple example: "an order can by modified from status 'X' to 'Y' iif the user is in role...
Mauricio Caro
Votes: 0
Answers: 0
How to I combine the results of multiple rules
I have 3 roles and I am trying to return what actions a user can do based on the assigned roles.
Playground: https://play.openpolicyagent.org/p/5gN7ObojXh
The first part should check if the object bei...
Bill Mair
Votes: 0
Answers: 1
Will other rule results impact the correctness of the policy?
I am working on a rego policy that has multiple conditions. Each condition needs to make a call to the same endpoint of a REST api.
I have managed to retain the result of the service call as a result ...
CristisS
Votes: 0
Answers: 1