Skip to content

Commit 36094a0

Browse files
committed
Resolve merge conflict
2 parents 200b22e + 59518f9 commit 36094a0

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/assets/YAML/default/implementations.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,9 @@ implementations:
786786
tags: [pre-commit]
787787
dependencyTrack:
788788
uuid: 500399bd-7dfc-47fd-99d8-b55cefb760a9
789-
name: Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain. Dependency-Track takes a unique and highly beneficial approach by leveraging the capabilities of Software Bill of Materials (SBOM).
789+
name: Dependency-Track
790+
description: |
791+
Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain. Dependency-Track takes a unique and highly beneficial approach by leveraging the capabilities of Software Bill of Materials (SBOM).
790792
url: https://github.com/DependencyTrack/dependency-track
791793
tags: [sca, inventory, OpenSource, "Supply Chain", vulnerability, inventory]
792794
hashicorp-vault:

yaml-generation/generateDimensions.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
}
9292
if (!array_key_exists("openCRE", $activity["references"])) {
9393
$dimensionsAggregated[$dimension][$subdimension][$activityName]["references"]["openCRE"] = array();
94-
$dimensionsAggregated[$dimension][$subdimension][$activityName]["references"]["openCRE"][] = "https://www.opencre.org/rest/v1/standard/DevSecOps+Maturity+Model+(DSOMM)/" . $subdimension . "/" . $dimensionsAggregated[$dimension][$subdimension][$activityName]["uuid"];
94+
$dimensionsAggregated[$dimension][$subdimension][$activityName]["references"]["openCRE"][] = buildOpenCreUrl($dimension, $subdimension, $activityName);
9595
}
9696
if (array_key_exists("dependsOn", $activity)) {
9797
foreach($activity['dependsOn'] as $index => $dependsOnName) {
@@ -240,7 +240,14 @@
240240
fclose($graphFile);
241241
echo "Saved dependency graph: '$graphFilename'\n\n";
242242

243-
243+
function buildOpenCreUrl($dimension, $subdimension, $activityName) {
244+
$baseUrl = "https://www.opencre.org/node/standard/";
245+
$DSOMM = "DevSecOps Maturity Model (DSOMM)";
246+
$url = $baseUrl . rawurlencode($DSOMM) .
247+
"/section/" . rawurlencode($subdimension) .
248+
"/subsection/" . rawurlencode($activityName);
249+
return $url;
250+
}
244251

245252
function assertUniqueRefs($all_references, &$errorMsg) {
246253
foreach ($all_references as $references) {

0 commit comments

Comments
 (0)