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 15:54:19 +00:00
committed by GitHub
co-authored by Christopher Phillips
parent d21fa84335
commit 9744f4c009
@@ -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,