Send less data to Vulnerabilites page
requested to merge 212497-update-data-sent-to-vulnerabilities-page-to-include-less-information-and-use-the-new-data into master
What does this MR do?
As per #212497 (closed) we ought to minimize the data sent to the frontend when displaying Vulnerability details.
Frontend
Update vulnerability page for new data structure
- In an effort to cut down on the amount of data coming from the backend, the data sent up has been updated to be include more targeted information in a new format
- update the frontend for the new data structure
- update tests
Steps to Reproduce
- Navigate to a project that has had a pipeline ran and vulnerabilities were found (requires having the Runner configured and this project is recommended)
- Navigate to the security dashboard => any vulnerability's page
- Expected: The page loads and all actions work the exact same as on the master branch
Screenshots
They should look the same
Before
After (NOTE: There is ONE known discrepancy; there is updated text in the solution card because there was a bug where the remediation was not being sent to the footer. That has been fixed and now the appropriate message is showing)
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers - [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Michał Zając