Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the release date of components #494

Open
pachulo opened this issue Oct 31, 2019 · 4 comments
Open

Get the release date of components #494

pachulo opened this issue Oct 31, 2019 · 4 comments
Labels
enhancement New feature or request in triage p2 Non-critical bugs, and features that help organizations to identify and reduce risk

Comments

@pachulo
Copy link

pachulo commented Oct 31, 2019

Current Behavior:

Dependency-track does not show the release date for dependencies.

Proposed Behavior:

It would be great to have a column with the release date for every component.
With this information in place, being able to also set a threshold to warn when dependencies older than X are used, would also help us a lot.

I know that the information is available for packages on maven.org, in the “Updated” column. For example: https://search.maven.org/search?q=g:com.squareup.retrofit2%20AND%20a:adapter-rxjava&core=gav

And also on npmjs.org, as “Published date”. For example: https://www.npmjs.com/package/lodash

This is somehow related to #257 (comment), but I thought that it would get more visibility as a separate issue.

@pachulo pachulo added the enhancement New feature or request label Oct 31, 2019
@stevespringett
Copy link
Member

This information is already being tracked for some ecosystems. Not all repos include a published date.

https://github.com/DependencyTrack/dependency-track/blob/master/src/main/java/org/dependencytrack/tasks/repositories/RepositoryMetaAnalyzerTask.java#L94

So, it would be a matter of exposing this data for the ecosystems that support it and possibly integrate this with future policy work as well.

@stevespringett stevespringett added the p2 Non-critical bugs, and features that help organizations to identify and reduce risk label Oct 31, 2019
@msymons
Copy link
Member

msymons commented Oct 31, 2019

The addition of this enhancement really would open up scope for future policy work.

For instance, the component that is already running the latest version... but a policy could alert that this latest version is actually 8 years old.

@melba-lopez
Copy link
Contributor

@msymons is this still a P2? i for one would like this feature, but too much information can overwhelm a user. so if there was a policy dashboard that could enable this view that could help.

@an0nymisss
Copy link

Hi all, I have created a Python script that addresses this issue and fetches release dates for NPM, Maven, and PyPi.
I'm currently working on adding more integrations supported by DependencyTrack.
You can check out my script here: https://github.com/an0nymisss/SBOM-Analysis-DependencyTrack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in triage p2 Non-critical bugs, and features that help organizations to identify and reduce risk
Projects
None yet
Development

No branches or pull requests

5 participants