DependencyTrack / DependencyTrack/dependency-track

v1/vulnerability/{uuid} does not return aliases anymore

Open
#4,804 4 comments 0 reactions 0 assignees View on GitHub
api docs api-inconsistency defect p2 size/M
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

Aliases are not returned in the specified endpoint. There are vastly more details returned from `vulnerability/source/{source}/vuln/{id}`, which means doubling the API calls in some cases. This seems to be a regression that appeared some time within 4.12.x.

### Steps to Reproduce

Query the endpoint.

### Expected Behavior

At least aliases should be returned. Even better would be content equivalence between both endpoints.

### Dependency-Track Version

4.12.7

### Dependency-Track Distribution

Container Image

### Database Server

PostgreSQL

### Database Server Version

16.6

### Browser

N/A

### 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 defect was already reported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.