Cannot combine SAST and DAST templates

Summary

When including both the newly released SAST and DAST CI templates, I get the following validation error on .gitlab-ci.yml:

jobs:sast script can't be blank

Removing the dast template resolves it.

Steps to reproduce

Configure both SAST and DAST using the including CI templates, then run a pipeline.

Example Project

The template that triggered this can be found here (and this commit resulted in a valid CI file).

What is the current bug behavior?

The pipeline does not run because .gitlab-ci.yml supposedly is invalid.

What is the expected correct behavior?

The pipeline should just run.

Relevant logs and/or screenshots

See example project.

Output of checks

This bug happens on GitLab.

Possible fixes

?

Assignee Loading
Time tracking Loading