Pass filter parameters to csv export request
What does this MR do and why?
Passes Vulnerability Report filter parameters to CSV export request.
Currently, the Vulnerability Report's CSV export doesn't take any of the applied filters into account.
As a first step, this MR adds the filters as parameters to the POST request.
It also lays the foundation to expand the feature in the future. For example, disabling the export button if the selected filter set does not produce any results and therefore the export would also be empty.
Note: Currently the BE does not support the filter parameters, so the additional parameters are just being ignored.
References
Screenshots or screen recordings
| Filter parameters passed to POST request (currently ignored by the BE) |
|---|
![]() |
How to set up and validate locally
- Go to a Vulnerability Report
- Open network tab and click the "Export" button
- Verify that the selected filter are part of the
filtersparameter to the export endpoint - Change filters and repeate
2and3to make sure that the parameters to the POST request are also updated
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 #577459
