Add external name field to external controls UI
What does this MR do and why?
We've introduced the concept of an external_control_name
on external controls, this allows creating/updating the new external name field via the UI.
Screenshots
How to set up and validate locally
- Navigate to the Compliance Center Dashboard, and click on frameworks i.e.
http://gitlab.localdev:3000/gitlab-org/gitlab-test/-/security/compliance_dashboard/frameworks
- In the top right, click on the "New framework" button
- Click on "Create blank framework"
- Fill in the framework details, make sure to fill in name, description and color
- Then expand "Requirements", and click on "New requirement"
- Fill in a name and a description, then click on "Add an external control"
- Fill in "External Control Name", "External URL", "HMAC shared secret"
- Click "Create requirement"
- Click "Create framework"
- On the success screen click "Edit framework"
- Expand "Requirements", click on the three dots next to your newly created requirement and click "Edit"
- Underneath "Controls (optional)" click the pen icon
- You will see the External Control Name you saved earlier, updated this to a new name, fill in the HMAC secret and click "Save changes to the framework"
- The External Control Name will now be updated
Related to #527007 (closed)
Edited by Jean van der Walt