--- title: "Get Services and Regions" api: "GET /api/v1/findings/findings_services_regions" description: "Fetch services and regions affected in findings." --- This endpoint is deprecated. Please use alternative filtering methods for retrieving services and regions information. Retrieve a list of unique services and regions that have findings matching the specified criteria. This is useful for populating dynamic filters in user interfaces. ## Query Parameters ### Field Selection - `fields[finding-dynamic-filters]` - Specify which fields to return: `services`, `regions` ### Filtering The endpoint supports the same filtering options as the regular findings list endpoint to scope the services and regions returned. ## Example Request ```bash curl -X GET "https://api.prowler.com/api/v1/findings/findings_services_regions?filter[provider_type]=aws&filter[status]=FAIL" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/vnd.api+json" ``` ## Response ### Success Response (200 OK) Returns unique services and regions from findings: ```json { "data": { "type": "finding-dynamic-filters", "id": "filters", "attributes": { "services": ["s3", "ec2", "iam"], "regions": ["us-east-1", "us-west-2"] } } } ``` This endpoint is deprecated. Use `/api/v1/findings/metadata` or `/api/v1/findings/metadata/latest` instead.