Skip to content

Commit 10b296b

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

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ Scanned <rootdir>/testdata/sbom-insecure/only-unimportant.spdx.json file and fou
752752
Scanned <rootdir>/testdata/sbom-insecure/postgres-stretch.cdx.xml file and found 136 packages
753753
Scanned <rootdir>/testdata/sbom-insecure/with-duplicates.cdx.xml file and found 17 packages
754754
Filtered 9 local/unscannable package/s from the scan.
755-
Total 26 packages affected by 156 known vulnerabilities (19 Critical, 62 High, 38 Medium, 1 Low, 36 Unknown) from 4 ecosystems.
755+
Total 26 packages affected by 157 known vulnerabilities (19 Critical, 62 High, 38 Medium, 1 Low, 37 Unknown) from 4 ecosystems.
756756
8 vulnerabilities can be fixed.
757757

758758

@@ -841,6 +841,7 @@ Total 26 packages affected by 156 known vulnerabilities (19 Critical, 62 High, 3
841841
| https://osv.dev/CVE-2021-3537 | 5.9 | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
842842
| https://osv.dev/CVE-2021-3541 | 6.5 | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
843843
| https://osv.dev/CVE-2022-23308 | 7.5 | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
844+
| https://osv.dev/CVE-2025-9714 | | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
844845
| https://osv.dev/DSA-4539-1 | 4.7 | Debian | openssl | 1.1.0l-1~deb9u5 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
845846
| https://osv.dev/DSA-4539-3 | | Debian | openssl | 1.1.0l-1~deb9u5 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
846847
| https://osv.dev/DSA-4661-1 | 7.5 | Debian | openssl | 1.1.0l-1~deb9u5 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
@@ -3288,7 +3289,7 @@ Scanned <rootdir>/testdata/sbom-insecure/postgres-stretch.cdx.xml file and found
32883289
Loaded Debian local db from <tempdir>/osv-scanner/Debian/all.zip
32893290
Loaded Go local db from <tempdir>/osv-scanner/Go/all.zip
32903291
Loaded OSS-Fuzz local db from <tempdir>/osv-scanner/OSS-Fuzz/all.zip
3291-
Total 21 packages affected by 149 known vulnerabilities (16 Critical, 60 High, 38 Medium, 1 Low, 34 Unknown) from 2 ecosystems.
3292+
Total 21 packages affected by 150 known vulnerabilities (16 Critical, 60 High, 38 Medium, 1 Low, 35 Unknown) from 2 ecosystems.
32923293
8 vulnerabilities can be fixed.
32933294

32943295

@@ -3370,6 +3371,7 @@ Total 21 packages affected by 149 known vulnerabilities (16 Critical, 60 High, 3
33703371
| https://osv.dev/CVE-2021-3537 | 5.9 | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
33713372
| https://osv.dev/CVE-2021-3541 | 6.5 | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
33723373
| https://osv.dev/CVE-2022-23308 | 7.5 | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
3374+
| https://osv.dev/CVE-2025-9714 | | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
33733375
| https://osv.dev/DSA-4539-1 | 4.7 | Debian | openssl | 1.1.0l-1~deb9u5 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
33743376
| https://osv.dev/DSA-4539-3 | | Debian | openssl | 1.1.0l-1~deb9u5 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
33753377
| https://osv.dev/DSA-4661-1 | 7.5 | Debian | openssl | 1.1.0l-1~deb9u5 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
@@ -3483,7 +3485,7 @@ Scanned <rootdir>/testdata/sbom-insecure/postgres-stretch.cdx.xml file and found
34833485
Loaded Debian local db from <tempdir>/osv-scanner/Debian/all.zip
34843486
Loaded Go local db from <tempdir>/osv-scanner/Go/all.zip
34853487
Loaded OSS-Fuzz local db from <tempdir>/osv-scanner/OSS-Fuzz/all.zip
3486-
Total 21 packages affected by 149 known vulnerabilities (16 Critical, 60 High, 38 Medium, 1 Low, 34 Unknown) from 2 ecosystems.
3488+
Total 21 packages affected by 150 known vulnerabilities (16 Critical, 60 High, 38 Medium, 1 Low, 35 Unknown) from 2 ecosystems.
34873489
8 vulnerabilities can be fixed.
34883490

34893491

@@ -3565,6 +3567,7 @@ Total 21 packages affected by 149 known vulnerabilities (16 Critical, 60 High, 3
35653567
| https://osv.dev/CVE-2021-3537 | 5.9 | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
35663568
| https://osv.dev/CVE-2021-3541 | 6.5 | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
35673569
| https://osv.dev/CVE-2022-23308 | 7.5 | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
3570+
| https://osv.dev/CVE-2025-9714 | | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
35683571
| https://osv.dev/DSA-4539-1 | 4.7 | Debian | openssl | 1.1.0l-1~deb9u5 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
35693572
| https://osv.dev/DSA-4539-3 | | Debian | openssl | 1.1.0l-1~deb9u5 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |
35703573
| https://osv.dev/DSA-4661-1 | 7.5 | Debian | openssl | 1.1.0l-1~deb9u5 | -- | testdata/sbom-insecure/postgres-stretch.cdx.xml |

0 commit comments

Comments
 (0)