Skip to content

Remove try catch that causes DAST to succeed when the scan fails

Cameron Swords requested to merge remove-zap-try-catch into master

What does this MR do?

Removes a try/catch statement that catches IOError, ScanNotStartedException and NoUrlsException from the ZAP scripts. When any of these errors occur, DAST exits with an exit code of zero, implying that the scan was successful.

What are the relevant issue numbers?

gitlab-org/gitlab#232648 (closed)

Does this MR meet the acceptance criteria?

Merge request reports

Loading