Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Deprecated, use cy6erskunk/npm-audit-reporter-teamcity instead

License

Notifications You must be signed in to change notification settings

cy6erskunk/nsp-reporter-teamcity

Repository files navigation

This package is deprecated since NSP was shut down in September 2018 (see blogpost for the details). Use npm-audit-reporter-teamcity instead.


nsp reporter for TeamCity

Build Status NPM version code style: prettier Conventional Commits

Generates TeamCity inspections from nsp report Demo report

Installation

  1. Install packages
npm i -D nsp nsp-reporter-teamcity

or, in case of yarn

npm i -D nsp nsp-reporter-teamcity nsp-preprocessor-yarn
  1. Add npm scripts to run checks locally and in a CI server, e.g.:
"nsp": "nsp check --preprocessor yarn",
"nsp:ci": "nsp check --reporter teamcity --preprocessor yarn"

(just drop --preprocessor yarn in case of npm)

  1. Configure build step in TeamCity e.g. Command Line runner with script to install dependencies and run checks:
yarn
yarn nsp:ci

Configuration

Put nsp.conf.json config file in a project root directory to override any of the dafault values:

{
  "nspInspectionTypeId": "nsp-security-inspection",
  "nspInspectionName": "NSP security inspection",
  "nspInspectionCategory": "security",
  "npsInspectionSeverity": "WARNING"
}

About

Deprecated, use cy6erskunk/npm-audit-reporter-teamcity instead

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published