Skip to content

Commit

Permalink
Updated report
Browse files Browse the repository at this point in the history
Tests:

- Adding extensive description via fixes within result
  • Loading branch information
n-insaidoo committed Nov 14, 2023
1 parent d024e67 commit a98b84d
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions report.sarif
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"message": {
"text": "[email protected] is affected by vulnerability CVE-2020-35863"
},
"level": "error",
"locations": [
{
"physicalLocation": {
Expand All @@ -49,7 +48,7 @@
"region": {
"startLine": 10,
"startColumn": 1,
"endLine": 14,
"endLine": 15,
"endColumn": 20,
"message": {
"text": "Sample description for vulnerable package hyper",
Expand All @@ -58,14 +57,39 @@
}
}
}
],
"fixes": [
{
"description": {
"text": "Sample description for vulnerable package hyper",
"markdown": "Sample description for vulnerable package hyper"
},
"artifactChanges": [{
"artifactLocation": {
"uri": "Cargo.lock"
},
"replacements": [
{
"deletedRegion": {
"startLine": 13,
"startColumn": 12,
"endLine": 13,
"endColumn": 19
},
"insertedContent": {
"text": "0.11.1"
}
}
]
}]
}
]
},
{
"ruleId": "VulnerableComponent",
"message": {
"text": "[email protected] is affected by vulnerability CVE-2020-35863"
},
"level": "error",
"locations": [
{
"physicalLocation": {
Expand Down

0 comments on commit a98b84d

Please sign in to comment.