
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
A test harness that captures output of various testing frameworks to post to a statsd server.
Add this line to your application's Gemfile:
gem 'statsd_test_harness'
And then execute:
$ bundle
Or install it yourself as:
$ gem install statsd_test_harness
Set the following environment variables for statsd integration:
export STATSD_HOST=192.168.42.10
export STATSD_PORT=8125
export STATSD_NAMESPACE=statsd_test_harness
export STATSD_APP_NAME=my_app_name
You must specify a config file at runtime:
wrap run_suite --config path/to/config/file.rb
For an example of what the config file should look like, refer to config/sample_config.rb
To register a new test framework, add it to the config.tools
array in your config file, e.g.
{
name: 'my_framework',
command: 'test',
label: 'my_framework',
options: '',
ignore_return_value: false
}
Set the ignore_return_value
flag to true if you don't want to report an unsuccessful test run (based on exit status).
To start a graphite/statsd docker container for testing purposes:
docker run -d --name graphite --restart=always -p 80:80 -p 2003:2003 -p 8125:8125/udp hopsoft/graphite-statsd -e VIRTUAL_HOST=graphite.docker
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that statsd_test_harness demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.