Commit 68e360c9 authored by Ben Prescott's avatar Ben Prescott

Fix include template code examples for SAST

parent 0d512994
...@@ -100,7 +100,7 @@ Add the following to your `.gitlab-ci.yml` file: ...@@ -100,7 +100,7 @@ Add the following to your `.gitlab-ci.yml` file:
```yaml ```yaml
include: include:
template: SAST.gitlab-ci.yml - template: SAST.gitlab-ci.yml
``` ```
The included template will create a `sast` job in your CI/CD pipeline and scan The included template will create a `sast` job in your CI/CD pipeline and scan
...@@ -124,7 +124,7 @@ set the `SAST_GOSEC_LEVEL` variable to `2`: ...@@ -124,7 +124,7 @@ set the `SAST_GOSEC_LEVEL` variable to `2`:
```yaml ```yaml
include: include:
template: SAST.gitlab-ci.yml - template: SAST.gitlab-ci.yml
variables: variables:
SAST_GOSEC_LEVEL: 2 SAST_GOSEC_LEVEL: 2
...@@ -141,7 +141,7 @@ template inclusion and specify any additional keys under it. For example: ...@@ -141,7 +141,7 @@ template inclusion and specify any additional keys under it. For example:
```yaml ```yaml
include: include:
template: SAST.gitlab-ci.yml - template: SAST.gitlab-ci.yml
sast: sast:
variables: variables:
...@@ -178,7 +178,7 @@ This does not require running the executor in privileged mode. For example: ...@@ -178,7 +178,7 @@ This does not require running the executor in privileged mode. For example:
```yaml ```yaml
include: include:
template: SAST.gitlab-ci.yml - template: SAST.gitlab-ci.yml
variables: variables:
SAST_DISABLE_DIND: "true" SAST_DISABLE_DIND: "true"
...@@ -196,7 +196,7 @@ kubesec analyzer. In `.gitlab-ci.yml`, define: ...@@ -196,7 +196,7 @@ kubesec analyzer. In `.gitlab-ci.yml`, define:
```yaml ```yaml
include: include:
template: SAST.gitlab-ci.yml - template: SAST.gitlab-ci.yml
variables: variables:
SCAN_KUBERNETES_MANIFESTS: "true" SCAN_KUBERNETES_MANIFESTS: "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