-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Is it good to depend on safety-db for Python vuln DB? #344
Comments
Thank you for opening the issue! Actually, I've been looking for another public database for Python vulnerabilities, but I've never found it. For now, |
Not sure it is the right solution, I think GitHub Advisory Database can be an alternative. They only provide GraphQL API though. |
I think they provide API to retrieve a result of Python vulnerabilities in GitHub repository. It means a user who doesn't use GitHub can't use the API. Or, do they have API to detect vulnerabilities of package information sent from a client? |
GitHub Advisory Database provides vulnerability info of pip, RubyGems, etc, including CVE, which means I guess it is the source info of dependabot. You can look it on your browser https://github.com/advisories?query=ecosystem%3Apip and they also provides GraphQL API as well (see also https://gist.github.com/chezou/998c1bb19a6bb6f292ba5012d02d815a). Of course, GitHub API requires GitHub account, if this requirement isn't suitable for trivy, we can't use it for safety-db alternate. |
Oh, I didn't know it! I've thought it was provided only for GitHub repositories. Thanks! Now, we build a vulnerability database in GitHub Actions and upload it to GitHub Release. https://github.com/aquasecurity/trivy-db/releases |
That should be great if we could bundle them into releases! I hope GitHub allows to use it for trivy 🤞 |
It seems safety-db isn't actively maintained, is it good for trivy to keep depending on safety-db to detect Python vulnerabilities?
The text was updated successfully, but these errors were encountered: