frameworks icon indicating copy to clipboard operation
frameworks copied to clipboard

fix: Create dynamic CEL object variable

Open maxsmythe opened this issue 9 months ago • 2 comments

Defines a variable, anyObject that behaves in the same way request.Object does in Rego, allowing for a 1:1 behavioral analogue for Rego's request.Object command when running a template in VAP.

This also fixes a bug in generated CEL code where user-defined variables are placed before variables.params is defined, making users unable to reference variables.params in the variables they create.

maxsmythe avatar May 16 '24 02:05 maxsmythe