-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scaffolding command for new built-in and custom rules #206
Labels
Comments
Closed
anderseknert
added a commit
that referenced
this issue
Aug 2, 2023
Add `regal new rule` command to allow quickly getting started working with custom rules, or builtin rules for Regal itself. See added docs for more details. Fixes #206 Signed-off-by: Anders Eknert <anders@styra.com>
Merged
anderseknert
added a commit
that referenced
this issue
Aug 2, 2023
Add `regal new rule` command to allow quickly getting started working with custom rules, or builtin rules for Regal itself. See added docs for more details. Fixes #206 Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert
added a commit
that referenced
this issue
Aug 2, 2023
Add `regal new rule` command to allow quickly getting started working with custom rules, or builtin rules for Regal itself. See added docs for more details. Fixes #206 Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert
added a commit
that referenced
this issue
Aug 2, 2023
Add `regal new rule` command to allow quickly getting started working with custom rules, or builtin rules for Regal itself. See added docs for more details. Fixes #206 Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert
added a commit
that referenced
this issue
Aug 8, 2023
Add `regal new rule` command to allow quickly getting started working with custom rules, or builtin rules for Regal itself. See added docs for more details. Fixes #206 Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert
added a commit
that referenced
this issue
Aug 8, 2023
Add `regal new rule` command to allow quickly getting started working with custom rules, or builtin rules for Regal itself. See added docs for more details. Fixes #206 Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert
added a commit
that referenced
this issue
Aug 8, 2023
Add `regal new rule` command to allow quickly getting started working with custom rules, or builtin rules for Regal itself. See added docs for more details. Fixes #206 Signed-off-by: Anders Eknert <anders@styra.com>
srenatus
pushed a commit
to srenatus/regal
that referenced
this issue
Oct 1, 2024
Add `regal new rule` command to allow quickly getting started working with custom rules, or builtin rules for Regal itself. See added docs for more details. Fixes StyraInc#206 Signed-off-by: Anders Eknert <anders@styra.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something like:
Which would:
.regal
directory if none exists..regal/rules
directory if none exists..regal/rules/category/title.rego
file pre-populated with the basic required policy structure..regal/rules/category/title_test.rego
file pre-populated with the basic required policy test structure.And something similar to the above for creating new built-in rules as well, where the new files are added to the Regal bundle instead, and where there's also an entry added for documentation in the docs directory.
The text was updated successfully, but these errors were encountered: