File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 66 - project : ' deepl/ops/ci-cd-infrastructure/gitlab-ci-lib'
77 file :
88 - ' /templates/.secret-detection.yml'
9+ - template : Security/SAST.gitlab-ci.yml
910
1011# Global --------------------------
1112
@@ -15,6 +16,7 @@ image: eclipse-temurin:17-alpine
1516variables :
1617 GRADLE_OPTS : " -Dorg.gradle.daemon=false"
1718 JAVA_TOOL_OPTIONS : " "
19+ GITLAB_ADVANCED_SAST_ENABLED : ' true'
1820
1921workflow :
2022 rules :
@@ -77,6 +79,22 @@ secret_detection:
7779 rules :
7880 - if : $CI_MERGE_REQUEST_ID
7981
82+ gitlab-advanced-sast :
83+ stage : check
84+ rules :
85+ - when : always
86+ variables :
87+ SAST_EXCLUDED_PATHS : ' $DEFAULT_SAST_EXCLUDED_PATHS'
88+ GIT_STRATEGY : clone
89+
90+ semgrep-sast :
91+ stage : check
92+ rules :
93+ - when : always
94+ variables :
95+ SAST_EXCLUDED_PATHS : ' $DEFAULT_SAST_EXCLUDED_PATHS'
96+ GIT_STRATEGY : clone
97+
8098# stage: build ----------------------
8199
82100.build_base :
You can’t perform that action at this time.
0 commit comments