Commit 9274346c authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'docs-fix-yaml-secure-docs' into 'master'

Update yaml codeblocks with yamllint in secure docs

See merge request gitlab-org/gitlab!41862
parents 2edfdb80 bef4319b
......@@ -606,7 +606,7 @@ Example profile definition:
```yaml
Profiles:
- Name: Quick-10
- Name: Quick-10
DefaultProfile: Quick
Routes:
- Route: *Route0
......@@ -632,7 +632,7 @@ Profiles:
To turn off the General Fuzzing Check you can remove these lines:
```yaml
- Name: GeneralFuzzingCheck
- Name: GeneralFuzzingCheck
Configuration:
FuzzingCount: 10
UnicodeFuzzing: true
......@@ -671,7 +671,7 @@ This example shows the FormBody Fuzzing Check:
```yaml
Checks:
- Name: FormBodyFuzzingCheck
- Name: FormBodyFuzzingCheck
Configuration:
FuzzingCount: 30
UnicodeFuzzing: true
......@@ -688,7 +688,7 @@ example provides only the other two Assertions (`LogAnalysisAssertion`,
```yaml
Profiles:
- Name: Quick-10
- Name: Quick-10
DefaultProfile: Quick
Routes:
- Route: *Route0
......
......@@ -523,13 +523,13 @@ For details on saving and transporting Docker images as a file, see Docker's doc
Add the following configuration to your `.gitlab-ci.yml` file. You must replace
`SECURE_ANALYZERS_PREFIX` to refer to your local Docker container registry:
```yaml
```yaml
include:
- template: SAST.gitlab-ci.yml
variables:
SECURE_ANALYZERS_PREFIX: "localhost:5000/analyzers"
```
```
The SAST job should now use local copies of the SAST analyzers to scan your code and generate
security reports without requiring internet access.
......
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