Skip to content

Draft: Migrate active scan out of ZAP scripts

Avielle Wolfe requested to merge migrate-active-scan into master

What does this MR do?

This MR migrates the logic for running an active scan out of the ZAP scripts.

  • Adds services.ActiveScan to contain active scan logic
  • Adds run_active_scan, active_scan_progress, and active_scan_status methods to ZAProxy
  • Makes active_policy method on ActiveScanPolicy public so it can be used by ActiveScan
  • Renames TargetWebsite to Target and updates it to handle API specification targets. It is used in ActiveScan and other classes to avoid having to check whether we're running an API scan in multiple locations

What are the relevant issue numbers?

gitlab-org/gitlab#218810 (closed)

Does this MR meet the acceptance criteria?

Edited by Avielle Wolfe

Merge request reports

Loading