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
1e9a5e1a
Commit
1e9a5e1a
authored
Jul 06, 2020
by
Philip Cunningham
Committed by
Russell Dickenson
Jul 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation for on-demand DAST scans
parent
d8075a3c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
+38
-0
doc/user/application_security/dast/img/dast_on_demand_v13_2.png
...er/application_security/dast/img/dast_on_demand_v13_2.png
+0
-0
doc/user/application_security/dast/index.md
doc/user/application_security/dast/index.md
+38
-0
No files found.
doc/user/application_security/dast/img/dast_on_demand_v13_2.png
0 → 100644
View file @
1e9a5e1a
89.6 KB
doc/user/application_security/dast/index.md
View file @
1e9a5e1a
...
...
@@ -599,6 +599,44 @@ security reports without requiring internet access.
Alternatively, you can use the variable
`SECURE_ANALYZERS_PREFIX`
to override the base registry address of the
`dast`
image.
## On-Demand Scans
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/218465) in GitLab 13.2.
> - It's deployed behind a feature flag, disabled by default.
> - It's disabled on GitLab.com.
> - It's able to be enabled or disabled per-project.
> - To use it in GitLab self-managed instances, ask a GitLab administrator to [enable it](#enable-or-disable-on-demand-scans).
Passive DAST scans may be run on demand against a target website, outside the DevOps lifecycle. These scans will
always be associated with the default or
`master`
branch of your project and the results can be seen in the project dashboard.
![
DAST On-Demand Scan
](
img/dast_on_demand_v13_2.png
)
### Enable or disable On-Demand Scans
On-Demand Scans is under development and not ready for production use. It is
deployed behind a feature flag that is
**disabled by default**
.
[
GitLab administrators with access to the GitLab Rails console
](
../../../administration/feature_flags.md
)
can enable it for your instance. On-Demand Scans can be enabled or disabled per-project
To enable it:
```
ruby
# Instance-wide
Feature
.
enable
(
:security_on_demand_scans_feature_flag
)
# or by project
Feature
.
enable
(
:security_on_demand_scans_feature_flag
,
Project
.
find
(
<
project
id
>
))
```
To disable it:
```
ruby
# Instance-wide
Feature
.
disable
(
:security_on_demand_scans_feature_flag
)
# or by project
Feature
.
disable
(
:security_on_demand_scans_feature_flag
,
Project
.
find
(
<
project
id
>
))
```
## Reports
The DAST tool outputs a report file in JSON format by default. However, this tool can also generate reports in
...
...
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