Add provider logo UI to vulnerability details
What does this MR do and why?
In this MR, we add the UI to display the provider logo in the details page.
Note this is an interim solution, see more info here > https://gitlab.com/gitlab-org/gitlab/-/issues/346896#note_853422776. Once the backend issue is resolved and the logo is added to our svg library, we will update the frontend to access the svg logo path from the GraphQL query.
Category | MR |
---|---|
Interim solution to add logos to assets folder | !82116 (merged) |
Utilize logo to display on details page | this MR |
Permanent solution use logo from svg library, access svg path from GraphQL query | tbd |
Describe in detail what your merge request does and why.
Screenshots or screen recordings
For reference, this is how the different logos will appear.
kontra | scw |
---|---|
How to set up and validate locally
This feature is behind a feature flag, to enable
rails c
Feature.enable(:secure_vulnerability_training)
- Navigate to the Vulnerability report
- Click on a vulnerability that is of type of
CWE
- You will see the training logo
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 #346896
Edited by Samantha Ming