client-go
client-go copied to clipboard
Go client library for OWASP Dependency-Track
ComponentService.GetAll() returns (p Page[Component], err error). The structure of client-go's `dtrack.Component` is not the same as what the API server returns (although it matches the API server OpenAPI spec.) The...
components/graph endpoint support additional fields on component additional field on PageOptions to provide query string
The client is missing the Get Vulnerability Specification by source and id. This PR adds such functionality.
This PR adds the newly [v4.10.0](https://docs.dependencytrack.org/changelog/) introduced Repository field 'authenticationRequired' which is required by the backend. Also the Repository type GITHUB is added.
This PR introduces a custom marshaller function for the Project type. It essentially allows for matching types with Dependency Track itself, which seems to allow nil values for their "Last...
First, thanks for client-go, it's super useful. I'd like to report an oddity when creating a Project type. If I'm creating a project as an organizational unit (say as a...
Previously if the dependency-track baseURL was under a subpath, client-go would ignore that subpath and therefore perform requests to nonexisting urls. The reason for the defect is the behavior of...
Fix: make Policy.IncludeChildren and Policy.Global tri-state (*bool) so explicit false is serialized
### Summary This PR changes two Policy fields in the Go client. **Rationale**: with omitempty on non-pointer booleans, an explicit false is dropped from JSON, which prevents API callers from...