Skip to content

Components in the SBOM under 'metadata.component.components' are not imported #2955

Closed
DependencyTrack/hyades-apiserver
#278

Description

@malice00

Current Behavior

I generate an SBOM from a multi-module Gradle project, using cdxgen. When I import this, my modules are not imported as components and therefore the dependency tree doesn't work.

This is most likely because cdxgen puts the sub-projects under 'metadata.component.components' instead of directly under 'components'. (See the specs for 1.4)

Steps to Reproduce

  1. Generate an SBOM for a Gradle project with cdxgen
  2. Import the SBOM

Expected Behavior

I expect my modules to be added just as any other components and the dependency tree to be available.

Dependency-Track Version

4.8.2

Dependency-Track Distribution

Container Image

Database Server

N/A

Database Server Version

No response

Browser

Mozilla Firefox

Checklist

Activity

  1. added
    defect
    on Aug 15, 2023
  2. added 2 commits that reference this issue on Aug 15, 2023
    f626f18
    8f80dcd
  3. github-actions commented on Sep 19, 2023

    @github-actions
    Contributor

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  4. locked as resolved and limited conversation to collaborators on Sep 19, 2023
  5. reopened this on Oct 26, 2023
  6. unlocked this conversation on Oct 26, 2023
  7. nscuro commented on Oct 26, 2023

    @nscuro
    Member

    This was closed by accident when implementing it in Hyades. Implementation for DT 4.x is still pending though.

  8. added this to the 4.11 milestone on Jan 7, 2024
  9. github-actions commented on Mar 26, 2024

    @github-actions
    Contributor

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  10. locked as resolved and limited conversation to collaborators on Mar 26, 2024
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

    defectpending release

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions