Add possibility to create requirements
The merge request updates the Compliance Dashboard feature. It adds a new component called Requirement Modal, which allows users to create and edit requirements for compliance frameworks. It also includes a new GraphQL mutation to create compliance requirements and updates the existing GraphQL query to fetch compliance frameworks with mock requirements.
Display requirement data
Add requirements section to add/edit framework screens
References
Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
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 |
---|---|
How to set up and validate locally
- Enable FF enable_standards_adherence_dashboard_v2 (sorry for long name, I am not the author)
- Make sure you have admin rights and group with an Ultimate subscription
- Go to Compliance Center
- Try editing/creating framework
- Create one or more Requirements
- Update Framework - check that the requirement mutation was called
Conrtols are not part of this MR, Updating and deleting requirements will come later as well. We also can't fetch the created requiremnts yet because the compliance framework query still missing this fields
Related to #478095