diff --git a/syft/pkg/cataloger/redhat/package.go b/syft/pkg/cataloger/redhat/package.go index 8bbcfe9a0..66c5f6053 100644 --- a/syft/pkg/cataloger/redhat/package.go +++ b/syft/pkg/cataloger/redhat/package.go @@ -92,6 +92,9 @@ func packageURL(name, arch string, epoch *int, srpm string, version, release str if namespace == "rhel" { namespace = "redhat" } + if strings.HasPrefix(namespace, "opensuse") { + namespace = "opensuse" + } qualifiers := map[string]string{}