iamhalje / defectdojo-exporter

Collects Prometheus metrics for vulnerabilities of each product in DefectDojo
MIT License
5 stars 0 forks source link

Vulnerability Metrics Collector from DefectDojo

Metrics

The application collects and exposes the following metrics:

Lables

Configuration

The application uses a configuration file, config.yaml, which provides necessary details for connecting to DefectDojo and configuring the HTTP server. You can specify the path to the configuration file using the --config flag.

# API token used to authenticate with DefectDojo
DD_TOKEN: "kyead0535e212ae08d1d8287085dcccef1af53le"

# URL of the DefectDojo instance to collect metrics from
DD_URL: "https://defectdojo.com"

# Port number for exposing the metrics endpoint
PORT: 8080

Running

By default, the application looks for config.yaml in the current directory if the --config flag is not provided.

./defectdojo-exporter --config dd-exporter.yaml