Skip to content

Commit e3d0a90

Browse files
committed
DEBUG workflow
Signed-off-by: tdruez <[email protected]>
1 parent c37dab8 commit e3d0a90

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,37 @@ permissions:
1111
contents: read
1212

1313
env:
14-
IMAGE_REFERENCE: "alpine:3.17"
14+
# IMAGE_REFERENCE: "alpine:3.17"
15+
VULS_VERSION: "0.33.4"
1516

1617
jobs:
1718
generate-and-load-sbom:
1819
runs-on: ubuntu-24.04
1920
steps:
2021
- name: Install Vuls
2122
run: |
22-
curl -sL https://github.com/future-architect/vuls/releases/download/v0.33.4/vuls_0.33.4_linux_amd64.tar.gz \
23+
curl -sL https://github.com/future-architect/vuls/releases/download/v${{ env.IMAGE_REFERENCE }}/vuls_${{ env.IMAGE_REFERENCE }}_linux_amd64.tar.gz \
2324
| tar -xz
2425
sudo mv vuls /usr/local/bin/vuls
2526
26-
- name: Create config.toml
27+
- name: Create Vuls config.toml
2728
run: |
2829
mkdir -p vuls
2930
cat > vuls/config.toml <<EOF
3031
[servers]
3132
[servers.localhost]
3233
host = "localhost"
3334
port = "local"
34-
user = "runner"
35-
sudo = true
3635
EOF
3736
38-
- name: Run configtest
37+
- name: Run Vuls configtest
3938
run: vuls configtest -config ./vuls/config.toml
4039

41-
- name: Run scan
40+
- name: Run Vuls scan
4241
run: vuls scan -config ./vuls/config.toml
4342

44-
- name: Run report
45-
run: vuls report -config ./vuls/config.toml -format-cyclonedx-json
43+
- name: Run Vuls report as CycloneDX
44+
run: vuls report -config ./vuls/config.toml -format-cyclonedx-json -debug -results-dir=results
4645

4746
- name: Upload SBOM artifact
4847
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)