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 |
|---|---|
![]() |
![]() |
Implementation Plan
These 2 MRs implemented the hasMR to the activity filter and can be used for this implemenation.
- Add
hasRemediationsto thevulnerabilityeSeveritiesCountquery > #426229 (closed) - Add
hasRemediationsto the activity filter > !132575 (merged)
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
- Select an "Activity" filter, it will have the "Remediations" items
- When selected, the project vulnerabilities will be updated accordingly
- When selected, the count section will be updated accordingly
Edited by Samantha Ming

