Skip to content

Raising containers as packages in the final SBOM #3477

Open
@spiffcs

Description

@spiffcs

What would you like to be added:
Syft currently inspects and surfaces a number of different packages inside a container given specific cataloger rules.

Some current vulnerability datasets mark the container itself as vulnerable with identifying purls going only as far as the metadata that's found in a docker inspect or skopeo inspect command:

data/rhel/input/csaf/2020/cve-2020-7793.json
218:                "purl": "pkg:oci/distributed-tracing/jaeger-all-in-one-rhel7"
229:                "purl": "pkg:oci/distributed-tracing/jaeger-query-rhel7"

Syft should start surfacing the scanned container as it's own package type in the final SBOM to help with matching against these kinds of vulnerability records.

Why is this needed:
Better cataloging of the actual images being scanned as the "root" or vulnerable node in an SBOM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions