Skip to content

Commit

Permalink
Fix CPE gen for k8s python client (#1921)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
  • Loading branch information
luhring and spiffcs committed Jul 10, 2023
1 parent d21fa84 commit 9744f4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions syft/pkg/cataloger/common/cpe/candidate_by_package_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,11 @@ var defaultCandidateRemovals = buildCandidateRemovalLookup(
candidateKey{PkgName: "redis"},
candidateRemovals{VendorsToRemove: []string{"redis"}},
},
{
pkg.PythonPkg,
candidateKey{PkgName: "kubernetes"},
candidateRemovals{ProductsToRemove: []string{"kubernetes"}},
},
// NPM packages
{
pkg.NpmPkg,
Expand Down

0 comments on commit 9744f4c

Please sign in to comment.