'Last report' date

I am running the community container edition of OpenVAS, and I have a question regarding the information displayed on the Task- and Reports pages. I have set up a scheduled test scan that runs every month. When this scan fails to run as planned, and the same scan executes according to the schedule the next month, the ‘Last Report’ date on both the Task- and Reports pages shows the incorrect date. Instead of displaying the date of the last successful scan, it shows the date of the failed attempt. However, when I manually restart a stopped/failed scan, the date of the last scan is correctly displayed on both pages.

For example:

  • Schedule: Run every month
  • Failed attempt: May 1, 2025
  • Successful scan: June 1, 2025
  • On the ‘Last Report’ column of the Task page, I expect to see June 1 2025, but instead, I see May 1 2025.

  • On the ‘Date’ column of the Reports page, I also expect to see June 1 2025, but again, I see May 1 2025.

  • The report itself always displays the correct date: June 1 2025.

Does anyone know why this issue occurs? I have restarted the containers, but the problem persists. I’m unsure if this is a bug or if I’m missing something. I’ve also noticed that there is a difference between the “created” date and the “modified” date of a scan (which appear on the a report, next to the report ID). This seems to have something to dot with the issue I am experiencing, but I can’t find any documentation on this topic.

You should check your scanner and GVMD logs first, there are many reasons why a scheduled scan is not working.

Thank you for your prompt reply, but that is not the issue

As I understand it, the report date reflects the timestamp of the most recent scan attempt, regardless of whether the scan was successful or not.

Eero

To illustrate this more clearly, I have attached an image to this threat.
In two specific cases, the report date reflects the timestamp of the most recent failed attempt instead of the date of the last successful scan. As shown in the attached image, the last failed scans for the first two tasks occurred on May 1 and May 2, 2025. These dates are displayed in the ‘Last Report’ column even though the scans ran successful later on, on June 1 and June 2, respectively.
Note how the date on the Report page is correct and reflects the timestamp of the most recent scan attempt