Replies: 2 comments 12 replies
-
|
Thanks for bringing this up. How about gathering all this information at build time? Very much like we did it with the licenses? My gut feeling is that this post-processing is too disconnected. In principle, we could put this into the What makes it more complicated is how tooling that processes the SBOM records is available at build time. For the first components it sounds like a chicken-and-egg problem. But maybe that is not an issue because this affects only the earliest build tools. I'll have to read into the BSI guideline to get a better understanding... |
Beta Was this translation helpful? Give feedback.
-
|
Adding a second thread here because I got the feeling we might need two additional features:
What do you think? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
One of the questions after the ESE Talk was "Can it generate a SBOM?". And since a SBOM is one of the requirements from CRA I think we should add some functionality for this.
At the moment I've a internal plugin for this, using the cyclone-dx python module, but maybe this can be a bob command as well? So I'm not sure if this is the correct place for the discussion at all...
However for the SBOM we use
PKG_VERSION,PKG_LICENSEfrom the metaEnv. Other Required items for the SBOM, (e.g. as listed in the BSI-TR-03183-2_v2_1_0 Section 5 are just filled using the recipe name or other available information from the recipe.But with the available information in the recipes not every required field can be filled. E.g. the BSI requires a
Hash value of the deployable componentandExecutable|Archive|Structured property. ATM we need to build the packages first to get these infos using somefindin thedistfolders.To avoid this I'd like to add
PKG_COMPONENT_[EXECUTABLE|ARCHIVE|STRUCTURED]metaEnv variables with valid values as describes in https://github.com/BSI-Bund/tr-03183-cyclonedx-property-taxonomy. Maybe we should set them toexecutableby default...? Than we'd use the audit-file to get the result hash of each package and do not need to have the results of all dependencies when building the SBOM.The
Additional data fieldslistsOther unique identifiers, such asCPEandpURL, which are maybe(?) not a strong requirement? (BSI:Other identifiers that can be used, EO and NTIA:These other identifiers[...] should be used if they exist). To make it consistent I'd like to define some newmetaEnvironmentkeywords.A CPE-string has the following format:
cpe:/<part>:<vendor>:<product>:<version>:<update>:<edition>:<language>. Therefor I'd like to define some newmetaEnvironmentvariables likePKG_CPE_VENDOR,PKG_CPE_PRODUCTand so on.We're not using
pURLs ATM and I've no idea how to get the correctpURLidentifier for the packages...so from my side we can skip them for now....Beta Was this translation helpful? Give feedback.
All reactions