I don't see any reason that the OPA policy engine couldn't
try
to resolve variables for Pipeline Run Policy Sets before evaluation or even add them to the JSON output to avoid breaking backward compatibility so you can enable your customers to do both pre-resolution and post-resolution validation via OPA/Rego. I realize it won't be able to resolve many of those variables such as step or stage output variables, but for Runtime Inputs and Pipeline/Project/Org/Account Variables it would let me add meaningful governance without forcing complex pipelines on our teams
Created by Ankit Kumar
·