diff --git a/yaml-generation/generateDimensions.php b/yaml-generation/generateDimensions.php index 5e4554c..61c13f8 100644 --- a/yaml-generation/generateDimensions.php +++ b/yaml-generation/generateDimensions.php @@ -84,12 +84,18 @@ echo "Warning: '$activityName -> evidence -> $team' has no evidence set but should have"; } } + } + + if (!array_key_exists("openCRE", $activity["references"]["openCRE"])) { + $dimensionsAggregated[$dimension][$subdimension][$activityName]["references"]["openCRE"] = array(); + $dimensionsAggregated[$dimension][$subdimension][$activityName]["references"]["openCRE"][] = "https://www.opencre.org/rest/v1/standard/DevSecOps+Maturity+Model+(DSOMM)/${subdimension}/" + $dimensionsAggregated[$dimension][$subdimension][$activityName]["uuid"]; } + $dimensionsAggregated[$dimension][$subdimension][$activityName]["teamsImplemented"] = array_merge($teamsImplemented, $dimensionsAggregated[$dimension][$subdimension][$activityName]["teamsImplemented"], $evidenceImplemented); // can be removed in 2024 if (array_key_exists("isImplemented", $activity)) { unset($dimensionsAggregated[$dimension][$subdimension][$activityName]["evidence"]); - } + } } } }