Checks/Azure/Test-AppFtpDeploymentDisabled.ps1
|
function Test-AppFtpDeploymentDisabled { <# .SYNOPSIS App Service web app has FTP disabled or FTPS-only enforced .DESCRIPTION **Azure App Service web apps** are evaluated for **FTP exposure** via the `ftpsState` setting. Values `FtpsOnly` or `Disabled` indicate FTP is not allowed; `AllAllowed` means both FTP and FTPS are accepted. .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: app_ftp_deployment_disabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check app_ftp_deployment_disabled for reference.', 'N/A', 'app Resources') } |