Skip to content

fix(ui): display and filter SBOM license expressions - #5998

Merged
SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/sbom-license-expressions
Nov 28, 2026
Merged

SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/sbom-license-expressions

Conversation

@Aminark

@Aminark Aminark commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

CycloneDX components can declare a license as a single SPDX expression. The dependency table only read licenses[].license, leaving the license cell blank and excluding these components from license searches.

Render licenses[].expression as written and match it in the component filter. Named licenses and license links continue to use the existing display path.

The regression test loads a component licensed under MIT OR Apache-2.0, checks the displayed expression, and filters for Apache alongside a component with a different license. CycloneDX JSON specification

@Aminark
Aminark requested a review from a team as a code owner November 27, 2026 16:32
@SteKoe
SteKoe merged commit cd1fe97 into codecentric:master Nov 28, 2026
2 checks passed
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.

2 participants