Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lirantal/pie-my-vulns

Visualize your project security vulnerabilities as a pie chart in the terminal
https://github.com/lirantal/pie-my-vulns

nodejs npm npx security security-tools snyk

Last synced: 4 days ago
JSON representation

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

Awesome Lists containing this project

README

        


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:

```bash
npx pie-my-vulns
```

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

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

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

```bash
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=,target=/tmp/tested-app pie-my-vulns
```

# Install

You can install globally via:

```bash
npm install -g pie-my-vulns
```

# Contributing

Please consult [CONTRIBUTING](./CONTRIBUTING.md) for guidelines on contributing to this project.

# Author

**pie-my-vulns** © [Liran Tal](https://github.com/lirantal), Released under the [Apache-2.0](./LICENSE) License.