-
Notifications
You must be signed in to change notification settings - Fork 603
Open
Labels
Description
Describe the bug
Since #4405 was merged I am seeing the following lint errors
probes/hasOSVVulnerabilities/impl.go:63:28: SA1019: grouper.IDAliases is deprecated: this is now private and should not be used outside the scanner (staticcheck)
aliasVulnerabilities := []grouper.IDAliases{}
^
probes/hasOSVVulnerabilities/impl.go:65:55: SA1019: grouper.IDAliases is deprecated: this is now private and should not be used outside the scanner (staticcheck)
aliasVulnerabilities = append(aliasVulnerabilities, grouper.IDAliases(vuln))
^
probes/hasOSVVulnerabilities/impl.go:68:9: SA1019: grouper.Group is deprecated: this is now private and should not be used outside the scanner (staticcheck)
IDs := grouper.Group(aliasVulnerabilities)
^
probes/hasOSVVulnerabilities/impl.go:24:2: SA1019: "github.com/google/osv-scanner/pkg/grouper" is deprecated: this is now private and should not be used outside the scanner (staticcheck)
"github.com/google/osv-scanner/pkg/grouper"
Reproduction steps
Steps to reproduce the behavior:
- Checkout lastest
main - run
make check-linter
Expected behavior
No errors
Additional context
The change was made upstream in google/osv-scanner#1309. And the package is set to be removed in google/osv-scanner#1376.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status