Limit the number of vulnerabilities report in gl-dast-report.json
What does this MR do?
The monolith rejects reports that have more than 100,000 vulnerabilities. To prevent that from happening this MR limits the number of vulnerabilities DAST reports to 100,000. If in the rare situation that this limit is reached, DAST will cut off the remaining vulnerabilities and return the log message:
The maxiumum number of reportable vulnerabilities has been exceeded. Total vulnerabilities detected were X and 100,000 have been reported.
What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab/-/issues/283878
GitLab Docs MR
Edited by Craig Smith