diff --git a/docker/sast-scanner-meta/entrypoint.sh b/docker/sast-scanner-meta/entrypoint.sh index 41de5491..de29bb54 100644 --- a/docker/sast-scanner-meta/entrypoint.sh +++ b/docker/sast-scanner-meta/entrypoint.sh @@ -111,7 +111,7 @@ run_semgrep() { echo "[*] JUNIT-XML format will be used." OUTPUT_ARGS="--junit-xml --output $OUTDIR/semgrep-$1-report.xml" fi - semgrep scan $3 --metrics=off $EXCLUDES $RULE_EXCLUSIONS $OUTPUT_ARGS $SEMGREP_SEVERITY --no-error $ARGS + semgrep ci $3 --metrics=off $EXCLUDES $RULE_EXCLUSIONS $OUTPUT_ARGS $SEMGREP_SEVERITY --no-error $ARGS } if [ $2 = "APP" ]