File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 7
7
file :
8
8
- ' /templates/.buildkit.yml'
9
9
- ' /templates/.secret-detection.yml'
10
+ - template : Security/SAST.gitlab-ci.yml
10
11
11
12
# Global --------------------------
12
13
@@ -17,6 +18,7 @@ variables:
17
18
XDG_CACHE_HOME : " ${CI_PROJECT_DIR}/.cache"
18
19
POETRY_VIRTUALENVS_IN_PROJECT : " true"
19
20
REQUESTS_CA_BUNDLE : " /etc/ssl/certs/ca-certificates.crt"
21
+ GITLAB_ADVANCED_SAST_ENABLED : ' true'
20
22
21
23
cache :
22
24
key :
@@ -132,6 +134,26 @@ mypy_manual:
132
134
rules :
133
135
- if : $CI_PIPELINE_SOURCE != "schedule"
134
136
137
+ gitlab-advanced-sast :
138
+ stage : check
139
+ before_script :
140
+ - ' '
141
+ rules :
142
+ - when : always
143
+ variables :
144
+ SAST_EXCLUDED_PATHS : ' $DEFAULT_SAST_EXCLUDED_PATHS'
145
+ GIT_STRATEGY : clone
146
+
147
+ semgrep-sast :
148
+ stage : check
149
+ before_script :
150
+ - ' '
151
+ rules :
152
+ - when : always
153
+ variables :
154
+ SAST_EXCLUDED_PATHS : ' $DEFAULT_SAST_EXCLUDED_PATHS'
155
+ GIT_STRATEGY : clone
156
+
135
157
# stage: build ----------------------
136
158
137
159
package :
You can’t perform that action at this time.
0 commit comments