Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
22804559
Commit
22804559
authored
Feb 05, 2020
by
Philippe Lafoucrière
Committed by
Achilleas Pipinellis
Feb 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the usage of our templates consistent
parent
95296bae
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
24 deletions
+24
-24
doc/user/application_security/container_scanning/index.md
doc/user/application_security/container_scanning/index.md
+1
-1
doc/user/application_security/dast/index.md
doc/user/application_security/dast/index.md
+7
-7
doc/user/application_security/dependency_scanning/index.md
doc/user/application_security/dependency_scanning/index.md
+4
-4
doc/user/application_security/license_compliance/index.md
doc/user/application_security/license_compliance/index.md
+7
-7
doc/user/application_security/sast/analyzers.md
doc/user/application_security/sast/analyzers.md
+4
-4
doc/user/application_security/sast/index.md
doc/user/application_security/sast/index.md
+1
-1
No files found.
doc/user/application_security/container_scanning/index.md
View file @
22804559
...
@@ -85,7 +85,7 @@ Add the following to your `.gitlab-ci.yml` file:
...
@@ -85,7 +85,7 @@ Add the following to your `.gitlab-ci.yml` file:
```
yaml
```
yaml
include
:
include
:
template
:
Container-Scanning.gitlab-ci.yml
-
template
:
Container-Scanning.gitlab-ci.yml
```
```
The included template will:
The included template will:
...
...
doc/user/application_security/dast/index.md
View file @
22804559
...
@@ -71,7 +71,7 @@ Add the following to your `.gitlab-ci.yml` file:
...
@@ -71,7 +71,7 @@ Add the following to your `.gitlab-ci.yml` file:
```
yaml
```
yaml
include
:
include
:
template
:
DAST.gitlab-ci.yml
-
template
:
DAST.gitlab-ci.yml
variables
:
variables
:
DAST_WEBSITE
:
https://example.com
DAST_WEBSITE
:
https://example.com
...
@@ -111,7 +111,7 @@ It's also possible to authenticate the user before performing the DAST checks:
...
@@ -111,7 +111,7 @@ It's also possible to authenticate the user before performing the DAST checks:
```
yaml
```
yaml
include
:
include
:
template
:
DAST.gitlab-ci.yml
-
template
:
DAST.gitlab-ci.yml
variables
:
variables
:
DAST_WEBSITE
:
https://example.com
DAST_WEBSITE
:
https://example.com
...
@@ -135,7 +135,7 @@ includes both passive and active scanning against the same target website:
...
@@ -135,7 +135,7 @@ includes both passive and active scanning against the same target website:
```
yaml
```
yaml
include
:
include
:
template
:
DAST.gitlab-ci.yml
-
template
:
DAST.gitlab-ci.yml
variables
:
variables
:
DAST_FULL_SCAN_ENABLED
:
"
true"
DAST_FULL_SCAN_ENABLED
:
"
true"
...
@@ -151,7 +151,7 @@ Domain validation is not required by default. It can be required by setting the
...
@@ -151,7 +151,7 @@ Domain validation is not required by default. It can be required by setting the
```
yaml
```
yaml
include
:
include
:
template
:
DAST.gitlab-ci.yml
-
template
:
DAST.gitlab-ci.yml
variables
:
variables
:
DAST_FULL_SCAN_ENABLED
:
"
true"
DAST_FULL_SCAN_ENABLED
:
"
true"
...
@@ -260,7 +260,7 @@ For example:
...
@@ -260,7 +260,7 @@ For example:
```
yaml
```
yaml
include
:
include
:
template
:
DAST.gitlab-ci.yml
-
template
:
DAST.gitlab-ci.yml
variables
:
variables
:
DAST_WEBSITE
:
https://example.com
DAST_WEBSITE
:
https://example.com
...
@@ -278,7 +278,7 @@ template inclusion and specify any additional keys under it. For example:
...
@@ -278,7 +278,7 @@ template inclusion and specify any additional keys under it. For example:
```
yaml
```
yaml
include
:
include
:
template
:
DAST.gitlab-ci.yml
-
template
:
DAST.gitlab-ci.yml
dast
:
dast
:
stage
:
dast
# IMPORTANT: don't forget to add this
stage
:
dast
# IMPORTANT: don't forget to add this
...
@@ -447,7 +447,7 @@ for DAST by overwriting the `script` key in the DAST template:
...
@@ -447,7 +447,7 @@ for DAST by overwriting the `script` key in the DAST template:
```
yaml
```
yaml
include
:
include
:
template
:
DAST.gitlab-ci.yml
-
template
:
DAST.gitlab-ci.yml
dast
:
dast
:
script
:
script
:
...
...
doc/user/application_security/dependency_scanning/index.md
View file @
22804559
...
@@ -79,7 +79,7 @@ Add the following to your `.gitlab-ci.yml` file:
...
@@ -79,7 +79,7 @@ Add the following to your `.gitlab-ci.yml` file:
```
yaml
```
yaml
include
:
include
:
template
:
Dependency-Scanning.gitlab-ci.yml
-
template
:
Dependency-Scanning.gitlab-ci.yml
```
```
The included template will create a
`dependency_scanning`
job in your CI/CD
The included template will create a
`dependency_scanning`
job in your CI/CD
...
@@ -99,7 +99,7 @@ For example:
...
@@ -99,7 +99,7 @@ For example:
```
yaml
```
yaml
include
:
include
:
template
:
Dependency-Scanning.gitlab-ci.yml
-
template
:
Dependency-Scanning.gitlab-ci.yml
variables
:
variables
:
DS_PYTHON_VERSION
:
2
DS_PYTHON_VERSION
:
2
...
@@ -116,7 +116,7 @@ after the template inclusion and specify any additional keys under it. For examp
...
@@ -116,7 +116,7 @@ after the template inclusion and specify any additional keys under it. For examp
```
yaml
```
yaml
include
:
include
:
template
:
Dependency-Scanning.gitlab-ci.yml
-
template
:
Dependency-Scanning.gitlab-ci.yml
dependency_scanning
:
dependency_scanning
:
variables
:
variables
:
...
@@ -187,7 +187,7 @@ This does not require running the executor in privileged mode. For example:
...
@@ -187,7 +187,7 @@ This does not require running the executor in privileged mode. For example:
```
yaml
```
yaml
include
:
include
:
template
:
Dependency-Scanning.gitlab-ci.yml
-
template
:
Dependency-Scanning.gitlab-ci.yml
variables
:
variables
:
DS_DISABLE_DIND
:
"
true"
DS_DISABLE_DIND
:
"
true"
...
...
doc/user/application_security/license_compliance/index.md
View file @
22804559
...
@@ -88,7 +88,7 @@ Add the following to your `.gitlab-ci.yml` file:
...
@@ -88,7 +88,7 @@ Add the following to your `.gitlab-ci.yml` file:
```
yaml
```
yaml
include
:
include
:
template
:
License-Scanning.gitlab-ci.yml
-
template
:
License-Scanning.gitlab-ci.yml
```
```
The included template will create a
`license_scanning`
job in your CI/CD pipeline
The included template will create a
`license_scanning`
job in your CI/CD pipeline
...
@@ -141,7 +141,7 @@ For example:
...
@@ -141,7 +141,7 @@ For example:
```
yaml
```
yaml
include
:
include
:
template
:
License-Scanning.gitlab-ci.yml
-
template
:
License-Scanning.gitlab-ci.yml
variables
:
variables
:
LICENSE_MANAGEMENT_SETUP_CMD
:
sh my-custom-install-script.sh
LICENSE_MANAGEMENT_SETUP_CMD
:
sh my-custom-install-script.sh
...
@@ -158,7 +158,7 @@ after the template inclusion and specify any additional keys under it. For examp
...
@@ -158,7 +158,7 @@ after the template inclusion and specify any additional keys under it. For examp
```
yaml
```
yaml
include
:
include
:
template
:
License-Scanning.gitlab-ci.yml
-
template
:
License-Scanning.gitlab-ci.yml
license_scanning
:
license_scanning
:
variables
:
variables
:
...
@@ -173,7 +173,7 @@ Feel free to use it for the customization of Maven execution. For example:
...
@@ -173,7 +173,7 @@ Feel free to use it for the customization of Maven execution. For example:
```
yaml
```
yaml
include
:
include
:
template
:
License-Scanning.gitlab-ci.yml
-
template
:
License-Scanning.gitlab-ci.yml
license_scanning
:
license_scanning
:
variables
:
variables
:
...
@@ -201,7 +201,7 @@ by setting the `LM_PYTHON_VERSION` environment variable to `2`.
...
@@ -201,7 +201,7 @@ by setting the `LM_PYTHON_VERSION` environment variable to `2`.
```
yaml
```
yaml
include
:
include
:
template
:
License-Scanning.gitlab-ci.yml
-
template
:
License-Scanning.gitlab-ci.yml
license_scanning
:
license_scanning
:
variables
:
variables
:
...
@@ -223,7 +223,7 @@ For example, the following `.gitlab-ci.yml`:
...
@@ -223,7 +223,7 @@ For example, the following `.gitlab-ci.yml`:
```
yaml
```
yaml
include
:
include
:
template
:
License-Management.gitlab-ci.yml
-
template
:
License-Management.gitlab-ci.yml
license_management
:
license_management
:
artifacts
:
artifacts
:
...
@@ -235,7 +235,7 @@ Should be changed to:
...
@@ -235,7 +235,7 @@ Should be changed to:
```
yaml
```
yaml
include
:
include
:
template
:
License-Scanning.gitlab-ci.yml
-
template
:
License-Scanning.gitlab-ci.yml
license_scanning
:
license_scanning
:
artifacts
:
artifacts
:
...
...
doc/user/application_security/sast/analyzers.md
View file @
22804559
...
@@ -49,7 +49,7 @@ In `.gitlab-ci.yml` define:
...
@@ -49,7 +49,7 @@ In `.gitlab-ci.yml` define:
```
yaml
```
yaml
include
:
include
:
template
:
SAST.gitlab-ci.yml
-
template
:
SAST.gitlab-ci.yml
variables
:
variables
:
SAST_ANALYZER_IMAGE_PREFIX
:
my-docker-registry/gl-images
SAST_ANALYZER_IMAGE_PREFIX
:
my-docker-registry/gl-images
...
@@ -66,7 +66,7 @@ In `.gitlab-ci.yml` define:
...
@@ -66,7 +66,7 @@ In `.gitlab-ci.yml` define:
```
yaml
```
yaml
include
:
include
:
template
:
SAST.gitlab-ci.yml
-
template
:
SAST.gitlab-ci.yml
variables
:
variables
:
SAST_DEFAULT_ANALYZERS
:
"
bandit,flawfinder"
SAST_DEFAULT_ANALYZERS
:
"
bandit,flawfinder"
...
@@ -82,7 +82,7 @@ default analyzers. In `.gitlab-ci.yml` define:
...
@@ -82,7 +82,7 @@ default analyzers. In `.gitlab-ci.yml` define:
```
yaml
```
yaml
include
:
include
:
template
:
SAST.gitlab-ci.yml
-
template
:
SAST.gitlab-ci.yml
variables
:
variables
:
SAST_DEFAULT_ANALYZERS
:
"
"
SAST_DEFAULT_ANALYZERS
:
"
"
...
@@ -98,7 +98,7 @@ In `.gitlab-ci.yml` define:
...
@@ -98,7 +98,7 @@ In `.gitlab-ci.yml` define:
```
yaml
```
yaml
include
:
include
:
template
:
SAST.gitlab-ci.yml
-
template
:
SAST.gitlab-ci.yml
variables
:
variables
:
SAST_ANALYZER_IMAGES
:
"
my-docker-registry/analyzers/csharp,amy-docker-registry/analyzers/perl"
SAST_ANALYZER_IMAGES
:
"
my-docker-registry/analyzers/csharp,amy-docker-registry/analyzers/perl"
...
...
doc/user/application_security/sast/index.md
View file @
22804559
...
@@ -225,7 +225,7 @@ stages:
...
@@ -225,7 +225,7 @@ stages:
-
test
-
test
include
:
include
:
template
:
SAST.gitlab-ci.yml
-
template
:
SAST.gitlab-ci.yml
variables
:
variables
:
SAST_DISABLE_DIND
:
"
true"
SAST_DISABLE_DIND
:
"
true"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment