Skip to content

Compliance Framework Report feature flag and folder preparation

Elwyn Benson requested to merge 387910-basic-compliance-framework-report into master

What does this MR do and why?

Initial setup work for the new compliance Framework Report.

Create development feature flag compliance_frameworks_report, and wire it up to render a new top-level component (reports_app.vue - currently empty). If disabled, render the existing report as normal so no user facing changes are visible. This new top level component will eventually have tabs to allow switching between different reports.

In preparation for adding additional reports in here, I've moved all of the current violations report code into a violations_report subdirectory. In the next MR, I will add a new frameworks_report subdirectory for the new report, and a shared folder to extract common components into.

Screenshots or screen recordings

FF disabled FF enabled
image image

How to set up and validate locally

  1. Browse to a Group -> Security & Compliance -> Compliance Report
  2. There should be no visible changes when feature flag is disabled
  3. There should be a blank new page when feature flag is enabled
Feature.enable(:compliance_frameworks_report)
Feature.disable(:compliance_frameworks_report)

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

Edited by Elwyn Benson

Merge request reports