diff --git a/pkg/purl/purl.go b/pkg/purl/purl.go index a7bbbbfef6b3..01ba2b6fa377 100644 --- a/pkg/purl/purl.go +++ b/pkg/purl/purl.go @@ -428,6 +428,8 @@ func purlType(t ftypes.TargetType) string { return packageurl.TypeHex case ftypes.Conan: return packageurl.TypeConan + case ftypes.Composer, ftypes.ComposerInstalled: + return packageurl.TypeComposer case ftypes.Pub: return TypeDart // TODO: replace with packageurl.TypeDart once they add it. case ftypes.RustBinary, ftypes.Cargo: