Please check gitlab-tutorial

Skip to content

Overriding DAST jobs

To override a job definition, (for example, change properties like variables, dependencies, or rules), declare a job with the same name as the DAST job to override. Place this new job after the template inclusion and specify any additional keys under it. For example, this enables authentication debug logging for the analyzer:

include:
  - template: Security/DAST.gitlab-ci.yml

dast:
  variables:
    DAST_LOG_CONFIG: auth:debug