Skip to main content

๐Ÿง  Azure App Service HTTPS Only configuration is not enabled - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

Generated at: 2026-02-10T22:33:24.402640778Z Open

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

Generation Bundleโ€‹

FileMD5
Open/ce/ca/azure/app-service/https-only-configuration/policy.yaml427AC86728AD71F936886E30AAAE8C42
Open/ce/ca/azure/app-service/https-only-configuration/prod.logic.yaml08DDE374AAC1BA5815A09F7CDBE96DF9
Open/ce/ca/azure/app-service/https-only-configuration/test-data.json63358B91570A2973F0E6F089377704CA
Open/types/CA10__CaAzureAppService__c/object.extracts.yamlBA4130C0EACD0EA4C609D6BD75139054

Available Commandsโ€‹

repo-manager policies generate FULL /ce/ca/azure/app-service/https-only-configuration/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/app-service/https-only-configuration/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/app-service/https-only-configuration/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/app-service/https-only-configuration/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/app-service/https-only-configuration/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: "App Service HTTPS-only configuration is disabled."
remediationMessage: "Enable App Service HTTPS-only configuration."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__httpsOnly__c"
right:
TEXT: "Disabled"
- status: "COMPLIANT"
currentStateMessage: "App Service HTTPS-only configuration is enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__httpsOnly__c"
right:
TEXT: "Enabled"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected value in the field."