Skip to content

(Scanner) new API to read/walk an SBOM #493

Open

Description

@fraxken

Sometimes we have an SBOM (json file) as input manifest. Package such as @cyclonedx/cdxgen can produce that file for a given local project (package.json).

My idea is to implement a new API that could take the JSON and walk on it.

Activity

  1. fraxken commented on Jul 19, 2025

    @fraxken
    MemberAuthor

    Note: probably not easy at all because we draw to draw relationships between the SBOM components

    Or a brand new walker that would just take the list of flat dependencies without any need to iterate on sub-dependencies and walk across the tree (since the SBOM expose the tree as a flat list of components from my current understanding)

  2. fraxken commented on Apr 3, 2026

    @fraxken
    MemberAuthor

    Now scanner use mama through depWalker. I think we should explore if we can implement SBOM support through ManifestManager class and on what area we have breaking or missing data.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions