Show dependency paths data on Vulnerability Page
What does this MR do and why?
We now have BE response data: Add dependency paths data to vulnerabilities (!183487 - merged). This MR shows the "dependency_paths" data in the drawer of the Vulnerability Details Page.
Note: Showing the cyclical button will be done in another MR.
| Screenshot | Recording |
|---|---|
![]() |
dp-drawer-vuln-det-data |
| Ex. BE response |
|---|
![]() |
Since dependency_path_drawer is a shared component, I had to also make some updates to the dependency pages. Those will continue to use testing data as the backend is still WIP
| Project | Group |
|---|---|
![]() |
![]() |
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
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.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
How to set up and validate locally
- Enable feature flag:
dependency_paths - Clone this project: https://gitlab.com/gitlab-org/secure/tests/zamir/verify-520569
- Run a successful pipeline
- Go to the dependency list page
- Click on a vulnerability
- The "View dependency paths" button will only be displayed for those that have dependency paths
- When clicked, it opens the drawer
- It displays the "paths"
- If the paths are longer than 3 lines, the "Show more" button will be shown. On click it will display the entire paths.
Related to #519967 (closed)



