Skip to content

DAST fails when the ZAP server has shutdown

Cameron Swords requested to merge dast-fails-when-zap-fails into master

What does this MR do?

If DAST attempts to shutdown the ZAP server at the end of a scan and the server is not running, then it can be concluded that something went wrong during the scan. An example of this is when ZAP halts because of lack of memory.

Previously, DAST would exit with an exit code of zero. This MR ensures that an error is raised, which causes DAST to exit with a non-zero exit code.

What are the relevant issue numbers?

gitlab-org/gitlab#232648 (closed)

Does this MR meet the acceptance criteria?

Merge request reports

Loading