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

indicate which constraints don't match #2599

Open
acpana opened this issue Feb 24, 2023 · 3 comments
Open

indicate which constraints don't match #2599

acpana opened this issue Feb 24, 2023 · 3 comments
Labels

Comments

@acpana
Copy link
Contributor

acpana commented Feb 24, 2023

This probably is a feature request in CF but stating it here since the motivation comes from using gator.

When using gator it would be useful to quickly indicate that a constraint did not match. This can help users instantly know that something is wrong with their yaml/ setup and not the execution or evaluation of their constraint's evaluating code.

Making this also available in gatekeeper may not be suited in environments where many constraints are present but for shift left scenarios more information like this could be useful.

@maxsmythe
Copy link
Contributor

maxsmythe commented Feb 25, 2023

Dropping the "maybe": that's implicit in whether or not the issue gets taken up.

@maxsmythe maxsmythe changed the title maybe indicate which constraints don't match indicate which constraints don't match Feb 25, 2023
@acpana
Copy link
Contributor Author

acpana commented Mar 1, 2023

from offline conversations, we are considering enabling this with a flag for gator test for instance.

@stale
Copy link

stale bot commented Apr 30, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

3 participants