Skip to main content

🧠 Azure Application Gateway WAF policy Request body inspection property is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-06-06T12:03:32.969248618Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒001βœ”οΈ 199βœ”οΈ CA10Z1__Azure_App_Gateway_WAF_Policy_Links__r.has(INCOMPLIANT)βœ”οΈ null
🟒002βœ”οΈ 299βœ”οΈ CA10Z1__Azure_App_Gateway_WAF_Policy_Links__r.has(COMPLIANT)βœ”οΈ null
🟒003βœ”οΈ 300βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/azure/application-gateway/gateway-waf-request-body-inspection/policy.yaml46F35B851810FAB0E16CC80F347E036A
Open/ce/ca/azure/application-gateway/gateway-waf-request-body-inspection/prod.logic.yamlDB23C44A54CE3EA6FDFFFE0B5553D62A
Open/ce/ca/azure/application-gateway/gateway-waf-request-body-inspection/test-data.json2F8AC5E944ED3AEB229DF5C2712451BA
Open/types/CA10Z1__CaAzureApplicationGatewayWafPolicy__c/object.extracts.yaml1203B501EE9251441BCA934785DC7D22

Available Commands​

repo-manager policies generate FULL /ce/ca/azure/application-gateway/gateway-waf-request-body-inspection/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/application-gateway/gateway-waf-request-body-inspection/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/application-gateway/gateway-waf-request-body-inspection/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/application-gateway/gateway-waf-request-body-inspection/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/application-gateway/gateway-waf-request-body-inspection/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAzureApplicationGateway__c"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The Application Gateway has a WAF policy with request body inspection disabled."
remediationMessage: "Enable request body inspection in the WAF policy."
check:
RELATED_LIST_HAS:
status: "INCOMPLIANT"
relationshipName: "CA10Z1__Azure_App_Gateway_WAF_Policy_Links__r"
- status: "COMPLIANT"
currentStateMessage: "The WAF Policy request body inspection is enabled."
check:
RELATED_LIST_HAS:
status: "COMPLIANT"
relationshipName: "CA10Z1__Azure_App_Gateway_WAF_Policy_Links__r"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "The Application Gateway has a WAF policy without a populated requestBodyCheck setting."
relatedLists:
- relationshipName: "CA10Z1__Azure_App_Gateway_WAF_Policy_Links__r"
importExtracts:
- file: /types/CA10Z1__CaAzureApplicationGatewayWafPolicy__c/object.extracts.yaml
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The WAF policy has requestBodyCheck disabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10Z1__wafPolicy__r.caJsonBoolean__policySettingsRequestBodyCheck__c"
right:
BOOLEAN: false
- status: "COMPLIANT"
currentStateMessage: "The WAF policy has requestBodyCheck enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10Z1__wafPolicy__r.caJsonBoolean__policySettingsRequestBodyCheck__c"
right:
BOOLEAN: true
otherwise:
status: "UNDETERMINED"
currentStateMessage: "The WAF policy requestBodyCheck value is undetermined."