Skip to content
Plugin to integrate TrustSource (code compliance) with your PIP Package Manager
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ecs_pip_plugin
.gitignore
LICENSE
MANIFEST.in
README.md
_config.yml
ecs-pip-plugin
setup.cfg
setup.py

README.md

ecs-pip-plugin

The ecs-pip-plugin scans a Python project for all installed pip modules. The plugin parses import statements of all project's source files and recursively extracts the complete module dependency tree. The collected information is posted to the TrustSource (ECS) service.

Installation

Requirements

  • pip - is often already contained in the Python distribution but in some cases, please, follow the pip's installation instruction

Installation from a local folder

cd <path to the ecs-pip-plugin>
pip install ./ --process-dependency-links

Usage

ecs-pip-plugin <path to the project directory>

Requirements

  • ecs-plugin.json - settings file in the project's directory

Project settings (ecs-plugin.json)

  • project : String - project name
  • credentials : String [optional] - location of the file containing login information (userName and appKey) for the ECS service. Ignored: if a userName or appKey keys are present in the config file
  • userName : String - ECS login name
  • appKey : String - ECS key for apps
  • skipTransfer : Bool - outputs the scan results into the stdout without submitting to the ECS service

License

MIT

You can’t perform that action at this time.