-
-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SBOM Compiler Information Into Specific Fields For Windows/Mac #3606
Conversation
Add code to add specific sections for Mac & Windows compilers to SBOM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep I think I'm happy with this based on the output - can you paste in a full SBoM on each of the two platforms to see it in context? We should also adjust the SBoM content validation in the tooling
directory to check this (ideally in this PR but could be a subsequent one)
I'll move this to draft, and implement the changes to validateSBOMContent.sh too, be useful to do that at the same time as this I feel. |
@steelhead31 @Haroon-Khel I couple of further comments:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Here is an example of the additional MSVS compiler fields in the SBOM ( from a local build currently )
Actual SBOM from build : https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-windows-x64-temurin/446/artifact/workspace/target/OpenJDK17U-sbom_x64_windows_hotspot_2024-01-10-23-04.json |
Fixes #3503
Add specific fields into the SBOM for Windows & MacOS compiler versions.
Examples taken from the SBOMs generated with these changes.
Adds This For Windows
Adds This For Mac