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
6eae781a
Commit
6eae781a
authored
Mar 10, 2020
by
Cameron Swords
Committed by
Achilleas Pipinellis
Mar 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document offline use of DAST
parent
fd9b6c51
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
doc/user/application_security/dast/index.md
doc/user/application_security/dast/index.md
+25
-0
No files found.
doc/user/application_security/dast/index.md
View file @
6eae781a
...
...
@@ -356,6 +356,31 @@ dast:
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`
.
## Running DAST in an offline air-gapped installation
DAST can be executed on an offline air-gapped GitLab Ultimate installation using the following process:
1.
Host the DAST image
`registry.gitlab.com/gitlab-org/security-products/dast:latest`
in your local
Docker container registry.
1.
Add the following configuration to your
`.gitlab-ci.yml`
file. You must replace
`image`
to refer
to the DAST Docker image hosted on your local Docker container registry:
```
yaml
include
:
-
template
:
DAST.gitlab-ci.yml
dast
:
image
:
registry.example.com/namespace/dast:latest
script
:
-
export DAST_WEBSITE=${DAST_WEBSITE:-$(cat environment_url.txt)}
-
/analyze -t $DAST_WEBSITE --auto-update-addons
false
-z"-silent"
```
The option
`--auto-update-addons false`
instructs ZAP not to update add-ons.
The option
`-z`
passes the quoted
`-silent`
parameter to ZAP. The
`-silent`
parameter ensures ZAP
does not make any unsolicited requests including checking for updates.
## Reports
The DAST job can emit various reports.
...
...
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