Skip to content

Commit 1c0930d

Browse files
authored
Merge pull request #3018 from mbeddr/feature/sbom-runtime-configs
sbom: include only runtime configs to the sbom
2 parents 4efe017 + 7b78a31 commit 1c0930d

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is _loosely_ based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The project does _not_ follow
66
Semantic Versioning and the changes are simply documented in reverse chronological order, grouped by calendar month.
77

8+
# June 2025
9+
10+
## com.mbeddr.platform publication
11+
12+
### Changed
13+
14+
- Published SBOM contains dependencies only from runtime configurations. This covers bundled libraries and all runtime
15+
dependencies like used language libraries, JBR and MPS. The latter is however currently not yet included due to a restriction
16+
of the CycloneDX gradle plugin.
17+
818
# May 2025
919

1020
## com.mbeddr.doc

subprojects/com.mbeddr/platform/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,4 +276,11 @@ cyclonedxBom {
276276
outputFormat = "json"
277277
// Don't include license texts in generated SBOMs
278278
includeLicenseText = false
279+
// Include runtime deps only (bundled libs, language libs, mps, jbr)
280+
def runtimeConfigs = bundledDeps.collect {it.configName }
281+
runtimeConfigs << configurations.mpsLibraries.name
282+
// TODO: mps config cannot be handled by cyclonedxBom, since it's located in com.mbeddr project
283+
//runtimeConfigs << project(':com.mbeddr').configurations.mps.name
284+
runtimeConfigs << 'jbr'
285+
includeConfigs = runtimeConfigs
279286
}

0 commit comments

Comments
 (0)