Commit 22804559 authored by Philippe Lafoucrière's avatar Philippe Lafoucrière Committed by Achilleas Pipinellis

Make the usage of our templates consistent

parent 95296bae
...@@ -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:
......
...@@ -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:
......
...@@ -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"
......
...@@ -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:
......
...@@ -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"
......
...@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment