File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 6
6
- project : ' deepl/ops/ci-cd-infrastructure/gitlab-ci-lib'
7
7
file :
8
8
- ' /templates/.secret-detection.yml'
9
+ - template : Security/SAST.gitlab-ci.yml
9
10
10
11
# Global --------------------------
11
12
@@ -15,6 +16,7 @@ image: eclipse-temurin:17-alpine
15
16
variables :
16
17
GRADLE_OPTS : " -Dorg.gradle.daemon=false"
17
18
JAVA_TOOL_OPTIONS : " "
19
+ GITLAB_ADVANCED_SAST_ENABLED : ' true'
18
20
19
21
workflow :
20
22
rules :
@@ -77,6 +79,22 @@ secret_detection:
77
79
rules :
78
80
- if : $CI_MERGE_REQUEST_ID
79
81
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
+
80
98
# stage: build ----------------------
81
99
82
100
.build_base :
You can’t perform that action at this time.
0 commit comments