trivy icon indicating copy to clipboard operation
trivy copied to clipboard

feat(report): Apply ignore policies from a directory

Open dstrelbytskyi opened this issue 1 year ago • 3 comments

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).

dstrelbytskyi avatar Mar 18 '24 12:03 dstrelbytskyi

Hey @DmitriyLewen . Is there any queue for the contributions to be reviewed/merged? Just not sure what's the next step. Thanks.

dstrelbytskyi avatar Apr 18 '24 12:04 dstrelbytskyi

Hello @dstrelbytskyi We have a lot of work to do now.

When @knqyf263 has time to check this PR, he will merge it.

DmitriyLewen avatar Apr 19 '24 04:04 DmitriyLewen

This PR is stale because it has been labeled with inactivity.

github-actions[bot] avatar Jun 23 '24 00:06 github-actions[bot]