Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Zantow <kzantow@gmail.com>
  • Loading branch information
kzantow committed Mar 21, 2023
1 parent 91c6d92 commit c343f79
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions tests/__snapshots__/sarif_output.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1996,27 +1996,6 @@ exports[`SARIF yarn 1`] = `
"runs": [
{
"results": [
{
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "tests/fixtures/yarn-project/yarn.lock",
},
"region": {
"endColumn": 1,
"endLine": 1,
"startColumn": 1,
"startLine": 1,
},
},
},
],
"message": {
"text": "The path tests/fixtures/yarn-project/yarn.lock reports trim at version 0.0.2 which would result in a vulnerable (npm) package installed",
},
"ruleId": "CVE-2020-7753-trim",
},
{
"locations": [
{
Expand Down Expand Up @@ -2044,36 +2023,6 @@ exports[`SARIF yarn 1`] = `
"informationUri": "https://github.com/anchore/grype",
"name": "Grype",
"rules": [
{
"fullDescription": {
"text": "All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().",
},
"help": {
"markdown": "**Vulnerability CVE-2020-7753**
| Severity | Package | Version | Fix Version | Type | Location | Data Namespace | Link |
| --- | --- | --- | --- | --- | --- | --- | --- |
| high | trim | 0.0.2 | | npm | tests/fixtures/yarn-project/yarn.lock | nvd:cpe | [CVE-2020-7753](https://nvd.nist.gov/vuln/detail/CVE-2020-7753) |
",
"text": "Vulnerability CVE-2020-7753
Severity: high
Package: trim
Version: 0.0.2
Fix Version:
Type: npm
Location: tests/fixtures/yarn-project/yarn.lock
Data Namespace: nvd:cpe
Link: [CVE-2020-7753](https://nvd.nist.gov/vuln/detail/CVE-2020-7753)",
},
"helpUri": "https://github.com/anchore/grype",
"id": "CVE-2020-7753-trim",
"name": "JavascriptMatcherCpeMatch",
"properties": {
"security-severity": "7.5",
},
"shortDescription": {
"text": "CVE-2020-7753 high vulnerability for trim package",
},
},
{
"fullDescription": {
"text": "Regular Expression Denial of Service in trim",
Expand Down

0 comments on commit c343f79

Please sign in to comment.