0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/plugins/audit
Simon Lorenz f96b147ea1
fix: resolves several issues of audit plugin (#2400)
* fixes an ssl error by correcting the host header
* fixes an `413 - entity too large` / `400 -Invalid compressed payload` error by
  explicitly setting the content-encoding header
* sends json body to remote registry
* adds new `/advisories/bulk` endpoint
* respects `strict_ssl` setting

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2021-09-02 22:24:31 +02:00
..
src fix: resolves several issues of audit plugin (#2400) 2021-09-02 22:24:31 +02:00
tests refactor: relocate verdaccio-audit plugin (#1976) 2021-04-09 17:54:22 +02:00
.babelrc refactor: relocate verdaccio-audit plugin (#1976) 2021-04-09 17:54:22 +02:00
CHANGELOG.md chore: update versions (alpha) (#2057) 2021-04-09 17:54:35 +02:00
jest.config.js refactor: relocate verdaccio-audit plugin (#1976) 2021-04-09 17:54:22 +02:00
LICENSE refactor: relocate verdaccio-audit plugin (#1976) 2021-04-09 17:54:22 +02:00
package.json Indiescripter/align website format lint configs (#2398) 2021-09-01 19:15:15 +02:00
README.md refactor: relocate verdaccio-audit plugin (#1976) 2021-04-09 17:54:22 +02:00
tsconfig.build.json refactor: relocate verdaccio-audit plugin (#1976) 2021-04-09 17:54:22 +02:00
tsconfig.json chore: add update-ts-references (#2168) 2021-04-09 17:54:44 +02:00

verdaccio-audit

🛡🔬 npmjs audit support for verdaccio

verdaccio (latest) Known Vulnerabilities backers discord MIT node

Requirements

  • verdaccio@3.x or higher
 npm install --global verdaccio-audit

Usage

To enable it you need to add this to your configuration file.

middlewares:
  audit:
    enabled: true
    strict_ssl: true # optional, defaults to true

Strict SSL

In some scenarios it may be necessary to disable SSL certificate validation. Setting strict_ssl to false will disable these checks, but will make all connections passing through this plugin inherently insecure.

Disclaimer

This plugin is experimental and unstable. Please report any issue you found.

License

MIT (http://www.opensource.org/licenses/mit-license.php)