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

This commit is contained in:
Víctor Fernández Poyatos
2025-12-03 15:37:04 +01:00
committed by GitHub
parent c1bb51cf1a
commit f58c1fddfb
2 changed files with 8 additions and 1 deletions

View File

@@ -13,6 +13,13 @@ 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

View File

@@ -370,7 +370,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
)