services:# use services to link your app container to the dast job
-name:$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
alias:yourapp
variables:
DAST_FULL_SCAN_ENABLED:"true"# do a full scan
DAST_ZAP_USE_AJAX_SPIDER:"true"# use the ajax spider
```
Most applications depend on multiple services such as databases or caching services. By default, services defined in the services fields cannot communicate
with each another. To allow communication between services, enable the `FF_NETWORK_PER_BUILD`[feature flag](https://docs.gitlab.com/runner/configuration/feature-flags.html#available-feature-flags).
```yaml
variables:
FF_NETWORK_PER_BUILD:"true"# enable network per build so all services can communicate on the same network
services:# use services to link the container to the dast job