Skip to content

Add projects to compliance framework sidebar

Nate Rosandich requested to merge 422328-add-compliance-framework-sidebar into master

What does this MR do and why?

Adds the associated projects for a compliance framework to the sidebar draw information.

This also changes the associated projects list in the table to be inline and have nicer line breaks

Screenshots or screen recordings

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

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

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

Edited by Nate Rosandich

Merge request reports

Loading