-
Notifications
You must be signed in to change notification settings - Fork 1
chore: Onboard to Silkbomb to generate SSDLC reports, SBOM and generate augmented SBOM on demand #49
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
Conversation
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.
Pull Request Overview
This PR onboards Silkbomb for SSDLC and SBOM generation by adding a suite of compliance scripts, updating the Makefile targets, and enhancing GitHub workflows to support both standard and augmented report generation.
- Introduces new compliance scripts for generating SBOM, PURLs, and SSDLC compliance reports.
- Updates Makefile with additional phony targets to integrate these scripts into the build process.
- Modifies GitHub workflows to automate SBOM upload and SSDLC report generation.
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
templates/ssdlc-compliance.template.md | New Markdown template for SSDLC compliance reporting. |
scripts/compliance/upload-sbom.sh | Script for uploading SBOM using Docker. |
scripts/compliance/gen-ssdlc-report.sh | Script to generate SSDLC reports with conditional augmented report. |
scripts/compliance/gen-sbom.sh | Script to generate SBOM using Docker. |
scripts/compliance/gen-purls.sh | Script to generate PURLs from Go binaries across multiple OS platforms. |
scripts/compliance/extract-purls.sh | Helper script to extract package information from Go binaries. |
scripts/compliance/augment-sbom.sh | Script to augment the SBOM with additional repository branch detail. |
Makefile | Updated with new phony targets for compliance-related scripts. |
.github/workflows/release.yml | Modified to include a compliance job for SBOM upload and SSDLC report generation. |
.github/workflows/generate-augmented-sbom.yml | New workflow to run the augmented SBOM generation and report creation. |
KONDUKTO_BRANCH_PREFIX: ${{ vars.KONDUKTO_BRANCH_PREFIX }} | ||
SILKBOMB_IMG: ${{ vars.SILKBOMB_IMG }} | ||
steps: | ||
- uses: actions/checkout@v4 |
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.
SHA in all GHA
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.
done! I keep copy pasting the same (wrong) actions
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
generate-ssdlc-report: | ||
needs: compliance |
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.
can i depends on release on needs something from compliance?
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.
ssdlc report references sbom.json uploaded in the compliance step, so depends on compliance step
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.
thanks, similar to question in another PR, is it better in different jobs or steps in the same job?
Description
Link to any related issue(s): CLOUDP-325296
Type of change:
Required Checklist:
Further comments