Add dependency paths data to vulnerabilities
What does this MR do and why?
Add dependency paths data to vulnerabilities
Adds dependency paths data to vulnerabilities model. Also adds DependencyPathsFinder, which for now just calls the find method on the model
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to any project with vulnerable packages
- Go to Dependency List and select a vulnerable package (given, the
ancestorsarray is not empty for the occurrence) - From the dropdown go to its vulnerability
- In the controller response you should see
dependency_pathsavailable
Relates to: #520763 (closed)
Edited by Rushik Subba
