Introduce validity check filter UI
What does this MR do and why?
This MR adds the "Validity check token", UI-only.
- Validity check token appears
- When selected - it updates the query
- When refresh - the token is still selected
Note:
- No API integration yet, will be address in this issue > Filter by Validity Status and Enable Refresh (... (&17407)
- V2 support will be addressed in this issue > [FE] Migrate validity-check to V2 (#557872 - closed)
Validity Check | Selected | Persistent when refreshed |
---|---|---|
![]() |
UNKNOWN ![]() |
persistent-token |
ACTIVE ![]() |
||
INACTIVE ![]() |
How to set up and validate locally
- Enable FF: http://gdk.test:3000/rails/features/advanced_vulnerability_management
- Enable FF: http://gdk.test:3000/rails/features/validity_check_es_filter
- Disable FF: http://gdk.test:3000/rails/features/vulnerability_report_filtered_search_v2
- Clone this project: https://gitlab.com/gitlab-examples/security/security-reports
- Run a successful pipeline
- Go to the security report:
- Validity check token appears
- When selected - it updates the query
- When refresh - the token is still selected
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #557870 (closed)
Edited by Samantha Ming