Skip to content

Commit 1508bad

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

File tree

2 files changed

+72
-72
lines changed

2 files changed

+72
-72
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Saving docker image ("alpine:3.18.9") to temporary file...
3131
Scanning image "alpine:3.18.9"
3232

3333
Container Scanning Result (Alpine Linux v3.18):
34-
Total 2 packages affected by 3 known vulnerabilities (0 Critical, 0 High, 0 Medium, 0 Low, 3 Unknown) from 1 ecosystem.
34+
Total 2 packages affected by 3 known vulnerabilities (0 Critical, 1 High, 2 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
3535
3 vulnerabilities can be fixed.
3636

3737

@@ -185,7 +185,7 @@ HTML output available at: <tempdir>/report.html
185185
Scanning local image tarball "./testdata/test-alpine.tar"
186186
187187
Container Scanning Result (Alpine Linux v3.18):
188-
Total 5 packages affected by 65 known vulnerabilities (5 Critical, 31 High, 21 Medium, 0 Low, 8 Unknown) from 1 ecosystem.
188+
Total 5 packages affected by 65 known vulnerabilities (6 Critical, 33 High, 26 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
189189
65 vulnerabilities can be fixed.
190190
191191
@@ -424,7 +424,7 @@ failed to load image from tarball with path "../../testdata/locks-manyoci-image/
424424
Scanning local image tarball "./testdata/test-java-full.tar"
425425
426426
Container Scanning Result (Alpine Linux v3.21):
427-
Total 20 packages affected by 35 known vulnerabilities (3 Critical, 9 High, 13 Medium, 0 Low, 10 Unknown) from 2 ecosystems.
427+
Total 20 packages affected by 35 known vulnerabilities (3 Critical, 13 High, 18 Medium, 0 Low, 1 Unknown) from 2 ecosystems.
428428
35 vulnerabilities can be fixed.
429429
430430
@@ -639,7 +639,7 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
639639
Scanning local image tarball "./testdata/test-package-tracing.tar"
640640
641641
Container Scanning Result (Alpine Linux v3.20):
642-
Total 8 packages affected by 81 known vulnerabilities (0 Critical, 1 High, 0 Medium, 0 Low, 80 Unknown) from 2 ecosystems.
642+
Total 8 packages affected by 81 known vulnerabilities (1 Critical, 3 High, 5 Medium, 0 Low, 72 Unknown) from 2 ecosystems.
643643
81 vulnerabilities can be fixed.
644644
645645
@@ -813,7 +813,7 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
813813
Scanning local image tarball "./testdata/test-node_modules-npm-empty.tar"
814814
815815
Container Scanning Result (Alpine Linux v3.19):
816-
Total 2 packages affected by 13 known vulnerabilities (0 Critical, 1 High, 4 Medium, 0 Low, 8 Unknown) from 1 ecosystem.
816+
Total 2 packages affected by 13 known vulnerabilities (1 Critical, 3 High, 9 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
817817
13 vulnerabilities can be fixed.
818818
819819
@@ -840,7 +840,7 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
840840
Scanning local image tarball "./testdata/test-node_modules-npm-full.tar"
841841
842842
Container Scanning Result (Alpine Linux v3.19):
843-
Total 4 packages affected by 16 known vulnerabilities (2 Critical, 1 High, 5 Medium, 0 Low, 8 Unknown) from 2 ecosystems.
843+
Total 4 packages affected by 16 known vulnerabilities (3 Critical, 3 High, 10 Medium, 0 Low, 0 Unknown) from 2 ecosystems.
844844
15 vulnerabilities can be fixed.
845845
846846
@@ -876,7 +876,7 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
876876
Scanning local image tarball "./testdata/test-node_modules-pnpm-empty.tar"
877877
878878
Container Scanning Result (Alpine Linux v3.19):
879-
Total 2 packages affected by 13 known vulnerabilities (0 Critical, 1 High, 4 Medium, 0 Low, 8 Unknown) from 1 ecosystem.
879+
Total 2 packages affected by 13 known vulnerabilities (1 Critical, 3 High, 9 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
880880
13 vulnerabilities can be fixed.
881881
882882
@@ -903,7 +903,7 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
903903
Scanning local image tarball "./testdata/test-node_modules-pnpm-full.tar"
904904
905905
Container Scanning Result (Alpine Linux v3.19):
906-
Total 2 packages affected by 13 known vulnerabilities (0 Critical, 1 High, 4 Medium, 0 Low, 8 Unknown) from 1 ecosystem.
906+
Total 2 packages affected by 13 known vulnerabilities (1 Critical, 3 High, 9 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
907907
13 vulnerabilities can be fixed.
908908
909909
@@ -930,7 +930,7 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
930930
Scanning local image tarball "./testdata/test-node_modules-yarn-empty.tar"
931931
932932
Container Scanning Result (Alpine Linux v3.19):
933-
Total 2 packages affected by 13 known vulnerabilities (0 Critical, 1 High, 4 Medium, 0 Low, 8 Unknown) from 1 ecosystem.
933+
Total 2 packages affected by 13 known vulnerabilities (1 Critical, 3 High, 9 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
934934
13 vulnerabilities can be fixed.
935935
936936
@@ -957,7 +957,7 @@ You can also view the full vulnerability list in your terminal with: `osv-scanne
957957
Scanning local image tarball "./testdata/test-node_modules-yarn-full.tar"
958958
959959
Container Scanning Result (Alpine Linux v3.19):
960-
Total 2 packages affected by 13 known vulnerabilities (0 Critical, 1 High, 4 Medium, 0 Low, 8 Unknown) from 1 ecosystem.
960+
Total 2 packages affected by 13 known vulnerabilities (1 Critical, 3 High, 9 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
961961
13 vulnerabilities can be fixed.
962962
963963

0 commit comments

Comments
 (0)