Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/osv-scanner/__snapshots__/main_test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OPTIONS:

[Test_run/version - 1]
osv-scanner version: 2.2.2
osv-scalibr version: 0.3.1
osv-scalibr version: 0.3.2
commit: n/a
built at: n/a

Expand Down
2 changes: 1 addition & 1 deletion cmd/osv-scanner/internal/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"testing"

scalibr "github.com/google/osv-scalibr"
scalibr "github.com/google/osv-scalibr/version"
"github.com/google/osv-scanner/v2/internal/cmdlogger"
"github.com/google/osv-scanner/v2/internal/testlogger"
"github.com/google/osv-scanner/v2/internal/version"
Expand Down
4 changes: 2 additions & 2 deletions cmd/osv-scanner/scan/source/__snapshots__/command_test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3852,13 +3852,13 @@ could not determine extractor suitable to this file
[TestCommand_MoreLockfiles/cabal.project.freeze - 1]
Scanned <rootdir>/testdata/locks-scalibr/cabal.project.freeze file and found 6 packages
Total 1 package affected by 1 known vulnerability (0 Critical, 0 High, 0 Medium, 0 Low, 1 Unknown) from 1 ecosystem.
0 vulnerabilities can be fixed.
1 vulnerability can be fixed.


+--------------------------------+------+-----------+-----------------+---------+---------------+---------------------------------------------+
| OSV URL | CVSS | ECOSYSTEM | PACKAGE | VERSION | FIXED VERSION | SOURCE |
+--------------------------------+------+-----------+-----------------+---------+---------------+---------------------------------------------+
| https://osv.dev/HSEC-2024-0009 | | Hackage | biscuit-haskell | 0.3.0.0 | -- | testdata/locks-scalibr/cabal.project.freeze |
| https://osv.dev/HSEC-2024-0009 | | Hackage | biscuit-haskell | 0.3.0.0 | 0.4.0.0 | testdata/locks-scalibr/cabal.project.freeze |
+--------------------------------+------+-----------+-----------------+---------+---------------+---------------------------------------------+

---
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/gkampitakis/go-snaps v0.5.14
github.com/go-git/go-git/v5 v5.16.2
github.com/google/go-cmp v0.7.0
github.com/google/osv-scalibr v0.3.2-0.20250812004447-f38f28e2746b
github.com/google/osv-scalibr v0.3.3-0.20250826230339-30c71f65b5d6
github.com/ianlancetaylor/demangle v0.0.0-20250628045327-2d64ad6b7ec5
github.com/jedib0t/go-pretty/v6 v6.6.8
github.com/muesli/reflow v0.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ github.com/google/go-containerregistry v0.20.6 h1:cvWX87UxxLgaH76b4hIvya6Dzz9qHB
github.com/google/go-containerregistry v0.20.6/go.mod h1:T0x8MuoAoKX/873bkeSfLD2FAkwCDf9/HZgsFJ02E2Y=
github.com/google/go-cpy v0.0.0-20211218193943-a9c933c06932 h1:5/4TSDzpDnHQ8rKEEQBjRlYx77mHOvXu08oGchxej7o=
github.com/google/go-cpy v0.0.0-20211218193943-a9c933c06932/go.mod h1:cC6EdPbj/17GFCPDK39NRarlMI+kt+O60S12cNB5J9Y=
github.com/google/osv-scalibr v0.3.2-0.20250812004447-f38f28e2746b h1:9sfcabUuorHbZvOsq23wMMEzNaeN1nsj9nLOkwXTv/E=
github.com/google/osv-scalibr v0.3.2-0.20250812004447-f38f28e2746b/go.mod h1:D+mQbd5Gkzpf98X6OXuh2JzvlD0U4U3rmf1DaviOUho=
github.com/google/osv-scalibr v0.3.3-0.20250826230339-30c71f65b5d6 h1:XW3w/3y7i+D+JwuXPTpzKOh7ndp0iuZZw6w2N/Oh2YA=
github.com/google/osv-scalibr v0.3.3-0.20250826230339-30c71f65b5d6/go.mod h1:D+mQbd5Gkzpf98X6OXuh2JzvlD0U4U3rmf1DaviOUho=
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 h1:BHT72Gu3keYf3ZEu2J0b1vyeLSOYI8bm5wbJM/8yDe8=
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
Expand Down
Loading