'Security Posture Evolution' on Dashbord is showing incomplete data
Steps to Reproduce
- Prepare scans for at least two projects (accounts, subscriptions, etc). I've tested that on AWS accounts
- Next day prepare scan for single project only
- Run Prowler dashboard:
poetry run prowler dashboard
You can mock behavior by running scans for at least two projects, and copying/renaming one of reports to match next day timestamp, with editing YYYY-MM-DD dates inside of the file.
Expected behavior
Trends in 'Security Posture Evolution' show proper count for issues statuses for both days.
Actual Result with Screenshots or Logs
Trend shows only projects that last scan date matches date on graph. For example, if we have two projects scanned with following schema: Project A, 100 issues, scanned yesterday and today. Project B, 200 issues, scanned yesterday only.
Expect: 300 issues yesterday, 100 today. Actual: 200 issues yesterday, 100 today.
How did you install Prowler?
Docker (docker pull toniblyx/prowler)
Environment Resource
Locally with podman
OS used
Ubuntu 25.04, tested on Ubuntu 22.04 as well
Prowler version
Prowler 5.7.1
Pip version
pip 25.1.1 from /home/prowler/.local/lib/python3.12/site-packages/pip (python 3.12)
Context
No response
Hi @rsaladra!
I've just tried to replicate your issue and you're right. I'll talk with the team to see if this is expected or to come back with a solution.
Thanks for using Prowler! 🚀