NPM Audit Version 7+
Note: This parser only supports import from NPM Audit v7 or newer.
Node Package Manager (NPM) Audit plugin output file can be imported in JSON format. Only imports the 'vulnerabilities' subtree.
File Types
This parser expects a JSON file. Can only import NPM Audit files from NPM Audit v7 or newer. It aims to provide the same information as the non-JSON formatted output.
Attempting to import a file from a version less than 7 of NPM Audit will raise an error message.
Command Used To Generate Output
Either of these commands will work:
- `npm audit –json`
- `npm audit fix –dry-run –json`
Sample Scan Data
Sample NPM Audit scans can be found here.
Link To Tool
See NPM-Audit-Report on GitHub: https://github.com/npm/npm-audit-report/
Last modified November 18, 2024: Merge pull request #11287 from DefectDojo/master-into-dev/2.40.2-2.41.0-dev (3b0fd30)