You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the default "Badge Viewers" team in Dependency Track, the API to retrieve a project's vulnerabilities badge (/v1/badge/vulns/project/:project/:version) returns 403. If the permission ACCESS_MANAGEMENT is added to that team, then it will work as expected.
Steps to Reproduce
Use the API Key from the default "Badge Viewers" to query the API /v1/badge/vulns/project/:project/:version
Server returns 403
Add the permission ACCESS_MANAGEMENT to the "Badge Viewers" team
Use the API Key from the default "Badge Viewers" to query the API /v1/badge/vulns/project/:project/:version
Server returns 200
Expected Behavior
API requests to retrieve badges should work with only VIEW_BADGE permission
Current Behavior
With the default "Badge Viewers" team in Dependency Track, the API to retrieve a project's vulnerabilities badge (
/v1/badge/vulns/project/:project/:version
) returns 403. If the permissionACCESS_MANAGEMENT
is added to that team, then it will work as expected.Steps to Reproduce
/v1/badge/vulns/project/:project/:version
ACCESS_MANAGEMENT
to the "Badge Viewers" team/v1/badge/vulns/project/:project/:version
Expected Behavior
API requests to retrieve badges should work with only
VIEW_BADGE
permissionDependency-Track Version
4.12.2
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
No response
Browser
N/A
Checklist
The text was updated successfully, but these errors were encountered: