mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
separate CPE definitions from capabilities
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package integration
|
||||
|
||||
import (
|
||||
"github.com/anchore/syft/syft/pkg/cataloger/packages"
|
||||
"github.com/anchore/syft/syft/cataloger/packages"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
|
||||
@@ -20,7 +20,7 @@ func BenchmarkImagePackageCatalogers(b *testing.B) {
|
||||
imagetest.GetFixtureImage(b, "docker-archive", fixtureImageName)
|
||||
tarPath := imagetest.GetFixtureImageTarPath(b, fixtureImageName)
|
||||
|
||||
var pc *pkg.Catalog
|
||||
var pc *pkg.Collection
|
||||
for _, c := range packages.InstalledCatalogers(packages.DefaultSearchConfig()) {
|
||||
// in case of future alteration where state is persisted, assume no dependency is safe to reuse
|
||||
userInput := "docker-archive:" + tarPath
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package integration
|
||||
|
||||
import (
|
||||
"github.com/anchore/syft/syft/cataloger/packages"
|
||||
"github.com/anchore/syft/syft/linux"
|
||||
"github.com/anchore/syft/syft/pkg/cataloger/packages"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user