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

Display "Last BOM Import" timestamp on project page #147

Closed
msymons opened this issue May 13, 2022 · 3 comments · Fixed by #360
Closed

Display "Last BOM Import" timestamp on project page #147

msymons opened this issue May 13, 2022 · 3 comments · Fixed by #360
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@msymons
Copy link
Member

msymons commented May 13, 2022

Current Behavior:

The projects screen has a (default) column displaying "Last BOM Import" for each individual project. The column is sortable and very useful for quickly seeing which projects have not had an import performed for a while. (eg, when a team switched from building a project in Jenkins to using Azure DevOps without incorporating BOM upload into the new pipeline).

This timestamp is not displayed on the project pages themselves. The "Last Measurement" timestamp is displayed. This is useful... but in this screenshot it is EIGHT months later than the last BOM Import.

image

The problem is compounded when one has navigated directly to the project page from a link in an email, Slack message, GitHub PR, etc. ie everything looks perfectly OK but it is not OK.. and the only way to see that there is a problem is to navigate to projects and then find the project there (and make sure that you do not accidentally mix up a version or even the project name itself).

Proposed Behavior:

  • Add "Last BOM Import" timestamp to each project page.
  • Suggest changing text for "Last Measurement" to "Last Analysis" to improve clarity
  • Suggest displaying "Last BOM Import" timestamp to the LEFT of "Last Analysis" ("Last Measurement") as this represents the normal flow... first we upload a BOM and then we analyze things.
@msymons msymons added the enhancement New feature or request label May 13, 2022
@syalioune
Copy link
Contributor

Great proposal. I was looking for a way to assess the freshness of my portfolio.
Besides the clarification on the date, what about giving the possibility to use "Last BOM import date" as an input for the Policy engine ? This way, one would be able to define freshness rules and alert on them if need be

@nscuro
Copy link
Member

nscuro commented Dec 12, 2022

In exchange with @msymons, this appears to be an acceptable MVP:

image

I'll raise a PR to implement it.

We also discussed (a while back) that it'd be useful to see a log or trend of BOM (and VEX) uploads. DT already tracks this information, the biggest challenge will be to display it in an easily digestible way.

@nscuro
Copy link
Member

nscuro commented Dec 12, 2022

RE:

Suggest changing text for "Last Measurement" to "Last Analysis" to improve clarity

That would cause even more confusion, as "measurement" is referring to metrics measurement, not the vulnerability analysis. Metrics are measured every hour, whereas the actual vulnerability analysis is taking place every 24 hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants