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

Dashboard infomation not corrected after update from 4.10.0 to 4.12.4 #1170

Closed
2 tasks done
carloreggiani opened this issue Feb 19, 2025 · 5 comments · Fixed by #1171
Closed
2 tasks done

Dashboard infomation not corrected after update from 4.10.0 to 4.12.4 #1170

carloreggiani opened this issue Feb 19, 2025 · 5 comments · Fixed by #1171
Labels
defect Something isn't working p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort
Milestone

Comments

@carloreggiani
Copy link

Current Behavior

Hi

We updated from 4.10.0 to 4.12.4, and now the numbers for vulnerabilities (critical, high, medium) and Policy Violations shown in the dashboard are incorrect.

We tried to re-import the SBOM, but nothing changed.

There is any activity to manage to refresh the counters?

Steps to Reproduce

  1. update version (docker) from 4.10.0 to 4.12.4

Expected Behavior

Counters (total numbers) in the dashboard for Policy Violation and vulnerability criticality are correct after migration.

Dependency-Track Version

4.12.4

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

No response

Browser

Microsoft Edge

Checklist

@carloreggiani carloreggiani added defect Something isn't working in triage labels Feb 19, 2025
@nscuro
Copy link
Member

nscuro commented Feb 19, 2025

Can you elaborate on how "incorrect" manifests itself? Can you give an example as to how metrics are skewed?

Also, have you checked the logs for any errors? It could be that metrics updates are failing.

@carloreggiani
Copy link
Author

carloreggiani commented Feb 19, 2025 via email

@nscuro
Copy link
Member

nscuro commented Feb 19, 2025

It seems like you answered via email, and the attached screenshots did not make it to GitHub.

@carloreggiani
Copy link
Author

Sorry, I'm referring to the numbers in project detail: numbers in the colored circle for vulnerability counters and numbers (colored) for Policy Violations counters.

@msymons
Copy link
Member

msymons commented Feb 21, 2025

This seems to be the problem, tested in v4.12.4 and in v4.13.0-SNAPSHOT

As can be seen, there are 39 policy violations in total.... but no count displayed for the type (info/warn/fail):

Image

@msymons msymons added this to the 4.12.6 milestone Feb 21, 2025
@nscuro nscuro added p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort and removed pending more information labels Feb 23, 2025
@nscuro nscuro transferred this issue from DependencyTrack/dependency-track Feb 23, 2025
nscuro added a commit to nscuro/dependency-track-frontend that referenced this issue Feb 23, 2025
@nscuro nscuro closed this as completed in a032188 Feb 23, 2025
nscuro added a commit to nscuro/dependency-track-frontend that referenced this issue Feb 23, 2025
nscuro added a commit to nscuro/dependency-track-frontend that referenced this issue Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants