Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/security_reports/master/gl-common-scanning-report.json')
-rw-r--r--spec/fixtures/security_reports/master/gl-common-scanning-report.json48
1 files changed, 18 insertions, 30 deletions
diff --git a/spec/fixtures/security_reports/master/gl-common-scanning-report.json b/spec/fixtures/security_reports/master/gl-common-scanning-report.json
index 4c494963a79..31a86d3a8ae 100644
--- a/spec/fixtures/security_reports/master/gl-common-scanning-report.json
+++ b/spec/fixtures/security_reports/master/gl-common-scanning-report.json
@@ -1,11 +1,11 @@
{
"vulnerabilities": [
{
+ "id": "vulnerability-1",
"category": "dependency_scanning",
"name": "Vulnerability for remediation testing 1",
"message": "This vulnerability should have ONE remediation",
"description": "",
- "cve": "CVE-2137",
"severity": "High",
"solution": "Upgrade to latest version.",
"scanner": {
@@ -43,11 +43,11 @@
}
},
{
+ "id": "vulnerability-2",
"category": "dependency_scanning",
"name": "Vulnerability for remediation testing 2",
"message": "This vulnerability should have ONE remediation",
"description": "",
- "cve": "CVE-2138",
"severity": "High",
"solution": "Upgrade to latest version.",
"scanner": {
@@ -85,11 +85,11 @@
}
},
{
+ "id": "vulnerability-3",
"category": "dependency_scanning",
"name": "Vulnerability for remediation testing 3",
"message": "Remediation for this vulnerability should remediate CVE-2140 as well",
"description": "",
- "cve": "CVE-2139",
"severity": "High",
"solution": "Upgrade to latest version.",
"scanner": {
@@ -127,11 +127,11 @@
}
},
{
+ "id": "vulnerability-4",
"category": "dependency_scanning",
"name": "Vulnerability for remediation testing 4",
"message": "Remediation for this vulnerability should remediate CVE-2139 as well",
"description": "",
- "cve": "CVE-2140",
"severity": "High",
"solution": "Upgrade to latest version.",
"scanner": {
@@ -169,11 +169,11 @@
}
},
{
+ "id": "vulnerability-5",
"category": "dependency_scanning",
"name": "Vulnerabilities in libxml2",
"message": "Vulnerabilities in libxml2 in nokogiri",
"description": "",
- "cve": "CVE-1020",
"severity": "High",
"solution": "Upgrade to latest version.",
"scanner": {
@@ -281,12 +281,11 @@
}
},
{
- "id": "bb2fbeb1b71ea360ce3f86f001d4e84823c3ffe1a1f7d41ba7466b14cfa953d3",
+ "id": "vulnerability-6",
"category": "dependency_scanning",
"name": "Regular Expression Denial of Service",
"message": "Regular Expression Denial of Service in debug",
"description": "",
- "cve": "CVE-1030",
"severity": "Unknown",
"solution": "Upgrade to latest versions.",
"scanner": {
@@ -387,6 +386,7 @@
]
},
{
+ "id": "vulnerability-7",
"category": "dependency_scanning",
"name": "Authentication bypass via incorrect DOM traversal and canonicalization",
"message": "Authentication bypass via incorrect DOM traversal and canonicalization in saml2-js",
@@ -421,47 +421,46 @@
{
"fixes": [
{
- "cve": "CVE-2137"
+ "id": "vulnerability-1"
}
],
- "summary": "this remediates CVE-2137",
+ "summary": "this remediates the first vulnerability",
"diff": "dG90YWxseSBsZWdpdCBkaWZm"
},
{
"fixes": [
{
- "cve": "CVE-2138"
+ "id": "vulnerability-2"
}
],
- "summary": "this remediates CVE-2138",
+ "summary": "this remediates the second vulnerability",
"diff": "dG90YWxseSBsZWdpdCBkaWZm"
},
{
"fixes": [
{
- "cve": "CVE-2139"
+ "id": "vulnerability-3"
},
{
- "cve": "CVE-2140"
+ "id": "vulnerability-4"
}
],
- "summary": "this remediates CVE-2139 and CVE-2140",
+ "summary": "this remediates the third and fourth vulnerability",
"diff": "dG90YWxseSBsZWdpdGltYXRlIGRpZmYsIDEwLzEwIHdvdWxkIGFwcGx5"
},
{
"fixes": [
{
- "cve": "CVE-1020"
+ "id": "vulnerability-5"
}
],
- "summary": "this fixes CVE-1020",
+ "summary": "this fixes the fifth vulnerability",
"diff": "dG90YWxseSBsZWdpdGltYXRlIGRpZmYsIDEwLzEwIHdvdWxkIGFwcGx5"
},
{
"fixes": [
{
- "cve": "CVE",
- "id": "bb2fbeb1b71ea360ce3f86f001d4e84823c3ffe1a1f7d41ba7466b14cfa953d3"
+ "id": "vulnerability-6"
}
],
"summary": "this fixes CVE",
@@ -470,22 +469,11 @@
{
"fixes": [
{
- "cve": "CVE",
- "id": "bb2fbeb1b71ea360ce3f86f001d4e84823c3ffe1a1f7d41ba7466b14cfa953d3"
+ "id": "vulnerability-6"
}
],
"summary": "this fixed CVE",
"diff": "dG90YWxseSBsZWdpdGltYXRlIGRpZmYsIDEwLzEwIHdvdWxkIGFwcGx5"
- },
- {
- "fixes": [
- {
- "id": "2134",
- "cve": "CVE-1"
- }
- ],
- "summary": "this fixes CVE-1",
- "diff": "dG90YWxseSBsZWdpdGltYXRlIGRpZmYsIDEwLzEwIHdvdWxkIGFwcGx5"
}
],
"dependency_files": [],