Skip to content

Commit

Permalink
Use ci cli command in semgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas authored Dec 2, 2024
1 parent e38509b commit 87074dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/sast-scanner-meta/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit 87074dc

Please sign in to comment.