Skip to content

Hide severity sorting for pipeline security tab

What does this MR do and why?

Related #433511 (closed)

Hide severity sorting for the pipeline security tab when feature flag pipeline_security_dashboard_graphql is enabled. We're hiding the sorting option for now until the backend supports sorting by severity for pipeline findings, see #360480 (closed)

Screenshots or screen recordings

Before After
Screenshot_2023-12-05_at_16.19.42 Screenshot_2023-12-05_at_16.18.55

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

Validation

  1. Enable feature flag: echo "Feature.enable(:pipeline_security_dashboard_graphql)" | rails console
  2. Go to the latest pipeline > security tab
  3. Validate that the severity column does not show the up/down arrow to indicate sorting
  4. Validate that you can't click to toggle the sorting

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports