Skip to content

Allow sorting by severity on pipeline security tab

Lorenz van Herwaarden requested to merge pipeline-security-sorting-frontend into master

What does this MR do and why?

Related #361152 (closed)

This MR adds sorting by severity in the frontend for findings on the pipeline security tab.

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
before after

How to set up and validate locally

Prerequisites

  1. You need an EE license
  2. You need to have runners enabled (See $2408961 for setting up a runner)
  3. Import https://gitlab.com/gitlab-examples/security/security-reports
  4. Run a pipeline on master

Validate

  1. Enable feature flag: echo "Feature.enable(:pipeline_security_dashboard_graphql)" | rails c
  2. Go to latest pipeline > security tab
  3. Click on severity column to change sort order
Edited by Lorenz van Herwaarden

Merge request reports