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