-
Notifications
You must be signed in to change notification settings - Fork 981
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
[question] How to use google osv-scanner with conan package? #15918
Comments
Hi @ASKAC0810, Thank you very much for reporting this issue. I believe this is something that should be addressed on the |
Hi! I'm from the OSV-Scanner team. Could we ask some questions for Conan to better understand how we can support it?
|
Thank you very much for your questions @oliverchang! Please feel free to ask any questions you have 🙂
Currently, there is no specific advisory database for Conan packages or recipes.
The primary source for Conan packages, for third-party dependencies, is the Conan Center Index. Here, all packages are built from the upstream repositories, typically using the release tarballs from the upstream repository and verifying the SHA for the downloaded file. We store this information in the conandata.yml file which the Conan recipe has access to, to download the sources for the recipe. For example, the conandata.yml for zlib looks like this. A bit more info abut the sources origin here. It's also accepted to backport security patches in some cases in the conandata.yml file marked as Hope this helps! |
The only CVE database for ConanCenter I'm aware of is maintained by Repology, if that helps: https://repology.org/projects/?inrepo=conancenter&vulnerable=1 |
What is your question?
At first, I would like to thank you guys for providing a C/C++ package manager solution.
I am looking for a soultion for creating SBOM and CVE scan report of C/C++.
For the SBOM portion, I found conan package can generate SBOM file with json format.
Therefore, I did following steps to create SBOM report.
Also from the document of google OSV-scanner, I found it also supports the ConanCenter ecosytem and can scan the SBOM file to create CVE report.
Therefore, I tired following command to scan the SBOM file.
"osv-scanner -sbom ./1.json"
However, the osv-scanner just shown "No issues found".
I do not understand how it works between conan package and osv-scanner.
Could you please share some information about it?
I know how to use osv-scanner to create CVE report if download the openssl source code from github.
But my target is as following:
Thank you very much.
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: