Move SAST docker changes to CE
This commit is contained in:
parent
07a9bdbfb4
commit
7da9a81496
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: 'Fix: propagate all documented ENV vars to CI when using SAST'
|
||||||
|
merge_request: 10842
|
||||||
|
author:
|
||||||
|
type: fixed
|
|
@ -31,19 +31,29 @@ sast:
|
||||||
- |
|
- |
|
||||||
docker run \
|
docker run \
|
||||||
$(propagate_env_vars \
|
$(propagate_env_vars \
|
||||||
|
SAST_BANDIT_EXCLUDED_PATHS \
|
||||||
SAST_ANALYZER_IMAGES \
|
SAST_ANALYZER_IMAGES \
|
||||||
SAST_ANALYZER_IMAGE_PREFIX \
|
SAST_ANALYZER_IMAGE_PREFIX \
|
||||||
SAST_ANALYZER_IMAGE_TAG \
|
SAST_ANALYZER_IMAGE_TAG \
|
||||||
SAST_DEFAULT_ANALYZERS \
|
SAST_DEFAULT_ANALYZERS \
|
||||||
SAST_EXCLUDED_PATHS \
|
SAST_PULL_ANALYZER_IMAGES \
|
||||||
SAST_BANDIT_EXCLUDED_PATHS \
|
|
||||||
SAST_BRAKEMAN_LEVEL \
|
SAST_BRAKEMAN_LEVEL \
|
||||||
SAST_GOSEC_LEVEL \
|
|
||||||
SAST_FLAWFINDER_LEVEL \
|
SAST_FLAWFINDER_LEVEL \
|
||||||
SAST_GITLEAKS_ENTROPY_LEVEL \
|
SAST_GITLEAKS_ENTROPY_LEVEL \
|
||||||
|
SAST_GOSEC_LEVEL \
|
||||||
|
SAST_EXCLUDED_PATHS \
|
||||||
SAST_DOCKER_CLIENT_NEGOTIATION_TIMEOUT \
|
SAST_DOCKER_CLIENT_NEGOTIATION_TIMEOUT \
|
||||||
SAST_PULL_ANALYZER_IMAGE_TIMEOUT \
|
SAST_PULL_ANALYZER_IMAGE_TIMEOUT \
|
||||||
SAST_RUN_ANALYZER_TIMEOUT \
|
SAST_RUN_ANALYZER_TIMEOUT \
|
||||||
|
ANT_HOME \
|
||||||
|
ANT_PATH \
|
||||||
|
GRADLE_PATH \
|
||||||
|
JAVA_OPTS \
|
||||||
|
JAVA_PATH \
|
||||||
|
MAVEN_CLI_OPTS \
|
||||||
|
MAVEN_PATH \
|
||||||
|
MAVEN_REPO_PATH \
|
||||||
|
SBT_PATH \
|
||||||
) \
|
) \
|
||||||
--volume "$PWD:/code" \
|
--volume "$PWD:/code" \
|
||||||
--volume /var/run/docker.sock:/var/run/docker.sock \
|
--volume /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
|
Loading…
Reference in New Issue