repositorypackage
0.13.0
Repository: https://github.com/dependencytrack/client-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
client-go
Go client library for OWASP Dependency-Track
Introduction
client-go is a Go library to interact with Dependency-Track's REST API, making it easy to implement custom automation around Dependency-Track.
Example use-cases include:
- Interacting with Dependency-Track in CI/CD pipelines
- e.g. to implement quality gates, or generate build reports
- Uploading BOMs of various origins
- e.g. from all containers running in a Kubernetes cluster, see sbom-operator
- Reacting to Webhook notifications
- e.g. to automate analysis decisions on findings, see dtapac
- Reporting and tracking of portfolio metrics in specialized systems
- e.g. to expose metrics to time-series databases like Prometheus, see dependency-track-exporter
Installation
go get github.com/DependencyTrack/client-go
Compatibility
client-go Version | Go Version | Dependency-Track Version |
---|---|---|
v0.8.0 | 1.18+ | 4.0.0+ |
v0.9.0+ | 1.19+ | 4.0.0+ |
Usage
Please refer to the documentation.
API Coverage
client-go primarily covers those parts of the Dependency-Track API that the community has an explicit need for. If you'd like to use this library, and your desired functionality is not yet available, please consider creating a PR.