Commit 59d04e93 authored by Matija Čupić's avatar Matija Čupić

Merge branch 'zrice-master-patch-44122' into 'master'

Pin gosec to version 3

See merge request gitlab-org/gitlab!63547
parents b3a74cc0 587a5edb
...@@ -147,7 +147,7 @@ gosec-sast: ...@@ -147,7 +147,7 @@ gosec-sast:
# SAST_ANALYZER_IMAGE is an undocumented variable used internally to allow QA to # SAST_ANALYZER_IMAGE is an undocumented variable used internally to allow QA to
# override the analyzer image with a custom value. This may be subject to change or # override the analyzer image with a custom value. This may be subject to change or
# breakage across GitLab releases. # breakage across GitLab releases.
SAST_ANALYZER_IMAGE_TAG: 2 SAST_ANALYZER_IMAGE_TAG: 3
SAST_ANALYZER_IMAGE: "$SECURE_ANALYZERS_PREFIX/gosec:$SAST_ANALYZER_IMAGE_TAG" SAST_ANALYZER_IMAGE: "$SECURE_ANALYZERS_PREFIX/gosec:$SAST_ANALYZER_IMAGE_TAG"
rules: rules:
- if: $SAST_DISABLED - if: $SAST_DISABLED
......
...@@ -77,6 +77,8 @@ brakeman: ...@@ -77,6 +77,8 @@ brakeman:
gosec: gosec:
extends: .download_images extends: .download_images
variables:
SECURE_BINARIES_ANALYZER_VERSION: "3"
only: only:
variables: variables:
- $SECURE_BINARIES_DOWNLOAD_IMAGES == "true" && - $SECURE_BINARIES_DOWNLOAD_IMAGES == "true" &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment