Skip to content

Add provider logo UI to vulnerability details

Samantha Ming requested to merge 346896-provider-logo-details into master

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
image image

How to set up and validate locally

This feature is behind a feature flag, to enable

rails c

Feature.enable(:secure_vulnerability_training)
  1. Navigate to the Vulnerability report
  2. Click on a vulnerability that is of type of CWE
  3. 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.

Related to #346896

Edited by Samantha Ming

Merge request reports

Loading