Skip to content

Commit 34c4f7c

Browse files
authored
Update to use depscan v6 beta
Updated to use depscan v6 beta. Setting CDXGEN_TEMP_DIR variable since SBOM generation would fail otherwise with disk space errors on GitHub hosted agents.
1 parent 3d8700a commit 34c4f7c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/sca-integration-depscan.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
generate-and-load-sbom:
2525
runs-on: ubuntu-24.04
2626
steps:
27-
- name: Install OWASP dep-scan
27+
- name: Install OWASP dep-scan v6 beta
2828
run: |
2929
sudo npm install -g @cyclonedx/cdxgen
30-
pip install owasp-depscan
30+
pip install --pre owasp-depscan[all]
3131
3232
- name: Generate SBOM with OWASP dep-scan
3333
run: |
@@ -36,6 +36,10 @@ jobs:
3636
--type docker \
3737
--reports-dir reports \
3838
--explain
39+
env:
40+
CDXGEN_TEMP_DIR: ${{ runner.temp }}/cdxgen-temp
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
PYTHONUTF8: 1
3943

4044
- name: Upload SBOM as GitHub Artifact
4145
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)