Commit 7f9d4c2a authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'add_dependency_scan_prefix_in_docs' into 'master'

Doc: Add prefix to Dependency-Scanning template

See merge request gitlab-org/gitlab!71309
parents ce9b3e4f 45283072
...@@ -47,7 +47,7 @@ In `.gitlab-ci.yml` define: ...@@ -47,7 +47,7 @@ In `.gitlab-ci.yml` define:
```yaml ```yaml
include: include:
template: Dependency-Scanning.gitlab-ci.yml template: Security/Dependency-Scanning.gitlab-ci.yml
variables: variables:
SECURE_ANALYZERS_PREFIX: my-docker-registry/gl-images SECURE_ANALYZERS_PREFIX: my-docker-registry/gl-images
...@@ -64,7 +64,7 @@ In `.gitlab-ci.yml` define: ...@@ -64,7 +64,7 @@ In `.gitlab-ci.yml` define:
```yaml ```yaml
include: include:
template: Dependency-Scanning.gitlab-ci.yml template: Security/Dependency-Scanning.gitlab-ci.yml
variables: variables:
DS_EXCLUDED_ANALYZERS: "bundler-audit, gemnasium" DS_EXCLUDED_ANALYZERS: "bundler-audit, gemnasium"
...@@ -77,7 +77,7 @@ In `.gitlab-ci.yml` define: ...@@ -77,7 +77,7 @@ In `.gitlab-ci.yml` define:
```yaml ```yaml
include: include:
template: Dependency-Scanning.gitlab-ci.yml template: Security/Dependency-Scanning.gitlab-ci.yml
variables: variables:
DS_EXCLUDED_ANALYZERS: "gemnasium, gemnasium-maven, gemnasium-python, bundler-audit, retire.js" DS_EXCLUDED_ANALYZERS: "gemnasium, gemnasium-maven, gemnasium-python, bundler-audit, retire.js"
......
...@@ -347,7 +347,7 @@ Add the following to your `.gitlab-ci.yml` file: ...@@ -347,7 +347,7 @@ Add the following to your `.gitlab-ci.yml` file:
```yaml ```yaml
include: include:
- template: Dependency-Scanning.gitlab-ci.yml - template: Security/Dependency-Scanning.gitlab-ci.yml
``` ```
The included template creates dependency scanning jobs in your CI/CD The included template creates dependency scanning jobs in your CI/CD
...@@ -381,7 +381,7 @@ For example: ...@@ -381,7 +381,7 @@ For example:
```yaml ```yaml
include: include:
- template: Dependency-Scanning.gitlab-ci.yml - template: Security/Dependency-Scanning.gitlab-ci.yml
variables: variables:
SECURE_LOG_LEVEL: error SECURE_LOG_LEVEL: error
...@@ -403,7 +403,7 @@ the `gemnasium` analyzer: ...@@ -403,7 +403,7 @@ the `gemnasium` analyzer:
```yaml ```yaml
include: include:
- template: Dependency-Scanning.gitlab-ci.yml - template: Security/Dependency-Scanning.gitlab-ci.yml
gemnasium-dependency_scanning: gemnasium-dependency_scanning:
variables: variables:
...@@ -414,7 +414,7 @@ To override the `dependencies: []` attribute, add an override job as above, targ ...@@ -414,7 +414,7 @@ To override the `dependencies: []` attribute, add an override job as above, targ
```yaml ```yaml
include: include:
- template: Dependency-Scanning.gitlab-ci.yml - template: Security/Dependency-Scanning.gitlab-ci.yml
gemnasium-dependency_scanning: gemnasium-dependency_scanning:
dependencies: ["build"] dependencies: ["build"]
...@@ -713,7 +713,7 @@ value of `GEMNASIUM_DB_REMOTE_URL` to the location of your offline Git copy of t ...@@ -713,7 +713,7 @@ value of `GEMNASIUM_DB_REMOTE_URL` to the location of your offline Git copy of t
```yaml ```yaml
include: include:
- template: Dependency-Scanning.gitlab-ci.yml - template: Security/Dependency-Scanning.gitlab-ci.yml
variables: variables:
SECURE_ANALYZERS_PREFIX: "docker-registry.example.com/analyzers" SECURE_ANALYZERS_PREFIX: "docker-registry.example.com/analyzers"
...@@ -868,7 +868,7 @@ to the supported `requirements.txt` as follows. ...@@ -868,7 +868,7 @@ to the supported `requirements.txt` as follows.
```yaml ```yaml
include: include:
- template: Dependency-Scanning.gitlab-ci.yml - template: Security/Dependency-Scanning.gitlab-ci.yml
stages: stages:
- test - test
......
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