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
Make command to fail if missing Rego definition #68
Conversation
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: charlieegan3, j-fuentes The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
All looking good to me - think it makes sense to error in this case as it's a misconfiguration case I think we'd always want to avoid. Minor edit to the message, then I can lgtm |
Signed-off-by: Jose Fuentes <jsfuentescastillo@gmail.com>
Co-Authored-By: Charlie Egan <charlieegan3@users.noreply.github.com> Signed-off-by: Jose Fuentes <jsfuentescastillo@gmail.com>
/lgtm |
This makes the command fail if a rule existed in the PolicyManifest but it was not found in the Rego package.
Since the reports are still useful, it does not fail hard and finished the execution after generating the reports.
Signed-off-by: Jose Fuentes jsfuentescastillo@gmail.com