Depency Track Node.js Module
Dependency Track Node.js Module makes integration with OWASP Dependency Track easier by enabling your pipeline automation to be 100% written in javascript.
Requirements
Node.js v8.0.0 or higher
Usage
Installing
npm install -g @dependecy-track/bom
Getting Help
$ dependency-track -hUsage: dependency-track [OPTIONS] [path]Options: -h - this help -u - upload the bom -f - findings, prints out some details of all of the current issues found in the scan -s - score, Get the Risk Score
Basic configuration
Property | Required | Default Value |
---|---|---|
dependencyTrackBaseUrl | true | N/A |
apiKey | true | N/A |
projectName | true | N/A |
projectVersion | true | N/A |
failOnError | false | false |
waitUntilBomProcessingComplete | false | false |
Example
dependency-track -u bom.xml --apiKey ABCDEXYZ --projectName 'Internet Banking' --projectVersion 1.0
License
Permission to modify and redistribute is granted under the terms of the Apache 2.0 license. See the LICENSE file for the full license.