Ripolin / dependency-track-node-module

Node module to enable our JS pipeline to integrate with dependency track

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js CI License Latest

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 -h
Usage:  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 for the current project
  -d        - delete, delete the current or any arbitrary project from the server
  -m        - metrics, Get and print all metrics from the server
  --version - print version number

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
batchMode 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.

About

Node module to enable our JS pipeline to integrate with dependency track

License:Apache License 2.0


Languages

Language:JavaScript 100.0%