perf(api): optimize scan-compliance-overviews task (#11591)

This commit is contained in:
Pedro Martín
2026-06-16 10:48:55 +02:00
committed by GitHub
parent 94ce76d679
commit e419771b04
3 changed files with 342 additions and 211 deletions
+8
View File
@@ -16,6 +16,14 @@ All notable changes to the **Prowler API** are documented in this file.
---
## [1.31.2] (Prowler UNRELEASED)
### 🔄 Changed
- `scan-compliance-overviews` task now streams the findings aggregation and the requirement-row writes (reading the denormalized `resource_regions` instead of prefetching resources, and batching rows into COPY instead of building the full list first), so it runs faster and its peak memory no longer grows with the number of regions and frameworks — a previous worker OOM risk on large scans — with no change to the compliance overview output [(#11591)](https://github.com/prowler-cloud/prowler/pull/11591)
---
## [1.31.1] (Prowler v5.30.1)
### 🐞 Fixed