Display a modal once the vulnerability name is clicked
What does this MR do and why?
Makes the finding clickable. Clicking the finding opens a modal with the details.
Screenshots or screen recordings
How to set up and validate locally
- You'll need an EE License
- You'll need to have runners enabled (See $2408961 for setting up a runner)
- Enable
:refactor_security_extension
to turn this feature on.
echo "Feature.enable(:refactor_security_extension)" | rails c
- Import https://gitlab.com/gitlab-examples/security/security-reports
- Create a new MR by editing a file
- Go to the MR page and check the widget
- Expanding the toggle button should show a list of findings. Click one of them.
- Clicking the name should open the modal with details
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.
Related to #377431 (closed)