0.2.3 • Published 5 years ago

npm-audit-to-issue v0.2.3

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

npm-audit-to-issue

This package creates a issue at Gitea if it detects npm security vulnerabilities. It is designed to be integrated into a CI workflow, using cron jobs to check for vulnerabilities on a regular basis.

Installation

npm i -g npm-audit-to-issue

Configuration

To interactively generate a environment variable:

npm-audit-to-issue

Once the environment variable is set, the same command will audit the npm package in the current directory, and create and maintain a issue accordingly.

Example CI script

The following commands can be used with a alpine docker image. It assumes the NPM_AUDIT_TO_ISSUE environment variable being set.

apk add nodejs npm
npm config set unsafe-perm true
npm install --global npm-audit-to-issue
npm-audit-to-issue

License

ISC

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago