summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Catteau <fcatteau@gitlab.com>2019-05-02 16:57:06 +0000
committerFabien Catteau <fcatteau@gitlab.com>2019-05-02 16:57:06 +0000
commit83bee2636429612dd13523a39e0e9f13b9fd8af5 (patch)
tree9651494722f3d41b60c979785cc4e656ff41ba15
parent4e67122e389708d766a2a90daa059f05b0f980c5 (diff)
downloadgitlab-ce-83bee2636429612dd13523a39e0e9f13b9fd8af5.tar.gz
Propagate SAST_EXCLUDED_PATHS, SAST_BANDIT_EXCLUDED_PATHS
Add SAST_EXCLUDED_PATHS, SAST_BANDIT_EXCLUDED_PATHS to the env vars passed to the Docker container of the sast job.
-rw-r--r--lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml b/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml
index f0152cd4537..706692e063b 100644
--- a/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml
@@ -35,6 +35,8 @@ sast:
SAST_ANALYZER_IMAGE_PREFIX \
SAST_ANALYZER_IMAGE_TAG \
SAST_DEFAULT_ANALYZERS \
+ SAST_EXCLUDED_PATHS \
+ SAST_BANDIT_EXCLUDED_PATHS \
SAST_BRAKEMAN_LEVEL \
SAST_GOSEC_LEVEL \
SAST_FLAWFINDER_LEVEL \