Skip to content

Render the compliance report violation severity using a component

What does this MR do and why?

This change renders the compliance violation code with the shared severity component as described in #342900 (closed).

It also fixes a misalignment of the violation reason when the table is collapsed.

This change is hidden behind a development feature flag.

Screenshots or screen recordings

Before After
image image
image image

How to set up and validate locally

  1. You need a GitLab Ultimate license.
  2. Enable the new feature flag in your terminal: echo "Feature.enable(:compliance_violations_report)" | rails c
  3. View the compliance report and verify that the filter syncs with the URL query: [GDK_HOST]/groups/gitlab-org/-/security/compliance_dashboard

MR acceptance checklist

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

Related to #342900 (closed)

Edited by Jiaan Louw

Merge request reports

Loading