Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
busser-serverspeclegacy
Advanced tools
A Busser runner plugin for Serverspec
This is a FORK for copatinibility with Chef 12 and Ruby 2.3. Rename you test/integration/*/serverspec
to test/integration/*/serverspeclegacy
to use it.
ls -d1 test/integration/*/serverspec | xargs -I{} mv {}{,legacy}
The only difference with original gem is pinned install_gem('bundler', '~> 1.16.1')
in postinstall, credits to etherops, see the comment
This software project is no longer under active development as it has no active maintainers. The software may continue to work for some or all use cases, but issues filed in GitHub will most likely not be triaged. If a new maintainer is interested in working on this project please come chat with us in #test-kitchen on Chef Community Slack.
Please read the Busser plugin usage page for more details.
Please put test files into [COOKBOOK]/test/integration/[SUITES]/serverspeclegacy/
`-- test
`-- integration
`-- default
`-- serverspeclegacy
|-- Gemfile
|-- localhost
| `-- httpd_spec.rb
`-- spec_helper.rb
Gemfile
is optional. You can specify installing Serverspec version and install gems you need.
Globbing pattern to match files is "serverspeclegacy/*/*_spec.rb"
.
You need to use "_spec.rb"
(underscore), not "-spec.rb"
(minus).
If you have to specify Serverspec version, you can use Gemfile. Example Gemfile:
source 'https://rubygems.org'
gem 'serverspec', '< 2.0'
It runs on a target server for testing after ssh log in it.
So you need to specify set :backend, :exec
not set :backend, :ssh
(Serverspec v2).
If you use Serverspec v1, you need to specify include SpecInfra::Helper::Exec
not include SpecInfra::Helper::Ssh
.
Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)Created and maintained by HIGUCHI Daisuke (d-higuchi@creationline.com)
Apache 2.0 (see LICENSE)
FAQs
Unknown package
We found that busser-serverspeclegacy 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.