Generating software bill of materials at component level #69755
Replies: 5 comments 1 reply
-
@tgagneret-embedded might be able to provide some insights |
Beta Was this translation helpful? Give feedback.
-
I don't know what Black Duck SPDX does, but as you can see from the file above the file format West generate is not JSON. There seems to be online converters if you search the net. |
Beta Was this translation helpful? Give feedback.
-
Hi @PragatiGarg-eaton , So if I understand you correctly you want the source files NOT to be present in the SPDX is that right ? For your information, I don't think the current SBOM will be useable by external tools right now. There is one PR waiting to be merged (#66495) and then modules would need to add information too. |
Beta Was this translation helpful? Give feedback.
-
I am not necessarily saying that the source file should not be present in the SBOM. I am more interested in getting the SBOM at the module/component level. And if I could understand your PR correctly, it will be handling the same, right? |
Beta Was this translation helpful? Give feedback.
-
Looking at the What you describe has been added to 3.6.0 (related PR: #66182). Did you use Zephyr 3.6.0 to generate your SBOM ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am exploring the SBOM generation feature present in the west toolchain.
zephr.spdx file generated by west spdx: zephyr.spdx.json
Please suggest if there is any way to generate SBOM at the component level instead of at the source level.
Commands used to build:
build command:
west spdx -d BUILD_DIR
Question: How can we generate sbom at component level instead of at source level using west toolchain?
OS: Windows
Links: https://docs.zephyrproject.org/latest/develop/west/zephyr-cmds.html#software-bill-of-materials-west-spdx
https://www.zephyrproject.org/how-to-generate-a-software-bill-of-materials-sbom-with-open-source-standards-and-tooling/
https://www.zephyrproject.org/generating-sboms-for-iot-at-build-time/
Beta Was this translation helpful? Give feedback.
All reactions