separate CPE definitions from capabilities

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2022-04-02 00:13:21 -04:00
parent 9f60d32369
commit 078dbedfb6
292 changed files with 292 additions and 292 deletions
+2 -2
View File
@@ -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 -1
View File
@@ -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"