Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3236fb77
Commit
3236fb77
authored
Apr 20, 2020
by
Craig Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip Auto DevOps DAST when REVIEW_DISABLED is set
parent
ca045652
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
doc/topics/autodevops/stages.md
doc/topics/autodevops/stages.md
+2
-0
lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
+1
-0
No files found.
doc/topics/autodevops/stages.md
View file @
3236fb77
...
...
@@ -241,6 +241,8 @@ You can disable DAST:
-
On all branches by setting the
`DAST_DISABLED`
environment variable to
`"true"`
.
-
Only on the default branch by setting the
`DAST_DISABLED_FOR_DEFAULT_BRANCH`
environment variable to
`"true"`
.
-
Only on feature branches by setting
`REVIEW_DISABLED`
environment variable to
`"true"`
. This also disables the Review App.
## Auto Browser Performance Testing **(PREMIUM)**
...
...
lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
View file @
3236fb77
...
...
@@ -36,3 +36,4 @@ dast:
variables
:
-
$DAST_DISABLED
-
$DAST_DISABLED_FOR_DEFAULT_BRANCH && $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME
-
$CI_DEFAULT_BRANCH != $CI_COMMIT_REF_NAME && $REVIEW_DISABLED && $DAST_WEBSITE ==
null
&& $DAST_API_SPECIFICATION ==
null
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment