Unable to filter components by outdated versions for components without namespace/group #4510
Closed
2 tasks done
Labels
Milestone
Current Behavior
When listing all the components of a given project using the
/v1/component/project/{uuid}
endpoint you can filter byonlyOutdated
to exclude recent components. However this won't show any outdated components which don't have the optionalgroup
field set. Java SBOMs will have this set as Java uses namespaces, but Python for instance doesn't. As a result you cannot filter Python projects to see only the outdated components as 0 get returned.Steps to Reproduce
trivy image -f cyclonedx -o netbox.cdx.json netboxcommunity/netbox:v4.1
Expected Behavior
28 outdated results returned, for items such as
click
Dependency-Track Version
4.12.2
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
13
Browser
N/A
Checklist
The text was updated successfully, but these errors were encountered: