You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not 100% sure that the commit mentioned here is the culprit for this, but I see the same response with this PURL: pkg:github/actions/checkout@v1 . I am sure it was not like this a few days ago. I don't know if pkg:github would be considered a valid PURL.
The issue was caused by the PURL API refactoring, where we added PURL ecosystem validation. Because we lack Conan and GitHub Actions PURL converters, the system failed to extract the ecosystem name from the PURL string and treated the queries as invalid. I will do a fix release soon to address this issue.
I have deployed the fix. PURL queries for Conan and GitHub Actions should no longer raise any errors. If you have any other questions, please let me know. Thanks again for the report!
I have deployed the fix. PURL queries for Conan and GitHub Actions should no longer raise any errors. If you have any other questions, please let me know. Thanks again for the report!
Thank you so much for the quick resolution! Works as expected from my side now 👍
Activity
fix(api): support conan purl query (#2961)
nchelluri commentedon Dec 5, 2024
I am not 100% sure that the commit mentioned here is the culprit for this, but I see the same response with this PURL: pkg:github/actions/checkout@v1 . I am sure it was not like this a few days ago. I don't know if pkg:github would be considered a valid PURL.
Edit: just to provide a bit more detail, I generated this PURL by running
syftversion 1.17.0 (the latest release of that tool on https://github.com/anchore/syft/releases) to generate a CycloneDX SBOM for https://github.com/Chalarangelo/30-seconds-of-code/tree/e7a910e0c1d31657b5319618517189f0fc83c3ff. I used the commandsyft -o cyclonedx-json=cdx-sbom.json dir:.from a checkout of that repo.hogo6002 commentedon Dec 5, 2024
Hi @trew and @nchelluri, thanks for reporting this!
The issue was caused by the PURL API refactoring, where we added PURL ecosystem validation. Because we lack Conan and GitHub Actions PURL converters, the system failed to extract the ecosystem name from the PURL string and treated the queries as invalid. I will do a fix release soon to address this issue.
fix(api): remove all purl ecosystem validation (#2964)
hogo6002 commentedon Dec 5, 2024
I have deployed the fix. PURL queries for Conan and GitHub Actions should no longer raise any errors. If you have any other questions, please let me know. Thanks again for the report!
trew commentedon Dec 5, 2024
Thank you so much for the quick resolution! Works as expected from my side now 👍
nchelluri commentedon Dec 5, 2024
Yes, TSYM for the very quick turnaround!
I have tested and things look good on my end as well. After the bug was introduced, but before the fix was deployed, I would call https://pkg.go.dev/github.com/google/[email protected]/pkg/osv#MakeRequestWithClient and get this error from one or a few of the PURLs and the whole response would error out. Now that doesn't happen. 👍