Skip to content

Commit

Permalink
Fix CPE gen for k8s python client (anchore#1921)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Luhring <[email protected]>
Co-authored-by: Christopher Phillips <[email protected]>
  • Loading branch information
luhring and spiffcs authored Jul 10, 2023
1 parent 4cc5af5 commit 3136f69
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 3136f69

Please sign in to comment.