Comments (6)
A rake task is a good idea.
from bundler-audit.
A contributor added a basic rake task in 4334a11. I had to revert it to release 0.3.1, but it will come back in 0.4.0.
from bundler-audit.
Here's the task we're using on our projects at thoughtbot:
https://github.com/thoughtbot/suspenders/blob/master/templates/bundler_audit.rake
Would this be acceptable as a contribution?
from bundler-audit.
@derekprior looks good. You should formalize that into a Task class, sans any mention of Rails
of course.
from bundler-audit.
I added this to my ci's config'
bundle exec 'bundle-audit update && bundle-audit check'
works like a charm
from bundler-audit.
You guys may be interested in #104
I'm using it in Jenkins like:
# Bundler Audit:
set +e
bundle exec bundle-audit update && bundle exec bundle-audit -o=bundler_audit/index.html
export BUNDLER_AUDIT_FAILED=$?
set -e
And then using the HTML Publisher Plugin to save the generated html file along with my spec results/coverage/brakeman/rubycritic/etc reports.
from bundler-audit.
Related Issues (20)
- Unknown format: json HOT 1
- gems.rb and gems.locked HOT 7
- Add missing specs for `Scanner#initialize`
- Incorrectly flagged vulnerabilities with 4-digit version numbers HOT 1
- Status codes for different status messages HOT 10
- Can't update ruby-advisory-db HOT 8
- Add an ISSUES template for new features
- Add different exit codes for different errors
- `Bundler::Audit::Task` does not fail when vulnerabilities are found HOT 3
- Can no longer be called programatically HOT 5
- Release 1.0
- No longer set `test_files` in the gemspec
- This is not an issue with bundle-audit, but the Ruby enviroment itself:
- bundle-audit check --print-criticality=[level] AND --error-on-criticality=[level] HOT 6
- Make the `spec/fixtures/*/Gemfile.lock` files programmaticaly generated HOT 1
- Run audit automatically on `bundle` or `bundle install` command HOT 1
- git not installed HOT 11
- Combine ignored CVEs from both `--config` with `--ignore` flag
- Filter on dependencies - exclude dev and test HOT 3
- Add internal subnets configuration HOT 3
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 bundler-audit.