Commit cefff013 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs/10914-update-dast-docs-for-specifying-target-url-via-file' into 'master'

Resolve "Update DAST docs for specifying target URL via file"

Closes #10851 and #10914

See merge request gitlab-org/gitlab-ee!10610
parents 505b41d7 9b98ceed
......@@ -32,11 +32,18 @@ Once you set up the Runner, add a new job to `.gitlab-ci.yml` using [the CI/CD t
```yaml
include:
template: DAST.gitlab-ci.yml
variables:
DAST_WEBSITE: https://example.com
```
The above example will create a `dast` job in your CI/CD pipeline which will run
the tests on the URL defined in the `DAST_WEBSITE` variable (change it to use your
own) and scan it for possible vulnerabilities.
the tests on the specified URL and scan it for possible vulnerabilities.
There are two ways to define the URL to be scanned by DAST:
- The `DAST_WEBSITE` [variable](../../ci/yaml/README.md#variables).
- In an `environment_url.txt` file at the root of your project.
It's also possible to authenticate the user before performing DAST checks:
......
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