aserto-dev / topaz

Cloud-native authorization for modern applications and APIs
https://www.topaz.sh
Apache License 2.0
1.04k stars 24 forks source link

Allow loading a policy bundle from a specified path #68

Open carabasdaniel opened 1 year ago

carabasdaniel commented 1 year ago

According to the configuration of the runtime topaz should be able to load a bundle from a configured path on the disc.

Currently there is no method to configure this behavior using the topaz CLI.

Allowing topaz to run with a bundle loaded from a folder would improve the experience of writing your policy as editing your rego definitions would be reflected directly into the loaded runtime bundle, allowing you to to interact with your loaded bundle a lot easier.

ronenh commented 1 year ago

Topaz has the ability to run policies from the local policy OCI store. This feature would enable a smoother rego authoring experience when editing policies by immediately reflecting changes to the policy source files.