mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
|
# verdaccio-audit
|
||
|
|
||
|
🛡🔬 npmjs audit support for verdaccio
|
||
|
|
||
|
[](https://www.npmjs.com/package/verdaccio-audit)
|
||
|
[](https://snyk.io/test/github/verdaccio/verdaccio-audit?targetFile=package.json)
|
||
|
[](https://opencollective.com/verdaccio)
|
||
|
[](http://chat.verdaccio.org/)
|
||
|

|
||
|
[](https://www.npmjs.com/package/verdaccio-audit)
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
- verdaccio@3.x or higher
|
||
|
|
||
|
```
|
||
|
npm install --global verdaccio-audit
|
||
|
```
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
To enable it you need to add this to your configuration file.
|
||
|
|
||
|
```yaml
|
||
|
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)
|