mirror of
https://github.com/anchore/syft.git
synced 2026-11-05 08:56:41 +01:00
feat: detect fluent-bit binaries (#2905)
Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
@@ -952,6 +952,28 @@ func Test_Cataloger_PositiveCases(t *testing.T) {
|
||||
Metadata: metadata("gcc-binary"),
|
||||
},
|
||||
},
|
||||
{
|
||||
logicalFixture: "fluent-bit/3.0.2/linux-amd64",
|
||||
expected: pkg.Package{
|
||||
Name: "fluent-bit",
|
||||
Version: "3.0.2",
|
||||
Type: "binary",
|
||||
PURL: "pkg:github/fluent/fluent-bit@3.0.2",
|
||||
Locations: locations("fluent-bit"),
|
||||
Metadata: metadata("fluent-bit-binary"),
|
||||
},
|
||||
},
|
||||
{
|
||||
logicalFixture: "fluent-bit/2.2.1/linux-arm64",
|
||||
expected: pkg.Package{
|
||||
Name: "fluent-bit",
|
||||
Version: "2.2.1",
|
||||
Type: "binary",
|
||||
PURL: "pkg:github/fluent/fluent-bit@2.2.1",
|
||||
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