/pie-my-vulns

Visualize your project security vulnerabilities as a pie chart in the terminal

Primary LanguageJavaScriptApache License 2.0Apache-2.0

pie-my-vulns

Visualize your project security vulnerabilities as a pie chart in the terminal

npm version license downloads build codecov Known Vulnerabilities Responsible Disclosure Policy

Screenshot of npm module called pie-my-vulns that draws pie charts in the terminal reflecting security vulnerabilities found in JavaScript and Node.js projects based on Snyk vulnerability database

Many thanks to for supporting open source security

About

Visualize your project security vulnerabilities as a pie chart in the terminal

Usage

Command line

Using Node.js's npx command to run a one-off scan inside a project's directory:

npx pie-my-vulns

To scan a specific project directory use the --directory option, for example:

npx pie-my-vulns --directory=path/to/project/dir

To pipe existing Snyk json (obtained via snyk test --json) through stdin

cat snyk.json | npx pie-my-vulns

Docker container

Using docker to run a one-off scan inside a docker container. Pass the directory to scan to the source environment variable:

docker run --mount type=bind,source=<project-directory-to-scan>,target=/tmp/tested-app pie-my-vulns

Install

You can install globally via:

npm install -g pie-my-vulns

Contributing

Please consult CONTRIBUTING for guidelines on contributing to this project.

Author

pie-my-vulns © Liran Tal, Released under the Apache-2.0 License.