Respect "rpmmod" PURL qualifier (#4314)

Red Hat purls the RPM modularity info in a query param in the PURLs in
their vulnerability data. It would be nice if Syft respected this
qualifier so that Grype can use it when a Red Hat purl is passed.

Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
This commit is contained in:
Will Murphy
2025-10-28 09:35:11 -04:00
committed by GitHub
parent bee78c0b16
commit 0d9ea69a66
4 changed files with 60 additions and 1 deletions
+2 -1
View File
@@ -4,9 +4,10 @@ import (
"os"
"testing"
"github.com/anchore/stereoscope/pkg/file"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/anchore/stereoscope/pkg/file"
)
func TestFileMetadataFromPath(t *testing.T) {