You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, guardian policy validation is done on creation. And any testing for the intricate steps require creating a policy and doing the whole appeal flow just to check policy steps.
We should have a command/api similar to guardian policy validate or guardian policy lint so that one can run it and check if the policy file that they have created is valid. And if invalid, detailed error output to describe what is incorrect.
Additional context
We might not be able to validate everything in policy without going through the appeal flow itself, but having something to validate at least a few things is better and we can always extend it later.
The text was updated successfully, but these errors were encountered:
Summary
At the moment, guardian policy validation is done on creation. And any testing for the intricate steps require creating a policy and doing the whole appeal flow just to check policy steps.
We should have a command/api similar to
guardian policy validate
orguardian policy lint
so that one can run it and check if the policy file that they have created is valid. And if invalid, detailed error output to describe what is incorrect.Additional context
We might not be able to validate everything in policy without going through the appeal flow itself, but having something to validate at least a few things is better and we can always extend it later.
The text was updated successfully, but these errors were encountered: