Skip to content

Add violation component to compliance report app

What does this MR do and why?

This MR adds the violation component from !76214 (merged) to the new compliance report app !75015 (merged) as descirbed in #342901 (closed).

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Enable the new feature flag in your terminal: echo "Feature.enable(:compliance_violations_report)" | rails c
  2. Visit the existing compliance dashboard on a group: [GDK_HOST]/groups/gitlab-org/-/security/compliance_dashboard
  3. Validate that the MR violation is rendering as a component instead of plain text.

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 #342901 (closed)

Edited by Jiaan Louw

Merge request reports