File tree Expand file tree Collapse file tree 5 files changed +41
-11
lines changed Expand file tree Collapse file tree 5 files changed +41
-11
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,15 @@ steps:
106106 TRIVY_ADDITIONAL_ARGS : ${TRIVY_ADDITIONAL_ARGS---ignore-unfixed}
107107 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db:2,ghcr.io/aquasecurity/trivy-db:2
108108 TRIVY_JAVA_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-java-db:1,ghcr.io/aquasecurity/trivy-java-db:1
109- run : |
110- $SETUP_PATH/trivy fs --cache-dir=/tmp/trivy/ --format=cyclonedx --license-full --no-progress --scanners vuln . 2>&1
109+ run : >
110+ $SETUP_PATH/trivy fs
111+ --cache-dir=/tmp/trivy/
112+ --format=cyclonedx
113+ --license-full
114+ --no-progress
115+ --scanners vuln
116+ --skip-version-check
117+ . 2>&1
111118 format : cyclonedx
112119 post-processor :
113120 docker :
Original file line number Diff line number Diff line change @@ -106,8 +106,14 @@ steps:
106106 TRIVY_ADDITIONAL_ARGS : ${TRIVY_ADDITIONAL_ARGS---ignore-unfixed}
107107 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db:2,ghcr.io/aquasecurity/trivy-db:2
108108 TRIVY_JAVA_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-java-db:1,ghcr.io/aquasecurity/trivy-java-db:1
109- run : |
110- $SETUP_PATH/trivy fs ${TRIVY_ADDITIONAL_ARGS} --format json --no-progress --scanners vuln . 2>&1
109+ run : >
110+ $SETUP_PATH/trivy fs
111+ ${TRIVY_ADDITIONAL_ARGS}
112+ --format json
113+ --no-progress
114+ --scanners vuln
115+ --skip-version-check
116+ . 2>&1
111117 format : sarif
112118 post-processor :
113119 docker :
Original file line number Diff line number Diff line change @@ -60,9 +60,14 @@ steps:
6060 TRIVY_ADDITIONAL_ARGS : ${TRIVY_ADDITIONAL_ARGS---ignore-unfixed}
6161 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db:2,ghcr.io/aquasecurity/trivy-db:2
6262 TRIVY_JAVA_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-java-db:1,ghcr.io/aquasecurity/trivy-java-db:1
63- run : |
64- $SETUP_PATH/trivy image ${TRIVY_ADDITIONAL_ARGS} --format json --scanners vuln \
65- --quiet ${BOOST_IMAGE_NAME}
63+ run : >
64+ $SETUP_PATH/trivy image
65+ ${TRIVY_ADDITIONAL_ARGS}
66+ --format json
67+ --scanners vuln
68+ --skip-version-check
69+ --quiet
70+ ${BOOST_IMAGE_NAME}
6671 format : sarif
6772 post-processor :
6873 docker :
Original file line number Diff line number Diff line change @@ -58,8 +58,13 @@ steps:
5858 IMAGE_NAME : ${BOOST_IMAGE_NAME}
5959 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db:2,ghcr.io/aquasecurity/trivy-db:2
6060 TRIVY_JAVA_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-java-db:1,ghcr.io/aquasecurity/trivy-java-db:1
61- run : |
62- $SETUP_PATH/trivy image ${TRIVY_ADDITIONAL_ARGS} --format cyclonedx --license-full ${BOOST_IMAGE_NAME}
61+ run : >
62+ $SETUP_PATH/trivy image
63+ ${TRIVY_ADDITIONAL_ARGS}
64+ --format cyclonedx
65+ --license-full
66+ --skip-version-check
67+ ${BOOST_IMAGE_NAME}
6368 format : cyclonedx
6469 post-processor :
6570 docker :
Original file line number Diff line number Diff line change @@ -103,8 +103,15 @@ steps:
103103 NO_COLOR : " true"
104104 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db:2,ghcr.io/aquasecurity/trivy-db:2
105105 TRIVY_JAVA_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-java-db:1,ghcr.io/aquasecurity/trivy-java-db:1
106- run : |
107- $SETUP_PATH/trivy fs --format=cyclonedx --license-full --no-progress --scanners vuln --cache-dir=/tmp/trivy/ . 2>&1
106+ run : >
107+ $SETUP_PATH/trivy fs
108+ --format=cyclonedx
109+ --license-full
110+ --no-progress
111+ --scanners vuln
112+ --cache-dir=/tmp/trivy/
113+ --skip-version-check
114+ . 2>&1
108115 format : cyclonedx
109116 post-processor :
110117 docker :
You can’t perform that action at this time.
0 commit comments