Skip to content
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

Use rule short failure message as fallback for evaluation failure message #4718

Open
eleftherias opened this issue Oct 10, 2024 · 0 comments

Comments

@eleftherias
Copy link
Contributor

In some cases, for example when using the rego/deny-by-default evaluation engine, we expect the writer of the rule to set the evaluation failure message.
If they don't, we currently default to "denied".

Instead, we should default to the short_failure_message if that is provided in the rule definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant