Skip to content

Commit ff8d39b

Browse files
committed
Add unit test for OSV-Scanner SBOM support
Signed-off-by: tdruez <[email protected]>
1 parent d721265 commit ff8d39b

File tree

6 files changed

+531
-2
lines changed

6 files changed

+531
-2
lines changed

scanpipe/pipes/resolve.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,9 @@ def resolve_spdx_dependencies(input_location):
408408
return [
409409
spdx_relationship_to_dependency_data(spdx_relationship)
410410
for spdx_relationship in spdx_relationships
411+
if spdx_relationship.spdx_id != "NOASSERTION"
412+
and spdx_relationship.related_spdx_id != "NOASSERTION"
413+
and spdx_relationship.relationship != "DESCRIBES"
411414
]
412415

413416

0 commit comments

Comments
 (0)