ARTEMIS-6209 Generate an SBOM for the distribution - #6600
Conversation
60c7cc9 to
292e037
Compare
|
@clebertsuconic, @gemmellr, @brusdev, publishing an SBOM for the full assembly seems like a good idea. I've been wanting to publish SBOMs for our Maven artifacts as discussed here as well. Thoughts? Before merging I'd want to address a few things:
|
292e037 to
128b699
Compare
Certainly. A similar PR was open for Keycloak and the core artifact is used as dependency of the WildFly Galleon plugin to generate SBOMs for WildFly. Upgrade from 0.1.1 to 0.1.4 is a no-op for Artemis.
I created https://issues.apache.org/jira/browse/ARTEMIS-6209 and referenced in both Bundle an SBOM inside artemis-console WAR artemis-console#219 and this PR's commit messages.
Fixed in both PRs.
For a complete SBOM - yes. It can work in this repository w/o it but the NPM dependencies will be missing until a version of
Yes, given the project sets
No, content-hash matching is used for matching files on disk to Maven project dependencies (since files on disk can get renamed). It doesn't look beyond the scope of the project or reach out to external services or repositories.
That's a tricky one. There could be a few things to verify, depending on what you care about the most:
|
This PR adds SBOM generation to the Artemis distribution and enables options to distribute it along:
The SBOM will be more complete (including the NPM components) when the corresponding change is merged and released as part of artemis-console (apache/artemis-console#219).
Advantages of the SBOM:
grype bom.cdx.json);The SBOM generator used here is https://github.com/cyberstamp/maven-assembly-sbom
I did some analysis of the generated SBOM accuracy and comparison of the LICENSE report in my other branch, where I have an HTML summary of that https://github.com/aloubyansky/artemis/blob/sbom-support-wip/artemis-distribution/sbom-review.html
I previously demoed this to @brusdev