DependencyTrack / frontend

Frontend UI for Dependency-Track
https://dependencytrack.org/
Apache License 2.0
100 stars 146 forks source link

Display publish date (if available) in component details #399

Open nscuro opened 1 year ago

nscuro commented 1 year ago

Current Behavior

Dependency-Track can retrieve the publish date for components by looking them up in external package repositories like Maven Central.

Currently, the UI only displays a small indicator if a component is not the newest available version. The UI does not currently show the components actual age.

With #398, it will be possible to define policies for component age. This will cause policy violations to be generated whenever a component exceeds a certain age, but users will not be able to see how old the respective components actually are.

Proposed Behavior

We should display the component age in the UI, given we have this information.

There should probably be a disclaimer that this date reflects when the component was last published or modified, and not necessarily when it was released. If organizations upload legacy libraries to their internal repository, the publish date we get will be misleading.

Checklist

msymons commented 3 months ago

The publish date should be displayed as a sortable (and optional) column on the project component tab. In a project with hundreds of components, the date would be really hard to work with if the column were not sortable.

Use cases

If publish date is also available on the /components screen then another use would be: