Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/revathskumar/npm-audit-ci
https://github.com/revathskumar/npm-audit-ci
audit ci continuous-integration npm
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/revathskumar/npm-audit-ci
- Owner: revathskumar
- License: mit
- Created: 2018-05-21T18:44:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T15:15:51.000Z (almost 2 years ago)
- Last Synced: 2024-11-11T20:48:05.345Z (about 1 month ago)
- Topics: audit, ci, continuous-integration, npm
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/npm-audit-ci
- Size: 563 KB
- Stars: 18
- Watchers: 3
- Forks: 7
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
npm audit ci [![Build Status](https://travis-ci.org/revathskumar/npm-audit-ci.svg?branch=master)](https://travis-ci.org/revathskumar/npm-audit-ci)
======================Commandline utility which exit the process with code 1, for the given criteria of vulnerabilities
Useful to make CI build fail when vulnerabilities are found or use to send alert using another tool.
### Usage
```
npm install -g npm-audit-ci
``````
› npm-audit-ci --help
Options:
--version Show version number [boolean]
-l, --low Exit even for low vulnerabilities [boolean] [default: false]
-m, --moderate Exit only when moderate or above vulnerabilities
[boolean] [default: false]
-h, --high Exit only when high or above vulnerabilities
[boolean] [default: false]
-c, --critical Exit only for critical vulnerabilities
[boolean] [default: true]
-r, --report Show npm audit report [boolean] [default: false]
--registry Use the specified registry for npm audit. If you have
configured npm to point to a different default registry, such
as your internal private module repository, npm audit will
default to that registry when scanning. Pass a different
registry url in order to override this setting. [string]
--help Show help [boolean]
```License
-------
Please see [License](https://github.com/revathskumar/npm-audit-ci/blob/master/License)