Fix CPE gen for k8s python client (#1921)

Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
Dan Luhring 2023-07-10 11:54:19 -04:00 committed by GitHub
parent d21fa84335
commit 9744f4c009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,