fix(compliance): ignore conflicts with unique summaries (#9437)

Co-authored-by: Víctor Fernández Poyatos <victor@prowler.com>
This commit is contained in:
Prowler Bot
2025-12-03 16:07:30 +01:00
committed by GitHub
parent 6ce948b865
commit 99678b723d
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -2,6 +2,14 @@
All notable changes to the **Prowler API** are documented in this file.
## [1.15.2] (Prowler v5.14.2)
### Fixed
- Unique constraint violation during compliance overviews task [(#9436)](https://github.com/prowler-cloud/prowler/pull/9436)
---
## [1.15.1] (Prowler v5.14.1)
### Fixed
+1 -1
View File
@@ -330,7 +330,7 @@ def _create_compliance_summaries(
if summary_objects:
with rls_transaction(tenant_id):
ComplianceOverviewSummary.objects.bulk_create(
summary_objects, batch_size=500
summary_objects, batch_size=500, ignore_conflicts=True
)