Skip to content

Migrate loading of the API spec out of the ZAP scripts

Avielle Wolfe requested to merge migrate-api-spec-loading into master

What does this MR do?

Adds APISpecification to load the API specification from the given URL or file during a DAST API scan. This is prerequisite work for migrating the active scan logic.

NOTE: the API spec loading has not yet been removed from the ZAP scripts and the loading in DAST code is deliberately disabled until it is removed from ZAP. This will happen in a future MR that migrates the active scan logic. DAST code will not use the API spec until then.

What are the relevant issue numbers?

gitlab-org/gitlab#233832 (closed)

Does this MR meet the acceptance criteria?

Merge request reports