fix: make scan_id mandatory in compliance overviews endpoint (#9560)

This commit is contained in:
Adrián Peña
2025-12-15 17:27:45 +01:00
committed by GitHub
parent 79ac7cf6d4
commit b549c8dbad
2 changed files with 4 additions and 7 deletions

View File

@@ -11,14 +11,11 @@ All notable changes to the **Prowler API** are documented in this file.
### Changed
- Endpoint `GET /overviews/attack-surfaces` no longer returns the related check IDs [(#9529)](https://github.com/prowler-cloud/prowler/pull/9529)
- OpenAI provider to only load chat-compatible models with tool calling support [(#9523)](https://github.com/prowler-cloud/prowler/pull/9523)
---
## [1.16.2] (Prowler v5.15.2)
### Changed
- Increased execution delay for the first scheduled scan tasks to 5 seconds[(#9558)](https://github.com/prowler-cloud/prowler/pull/9558)
### Fixed
- Make `scan_id` a required filter in the compliance overview endpoint [(#9560)](https://github.com/prowler-cloud/prowler/pull/9560)
---
## [1.16.1] (Prowler v5.15.1)

View File

@@ -769,7 +769,7 @@ class RoleFilter(FilterSet):
class ComplianceOverviewFilter(FilterSet):
inserted_at = DateFilter(field_name="inserted_at", lookup_expr="date")
scan_id = UUIDFilter(field_name="scan_id")
scan_id = UUIDFilter(field_name="scan_id", required=True)
region = CharFilter(field_name="region")
class Meta: