trivy icon indicating copy to clipboard operation
trivy copied to clipboard

feat: add third party flag for os packages

Open DmitriyLewen opened this issue 2 years ago • 6 comments

Description

There are cases when package has been installed from package manager (apk/dpkg/rpm), but that package is not vendor package. Add third-party-os-pkgs flag to skip this package and parse files of this package as language packages.

TODO:

  • [x] support of dpkg
  • [x] support of apk
  • [x] support of rpm
  • [x] update docs

Related issues

  • Close #4046
  • Close #4257

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

DmitriyLewen avatar Apr 24 '23 06:04 DmitriyLewen

Thank you!

tuananh avatar Apr 28 '23 12:04 tuananh

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

github-actions[bot] avatar Sep 23 '23 00:09 github-actions[bot]

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

github-actions[bot] avatar Nov 29 '23 00:11 github-actions[bot]

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

github-actions[bot] avatar Feb 19 '24 00:02 github-actions[bot]

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

github-actions[bot] avatar May 11 '24 00:05 github-actions[bot]

Do we have an ETA on when this might merge?

codyharris-h2o-ai avatar Jun 07 '24 14:06 codyharris-h2o-ai

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

github-actions[bot] avatar Aug 07 '24 00:08 github-actions[bot]

Closing in favor of https://github.com/aquasecurity/trivy/pull/7288

knqyf263 avatar Aug 07 '24 03:08 knqyf263