You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository uses GitHub Actions to automatically generate a Software Bill of Materials (SBOM), scan for vulnerabilities, and produce package inventory reports.
4
+
5
+
All reports are named with the repository name for easy identification.
6
+
7
+
## Features
8
+
9
+
SBOM Generation: Uses Syft to generate an SPDX JSON SBOM.
10
+
SBOM Merging: Merges SBOMs for multiple tools if needed.
11
+
SBOM to CSV: Converts SBOM JSON to a CSV report.
12
+
Vulnerability Scanning: Uses Grype to scan the SBOM for vulnerabilities and outputs a CSV report.
13
+
Package Inventory: Extracts a simple package list (name, type, version) as a CSV.
14
+
Artifacts: All reports are uploaded as workflow artifacts with the repository name in the filename.
15
+
16
+
## Workflow Overview
17
+
18
+
The main workflow is defined in .github/workflows/sbom.yml
19
+
20
+
## Scripts
21
+
22
+
scripts/create-sbom.sh
23
+
Generates an SBOM for the repo and for specified tools, merging them as needed.
24
+
scripts/update-sbom.py
25
+
Merges additional SBOMs into the main SBOM.
26
+
.github/scripts/sbom_json_to_csv.py
27
+
Converts the SBOM JSON to a detailed CSV report.
28
+
.github/scripts/grype_json_to_csv.py
29
+
Converts Grype’s vulnerability scan JSON output to a CSV report.
0 commit comments