trivy
trivy copied to clipboard
feat(report): Apply ignore policies from a directory
Description
This expands the --ignore-policy option functionality. If a directory path specified as the option value it recursively finds *.rego files in the the directory and applies each found policy file for the results filtration.
It's backward compatible, it can still take a single Rego file.
Checklist
- [x] I've read the guidelines for contributing to this repository.
- [x] I've followed the conventions in the PR title.
- [x] I've added tests that prove my fix is effective or that my feature works.
- [x] I've updated the documentation with the relevant information (if needed).
- [ ] I've added usage information (if the PR introduces new options)
- [ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).
Hey @DmitriyLewen . Is there any queue for the contributions to be reviewed/merged? Just not sure what's the next step. Thanks.
Hello @dstrelbytskyi We have a lot of work to do now.
When @knqyf263 has time to check this PR, he will merge it.
This PR is stale because it has been labeled with inactivity.