Replies: 1 comment
-
This is clearly a bug. Can you send a pull request to fix this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use
export FETCH_LICENSE=true
andcdxgen --server
run cdxgen service to generate sbom for me. I try my dotnet project to test how it work, I first time I call the api it return same result just like I runcdxgen
in my local project directory. And then I call api again with the same project url, this time response data does not containslicenses
andexternalReferences
in component section. That's weird situation. It would result any other project can not successfully get full information in the generate sbom even if I set the correctFETCH_LICENSE
.After I trace the source code, I found that there is a cache
metadata_cache
for the processed packages, if the package has been query will set it into the cache, so after the first time query this package, will skip all the logic for collect package information from internet.Is any body face the same problem? If that's a bug, how can I try to fix it?
Beta Was this translation helpful? Give feedback.
All reactions