mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
fix: Add missing CPE for traefik, memcached, and postgres binaries (#2845)
Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
This commit is contained in:
parent
e353214ef8
commit
5ca26ed3ca
1 changed files with 3 additions and 0 deletions
|
@ -246,6 +246,7 @@ func DefaultClassifiers() []Classifier {
|
|||
`(?m)memcached\s(?P<version>[0-9]+\.[0-9]+\.[0-9]+)`),
|
||||
Package: "memcached",
|
||||
PURL: mustPURL("pkg:generic/memcached@version"),
|
||||
CPEs: singleCPE("cpe:2.3:a:memcached:memcached:*:*:*:*:*:*:*:*"),
|
||||
},
|
||||
{
|
||||
Class: "traefik-binary",
|
||||
|
@ -256,6 +257,7 @@ func DefaultClassifiers() []Classifier {
|
|||
`(?m)(\x00|\x{FFFD})v?(?P<version>[0-9]+\.[0-9]+\.[0-9]+(-alpha[0-9]|-beta[0-9]|-rc[0-9])?)\x00`),
|
||||
Package: "traefik",
|
||||
PURL: mustPURL("pkg:generic/traefik@version"),
|
||||
CPEs: singleCPE("cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:*"),
|
||||
},
|
||||
{
|
||||
Class: "postgresql-binary",
|
||||
|
@ -268,6 +270,7 @@ func DefaultClassifiers() []Classifier {
|
|||
`(?m)(\x00|\?)PostgreSQL (?P<version>[0-9]+(\.[0-9]+)?(\.[0-9]+)?(alpha[0-9]|beta[0-9]|rc[0-9])?)`),
|
||||
Package: "postgresql",
|
||||
PURL: mustPURL("pkg:generic/postgresql@version"),
|
||||
CPEs: singleCPE("cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*"),
|
||||
},
|
||||
{
|
||||
Class: "mysql-binary",
|
||||
|
|
Loading…
Reference in a new issue