Strategy and Steps to Create a SBOM Pilot Demo for the "volttron-core" Repository #191
Replies: 2 comments
-
Question:How does the Response:The
By following this precedence order, |
Beta Was this translation helpful? Give feedback.
-
How to Include BOM Files into a Wheel1. Preparation: Collect the FilesFirst, collect the files of interest (i.e., mkdir -p ./bom_reports && cp bom.* ./bom_reports/ && cp ./reports/* ./bom_reports/ Note: The
2. Modify
|
Beta Was this translation helpful? Give feedback.
-
SBOM basics write up
Strategy and Steps to Create a SBOM Pilot Demo for the "volttron-core" Repository
Significance of Using SBOM
A Software Bill of Materials (SBOM) is a comprehensive inventory of all components, libraries, and modules that are included in a piece of software. SBOMs are significant because they:
Implementation Strategy
The strategy involves creating an SBOM for the "volttron-core" repository both locally and via GitHub Actions for continuous integration. The process includes:
Local Setup Steps
Install WSL and Ubuntu 22:
sudo apt update && sudo apt upgrade
Install Node.js and npm:
Install Python and pip:
Install cdxgen and depscan:
Clone the volttron-core repository:
Generate SBOM and Vulnerability Data Report:
bom.json
: SBOM file generated bycdxgen
.bom.vdr.json
: Vulnerability Data Report (VDR) file generated bydepscan
.GitHub Actions Integration
.github/workflows/sbom.yml
.Running the Demo Locally
Navigate to the Project Directory:
cd path/to/volttron-core
Run SBOM and VDR Generation Commands:
Verify Outputs: Check for the
bom.json
andbom.vdr.json
files in the project directory.Example output log
Integration with GitHub Actions
Commit and Push Workflow:
git add .github/workflows/sbom.yml git commit -m "Add SBOM generation workflow" git push origin main
Verify GitHub Actions: Check the Actions tab in the GitHub repository to ensure the workflow runs on every push or pull request to the main branch.
Example Action Log (i.e., of Generate SBOM and VDR)
This approach ensures a robust, automated process for generating and maintaining SBOMs, enhancing security and compliance for the volttron-core repository.
Beta Was this translation helpful? Give feedback.
All reactions