Category "rego"

REGO: Is it possible to parse a regex group from the regex statement?

Cant find any information about regex groups, but what i want to do is: Filter out a string of all ARN's, extract the AWS Services from the ARN's, is it even po

VSCode Rego Plugin opa evaluate not working as expected

I'm learning OPA and rego. I'm trying to write a simple policy and have the same evaluated through VSCode Plugin. Folder Structure: learning.rego package learn

Is there any way to validate if input is passed in REGO language?

In REGO language how can we validate if an input exists? I got one way to do this. package play default hello = false hello { input.message } But is this