Skip to content

Commit 3ba958c

Browse files
authored
test: update snapshots (#2681)
The snapshots have changed, probably due to OSV advisories being changed. Please review the differences to make sure that they're expected!
1 parent 30bcc13 commit 3ba958c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

cmd/osv-scanner/scan/image/__snapshots__/command_test.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ Scanning local image tarball "./testdata/test-ubuntu.tar"
440440
441441
442442
Container Scanning Result (Ubuntu 22.04.5 LTS) (Based on "ubuntu" image):
443-
Total 22 packages affected by 46 known vulnerabilities (3 Critical, 14 High, 24 Medium, 3 Low, 2 Unknown) from 1 ecosystem.
443+
Total 22 packages affected by 46 known vulnerabilities (2 Critical, 15 High, 24 Medium, 3 Low, 2 Unknown) from 1 ecosystem.
444444
24 vulnerabilities can be fixed.
445445
446446
@@ -489,7 +489,7 @@ Scanning local image tarball "./testdata/test-ubuntu.tar"
489489
490490
491491
Container Scanning Result (Ubuntu 22.04.5 LTS) (Based on "ubuntu" image):
492-
Total 22 packages affected by 46 known vulnerabilities (3 Critical, 14 High, 24 Medium, 3 Low, 2 Unknown) from 1 ecosystem.
492+
Total 22 packages affected by 46 known vulnerabilities (2 Critical, 15 High, 24 Medium, 3 Low, 2 Unknown) from 1 ecosystem.
493493
24 vulnerabilities can be fixed.
494494
495495
@@ -557,7 +557,7 @@ Scanning local image tarball "./testdata/test-ubuntu-with-packages.tar"
557557
558558
559559
Container Scanning Result (Ubuntu 22.04.5 LTS) (Based on "ubuntu" image):
560-
Total 22 packages affected by 46 known vulnerabilities (3 Critical, 14 High, 24 Medium, 3 Low, 2 Unknown) from 1 ecosystem.
560+
Total 22 packages affected by 46 known vulnerabilities (2 Critical, 15 High, 24 Medium, 3 Low, 2 Unknown) from 1 ecosystem.
561561
24 vulnerabilities can be fixed.
562562
563563

cmd/osv-scanner/scan/source/__snapshots__/command_test.snap

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5777,8 +5777,8 @@ Scanning dir ./testdata/locks-requirements/requirements.txt
57775777
Scanned <rootdir>/testdata/locks-requirements/requirements.txt file and found 3 packages
57785778
Loaded PyPI local db from <tempdir>/osv-scanner/PyPI/all.zip
57795779

5780-
Total 3 packages affected by 12 known vulnerabilities (1 Critical, 4 High, 6 Medium, 1 Low, 0 Unknown) from 1 ecosystem.
5781-
12 vulnerabilities can be fixed.
5780+
Total 3 packages affected by 13 known vulnerabilities (1 Critical, 4 High, 7 Medium, 1 Low, 0 Unknown) from 1 ecosystem.
5781+
13 vulnerabilities can be fixed.
57825782

57835783
+-------------------------------------+------+-----------+----------+---------+---------------+----------------------------------------------+
57845784
| OSV URL | CVSS | ECOSYSTEM | PACKAGE | VERSION | FIXED VERSION | SOURCE |
@@ -5797,6 +5797,7 @@ Total 3 packages affected by 12 known vulnerabilities (1 Critical, 4 High, 6 Med
57975797
| https://osv.dev/GHSA-j8r2-6x86-q33q | | | | | | |
57985798
| https://osv.dev/GHSA-9hjg-9r4m-mvj7 | 5.3 | PyPI | requests | 2.20.0 | 2.32.4 | testdata/locks-requirements/requirements.txt |
57995799
| https://osv.dev/GHSA-9wx4-h78v-vm56 | 5.6 | PyPI | requests | 2.20.0 | 2.32.0 | testdata/locks-requirements/requirements.txt |
5800+
| https://osv.dev/GHSA-gc5v-m9x4-r6x2 | 4.4 | PyPI | requests | 2.20.0 | 2.33.0 | testdata/locks-requirements/requirements.txt |
58005801
+-------------------------------------+------+-----------+----------+---------+---------------+----------------------------------------------+
58015802

58025803
---

0 commit comments

Comments
 (0)