Spaces:
Runtime error
Runtime error
Chris Aka commited on
Commit ·
54f9eb3
1
Parent(s): 0e5a60f
Configure Secret Detection in `.gitlab-ci.yml`, creating this file if it does not already exist
Browse files- .gitlab-ci.yml +16 -0
.gitlab-ci.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# You can override the included template(s) by including variable overrides
|
| 2 |
+
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
|
| 3 |
+
# Secret Detection customization: https://docs.gitlab.com/user/application_security/secret_detection/pipeline/configure
|
| 4 |
+
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
|
| 5 |
+
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
|
| 6 |
+
# Note that environment variables can be set in several places
|
| 7 |
+
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
|
| 8 |
+
stages:
|
| 9 |
+
- test
|
| 10 |
+
- secret-detection
|
| 11 |
+
variables:
|
| 12 |
+
SECRET_DETECTION_ENABLED: 'true'
|
| 13 |
+
secret_detection:
|
| 14 |
+
stage: secret-detection
|
| 15 |
+
include:
|
| 16 |
+
- template: Security/Secret-Detection.gitlab-ci.yml
|