DependencyTrack / DependencyTrack/dependency-track
API does not in general support updates. Only complete rewrites of object data.
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
When updating a component via the API POST request specifying only the needed attributes (uuid, name and for instance copyright) the result is that all other attributes are wiped.
### Proposed Behavior
Only the attributes specified in the request should be changed.
This request is specifically for the component object but the behavior should be available for all object types.
### Checklist
- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this enhancement was already requested
Contributor guide
Assessment
This issue has not been assessed yet.