Skip to content

Framework report add associated projects

What does this MR do and why?

This adds a list of projects associated with each framework to the new compliance frameworks report. Each listed project links through to the project. This will make it easier for users to see which projects are compliant with which frameworks.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Compliance-center--Gitlab-Org--GitLab__1_ Compliance-center--Gitlab-Org--GitLab

How to set up and validate locally

  1. Ensure that a top level group has a framework
    1. https://docs.gitlab.com/ee/user/group/compliance_frameworks.html
  2. Ensure there are multiple projects in above group and at least one has the compliance framework set
  3. Browse to a top level Group -> Security & Compliance -> Compliance center
    1. https://docs.gitlab.com/ee/user/compliance/compliance_center/index.html#compliance-frameworks-report
  4. Check that the final tab is 'Projects' and the projects framework report shows
  5. Enable the feature flag
    Feature.enable(:compliance_framework_report_ui)
  6. Check that the second to last tab is now called 'Frameworks' and shows the new basic framework report
    1. List all of the frameworks and associated projects for the group

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

Edited by Nate Rosandich

Merge request reports