Auto-Remediation - Show available solutions in Project Security Dashboard - Display basic info in activity column [parent issue]

Summary

This represents the first iteration for showing available solutions in the Project Security Dashboard. We'll show a lightbulb icon next to vulnerabilities that have available solutions.

Designs

Refer to the design issue: #235126 (closed)

Implementation plan

backend issue frontend issue
#258802 (closed) #258803 (closed)

Decisions

GraphQL

Query for fetching vulnerabilities with auto-fix data

{
  vulnerability(id: "gid://gitlab/Vulnerability/113" )  {
    title
    hasSolutions
  }
}

Output

{
  "data": {
    "vulnerability": {
      "title": "Modification of Assumed-Immutable Data (MAID) in lodash",
      "hasSolutions": true
    }
  }
}

PM Notes

An OKR is to make sure everything is pajamas, can we make sure to use pajamas and if pajamas doesn't have a pattern for what we are adding, contribute one? this may make this a heavier weight but as an OKR it's a high priority.

Edited by Jannik Lehmann