-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3f96ce
commit 977a203
Showing
18 changed files
with
3,823 additions
and
15 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
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,33 @@ | ||
Findings | ||
|
||
Find a list of findings below ordered by severity | ||
|
||
┌──────────┬──────────────────────────────────────────────────┐ | ||
│Severity │Finding │ | ||
├──────────┼──────────────────────────────────────────────────┤ | ||
│Medium │TEST │ | ||
│Low │TEST2 │ | ||
└──────────┴──────────────────────────────────────────────────┘ | ||
|
||
TEST | ||
This is a test | ||
|
||
Severity: Medium (confidence: Medium) | ||
|
||
Evidence | ||
┌───────────────────────────── this_file_does_not_exist ──────────────────────────────┐ | ||
│ 0 lineContent │ | ||
└─────────────────────────────────────────────────────────────────────────────────────┘ | ||
|
||
TEST2 | ||
This is a test2 | ||
|
||
Severity: Low (confidence: High) | ||
|
||
Evidence | ||
┌───────────────────────────── this_file_does_not_exist2 ─────────────────────────────┐ | ||
│ 3 3 │ | ||
│ 5 5 │ | ||
│ 9 9 │ | ||
│ 99 999999999999999999999999999999999 │ | ||
└─────────────────────────────────────────────────────────────────────────────────────┘ |
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,4 @@ | ||
"Findings - Findings below are ordered by severity (you may want to delete this line)" | ||
"id","title","description","file","evidence","severity","confidence","line" | ||
"TEST_ID","TEST","This is a test","this_file_does_not_exist","lineContent","Medium","Medium","0" | ||
"TEST_ID2","TEST2","This is a test2","this_file_does_not_exist2","3\n5\n9\n999999999999999999999999999999999","Low","High","700" |
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,54 @@ | ||
{ | ||
"heading": "Findings - Findings below are ordered by severity", | ||
"findings": [ | ||
{ | ||
"id": "TEST_ID", | ||
"title": "TEST", | ||
"description": "This is a test", | ||
"file": "this_file_does_not_exist", | ||
"evidence": [ | ||
{ | ||
"selected": true, | ||
"line": 0, | ||
"content": "lineContent" | ||
} | ||
], | ||
"severity": 2, | ||
"confidence": 2, | ||
"line": 0, | ||
"_other": {} | ||
}, | ||
{ | ||
"id": "TEST_ID2", | ||
"title": "TEST2", | ||
"description": "This is a test2", | ||
"file": "this_file_does_not_exist2", | ||
"evidence": [ | ||
{ | ||
"selected": false, | ||
"line": 3, | ||
"content": "3" | ||
}, | ||
{ | ||
"selected": true, | ||
"line": 5, | ||
"content": "5" | ||
}, | ||
{ | ||
"selected": true, | ||
"line": 9, | ||
"content": "9" | ||
}, | ||
{ | ||
"selected": true, | ||
"line": 99, | ||
"content": "999999999999999999999999999999999" | ||
} | ||
], | ||
"severity": 1, | ||
"confidence": 3, | ||
"line": 700, | ||
"_other": {} | ||
} | ||
] | ||
} |
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,41 @@ | ||
# Findings | ||
Find a list of findings below ordered by severity | ||
|
||
|Severity|Finding| | ||
|:--|:--| | ||
|Medium|TEST| | ||
|Low|TEST2| | ||
|
||
## TEST | ||
This is a test | ||
|
||
|
||
File: `this_file_does_not_exist` | ||
### Severity | ||
|
||
Medium (confidence: Medium) | ||
### Evidence | ||
|
||
Line: 0 | ||
|
||
```python | ||
lineContent | ||
``` | ||
## TEST2 | ||
This is a test2 | ||
|
||
|
||
File: `this_file_does_not_exist2` | ||
### Severity | ||
|
||
Low (confidence: High) | ||
### Evidence | ||
|
||
Line: 700 | ||
|
||
```python | ||
3 | ||
5 | ||
9 | ||
999999999999999999999999999999999 | ||
``` |
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,75 @@ | ||
{ | ||
"version": "2.1.0", | ||
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json", | ||
"runs": [ | ||
{ | ||
"tool": { | ||
"driver": { | ||
"name": "SimpleSecurity", | ||
"informationUri": "https://github.com/FHPythonUtils/SimpleSecurity", | ||
"version": "2020.*" | ||
} | ||
}, | ||
"results": [ | ||
{ | ||
"ruleId": "TEST_ID", | ||
"level": "warning", | ||
"message": { | ||
"text": "TEST: This is a test" | ||
}, | ||
"locations": [ | ||
{ | ||
"physicalLocation": { | ||
"artifactLocation": { | ||
"uri": "this_file_does_not_exist" | ||
}, | ||
"region": { | ||
"startLine": 1, | ||
"snippet": { | ||
"text": "lineContent" | ||
} | ||
}, | ||
"contextRegion": { | ||
"startLine": 1, | ||
"endLine": 1, | ||
"snippet": { | ||
"text": "lineContent" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"ruleId": "TEST_ID2", | ||
"level": "warning", | ||
"message": { | ||
"text": "TEST2: This is a test2" | ||
}, | ||
"locations": [ | ||
{ | ||
"physicalLocation": { | ||
"artifactLocation": { | ||
"uri": "this_file_does_not_exist2" | ||
}, | ||
"region": { | ||
"startLine": 700, | ||
"snippet": { | ||
"text": "59999999999999999999999999999999999" | ||
} | ||
}, | ||
"contextRegion": { | ||
"startLine": 3, | ||
"endLine": 99, | ||
"snippet": { | ||
"text": "3\n5\n9\n999999999999999999999999999999999" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.