Conversation
Contributor
|
✅ All necessary |
Contributor
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
Contributor
🔒 Container Security ScanImage: 📊 Vulnerability Summary
10 package(s) affected
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #9904 +/- ##
==========================================
+ Coverage 85.97% 93.09% +7.11%
==========================================
Files 222 197 -25
Lines 5689 26600 +20911
==========================================
+ Hits 4891 24762 +19871
- Misses 798 1838 +1040
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
AdriiiPRodri
approved these changes
Jan 28, 2026
20 tasks
HugoPBrito
pushed a commit
that referenced
this pull request
Jan 29, 2026
Hamza-abughazaleh
pushed a commit
to Raed-sh/prowler
that referenced
this pull request
Feb 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Review and clean up database indexes: drop unused ones, add a targeted partial index for a hot query path.
Dropped indexes
Partitioned tables (
0071— standardRemoveIndex, cascades to partitions):findings:gin_findings_search_idx,gin_find_service_idx,gin_find_region_idx,gin_find_rtype_idx,find_delta_new_idxresource_finding_mappings:rfm_tenant_finding_idxNon-partitioned tables (
0072—RemoveIndexConcurrentlyfor zero-downtime):resources:gin_resources_search_idxresource_tags:gin_resource_tags_search_idxscan_summaries:ss_tenant_scan_service_idxcompliance_overviews:comp_ov_cp_id_idx,comp_ov_req_fail_idx,comp_ov_cp_id_req_fail_idxresource_scan_summaries: implicitresource_idindex (viaSeparateDatabaseAndState+ raw SQL to allowDROP INDEX CONCURRENTLYon adb_index=Truefield)Added index
find_tenant_scan_fail_new_idxonfindings(tenant_id, scan_id) WHERE status='FAIL' AND delta='new'0073), then attached to parent (0074) to avoid full-table lockQuery plan after the new index
Bug fix
db_utils.create_index_on_partitions: useschema_editor.connectioninstead of bareconnectionimportChecklist
Community Checklist
SDK/CLI
UI
API
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.