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

Wrong number of findings in home dashboard (inversion between created and date) #11000

Closed
1 of 3 tasks
Camille-Arsac opened this issue Oct 4, 2024 · 0 comments
Closed
1 of 3 tasks
Labels

Comments

@Camille-Arsac
Copy link

Camille-Arsac commented Oct 4, 2024

Bug description
On the DefectDojo home dashboard, the number displayed for “Last Seven Days” is not based on the correct date. The number displayed is based on the finding created date when it should be based on the finding date (these are two different dates (created and date)). As a result, when you click on the link to view the findings, you don't get the same number of findings.

Steps to reproduce
Steps to reproduce the behavior:

  1. Create a finding in the interface with a date more than 7 days old.
  2. Go to the home dashboard
  3. It will say 1 finding Last Seven Days in the red box, but if you click on the link you'll get 0 finding listed.

Expected behavior
The number displayed ( finding_count in the code) should be based on the date and not the created date.

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo

Environment information

  • V.2.38.4 (latest version at the time of writing this bug)

Logs
N/A

Sample scan files
N/A

Screenshots
Capture d'écran 2024-10-04 160104
Capture d'écran 2024-10-04 160138

Additional context (optional)
N/A

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

No branches or pull requests

2 participants