File tree 3 files changed +1
-12
lines changed
3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ if [ "${format}" == "sarif" ] && [ "${limitSeveritiesForSARIF}" != "true" ]; the
180
180
trivy --quiet ${scanType} --format sarif --output ${output} $SARIF_ARGS ${artifactRef}
181
181
elif [ $trivyConfig ]; then
182
182
echo " Running Trivy with trivy.yaml config from: " $trivyConfig
183
- trivy --config $trivyConfig ${ARGS} ${ scanType} ${artifactRef}
183
+ trivy --config $trivyConfig ${scanType} ${artifactRef}
184
184
returnCode=$?
185
185
else
186
186
echo " Running trivy with options: trivy ${scanType} ${ARGS} " " ${artifactRef} "
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -81,11 +81,3 @@ bats_load_library bats-file
81
81
echo " $output "
82
82
assert_files_equal yamlconfig.test ./test/data/yamlconfig.test
83
83
}
84
-
85
- @test " trivy image with trivy.yaml config and args" {
86
- # trivy --config=./test/data/trivy-reduced.yaml image alpine:3.10
87
- run ./entrypoint.sh " -v ./test/data/trivy-reduced.yaml" " -a image" " -i alpine:3.10" " -b json" " -g CRITICAL"
88
- run diff yamlconfig.test ./test/data/yamlconfig.test
89
- echo " $output "
90
- assert_files_equal yamlconfig.test ./test/data/yamlconfig.test
91
- }
You can’t perform that action at this time.
0 commit comments