Fix trivy scan volume path
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
-v "$PWD:/work" \
|
-v "$PWD:/work" \
|
||||||
-w /work \
|
-w /work \
|
||||||
aquasec/trivy:latest \
|
aquasec/trivy:latest \
|
||||||
fs . \
|
fs /work \
|
||||||
--scanners vuln \
|
--scanners vuln \
|
||||||
--pkg-types library \
|
--pkg-types library \
|
||||||
--include-dev-deps \
|
--include-dev-deps \
|
||||||
@@ -28,6 +28,7 @@ jobs:
|
|||||||
--ignore-unfixed \
|
--ignore-unfixed \
|
||||||
--format json \
|
--format json \
|
||||||
--output trivy.json \
|
--output trivy.json \
|
||||||
|
--debug \
|
||||||
--exit-code 1
|
--exit-code 1
|
||||||
|
|
||||||
- name: Notify Node-RED on vulnerabilities
|
- name: Notify Node-RED on vulnerabilities
|
||||||
|
|||||||
Reference in New Issue
Block a user