Incorrect gitlab-ci.yml syntax in API Security documentation
Problem
The documentation for API Security includes numerous examples of GitLab CI/CD YAML. Some of the examples use invalid/incorrect syntax that will cause errors if a user attempts to use them as-is.
Example of incorrect syntax:
variables:
DAST_API_EXCLUDE_PATHS=/auth
What is should look like:
variables:
DAST_API_EXCLUDE_PATHS: /auth
or
variables:
- DAST_API_EXCLUDE_PATHS=/auth
Proposal
Find all GitLab CI/CD YAML examples that use an =
sign in variables and convert it to :
, making sure that the items are not a list (prefixed with -
.