Add support for DS_MAX_DEPTH
What does this MR do and why?
Describe in detail what your merge request does and why.
This MR modifies the default Dependency Scanning templates to search all directories for supported files. This will allow for setting DS_MAX_DEPTH
which is a variable to be introduced in this MR: gitlab-org/security-products/analyzers/gemnasium!441 (merged)
Related Issue: Limit directory depth of Gemnasium scans (#292455 - closed)
Related Slack Conversation (internal only): https://gitlab.slack.com/archives/CKWHYU7U2/p1667257999012379
Testing
Smoke tests for this MR's templtes were done in: gitlab-org/security-products/tests/js-npm!13598 (closed)
- pipeline using the base template: gitlab-org/security-products/tests/js-npm@03a0a57f
- pipeline using the latest template: https://gitlab.com/gitlab-org/security-products/tests/js-npm/-/pipelines/690263161
- integration tests: gitlab-org/security-products/analyzers/gemnasium!440 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.