When I update a component's data I supply external references for the component, as specified in API spec for /v1/component endpoint. The update is processed and 200 OK is returned, but when I read the component again, I can see no external references.
Steps to Reproduce
Get component's data (without an external reference)
Add external reference(s) to the payload, i.e.:'[{"type": "website", "url": "https://some.host", "comment": "added with API"}]'
Execute POST on /v1/component with the payload
After successful execution, get the component's data again
There is no external reference supplied in the component's data retrieved
Current Behavior
When I update a component's data I supply external references for the component, as specified in API spec for
/v1/component
endpoint. The update is processed and 200 OK is returned, but when I read the component again, I can see no external references.Steps to Reproduce
'[{"type": "website", "url": "https://some.host", "comment": "added with API"}]'
/v1/component
with the payloadExpected Behavior
To have external reference updated, when supplied
Dependency-Track Version
4.10.x
Dependency-Track Distribution
Container Image
Database Server
N/A
Database Server Version
No response
Browser
N/A
Checklist