diff --git a/syft/formats/common/spdxhelpers/to_format_model.go b/syft/formats/common/spdxhelpers/to_format_model.go index 1ac0a1f4264..ec4e3c55b28 100644 --- a/syft/formats/common/spdxhelpers/to_format_model.go +++ b/syft/formats/common/spdxhelpers/to_format_model.go @@ -362,6 +362,8 @@ func lookupRelationship(ty artifact.RelationshipType) (bool, RelationshipType, s switch ty { case artifact.ContainsRelationship: return true, ContainsRelationship, "" + case artifact.DependencyOfRelationship: + return true, DependencyOfRelationship, "" case artifact.OwnershipByFileOverlapRelationship: return true, OtherRelationship, fmt.Sprintf("%s: indicates that the parent package claims ownership of a child package since the parent metadata indicates overlap with a location that a cataloger found the child package by", ty) }