Use `sort` parameter within pipeline findings query
In order to support the sorting of pipeline findings, we need to add a sort functionality to the securityReportFindings
query.
Once the backend supports sorting, we need to add the parameter to the securityReportFindings
query, so the UI can make use of it:
ee/app/assets/javascripts/security_dashboard/graphql/queries/pipeline_findings.query.graphql
Verification steps
- go to https://gitlab.com/gitlab-org/govern/threat-insights-demos/verification-projects/security-reports-pipeline-security-listing-migration-and-enhancements/-/pipelines/1276396480/security
- click severity column and verify this changes the sort order of the severity
Edited by Lorenz van Herwaarden