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 automatic SBOM generation on CycloneDX format #594

Merged
merged 2 commits into from
Mar 30, 2024

Conversation

elsbeth-m
Copy link
Contributor

Changes introduced with this PR


The work introduced via this pull request focuses on modifying the build process on the main.yml and goreleaser.yml files to automatically generate a Software Bill of Materials as suggested on this issue.

A new artifact containerssh.cdx.sbom is created at each release. The artifact's checksum is stored in the checksum file, so it can be verified considering the checksum file is signed. Thanks to this, the SBOM file will also be included in the provenance generation process.

We decided to use the OWASP CycloneDX SBOM standard, approved by the NTIA as you can see in their report. It is a relatively new, fully automated, security-focused lightweight SBOM standard which provides many tools such as the SBOM generator for Go modules, as well as Github actions for a smooth integration into the existing workflow.

If you have any question, feel free to contact us.


By contributing to this repository, I agree to the contribution guidelines.

tsipinakis
tsipinakis previously approved these changes Mar 30, 2024
Copy link
Member

@tsipinakis tsipinakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Elsbeth Monrroy <elgatosad@protonmail.com>
Signed-off-by: Elsbeth Monrroy <elgatosad@protonmail.com>
@tsipinakis tsipinakis merged commit f28d47f into ContainerSSH:main Mar 30, 2024
4 checks passed
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