Skip to content

Commit 683c3b6

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

2 files changed

Lines changed: 33 additions & 33 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Scanning local image tarball "testdata/test-alpine-sbom.tar"
115115
116116
117117
Container Scanning Result (Alpine Linux v3.10) (Based on "alpine" image):
118-
Total 2 packages affected by 4 known vulnerabilities (3 Critical, 0 High, 1 Medium, 0 Low, 0 Unknown) from 2 ecosystems.
118+
Total 2 packages affected by 4 known vulnerabilities (2 Critical, 1 High, 1 Medium, 0 Low, 0 Unknown) from 2 ecosystems.
119119
1 vulnerability can be fixed.
120120
121121
@@ -229,14 +229,14 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
229229
[TestCommand_ExplicitExtractors_WithoutDefaults/add_extractors - 1]
230230
Scanning local image tarball "testdata/test-alpine-sbom.tar"
231231
232-
Total 1 package affected by 3 known vulnerabilities (2 Critical, 0 High, 1 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
232+
Total 1 package affected by 3 known vulnerabilities (1 Critical, 1 High, 1 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
233233
0 vulnerabilities can be fixed.
234234
235235
+---------------------------------------+------+-----------+---------+-----------+---------------+---------------------------------------------------+
236236
| OSV URL | CVSS | ECOSYSTEM | PACKAGE | VERSION | FIXED VERSION | SOURCE |
237237
+---------------------------------------+------+-----------+---------+-----------+---------------+---------------------------------------------------+
238238
| https://osv.dev/ALPINE-CVE-2022-37434 | 9.8 | Alpine | zlib | 1.2.12-r1 | -- | data/alpine-zlib-16.cdx.json:lib/apk/db/installed |
239-
| https://osv.dev/ALPINE-CVE-2026-22184 | 9.8 | Alpine | zlib | 1.2.12-r1 | -- | data/alpine-zlib-16.cdx.json:lib/apk/db/installed |
239+
| https://osv.dev/ALPINE-CVE-2026-22184 | 7.8 | Alpine | zlib | 1.2.12-r1 | -- | data/alpine-zlib-16.cdx.json:lib/apk/db/installed |
240240
| https://osv.dev/ALPINE-CVE-2026-27171 | 5.5 | Alpine | zlib | 1.2.12-r1 | -- | data/alpine-zlib-16.cdx.json:lib/apk/db/installed |
241241
+---------------------------------------+------+-----------+---------+-----------+---------------+---------------------------------------------------+
242242

0 commit comments

Comments
 (0)