Skip to content

feat: add CycloneDX compositions - #1072

Closed
konrad-schwarz wants to merge 1 commit into
CycloneDX:mainfrom
konrad-schwarz:main
Closed

konrad-schwarz wants to merge 1 commit into
CycloneDX:mainfrom
konrad-schwarz:main

Conversation

@konrad-schwarz

Copy link
Copy Markdown

Description

This patch add support for Cyclone-DX Compositions, which are required or desired by some regulatory bodies.

Resolves or fixes issue: #1069

AI Tool Disclosure

  • My contribution does not include any AI-generated content
  • My contribution includes AI-generated content, as disclosed below:
    • AI Tools: OpenCode
    • LLMs and versions: Claude Opus 4.8
    • Prompts: Add the compositions feature

Affirmation

Signed-off-by: Konrad Schwarz <konrad.schwarz@siemens.com>
@konrad-schwarz
konrad-schwarz requested a review from a team as a code owner November 21, 2026 12:19
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 64 complexity · 4 duplication

Metric Results
Complexity 64
Duplication 4

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 CycloneDX Python Library | 🛠️ Build #36064984 | 📁 Comparing c142bb7 against latest (45da84a)

  🔍 Preview build  

5 files changed · + 1 added · ± 4 modified

+ Added

± Modified

@jkowalleck jkowalleck linked an issue Nov 23, 2026 that may be closed by this pull request
@jkowalleck jkowalleck added enhancement New feature or request schema 1.3 labels Nov 23, 2026

@jkowalleck jkowalleck left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, we cannot add any code that is under copyright of a foreign authority.

plase clarify the copyright situation first

Comment thread tests/_data/models.py
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.
# Copyright (C) Siemens 2026. All Rights Reserved.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, not gonna change copyright

Comment thread cyclonedx/model/bom.py
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.
# Copyright (C) Siemens 2026. All Rights Reserved.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope. not gonna change any copyrigh

# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) Siemens 2026. All Rights Reserved.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, we cannot add any code that is under copyright of a foreign authority.

@jkowalleck

Copy link
Copy Markdown
Member

this PR can not be merged, as it ALTERS existing copyright.
closing, to prevent unintended merge.

@jkowalleck jkowalleck closed this Nov 23, 2026
@jkowalleck

Copy link
Copy Markdown
Member

@konrad-schwarz, the code you've altered/add is visible to be under copyright of Siemens.
Please clarify with Siemens the copyright situation first.

All the code in this library/repo shall be owned by its Open Source Software steward: OWASP.

Feel free to reopen the PR, or create a new one, after this is done, and make sure to not alter or add any legal obligations.

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

Labels

enhancement New feature or request schema 1.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cyclonedx-python-lib is missing support for compositions

2 participants