Skip to content

Grype doesn't match u-boot in SBOM if type is set to firmware #2537

@SebastianKonplan

Description

@SebastianKonplan

What happened: If a SBOM is passed with the component u-boot there is no match if the component type is set to firmware. If I change the type to application then the component is matched as expected.

What you expected to happen: Match independent from the type.

How to reproduce it (as minimally and precisely as [possible): grype sbom:u-boot.json

Environment:

  • Output of grype version:
    Application: grype
    Version: 0.89.1
    BuildDate: 2025-03-13T20:22:27Z
    GitCommit: 718ea30
    GitDescription: v0.89.1
    Platform: linux/amd64
    GoVersion: go1.24.1
    Compiler: gc
    Syft Version: v1.20.0
    Supported DB Schema: 6

  • OS (e.g: cat /etc/os-release or similar): Ubuntu 22.04.5 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood-first-issueGood for newcomers

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions