Skip to content

Display requirement data

Nataliia Radina requested to merge 478095-requirements-and-controls into master

What does this MR do and why?

The changes are related to the Compliance Dashboard feature. A new section called "Requirements" has been added to the edit framework page. This section allows users to configure requirements based on laws, regulations, and industry standards. Additionally, a new resolver has been added to the GraphQL API to mock requirements data for the Requirements section. The edit framework page now displays the requirements section when creating a new framework or editing an existing one. The adherenceV2Enabled flag is used to control whether the requirements section is rendered or not. Several new i18n strings have been added for the new feature.

Display requirement data

Add requirements section to add/edit framework screens

MR acceptance checklist

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

Screenshots or screen recordings

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

Before After
Screenshot 2024-10-22 at 14.26.31.png Screenshot 2024-10-22 at 14.25.31.png

How to set up and validate locally

  1. Make sure you have Admin user and Ultimate subscription

  2. Go to the compliance center, try editing any ramework

  3. The screen should look like the `before` screenshot

  4. Enable the :enable_standards_adherence_dashboard_v2)FF

    ( echo "Feature.enable(:enable_standards_adherence_dashboard_v2)" | gdk rails c)

  5. There should be requirements section with some mocked data

Related to #478095

Merge request reports

Loading