Comments (4)
Hey @colinxfleming, sorry for the long wait. Can you elaborate on the use case for scanning ruby and rubygems versions that aren't in the current environment?
from ruby_audit.
I found an explanation of the issue here: coinbase/salus#56 (comment)
Since this runs within the context of a docker container, I think that means it'll really be scanning the docker container for ruby and rubygems vulns rather than the lockfile, making it sorta useless.
In a docker container, we don't have access to anything but the filesystem.
https://github.com/coinbase/salus seems to be built with this assumption.
Unfortunately, Gemfile.lock
doesn't store the Rubygems version, and only stores the Ruby version if it is specified in Gemfile
. I'm not sure how to get this information reliably from within a container.
from ruby_audit.
hi, sorry for taking so long to come back to this. thanks @skomanduri for topping it - that's pretty much the use case.
I did some experimentation and found that doing this reliably would probably require a bundler change. I doubt this issue will get a lot of traction bundler-side, so we can close this down if you'd like to keep the issues list clean.
from ruby_audit.
It's no problem. I'll close the issue, but if a reliable way to do this appears, feel free to reopen this or open another issue!
from ruby_audit.
Related Issues (7)
- ruby audit works under bundler, but not stand-alone HOT 5
- change `master` to `main` HOT 1
- Bug: doesn't check rubygems anymore
- Bumping to Ruby 3.2.0 causes Tried to load unspecified class: Date (Psych::DisallowedClass) for ruby_audit check
- Overly strict bundler-audit
- Could not find gem 'ruby_audit (>= 2.2)' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby_audit.