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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions