Skip to content

Vulnerability Details: Refactor location data rendering

What does this MR do and why?

Small refactor which moves the rendering of some list items within the vulnerability details component into an array instead of manually within the template.

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

before after
Screenshot_2024-02-19_at_7.15.45_pm Screenshot_2024-02-19_at_7.15.52_pm

How to set up and validate locally

  1. Apply the following patch to add some juicy location data: add_location_data.patch
  2. Go to a pipeline's vulnerability and check that the location data renders as-expected

Related to #419275 (closed)

Edited by David Pisek

Merge request reports

Loading