django-DefectDojo
django-DefectDojo copied to clipboard
Wrong Date in Finding Metrics
Be informative The closed date in the metrics is not the closed date but the date of the issue/bug.
Bug description When closing a issue the closed date under "Findings->Closed Findings" is correct but when looking at the metrics the diagram shows that 0 findings were closed. When filtering for older metrics the closed issue can be found with the close date being the date of finding. The same applies to e.g. Risk-Accept-Agreements.
Steps to reproduce Steps to reproduce the behavior:
- Open a new issue with an older date, e.g. March 09
- Close the issue or make a risk accept agreement with today date
- Look at metrics and you will see that 0 findings were closed or risk accepted
- Change the filter for the metrics so the date of point 1 is covered and apply it
- Now you can see that one finding was closed or the risk was agreed on with the date of the finding used in 1.
Expected behavior The closed date or date when the agreement was made should be used and not the date when the finding was found.
Deployment method (select with an X
)
- [ ] Docker Compose
- [X ] Kubernetes
- [ ] GoDojo
Environment information
- DefectDojo version 2.9.1