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

Revisit rego policy violation properties #279

Open
lmolkova opened this issue Jul 31, 2024 · 0 comments
Open

Revisit rego policy violation properties #279

lmolkova opened this issue Jul 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lmolkova
Copy link
Contributor

Violation is used in rego policies to return structured info about policy violation.

Properties that would be useful:

  • human-friendly error message
  • provenance (the file name(s) in which problem was detected)
  • maybe attribute id(s) and group id(s) - note that we might have more than one for collisions/back-compat checks

Currently violation allows to provide only some of them (single attribute and single group name).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants