Skip to content

Fix ValueError crash when SBOM is empty #111

Description

@ashsong-nv

Currently process_engine_input raises a ValueError if there's no SBOM packages, causing a pipeline crash. (Tested by setting message.info.sbom.packages = [] at the end of cve_process_sbom()). We should handle this case gracefully instead.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions