Frontend: Add hasRemediations to Vulnerability Report & Count

Once the backend has added the hasRemediations field > #358638 (closed). The frontend can update the vulnerability report to use this parameter.

Filter Count
image image

Implementation Plan

These 2 MRs implemented the hasMR to the activity filter and can be used for this implemenation.

A demo repo can be used to test the remediation: https://gitlab.com/gitlab-org/govern/demos/sandbox/minac/test-remediations

Note: Should check if we want to use the same FF activity_filter_has_mr or create a new one.

Verification Steps

A verification project should be set up here > https://gitlab.com/gitlab-org/govern/threat-insights-demos/verification-projects

  1. Select an "Activity" filter, it will have the "Remediations" items
  2. When selected, the project vulnerabilities will be updated accordingly
  3. When selected, the count section will be updated accordingly
Edited by Samantha Ming