Skip to content

Commit f58c1fd

Browse files
authored
fix(compliance): ignore conflicts with unique summaries (#9436)
1 parent c1bb51c commit f58c1fd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

api/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ All notable changes to the **Prowler API** are documented in this file.
1313

1414
---
1515

16+
## [1.15.2] (Prowler v5.14.2)
17+
18+
### Fixed
19+
- Unique constraint violation during compliance overviews task [(#9436)](https://github.com/prowler-cloud/prowler/pull/9436)
20+
21+
---
22+
1623
## [1.15.1] (Prowler v5.14.1)
1724

1825
### Fixed

api/src/backend/tasks/jobs/scan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def _create_compliance_summaries(
370370
if summary_objects:
371371
with rls_transaction(tenant_id):
372372
ComplianceOverviewSummary.objects.bulk_create(
373-
summary_objects, batch_size=500
373+
summary_objects, batch_size=500, ignore_conflicts=True
374374
)
375375

376376

0 commit comments

Comments
 (0)