Skip to content

Fix compliance violation seeder

Illya Klymov requested to merge xanf-fix-compliance-violations into master

What does this MR do and why?

Add MR meta to merge_request_compliance_violati... (!107998 - merged) introduced meta information about MR inside compliance violation record, however relevant factory_bot record was not updated to include data. This resulted in this information missing in seeded data and not available in UI

This MR fixes missing meta-information for compliance violations coming from the seeder

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. Run FILTER=compliance_report_violations rake db:seed_fu to run this specific seeder
  2. Visit a groups compliance report [GDK_HOST]/groups/[GROUP]/-/security/compliance_dashboard/violations and observe the data

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