๐ง Azure App Service FTP deployments are not disabled - prod.logic.yaml๐ข
- Contextual name: ๐ง prod.logic.yaml๐ข
- ID:
/ce/ca/azure/app-service/disable-ftp-deployments/prod.logic.yaml - Tags:
- ๐ข Logic test success
- ๐ข Logic with extracts
- ๐ข Logic with test data
Usesโ
Test Results ๐ขโ
Generated at: 2026-05-09T12:04:09.043159465Z Open
| Result | Id | Condition Index | Condition Text | Runtime 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โ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/azure/app-service/disable-ftp-deployments/policy.yaml | ED34AAD8129D544A7142C96FFC9592CE |
| Open | /ce/ca/azure/app-service/disable-ftp-deployments/prod.logic.yaml | E849ECA43EF7FD8B29F16F1911007811 |
| Open | /ce/ca/azure/app-service/disable-ftp-deployments/test-data.json | 57C05BD4F72E4D826CFAA3DA5BBE39C2 |
| Open | /types/CA10__CaAzureAppService__c/object.extracts.yaml | BA4130C0EACD0EA4C609D6BD75139054 |
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โ
---
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."