0.2.93 • Published 12 months ago

npm-audit-plus-uis v0.2.93

Weekly downloads
-
License
AGPL-3.0-only
Repository
gitlab
Last release
12 months ago

NPM Audit+ UIS

Forked from https://github.com/freedomofpress/npm-audit-plus

NPM Audit+ UIS is a wrapper around NPM's built-in audit tool. It adds the following functionality:

  • Ignore particular advisories
  • Specify a project to audit
  • Output audit result as JUnit XML, compatible with many CI systems

Installation

Install globally:

npm install -g npm-audit-plus-uis

or install locally:

npm install npm-audit-plus-uis

Either works!

Usage

npm-audit-plus-uis --ignore=123,456 --xml             # If installed globally
$(npm bin)/npm-audit-plus-uis --ignore=123,456 --xml  # If installed locally

For more documentation on NPM Audit+'s flags, run

npm-audit-plus-uis --help             # If installed globally
$(npm bin)/npm-audit-plus-uis --help  # If installed locally

Other usage

npx npm-audit-plus-uis --production --xml # Ignore vulnerabilities in devDependencies
npx npm-audit-plus-uis --auditLevel critical --xml # Only exit with code non-zero on high and critical

Gitlab example

audit-npm:
  script:
    - npm ci
    - npx npm-audit-plus-uis --xml > npm-audit.junit.xml
  allow_failure: true
  artifacts:
    when: always
    paths:
      - '*.junit.xml'
    reports:
      junit: npm-audit.junit.xml
    expire_in: 1 day
0.2.93

12 months ago

0.2.91

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago