Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

SBOM clarifications on various usecases

Open
#1,124 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Active
Domain
documentation

Research direction

The issue asks for clarification on CycloneDX representation for components appearing in multiple locations and nested within other components. Start by reading the CycloneDX specification documentation, particularly sections on components, dependencies, and bom-ref. Look for existing examples or similar issues in the repository. Determine the recommended approach by analyzing the spec and possibly consulting existing SBOM examples. The outcome should be a clear answer to the two scenarios described, referencing the spec.

Written by the indexing model from the issue text.

Description

proposed core enhancement
  1. Same component in multiple locations:
    If the same component occurs in multiple locations within an application/package, should we define the component only once in the components section and represent all its occurrences/locations within that component (for example, using multiple locations), or should we create a separate component entry for each occurrence?

2.I have a production build ZIP for a product. The product bundles HBase, and HBase itself contains a.jar. The same a.jar is also present at another location within the production build.
In the SBOM, HBase is represented as a separate component. In this scenario, should a.jar also be represented as a separate component with its own bom-ref, and should we specify a.jar as a dependency of HBase in the dependencies section?
Or, since a.jar is physically bundled inside HBase, should a.jar be represented as a nested component under HBase instead?
Also, if the same a.jar occurs at another location in the product, should both occurrences reference the same component definition, with the locations captured separately?

What is the recommended CycloneDX representation for this scenario? @jkowalleck @stevespringett

Dominant language
XSLT
Stars
551
Forks
93
Avg merge
4h 51m
Merged PRs (30d)
42

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CycloneDX/specification

All issues in CycloneDX/specification

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.