Skip to content

Commit 7b83d0c

Browse files
authored
Added vulnerability scan
1 parent 8ba9e1b commit 7b83d0c

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎.github/workflows/sbom.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v6
1919
- name: Set up Python 3.x
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@v6
2121
with:
2222
python-version: "3.x"
2323
- name: Install dependencies
@@ -33,6 +33,13 @@ jobs:
3333
run: |
3434
python -m cyclonedx_py requirements > ~/output/sbom.json
3535
36+
- name: Scan for vulnerabilities
37+
uses: anchore/scan-action@v7
38+
with:
39+
sbom: ~/output/sbom.json
40+
output-format: table
41+
output-file: ~/output/vulnerabilities.txt
42+
3643
- uses: actions/upload-artifact@v6
3744
with:
3845
name: SBOM

0 commit comments

Comments
 (0)