warrant icon indicating copy to clipboard operation
warrant copied to clipboard

Consider supporting Open Policy Agent Rego as the policy language for warrant policies

Open kkajla12 opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Now that #140 is merged and warrants support attaching policies to them, it might make sense to support additional policy languages like OPA's Rego (due to wider adoption/familiarity).

Describe the solution you'd like Warrants should support policies written in OPA's Rego policy language.

Describe alternatives you've considered N/A

Additional context It seems like using OPA purely for policy definition (in Rego) and evaluation is possible in Go services via their Go API: https://www.openpolicyagent.org/docs/latest/integration/#integrating-with-the-go-api

kkajla12 avatar Jun 07 '23 18:06 kkajla12