We are going to expand the evaluation capabilities of Rego-based policies to have access to context aware information. The same settings and behaviours appied to waPC policies must apply to them.
Currently the user can run a context aware policy against a running k8s cluster and record the interactions performed inside of a text file. Later he can replay these interactions; this removes the need to have a running k8s cluster and makes the unit tests more predictable.
We have to ensure Rego-based policies can benefit from the record/replay feature offered to context aware policies.
We are going to expand the evaluation capabilities of Rego-based policies to have access to context aware information. The same settings and behaviours appied to waPC policies must apply to them.
Currently the user can run a context aware policy against a running k8s cluster and record the interactions performed inside of a text file. Later he can replay these interactions; this removes the need to have a running k8s cluster and makes the unit tests more predictable.
We have to ensure Rego-based policies can benefit from the record/replay feature offered to context aware policies.