File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
@@ -35,6 +36,9 @@ stages:
3536before_script :
3637 - npm install
3738
39+ variables :
40+ GITLAB_ADVANCED_SAST_ENABLED : ' true'
41+
3842# stage: check ----------------------
3943
4044.eslint_base :
@@ -99,6 +103,26 @@ secret_detection:
99103 rules :
100104 - if : $CI_MERGE_REQUEST_ID
101105
106+ gitlab-advanced-sast :
107+ stage : check
108+ rules :
109+ - when : always
110+ before_script :
111+ - ' '
112+ variables :
113+ SAST_EXCLUDED_PATHS : ' $DEFAULT_SAST_EXCLUDED_PATHS'
114+ GIT_STRATEGY : clone
115+
116+ semgrep-sast :
117+ stage : check
118+ rules :
119+ - when : always
120+ before_script :
121+ - ' '
122+ variables :
123+ SAST_EXCLUDED_PATHS : ' $DEFAULT_SAST_EXCLUDED_PATHS'
124+ GIT_STRATEGY : clone
125+
102126# stage: build ----------------------
103127
104128build :
You can’t perform that action at this time.
0 commit comments