mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
fix: python CPE generation for alpine (#1564)
Signed-off-by: Weston Steimel <weston.steimel@anchore.com>
This commit is contained in:
parent
3013c8b691
commit
e236054668
@ -127,6 +127,17 @@ var defaultCandidateAdditions = buildCandidateLookup(
|
|||||||
candidateKey{PkgName: "python-rrdtool"},
|
candidateKey{PkgName: "python-rrdtool"},
|
||||||
candidateAddition{AdditionalProducts: []string{"rrdtool"}},
|
candidateAddition{AdditionalProducts: []string{"rrdtool"}},
|
||||||
},
|
},
|
||||||
|
// Alpine packages
|
||||||
|
{
|
||||||
|
pkg.ApkPkg,
|
||||||
|
candidateKey{PkgName: "python3"},
|
||||||
|
candidateAddition{AdditionalProducts: []string{"python"}, AdditionalVendors: []string{"python", "python_software_foundation"}},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
pkg.ApkPkg,
|
||||||
|
candidateKey{PkgName: "python"},
|
||||||
|
candidateAddition{AdditionalVendors: []string{"python_software_foundation"}},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
var defaultCandidateRemovals = buildCandidateRemovalLookup(
|
var defaultCandidateRemovals = buildCandidateRemovalLookup(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user