-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Jace Barayuga <[email protected]>
- Loading branch information
Showing
17 changed files
with
14,784 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
253 changes: 253 additions & 0 deletions
253
libs/hdf-converters/sample_jsons/dependency_track_mapper/hdf-default-withraw.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,253 @@ | ||
{ | ||
"platform": { | ||
"name": "Dependency-Track", | ||
"release": "1.1 4.5.0", | ||
"target_id": "http://dtrack.example.org" | ||
}, | ||
"version": "2.10.3", | ||
"statistics": {}, | ||
"profiles": [ | ||
{ | ||
"name": "ca4f2da9-0fad-4a13-92d7-f627f3168a56", | ||
"version": "1.0", | ||
"title": "Acme Example", | ||
"summary": "A sample application", | ||
"supports": [], | ||
"attributes": [], | ||
"groups": [], | ||
"status": "loaded", | ||
"controls": [ | ||
{ | ||
"tags": { | ||
"cweIds": [ | ||
400 | ||
], | ||
"cweNames": [ | ||
"Uncontrolled Resource Consumption ('Resource Exhaustion')" | ||
], | ||
"nist": [ | ||
"SI-10" | ||
], | ||
"cci": [ | ||
"CCI-001310" | ||
], | ||
"componentUuid": "b815b581-fec1-4374-a871-68862a8f8d52", | ||
"componentName": "timespan", | ||
"componentGroup": "", | ||
"componentVersion": "2.3.0", | ||
"componentLatestVersion": "3.2.0", | ||
"componentPurl": "pkg:npm/[email protected]", | ||
"componentCpe": "", | ||
"componentProject": "", | ||
"vulnerabilityUuid": "115b80bb-46c4-41d1-9f10-8a175d4abb46", | ||
"vulnerabilitySource": "NPM", | ||
"vulnerabilityVulnId": "533", | ||
"vulnerabilityTitle": "Regular Expression Denial of Service", | ||
"vulnerabilitySubtitle": "timespan", | ||
"vulnerabilityAliases": "\"\"", | ||
"vulnerabilityCvssV2BaseScore": "", | ||
"vulnerabilityCvssV3BaseScore": "", | ||
"vulnerabilityOwaspLikelihoodScore": "", | ||
"vulnerabilityOwaspTechnicalImpactScore": "", | ||
"vulnerabilityOwaspBusinessImpactScore": "", | ||
"vulnerabilitySeverityRank": 3, | ||
"vulnerabilityEpssScore": "", | ||
"vulnerabilityEpssPercentile": "", | ||
"vulnerabilityCweId": 400, | ||
"vulnerabilityCweName": "Uncontrolled Resource Consumption ('Resource Exhaustion')", | ||
"attributionAnalyzerIdentity": "", | ||
"attributionAttributedOn": "", | ||
"attributionAlternateIdentifier": "", | ||
"attributionReferenceUrl": "", | ||
"analysisState": "NOT_SET", | ||
"analysisIsSuppressed": "" | ||
}, | ||
"refs": [], | ||
"source_location": {}, | ||
"title": "pkg:npm/[email protected] - Regular Expression Denial of Service", | ||
"id": "ca4f2da9-0fad-4a13-92d7-f627f3168a56:b815b581-fec1-4374-a871-68862a8f8d52:115b80bb-46c4-41d1-9f10-8a175d4abb46", | ||
"desc": "Affected versions of `timespan`...", | ||
"descriptions": [ | ||
{ | ||
"data": "Affected versions of `timespan`...", | ||
"label": "check" | ||
}, | ||
{ | ||
"data": "No direct patch is available...", | ||
"label": "fix" | ||
} | ||
], | ||
"impact": 0.3, | ||
"code": "{\n \"component\": {\n \"uuid\": \"b815b581-fec1-4374-a871-68862a8f8d52\",\n \"name\": \"timespan\",\n \"version\": \"2.3.0\",\n \"purl\": \"pkg:npm/[email protected]\",\n \"latestVersion\": \"3.2.0\"\n },\n \"vulnerability\": {\n \"uuid\": \"115b80bb-46c4-41d1-9f10-8a175d4abb46\",\n \"source\": \"NPM\",\n \"vulnId\": \"533\",\n \"title\": \"Regular Expression Denial of Service\",\n \"subtitle\": \"timespan\",\n \"severity\": \"LOW\",\n \"severityRank\": 3,\n \"cweId\": 400,\n \"cweName\": \"Uncontrolled Resource Consumption ('Resource Exhaustion')\",\n \"cwes\": [\n {\n \"cweId\": 400,\n \"name\": \"Uncontrolled Resource Consumption ('Resource Exhaustion')\"\n }\n ],\n \"description\": \"Affected versions of `timespan`...\",\n \"recommendation\": \"No direct patch is available...\"\n },\n \"analysis\": {\n \"state\": \"NOT_SET\",\n \"isSuppressed\": false\n },\n \"matrix\": \"ca4f2da9-0fad-4a13-92d7-f627f3168a56:b815b581-fec1-4374-a871-68862a8f8d52:115b80bb-46c4-41d1-9f10-8a175d4abb46\"\n}", | ||
"results": [ | ||
{ | ||
"status": "failed", | ||
"code_desc": "No direct patch is available...", | ||
"start_time": "2022-02-18T23:31:42Z" | ||
} | ||
] | ||
}, | ||
{ | ||
"tags": { | ||
"cweIds": [ | ||
400 | ||
], | ||
"cweNames": [ | ||
"Uncontrolled Resource Consumption ('Resource Exhaustion')" | ||
], | ||
"nist": [ | ||
"SI-10" | ||
], | ||
"cci": [ | ||
"CCI-001310" | ||
], | ||
"componentUuid": "979f87f5-eaf5-4095-9d38-cde17bf9228e", | ||
"componentName": "uglify-js", | ||
"componentGroup": "", | ||
"componentVersion": "2.4.24", | ||
"componentLatestVersion": "", | ||
"componentPurl": "pkg:npm/[email protected]", | ||
"componentCpe": "", | ||
"componentProject": "", | ||
"vulnerabilityUuid": "701a3953-666b-4b7a-96ca-e1e6a3e1def3", | ||
"vulnerabilitySource": "NPM", | ||
"vulnerabilityVulnId": "48", | ||
"vulnerabilityTitle": "Regular Expression Denial of Service", | ||
"vulnerabilitySubtitle": "uglify-js", | ||
"vulnerabilityAliases": "[\n {\n \"cveId\": \"CVE-2022-2053\",\n \"ghsaId\": \"GHSA-95rf-557x-44g5\"\n }\n]", | ||
"vulnerabilityCvssV2BaseScore": "", | ||
"vulnerabilityCvssV3BaseScore": "", | ||
"vulnerabilityOwaspLikelihoodScore": "", | ||
"vulnerabilityOwaspTechnicalImpactScore": "", | ||
"vulnerabilityOwaspBusinessImpactScore": "", | ||
"vulnerabilitySeverityRank": 3, | ||
"vulnerabilityEpssScore": "", | ||
"vulnerabilityEpssPercentile": "", | ||
"vulnerabilityCweId": 400, | ||
"vulnerabilityCweName": "Uncontrolled Resource Consumption ('Resource Exhaustion')", | ||
"attributionAnalyzerIdentity": "", | ||
"attributionAttributedOn": "", | ||
"attributionAlternateIdentifier": "", | ||
"attributionReferenceUrl": "", | ||
"analysisState": "", | ||
"analysisIsSuppressed": "" | ||
}, | ||
"refs": [], | ||
"source_location": {}, | ||
"title": "pkg:npm/[email protected] - Regular Expression Denial of Service", | ||
"id": "ca4f2da9-0fad-4a13-92d7-f627f3168a56:979f87f5-eaf5-4095-9d38-cde17bf9228e:701a3953-666b-4b7a-96ca-e1e6a3e1def3", | ||
"desc": "Versions of `uglify-js` prior to...", | ||
"descriptions": [ | ||
{ | ||
"data": "Versions of `uglify-js` prior to...", | ||
"label": "check" | ||
}, | ||
{ | ||
"data": "Update to version 2.6.0 or later.", | ||
"label": "fix" | ||
} | ||
], | ||
"impact": 0.3, | ||
"code": "{\n \"component\": {\n \"uuid\": \"979f87f5-eaf5-4095-9d38-cde17bf9228e\",\n \"name\": \"uglify-js\",\n \"version\": \"2.4.24\",\n \"purl\": \"pkg:npm/[email protected]\"\n },\n \"vulnerability\": {\n \"uuid\": \"701a3953-666b-4b7a-96ca-e1e6a3e1def3\",\n \"source\": \"NPM\",\n \"vulnId\": \"48\",\n \"aliases\": [\n {\n \"cveId\": \"CVE-2022-2053\",\n \"ghsaId\": \"GHSA-95rf-557x-44g5\"\n }\n ],\n \"title\": \"Regular Expression Denial of Service\",\n \"subtitle\": \"uglify-js\",\n \"severity\": \"LOW\",\n \"severityRank\": 3,\n \"cweId\": 400,\n \"cweName\": \"Uncontrolled Resource Consumption ('Resource Exhaustion')\",\n \"cwes\": [\n {\n \"cweId\": 400,\n \"name\": \"Uncontrolled Resource Consumption ('Resource Exhaustion')\"\n }\n ],\n \"description\": \"Versions of `uglify-js` prior to...\",\n \"recommendation\": \"Update to version 2.6.0 or later.\"\n },\n \"analysis\": {\n \"isSuppressed\": false\n },\n \"matrix\": \"ca4f2da9-0fad-4a13-92d7-f627f3168a56:979f87f5-eaf5-4095-9d38-cde17bf9228e:701a3953-666b-4b7a-96ca-e1e6a3e1def3\"\n}", | ||
"results": [ | ||
{ | ||
"status": "failed", | ||
"code_desc": "Update to version 2.6.0 or later.", | ||
"start_time": "2022-02-18T23:31:42Z" | ||
} | ||
] | ||
} | ||
], | ||
"sha256": "5bbda4b1d386b05957e95e2701d9cf675ecec96aa07ca3e043edd565794c8277" | ||
} | ||
], | ||
"passthrough": { | ||
"raw": { | ||
"version": "1.1", | ||
"meta": { | ||
"application": "Dependency-Track", | ||
"version": "4.5.0", | ||
"timestamp": "2022-02-18T23:31:42Z", | ||
"baseUrl": "http://dtrack.example.org" | ||
}, | ||
"project": { | ||
"uuid": "ca4f2da9-0fad-4a13-92d7-f627f3168a56", | ||
"name": "Acme Example", | ||
"version": "1.0", | ||
"description": "A sample application" | ||
}, | ||
"findings": [ | ||
{ | ||
"component": { | ||
"uuid": "b815b581-fec1-4374-a871-68862a8f8d52", | ||
"name": "timespan", | ||
"version": "2.3.0", | ||
"purl": "pkg:npm/[email protected]", | ||
"latestVersion": "3.2.0" | ||
}, | ||
"vulnerability": { | ||
"uuid": "115b80bb-46c4-41d1-9f10-8a175d4abb46", | ||
"source": "NPM", | ||
"vulnId": "533", | ||
"title": "Regular Expression Denial of Service", | ||
"subtitle": "timespan", | ||
"severity": "LOW", | ||
"severityRank": 3, | ||
"cweId": 400, | ||
"cweName": "Uncontrolled Resource Consumption ('Resource Exhaustion')", | ||
"cwes": [ | ||
{ | ||
"cweId": 400, | ||
"name": "Uncontrolled Resource Consumption ('Resource Exhaustion')" | ||
} | ||
], | ||
"description": "Affected versions of `timespan`...", | ||
"recommendation": "No direct patch is available..." | ||
}, | ||
"analysis": { | ||
"state": "NOT_SET", | ||
"isSuppressed": false | ||
}, | ||
"matrix": "ca4f2da9-0fad-4a13-92d7-f627f3168a56:b815b581-fec1-4374-a871-68862a8f8d52:115b80bb-46c4-41d1-9f10-8a175d4abb46" | ||
}, | ||
{ | ||
"component": { | ||
"uuid": "979f87f5-eaf5-4095-9d38-cde17bf9228e", | ||
"name": "uglify-js", | ||
"version": "2.4.24", | ||
"purl": "pkg:npm/[email protected]" | ||
}, | ||
"vulnerability": { | ||
"uuid": "701a3953-666b-4b7a-96ca-e1e6a3e1def3", | ||
"source": "NPM", | ||
"vulnId": "48", | ||
"aliases": [ | ||
{ | ||
"cveId": "CVE-2022-2053", | ||
"ghsaId": "GHSA-95rf-557x-44g5" | ||
} | ||
], | ||
"title": "Regular Expression Denial of Service", | ||
"subtitle": "uglify-js", | ||
"severity": "LOW", | ||
"severityRank": 3, | ||
"cweId": 400, | ||
"cweName": "Uncontrolled Resource Consumption ('Resource Exhaustion')", | ||
"cwes": [ | ||
{ | ||
"cweId": 400, | ||
"name": "Uncontrolled Resource Consumption ('Resource Exhaustion')" | ||
} | ||
], | ||
"description": "Versions of `uglify-js` prior to...", | ||
"recommendation": "Update to version 2.6.0 or later." | ||
}, | ||
"analysis": { | ||
"isSuppressed": false | ||
}, | ||
"matrix": "ca4f2da9-0fad-4a13-92d7-f627f3168a56:979f87f5-eaf5-4095-9d38-cde17bf9228e:701a3953-666b-4b7a-96ca-e1e6a3e1def3" | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.