mirror of
https://github.com/anchore/syft.git
synced 2026-10-31 22:46:36 +01:00
fix the fluent-bit regex detection pattern (#3817)
Signed-off-by: Yuntao Hu <victorhu493@gmail.com>
This commit is contained in:
@@ -573,7 +573,8 @@ func DefaultClassifiers() []Classifier {
|
||||
// [NUL]2.2.3[NUL]Fluent Bit
|
||||
// [NUL]2.2.1[NUL][NUL][NUL]Fluent Bit
|
||||
// [NUL]1.7.0[NUL]\x1b[1m[NUL]%sFluent Bit (versions 1.7.0-dev-3 through 1.7.0-dev-9 and 1.7.0-rc4 through 1.7.0-rc8)
|
||||
`\x00(?P<version>[0-9]+\.[0-9]+\.[0-9]+)\x00(\x1b\[1m\x00|\x00\x00)?(%s)?Fluent`,
|
||||
// [NUL][NUL]1.3.10[NUL][NUL]Fluent Bit v%s
|
||||
`\x00(\x00)?(?P<version>[0-9]+\.[0-9]+\.[0-9]+)\x00(\x1b\[1m\x00|\x00|\x00\x00)?(%s)?Fluent`,
|
||||
),
|
||||
Package: "fluent-bit",
|
||||
PURL: mustPURL("pkg:github/fluent/fluent-bit@version"),
|
||||
|
||||
Reference in New Issue
Block a user