Open Policy Agent
openpolicyagent.org
Open Policy Agent
1–10 of 46 posts
Re: Open Policy Agent
#2OPA replaces a complex hard-coded, and largely inscrutable UAM model with a (still complex), but flexibly defined, independently testable, and easily inspectable single-responsibility model.
I like that OPA has built in support for testing rulesets. The partial evaluation feature is amazing, ands makes it easy to apply UAM filters to endpoints that return large sets of data (we have consistent query APIs across the app, so could do this with a relatively simple OPA-aware proxy).
It's not all sunshine and roses, and the result might seem overly complex for a lot of use cases, but in our case I think OPA has provided a nice clean abstraction and enabled us to disentangle our UAM from the rest of our code and move more quickly overall.
Re: Open Policy Agent
#3Re: Open Policy Agent
#4Re: Open Policy Agent
#5OPA was one of the most cursed things I have ever worked with.
Re: Open Policy Agent
#6OPA was one of the most cursed things I have ever worked with.
I found it relatively easy to use and at a good level of abstraction to make the policies relatively reusable.
Re: Open Policy Agent
#7Re: Open Policy Agent
#8Curious what folks think about this versus cedar ( https://www.cedarpolicy.com/ ), the open source policy engine behind aws verified permissions.
Re: Open Policy Agent
#9Disclaimer: I work on this but it’s free, & open source!
Re: Open Policy Agent
#10Curious what folks think about this versus cedar ( https://www.cedarpolicy.com/ ), the open source policy engine behind aws verified permissions.
The biggest advantage to OPA was the flexibility. This enabled not just an authorization decision, but the why behind it. No more questions of why did this person/system gain (or was denied) access, combing through dozens of rules to find the matching statements. Just pull up the log and read the results… This is incredibly useful during audits.
Cedar could not provide that level of detail (or so I was told by AWS representatives selling their hosted version).