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
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
OPA Middleware with Dapr not invoking
I am unable to get the OPA middleware to execute on a service to service invocation.
I am using the simple OPA example online and cannot seem to get it to trigger when invoking it from another service...
ewassef
Votes: 0
Answers: 0
OPA rego policy to block access to kubernetes namespace
I am trying to write a policy that blocks permission for specific users to a list of specific kubernetes namespaces. This is what I have so far, it works for singular user/namespace but I need one tha...
Ken L
Votes: 0
Answers: 1