Skip to content
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 syft version used to SBOM tool info by default #2647

Merged
merged 1 commit into from Feb 14, 2024

Conversation

wagoodman
Copy link
Contributor

When the new CreateSBOM function landed, it strongly separated the concerns of main from that of lib consumers. This restores some functionality, where today library consumers get no tooling information in SBOMs created. This PR changes this to at least hard code to syft and extract the version from the buildinfo section. This is a best-effort value, if the version cannot be extracted then it will remain blank.

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman requested a review from a team February 14, 2024 21:34
@wagoodman wagoodman merged commit a1b23bd into main Feb 14, 2024
11 checks passed
@wagoodman wagoodman deleted the add-default-syft-version branch February 14, 2024 21:57
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants