Current Behavior
In contrast to other REST API endpoints (/v1/project, /v1/vulnerability/project/<uuid>, ...) the results of requests to the /v1/finding/project/<uuid> endpoint are supplied without pagination. For all other endpoints the combination of page and limit query provides paginated results.
Edit: the /v1/vulnerability endpoint is similarly affected.
Steps to Reproduce
curl -X 'GET' \
'https://dtrack.tld/api/v1/finding/project/<uuid>&page=2&limit=10' \
-H 'accept: application/json' \
-H 'X-Api-Key: '
Edit: fixed curl command
Expected Behavior
This endpoint should also provide pagination.
Dependency-Track Version
4.7.1
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
No response
Browser
N/A
Checklist
Current Behavior
In contrast to other REST API endpoints (
/v1/project,/v1/vulnerability/project/<uuid>, ...) the results of requests to the/v1/finding/project/<uuid>endpoint are supplied without pagination. For all other endpoints the combination ofpageandlimitquery provides paginated results.Edit: the
/v1/vulnerabilityendpoint is similarly affected.Steps to Reproduce
Edit: fixed curl command
Expected Behavior
This endpoint should also provide pagination.
Dependency-Track Version
4.7.1
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
No response
Browser
N/A
Checklist