enable license scanning
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-02-03 16:43:46 +01:00
parent d704f7ba5e
commit 57bbc6135e
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

View File

@ -27,7 +27,14 @@ steps:
from_secret: dtrack_api_url from_secret: dtrack_api_url
commands: commands:
- HOME=/home/`id -nu` - HOME=/home/`id -nu`
- trivy fs --server $TRIVY_URL --token $TRIVY_TOKEN --format cyclonedx -o /tmp/sbom.xml . - |
trivy fs \
--server $TRIVY_URL \
--token $TRIVY_TOKEN \
--format cyclonedx \
--scanners license \
--output /tmp/sbom.xml \
.
- | - |
curl -X "POST" \ curl -X "POST" \
-H "Content-Type: multipart/form-data" \ -H "Content-Type: multipart/form-data" \