Skip to content

feat: support user-declared properties on metadata and main BOM component objects - #890

Open
transcengopher wants to merge 7 commits into
CycloneDX:masterfrom
transcengopher:feature/properties-support
Open

feat: support user-declared properties on metadata and main BOM component objects#890
transcengopher wants to merge 7 commits into
CycloneDX:masterfrom
transcengopher:feature/properties-support

Conversation

@transcengopher

@transcengopher transcengopher commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Implements support for defining properties in following BOM paths:

  • BOM.Metadata.Properties via repeatable metadataProperty {} configuration block
  • BOM.Metadata.Component.Properties via repeatable componentProperty {} configuration block

In every property block, name is a required property (eagerly resolved), while value is optional (lazily resolved)

API structure is somewhat inspired by discussion in #883, possibly would require minimal migration effort after proper DSL introduction in next major version.

closes #706

…bject, and for the main BOM component

Signed-off-by: transcengopher <transcengopher@gmail.com>
@transcengopher
transcengopher requested a review from a team as a code owner July 28, 2026 22:26
@codacy-production

codacy-production Bot commented Jul 28, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 13 complexity · 10 duplication

Metric Results
Complexity 13
Duplication 10

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.

Signed-off-by: transcengopher <transcengopher@gmail.com>
Signed-off-by: transcengopher <transcengopher@gmail.com>
Signed-off-by: transcengopher <transcengopher@gmail.com>
Signed-off-by: transcengopher <transcengopher@gmail.com>
@transcengopher transcengopher changed the title feat: support defining properties for metadata object, and main BOM component feat: support user-declared properties on metadata and main BOM component objects Jul 29, 2026
… info files

Signed-off-by: transcengopher <transcengopher@gmail.com>
Signed-off-by: transcengopher <transcengopher@gmail.com>
@MalickBurger

Copy link
Copy Markdown
Contributor

Hi @transcengopher thank you for your contribution. We will provide feedback as soon as we can

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for properties

2 participants