-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certifier - OSV Scanner API for batch querying #323
Comments
Currently, OSV Scanner does not allow for a direct query for a package based on a purl. See: https://github.com/google/osv-scanner/blob/main/pkg/osvscanner/osvscanner.go#L261. Determine if there is an alternative method or if this can be added to upstream OSV scanner. |
FYI @lumjjb |
Currently our actual OSV querying code is in an internal package: https://github.com/google/osv-scanner/blob/main/internal/osv/osv.go @another-rex would it make sense to make some of these public so other tools can call the OSV API through our client? |
That can work, we can put it under v1 folder under pkgs so that it's public and if there are any breaking changes it easy to update. |
Awesome thanks @another-rex! |
This is now merged: google/osv-scanner#167, so the library should now be public:
|
Thanks, @another-rex and @oliverchang! |
Currently, the OSV Scanner querying API is copied as an internal file. Working with upstream maintainers to determine a path forward to remove this file.
Continuation from PR comment:
#245 (comment)
cc @oliverchang
The text was updated successfully, but these errors were encountered: