Commit 071b0b6d authored by Craig Smith's avatar Craig Smith

Set GIT_STRATEGY to none by default

as the projects repository is not required to run DAST
parent 471b9888
---
title: Project repositories are no longer cloned by default when running DAST
merge_request: 25320
author:
type: performance
...@@ -351,6 +351,11 @@ dast: ...@@ -351,6 +351,11 @@ dast:
- /analyze -z"-config replacer.full_list\(0\).description=auth -config replacer.full_list\(0\).enabled=true -config replacer.full_list\(0\).matchtype=REQ_HEADER -config replacer.full_list\(0\).matchstr=Authorization -config replacer.full_list\(0\).regex=false -config replacer.full_list\(0\).replacement=TOKEN" -t $DAST_WEBSITE - /analyze -z"-config replacer.full_list\(0\).description=auth -config replacer.full_list\(0\).enabled=true -config replacer.full_list\(0\).matchtype=REQ_HEADER -config replacer.full_list\(0\).matchstr=Authorization -config replacer.full_list\(0\).regex=false -config replacer.full_list\(0\).replacement=TOKEN" -t $DAST_WEBSITE
``` ```
### Cloning the project's repository
The DAST job does not require the project's repository to be present when running, so by default
[`GIT_STRATEGY`](../../../ci/yaml/README.md#git-strategy) is set to `none`.
## Reports ## Reports
The DAST job can emit various reports. The DAST job can emit various reports.
......
...@@ -18,6 +18,7 @@ dast: ...@@ -18,6 +18,7 @@ dast:
image: image:
name: "registry.gitlab.com/gitlab-org/security-products/dast:$DAST_VERSION" name: "registry.gitlab.com/gitlab-org/security-products/dast:$DAST_VERSION"
variables: variables:
GIT_STRATEGY: none
# URL to scan: # URL to scan:
# DAST_WEBSITE: https://example.com/ # DAST_WEBSITE: https://example.com/
# #
......
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