Configure hooks file for dast

Possible way to change hook file for dast zap

While trying to run dast (zap) with yaml file for GitLab CI

  • Is there any possible way to point to the custom hook file from script or using DAST_ZAP_CLI_OPTIONS?

  • We are using registry.gitlab.com/security-products/dast:2 image

  • The main purpose is being able to configure zap to break the pipeline by a given condition (like fail_count > 0)

Thanks in advance :blush: