Documentation update: stage job parameter required for successful dependency scans misplaced in documentation

According to the docs, no stage parameter is required for DepChecker to properly run.

https://docs.gitlab.com/ee/user/application_security/dependency_scanning/

This, however, is not true, the documentation simply is located in an not-so intuitive location under https://docs.gitlab.com/ee/user/application_security/#troubleshooting.

Including the template without a stage generates errors as per the linter and also pipeline execution results.

image


include:
  template: Dependency-Scanning.gitlab-ci.yml

dependency_scanning:
  stage: s1

It seems like including as per the snippet above fixes the problem.

Edited Jul 17, 2020 by Nicole Schwartz
Assignee Loading
Time tracking Loading