Current Behavior
Using utilising api endpoint /api/v1/vulnerability/project/{project_id} offset query parameter doesn't work.
Changing offset parameter doesn't change output from endpoint.
Tested as well with query parameters limit & page and pageNumber & pageSize
When using offset query parameter in endpoint /api/v1/component/project/{project_id} endpoint works as expected.
Steps to Reproduce
- Create project
- Upload SBOM file containing components having vulnerabilities
- Call
/api/v1/vulnerability/project/{project_id} with offset=0
- Call
/api/v1/vulnerability/project/{project_id} with offset=1
- Compare response
Expected Behavior
If project contains vulnerabilities then response from third and fourth step should be different
Dependency-Track Version
4.8.2
Dependency-Track Distribution
Container Image
Database Server
N/A
Database Server Version
No response
Browser
N/A
Checklist
Current Behavior
Using utilising api endpoint
/api/v1/vulnerability/project/{project_id}offsetquery parameter doesn't work.Changing
offsetparameter doesn't change output from endpoint.Tested as well with query parameters
limit&pageandpageNumber&pageSizeWhen using
offsetquery parameter in endpoint/api/v1/component/project/{project_id}endpoint works as expected.Steps to Reproduce
/api/v1/vulnerability/project/{project_id}withoffset=0/api/v1/vulnerability/project/{project_id}withoffset=1Expected Behavior
If project contains vulnerabilities then response from third and fourth step should be different
Dependency-Track Version
4.8.2
Dependency-Track Distribution
Container Image
Database Server
N/A
Database Server Version
No response
Browser
N/A
Checklist