diff options
author | James Lopez <james@gitlab.com> | 2019-07-18 11:40:49 +0000 |
---|---|---|
committer | James Lopez <james@gitlab.com> | 2019-07-18 11:40:49 +0000 |
commit | 9967b2d1ee3644ed22fb441cc754f4e6764a7718 (patch) | |
tree | c27baa11c362353064b3ea6a40a1eef25203ce2f | |
parent | 17fa7fb84d1968fe79fa1f51b695aac34e1f655e (diff) | |
parent | b45f0708785c91f1750e5adbfb02640a2d583500 (diff) | |
download | gitlab-ce-9967b2d1ee3644ed22fb441cc754f4e6764a7718.tar.gz |
Merge branch '10857-parse-multiple-reports-of-same-category-ce' into 'master'
[CE backport] Parse and store multiple security reports of the same category
See merge request gitlab-org/gitlab-ce!30658
-rw-r--r-- | spec/fixtures/security-reports/deprecated/gl-sast-report.json | 20 | ||||
-rw-r--r-- | spec/fixtures/security-reports/master/gl-sast-report.json | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/spec/fixtures/security-reports/deprecated/gl-sast-report.json b/spec/fixtures/security-reports/deprecated/gl-sast-report.json index a85b9be8b5f..2f7e47281e2 100644 --- a/spec/fixtures/security-reports/deprecated/gl-sast-report.json +++ b/spec/fixtures/security-reports/deprecated/gl-sast-report.json @@ -838,6 +838,11 @@ }, "identifiers": [ { + "type": "flawfinder_func_name", + "name": "Flawfinder - char", + "value": "char" + }, + { "type": "cwe", "name": "CWE-119", "value": "119", @@ -870,6 +875,11 @@ }, "identifiers": [ { + "type": "flawfinder_func_name", + "name": "Flawfinder - fopen", + "value": "fopen" + }, + { "type": "cwe", "name": "CWE-362", "value": "362", @@ -897,6 +907,11 @@ }, "identifiers": [ { + "type": "flawfinder_func_name", + "name": "Flawfinder - char", + "value": "char" + }, + { "type": "cwe", "name": "CWE-119", "value": "119", @@ -930,6 +945,11 @@ }, "identifiers": [ { + "type": "flawfinder_func_name", + "name": "Flawfinder - strcpy", + "value": "strcpy" + }, + { "type": "cwe", "name": "CWE-120", "value": "120", diff --git a/spec/fixtures/security-reports/master/gl-sast-report.json b/spec/fixtures/security-reports/master/gl-sast-report.json index 4bef3d22f70..345e1e9f83a 100644 --- a/spec/fixtures/security-reports/master/gl-sast-report.json +++ b/spec/fixtures/security-reports/master/gl-sast-report.json @@ -840,6 +840,11 @@ }, "identifiers": [ { + "type": "flawfinder_func_name", + "name": "Flawfinder - char", + "value": "char" + }, + { "type": "cwe", "name": "CWE-119", "value": "119", @@ -872,6 +877,11 @@ }, "identifiers": [ { + "type": "flawfinder_func_name", + "name": "Flawfinder - fopen", + "value": "fopen" + }, + { "type": "cwe", "name": "CWE-362", "value": "362", @@ -899,6 +909,11 @@ }, "identifiers": [ { + "type": "flawfinder_func_name", + "name": "Flawfinder - char", + "value": "char" + }, + { "type": "cwe", "name": "CWE-119", "value": "119", @@ -932,6 +947,11 @@ }, "identifiers": [ { + "type": "flawfinder_func_name", + "name": "Flawfinder - strcpy", + "value": "strcpy" + }, + { "type": "cwe", "name": "CWE-120", "value": "120", |