Make JSON import more fault tolerant
What does this MR do and why?
Make JSON import more fault tolerant
- Ensure we have array objects where we expect to be able to iterate
References
Screenshots or screen recordings
How to set up and validate locally
-
Download: framework.json
-
Download: framework_no_req.json
-
Go to to compliance center with ultimate licensed group
-
Got to Frameworks tab
-
Click "New framework"
-
Click "Import framework"
-
Choose downloaded framework.json
-
Observe framework created with two requirements, one missing a control
-
Got to Frameworks tab
-
Click "New framework"
-
Click "Import framework"
-
Choose downloaded framework_no_req.json
-
Observe framework created without requirements, (and thus no controls)
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by SAM FIGUEROA