Skip to content

Issue on Closed Findings Metrics #12399

@X0x1RG9f

Description

@X0x1RG9f

Bug description
Closed Findings metrics (https://demo.defectdojo.org/metrics?date=5&view=dashboard) does not correspond to the real closed findings. After a short analysis, it seems that the list of closed findings of 2025 (for example) only calculates findings closed on 2025 AND opened on 2025.

Steps to reproduce
Steps to reproduce the behavior:

  1. Open a finding with a date in 2022
  2. Close the same finding today
  3. Navigate to the metric page, the closed finding won't be appearing as closed this year.

Expected behavior
Closed findings metrics should not depends on opening date, but only on closed date. If finding is closed today, it should be included in the stats even if opened 4 years ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions