Remediation
From Azure Portalβ
- Go to the Azure Portal.
- Select
App Services
. - Click on an app.
- Select
Settings
and thenConfiguration
. - Under
General Settings
, for thePlatform Settings
, theFTP state
should be set toDisabled
orFTPS Only
.
From Azure CLIβ
For each out of compliance application, run the following choosing either disabled
or FtpsOnly
as appropriate:
az webapp config set --resource-group <resource group name> --name <app name> --ftps-state [disabled|FtpsOnly]
From PowerShellβ
For each out of compliance application, run the following:
Set-AzWebApp -ResourceGroupName <resource group name> -Name <app name> -FtpsState <Disabled or FtpsOnly>