Skip to content

Add remediation badge to vulnerability report page

!135009 (comment 1618298235)

@lorenzvanherwaarden: I was wondering whether vulnerabilities with solutions available would also get a bulb icon in the table activity column, similar to with related MRs?

Reference

Implementation

Note: this is a new badge!

  1. Expose the hasRemediation field

image

  1. Create an remediation_badge.vue
  2. Use it in the vulnerability page
  3. Build it with the bulb icon, so it matches the activity filter
  4. Badge should have a tooltip

image

Badge Tooltip:

A solution is available for this vulnerability

Create a merge request to implement this solution, or download and apply the patch manually.

Edited by Samantha Ming