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
Currently, the --policy parameter allows specifying a single rego file. It would be useful to be able to import all rego files present in a directory. I see two possible approaches:
Extend the existing --policy parameter to accept a directory and modify the internal logic of weaver to import, in this case, all files with the .rego extension.
Add a new --policies parameter to specify a directory and automatically import all **/*.rego files.
I don’t have a strong preference for either approach. Feel free to share your opinion in the comments of this issue.
The text was updated successfully, but these errors were encountered:
Currently, the
--policy
parameter allows specifying a single rego file. It would be useful to be able to import all rego files present in a directory. I see two possible approaches:--policy
parameter to accept a directory and modify the internal logic of weaver to import, in this case, all files with the.rego
extension.--policies
parameter to specify a directory and automatically import all**/*.rego
files.I don’t have a strong preference for either approach. Feel free to share your opinion in the comments of this issue.
The text was updated successfully, but these errors were encountered: