Skip to content

Set DAST_API_HOST_OVERRIDE for on-demand API scans

What does this MR do?

ensures that DAST_API_HOST_OVERRIDE is set for on-demand API scans.

Why?

this is a simplification that ensures the host being scanned matches the one that has been validated. this is necessary because openapi v3 api specifications may contain multiple unrelated hosts, which could result in the wrong host being scanned.

Related Issue(s)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Philip Cunningham

Merge request reports