Skip to main content

๐Ÿง  Azure App Service FTP deployments are not disabled - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

Generated at: 2026-05-09T12:04:09.043159465Z Open

ResultIdCondition IndexCondition TextRuntime Error
๐ŸŸขtest1โœ”๏ธ 99โœ”๏ธ isDisappeared(CA10__disappearanceTime__c)โœ”๏ธ null
๐ŸŸขtest2โœ”๏ธ 199โœ”๏ธ extract('CA10__configFtpsState__c') == 'AllAllowed'โœ”๏ธ null
๐ŸŸขtest3โœ”๏ธ 299โœ”๏ธ extract('CA10__configFtpsState__c') == 'Disabled'โœ”๏ธ null
๐ŸŸขtest4โœ”๏ธ 399โœ”๏ธ extract('CA10__configFtpsState__c') == 'FtpsOnly'โœ”๏ธ null

Generation Bundleโ€‹

FileMD5
Open/ce/ca/azure/app-service/disable-ftp-deployments/policy.yamlED34AAD8129D544A7142C96FFC9592CE
Open/ce/ca/azure/app-service/disable-ftp-deployments/prod.logic.yamlE849ECA43EF7FD8B29F16F1911007811
Open/ce/ca/azure/app-service/disable-ftp-deployments/test-data.json57C05BD4F72E4D826CFAA3DA5BBE39C2
Open/types/CA10__CaAzureAppService__c/object.extracts.yamlBA4130C0EACD0EA4C609D6BD75139054

Available Commandsโ€‹

repo-manager policies generate FULL /ce/ca/azure/app-service/disable-ftp-deployments/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/app-service/disable-ftp-deployments/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/app-service/disable-ftp-deployments/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/app-service/disable-ftp-deployments/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/app-service/disable-ftp-deployments/prod.logic.yaml

Contentโ€‹

Open File

---
inputType: "CA10__CaAzureAppService__c"
importExtracts:
- file: "/types/CA10__CaAzureAppService__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The App Service FTPS state is set to AllAllowed."
remediationMessage: "Set the FTPS state to Disabled or FtpsOnly."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__configFtpsState__c"
right:
TEXT: "AllAllowed"
- status: "COMPLIANT"
currentStateMessage: "The App Service FTPS state is set to Disabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__configFtpsState__c"
right:
TEXT: "Disabled"
- status: "COMPLIANT"
currentStateMessage: "The App Service FTPS state is set to FtpsOnly."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__configFtpsState__c"
right:
TEXT: "FtpsOnly"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected value in the field."