mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-11 14:04:17 +00:00
Address 3 product blockers from Pepe's review: - Add sort=-status to getFindingGroupResources and getLatestFindingGroupResources so FAIL resources appear before PASS in the drill-down list (sort kept as future-proofing even when filter[status]=FAIL makes it a no-op for now) - Add filter[status]=FAIL to both resource endpoints so drill-down only shows impacted resources, matching the count in the group header - Add filter[status]=FAIL to createResourceFindingResolutionUrl so muting a group only affects active FAIL findings, not all historical - Use .set() after appendSanitizedProviderFilters to guarantee hardcoded FAIL wins even if caller passes filter[status] in filters (prevents duplicate filter[status] params with undefined API behavior) - Apply symmetric .set() pattern in findings-by-resource.ts for consistency 26 tests (10 new). All passing. Judgment Day: 2 rounds, 0 discrepancies remaining.