--- 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."