Skip to content

Commit 48b2543

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

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
315315
Scanning local image tarball "./testdata/test-ubuntu.tar"
316316
317317
Container Scanning Result (Ubuntu 22.04.5 LTS):
318-
Total 19 packages affected by 38 known vulnerabilities (2 Critical, 11 High, 19 Medium, 4 Low, 2 Unknown) from 1 ecosystem.
318+
Total 19 packages affected by 38 known vulnerabilities (2 Critical, 12 High, 19 Medium, 4 Low, 1 Unknown) from 1 ecosystem.
319319
19 vulnerabilities can be fixed.
320320
321321
@@ -360,7 +360,7 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
360360
Scanning local image tarball "./testdata/test-ubuntu.tar"
361361
362362
Container Scanning Result (Ubuntu 22.04.5 LTS):
363-
Total 19 packages affected by 38 known vulnerabilities (2 Critical, 11 High, 19 Medium, 4 Low, 2 Unknown) from 1 ecosystem.
363+
Total 19 packages affected by 38 known vulnerabilities (2 Critical, 12 High, 19 Medium, 4 Low, 1 Unknown) from 1 ecosystem.
364364
19 vulnerabilities can be fixed.
365365
366366

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ Total 0 packages affected by 0 known vulnerabilities (0 Critical, 0 High, 0 Medi
17041704
Scanned <rootdir>/testdata/locks-git/osv-scanner.json file as a osv-scanner and found 4 packages
17051705
Skipping commit scanning for: 45fda76bc1b9fd74d10e85e0ce9b65a12dcc58b0
17061706
Loaded GIT local db from <tempdir>/osv-scanner/GIT/all.zip
1707-
Total 2 packages affected by 6 known vulnerabilities (2 Critical, 2 High, 0 Medium, 0 Low, 2 Unknown) from 1 ecosystem.
1707+
Total 2 packages affected by 9 known vulnerabilities (2 Critical, 2 High, 0 Medium, 0 Low, 5 Unknown) from 1 ecosystem.
17081708
0 vulnerabilities can be fixed.
17091709

17101710

@@ -1713,6 +1713,9 @@ Total 2 packages affected by 6 known vulnerabilities (2 Critical, 2 High, 0 Medi
17131713
+--------------------------------+------+-----------+--------------------------+--------------------------+---------------+-------------------------------------+
17141714
| https://osv.dev/CVE-2016-2183 | 7.5 | GIT | https://github.com/openssl/openssl@aea7aaf2 | -- | testdata/locks-git/osv-scanner.json |
17151715
| https://osv.dev/CVE-2025-4575 | | GIT | https://github.com/openssl/openssl@aea7aaf2 | -- | testdata/locks-git/osv-scanner.json |
1716+
| https://osv.dev/CVE-2025-9230 | | GIT | https://github.com/openssl/openssl@aea7aaf2 | -- | testdata/locks-git/osv-scanner.json |
1717+
| https://osv.dev/CVE-2025-9231 | | GIT | https://github.com/openssl/openssl@aea7aaf2 | -- | testdata/locks-git/osv-scanner.json |
1718+
| https://osv.dev/CVE-2025-9232 | | GIT | https://github.com/openssl/openssl@aea7aaf2 | -- | testdata/locks-git/osv-scanner.json |
17161719
| https://osv.dev/CVE-2016-10931 | 8.1 | GIT | https://github.com/sfackler/rust-openssl@0f428d19 | -- | testdata/locks-git/osv-scanner.json |
17171720
| https://osv.dev/CVE-2018-20997 | 9.8 | GIT | https://github.com/sfackler/rust-openssl@0f428d19 | -- | testdata/locks-git/osv-scanner.json |
17181721
| https://osv.dev/CVE-2023-53159 | 9.1 | GIT | https://github.com/sfackler/rust-openssl@0f428d19 | -- | testdata/locks-git/osv-scanner.json |
@@ -1727,7 +1730,7 @@ Total 2 packages affected by 6 known vulnerabilities (2 Critical, 2 High, 0 Medi
17271730

17281731
[TestCommand_CommitSupport/online_uses_git_commits - 1]
17291732
Scanned <rootdir>/testdata/locks-git/osv-scanner.json file as a osv-scanner and found 4 packages
1730-
Total 3 packages affected by 11 known vulnerabilities (3 Critical, 1 High, 2 Medium, 0 Low, 5 Unknown) from 1 ecosystem.
1733+
Total 3 packages affected by 14 known vulnerabilities (3 Critical, 1 High, 2 Medium, 0 Low, 8 Unknown) from 1 ecosystem.
17311734
0 vulnerabilities can be fixed.
17321735

17331736

@@ -1737,6 +1740,9 @@ Total 3 packages affected by 11 known vulnerabilities (3 Critical, 1 High, 2 Med
17371740
| https://osv.dev/CVE-2024-12797 | | GIT | https://github.com/openssl/openssl@45fda76b | -- | testdata/locks-git/osv-scanner.json |
17381741
| https://osv.dev/CVE-2024-13176 | | GIT | https://github.com/openssl/openssl@45fda76b | -- | testdata/locks-git/osv-scanner.json |
17391742
| https://osv.dev/CVE-2024-9143 | | GIT | https://github.com/openssl/openssl@45fda76b | -- | testdata/locks-git/osv-scanner.json |
1743+
| https://osv.dev/CVE-2025-9230 | | GIT | https://github.com/openssl/openssl@45fda76b | -- | testdata/locks-git/osv-scanner.json |
1744+
| https://osv.dev/CVE-2025-9231 | | GIT | https://github.com/openssl/openssl@45fda76b | -- | testdata/locks-git/osv-scanner.json |
1745+
| https://osv.dev/CVE-2025-9232 | | GIT | https://github.com/openssl/openssl@45fda76b | -- | testdata/locks-git/osv-scanner.json |
17401746
| https://osv.dev/CVE-2023-53159 | 9.1 | GIT | https://github.com/sfackler-fork/rust-openssl@3b064fdb | -- | testdata/locks-git/osv-scanner.json |
17411747
| https://osv.dev/CVE-2023-6180 | 5.3 | GIT | https://github.com/sfackler-fork/rust-openssl@3b064fdb | -- | testdata/locks-git/osv-scanner.json |
17421748
| https://osv.dev/CVE-2025-3416 | | GIT | https://github.com/sfackler-fork/rust-openssl@3b064fdb | -- | testdata/locks-git/osv-scanner.json |

0 commit comments

Comments
 (0)