Skip to content

Plugin to integrate TrustSource (code compliance) with Bundler

License

Notifications You must be signed in to change notification settings

eacg-gmbh/ecs-bundler

Repository files navigation

TrustSource Bundler Plugin

Gem Version

Gem to transfer dependency information to TrustSource Service (Open Source Code Compliance and Vulnerability analysis). See https://www.trustsource.io for more information or create a free account at https://app.trustsource.io.

Installation

Add this line to your application's Gemfile:

gem 'ecs_bundler'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ecs_bundler

To store your credentials for automated transfer you may create .ecsrc.json in your project directory or in your home directory to set credentials globally (not recommended!)

.ecsrc.json example:

{
  "userName": "UserName",
  "apiKey": "apiKey",
  "url": "url",
  "project": "Project Description"
}

Usage

You also may initiate transfer to ECS server manually by executing following command via terminal:

ecs_bundler
ecs_bundler -u userName -k apiKey -p Project 
ecs_bundler -c config.json
Usage: ecs_bundler [switches|options]
Switches:
   --help (-h) - display this help message
   --version - display version string
Options:
   --apiKey (-k) - api key
   --userName (-u) - user name
   --url - Base url
   --project (-p) - Project name
   --config (-c) - Config path

You also may initiate transfer to ECS server manually by executing following command in rake task or any other place:

ECSBundler.run

About

Plugin to integrate TrustSource (code compliance) with Bundler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages