mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 15:06:36 +01:00
fix the fluent-bit regex detection pattern (#3817)
Signed-off-by: Yuntao Hu <victorhu493@gmail.com>
This commit is contained in:
@@ -1243,6 +1243,17 @@ func Test_Cataloger_PositiveCases(t *testing.T) {
|
||||
Metadata: metadata("fluent-bit-binary"),
|
||||
},
|
||||
},
|
||||
{
|
||||
logicalFixture: "fluent-bit/1.3.10/linux-arm",
|
||||
expected: pkg.Package{
|
||||
Name: "fluent-bit",
|
||||
Version: "1.3.10",
|
||||
Type: "binary",
|
||||
PURL: "pkg:github/fluent/fluent-bit@1.3.10",
|
||||
Locations: locations("fluent-bit"),
|
||||
Metadata: metadata("fluent-bit-binary"),
|
||||
},
|
||||
},
|
||||
{
|
||||
logicalFixture: "wp/2.9.0/linux-amd64",
|
||||
expected: pkg.Package{
|
||||
|
||||
Reference in New Issue
Block a user