Checks/Azure/Test-PostgresqlFlexibleServerAllowAccessServicesDisabled.ps1
|
function Test-PostgresqlFlexibleServerAllowAccessServicesDisabled { <# .SYNOPSIS PostgreSQL flexible server has 'Allow public access from any Azure service' disabled .DESCRIPTION **Azure Database for PostgreSQL Flexible Server** firewall should not include the rule that allows connections from **any Azure service**, represented by `start_ip=0.0.0.0` and `end_ip=0.0.0.0`. .PARAMETER Check CIEMCheck object containing check metadata. #> [CmdletBinding()] [OutputType([PSCustomObject[]])] param( [Parameter(Mandatory)] [CIEMCheck]$Check ) $ErrorActionPreference = 'Stop' # TODO: Implement check logic based on Prowler check: postgresql_flexible_server_allow_access_services_disabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check postgresql_flexible_server_allow_access_services_disabled for reference.', 'N/A', 'postgresql Resources') } |