Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b45f0708
Commit
b45f0708
authored
Jul 18, 2019
by
Victor Zagorodny
Committed by
James Lopez
Jul 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CE backport] Parse and store multiple security reports of the same category
parent
17fa7fb8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
spec/fixtures/security-reports/deprecated/gl-sast-report.json
.../fixtures/security-reports/deprecated/gl-sast-report.json
+20
-0
spec/fixtures/security-reports/master/gl-sast-report.json
spec/fixtures/security-reports/master/gl-sast-report.json
+20
-0
No files found.
spec/fixtures/security-reports/deprecated/gl-sast-report.json
View file @
b45f0708
...
...
@@ -837,6 +837,11 @@
"start_line"
:
4
},
"identifiers"
:
[
{
"type"
:
"flawfinder_func_name"
,
"name"
:
"Flawfinder - char"
,
"value"
:
"char"
},
{
"type"
:
"cwe"
,
"name"
:
"CWE-119"
,
...
...
@@ -869,6 +874,11 @@
"start_line"
:
8
},
"identifiers"
:
[
{
"type"
:
"flawfinder_func_name"
,
"name"
:
"Flawfinder - fopen"
,
"value"
:
"fopen"
},
{
"type"
:
"cwe"
,
"name"
:
"CWE-362"
,
...
...
@@ -896,6 +906,11 @@
"start_line"
:
6
},
"identifiers"
:
[
{
"type"
:
"flawfinder_func_name"
,
"name"
:
"Flawfinder - char"
,
"value"
:
"char"
},
{
"type"
:
"cwe"
,
"name"
:
"CWE-119"
,
...
...
@@ -929,6 +944,11 @@
"start_line"
:
7
},
"identifiers"
:
[
{
"type"
:
"flawfinder_func_name"
,
"name"
:
"Flawfinder - strcpy"
,
"value"
:
"strcpy"
},
{
"type"
:
"cwe"
,
"name"
:
"CWE-120"
,
...
...
spec/fixtures/security-reports/master/gl-sast-report.json
View file @
b45f0708
...
...
@@ -839,6 +839,11 @@
"start_line"
:
4
},
"identifiers"
:
[
{
"type"
:
"flawfinder_func_name"
,
"name"
:
"Flawfinder - char"
,
"value"
:
"char"
},
{
"type"
:
"cwe"
,
"name"
:
"CWE-119"
,
...
...
@@ -871,6 +876,11 @@
"start_line"
:
8
},
"identifiers"
:
[
{
"type"
:
"flawfinder_func_name"
,
"name"
:
"Flawfinder - fopen"
,
"value"
:
"fopen"
},
{
"type"
:
"cwe"
,
"name"
:
"CWE-362"
,
...
...
@@ -898,6 +908,11 @@
"start_line"
:
6
},
"identifiers"
:
[
{
"type"
:
"flawfinder_func_name"
,
"name"
:
"Flawfinder - char"
,
"value"
:
"char"
},
{
"type"
:
"cwe"
,
"name"
:
"CWE-119"
,
...
...
@@ -931,6 +946,11 @@
"start_line"
:
7
},
"identifiers"
:
[
{
"type"
:
"flawfinder_func_name"
,
"name"
:
"Flawfinder - strcpy"
,
"value"
:
"strcpy"
},
{
"type"
:
"cwe"
,
"name"
:
"CWE-120"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment