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
As a user of OPA in a large organization that delegates policy authoring to different groups, I would like to be able to validate that policies packaged into bundles conform to certain standards and best practices that are specific to my organization. For example:
App repos should not be able to modify the system package except for the system/log/mask decision
App policy packages must be namespaced under package acmecorp.<app_name>
App API authorization policies must include a default allow = false rule (any other value is not allowed for the default allow rule)
One solution would be to have the build command accept an option that loads a special policy that could evaluate against the policy ASTs. The policy would be passed as set of policy ASTs as input and would be expected to produce a decision as to whether the policies are valid.
princespaghetti, jon-whit, anderseknert and philipaconrad