Skip to content

Show only relevant data in compliance status report

What does this MR do and why?

With introduction of new status report in %18.0 we were displaying group report inside project compliance center due to lack of relevant GraphQL api. With required graphql introduced in List project requirement statuses for project d... (!186260 - merged) we now could switch to proper display of list relevant only to the project

Basically two changes are visible:

  • Only list items relevant to current project are displayed
  • Filters do not have "project" option to filter by project which obviously makes no sense

Screenshots or screen recordings

image

How to set up and validate locally

  1. Enable feature via Feature.enable(:enable_standards_adherence_dashboard_v2) in rails console
  2. Switch to xanf-improve-seeder branch
  3. Run FILTER=compliance_report_data SEED_COMPLIANCE_REPORT_DATA=1 bundle exec rake db:seed_fu
  4. It will report new group seeded
  5. Go back to this branch
  6. Open seeded group, open any project there, go to Secure ➡️ Compliance center and observe data relevant only to this project
  7. Click filters bar and observe no "project" option there

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #540604 (closed)

Edited by Illya Klymov

Merge request reports

Loading