Skip to content

Commit c42a5a8

Browse files
authored
Merge branch 'main' into renovate/osv-scanner-minor
2 parents ba136ff + 282b65c commit c42a5a8

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

cmd/osv-scanner/__snapshots__/main_test.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ Scanned <rootdir>/fixtures/sbom-insecure/postgres-stretch.cdx.xml as CycloneDX S
262262
| https://osv.dev/GHSA-m8cg-xc2p-r3fc | 2.5 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
263263
| https://osv.dev/GHSA-vpvm-3wq2-2wvm | 7.0 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
264264
| https://osv.dev/GHSA-xr7r-f8xq-vfvv | 8.6 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
265+
| https://osv.dev/GHSA-c5pj-mqfh-rvc3 | 7.2 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
265266
| https://osv.dev/GHSA-p782-xgp4-8hr8 | 5.3 | Go | golang.org/x/sys | v0.0.0-20210817142637-7d9622a276b7 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
266267
| https://osv.dev/GO-2022-0493 | | | | | |
267268
| https://osv.dev/DLA-3012-1 | | Debian | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
@@ -996,6 +997,7 @@ Loaded OSS-Fuzz local db from <tempdir>/osv-scanner/OSS-Fuzz/all.zip
996997
+-------------------------------------+------+-----------+--------------------------------+------------------------------------+-------------------------------------------------+
997998
| OSV URL | CVSS | ECOSYSTEM | PACKAGE | VERSION | SOURCE |
998999
+-------------------------------------+------+-----------+--------------------------------+------------------------------------+-------------------------------------------------+
1000+
| https://osv.dev/GHSA-c5pj-mqfh-rvc3 | 7.2 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
9991001
| https://osv.dev/GHSA-f3fp-gc8g-vw66 | 5.9 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
10001002
| https://osv.dev/GHSA-g2j6-57v7-gm8c | 6.1 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
10011003
| https://osv.dev/GHSA-m8cg-xc2p-r3fc | 2.5 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
@@ -1020,6 +1022,7 @@ Loaded OSS-Fuzz local db from <tempdir>/osv-scanner/OSS-Fuzz/all.zip
10201022
+-------------------------------------+------+-----------+--------------------------------+------------------------------------+-------------------------------------------------+
10211023
| OSV URL | CVSS | ECOSYSTEM | PACKAGE | VERSION | SOURCE |
10221024
+-------------------------------------+------+-----------+--------------------------------+------------------------------------+-------------------------------------------------+
1025+
| https://osv.dev/GHSA-c5pj-mqfh-rvc3 | 7.2 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
10231026
| https://osv.dev/GHSA-f3fp-gc8g-vw66 | 5.9 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
10241027
| https://osv.dev/GHSA-g2j6-57v7-gm8c | 6.1 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |
10251028
| https://osv.dev/GHSA-m8cg-xc2p-r3fc | 2.5 | Go | github.com/opencontainers/runc | v1.0.1 | fixtures/sbom-insecure/postgres-stretch.cdx.xml |

pkg/lockfile/extract.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var lockfileExtractors = map[string]Extractor{}
1111

1212
func registerExtractor(name string, extractor Extractor) {
1313
if _, ok := lockfileExtractors[name]; ok {
14-
panic("an extractor is already registered as" + name)
14+
panic("an extractor is already registered as " + name)
1515
}
1616

1717
lockfileExtractors[name] = extractor

0 commit comments

Comments
 (0)