-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Ruby SBOMs #1639
Comments
It does indeed then try to fetch using the custom host however, the artifactory (JFrog) we use does not fetch the gems using .json extension. The url looks like this |
Sounds like an opportunity for sponsored development. We don't have any capacity for a few months. Could you try and find someone who could contribute this feature? Alternatively, once there is an sbom, use a platform such as scancode to enhance it with license data. |
@konstantinas1 According to this documentation, jfrog is compatible with the v1 api https://jfrog.com/help/r/jfrog-artifactory-documentation/use-the-rest-api-for-rubygems
|
Problem 1
I have been trying to configure cdxgen to use a private ruby artifactory (Jfrog) but no matter the env variables I set it always attempts to query rubygems.org.
I am using a debian docker container and installing cdxgen in it using npm.
Using a cdxgen cli on my machine seems fine though, but not when installed in Dockerfile.
Any suggestions how this could be setup with the latest version?
Is it even necessary to try and query the artifactory? Is it possible to disable this?
Problem 2
With the previous versions (tested on 10.0.0, does not work anymore after v11) I manage to generate an SBOM however, with the latest version (11.1.8) the generation stops without any error (last output line using debug mode:
Querying rubygems.org for ffi
).I attempted to do the same with the recommended docker images, but same issue.
What actually changed?
How can I debug the problem in more depth?
The text was updated successfully, but these errors were encountered: