Add VR activity filter to project vulnerability report
What does this MR do and why?
This adds a new AI resolution filter to the Project level. The vulnerabilities will report accordingly when this activity is selected.
- URL Query:
?activity=AI_RESOLUTION_AVAILABLE
→ GraphQL:hasAiResolution: true
- URL Query:
?activity=AI_RESOLUTION_UNAVAILABLE
→ GraphQL:hasAiResolution: false
Note: the "Count" section, group and security control (instance) level is still WIP
Issue: #481528 (closed)
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
Activity Filter | AI_RESOLUTION_AVAILABLE |
AI_RESOLUTION_UNAVAILABLE |
---|---|---|
How to set up and validate locally
- Enable feature flag:
vulnerability_report_vr_filter
- It helps to also enable the FF:
vulnerability_report_vr_badge
- Clone this project: https://staging.gitlab.com/govern-team-test/oxeye-rulez
- Go to the vulnerability report page
- Use the "Activity" token to filter by the Vulnerability resolution options
Prerequisites:
Related to #481528 (closed)
Edited by Samantha Ming