Skip to main content

🧠 AWS API Gateway REST API Stage is not associated with a WAF Web ACL - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-07T12:01:59.518266930Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ not(setOfText(['restApiStage']).contains(RecordType.DeveloperName))βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ extract('CA10__webAclArn__c').isEmpty()βœ”οΈ null
🟒test4βœ”οΈ 300βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/apigateway/rest-api-stage-waf-web-acl/policy.yaml286AF65A6336EBDE5D6AF9767625E939
Open/ce/ca/aws/apigateway/rest-api-stage-waf-web-acl/prod.logic.yaml4D08B96ECB0A6C69151BDAB3D7E42196
Open/ce/ca/aws/apigateway/rest-api-stage-waf-web-acl/test-data.jsonFE0F82F23B0ECDACC2E101DDDEDF808A
Open/types/CA10__CaAwsApiGatewayStage__c/object.extracts.yaml4C63240D980BDDAFE321E6FFAC8F9034

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/apigateway/rest-api-stage-waf-web-acl/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/apigateway/rest-api-stage-waf-web-acl/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/apigateway/rest-api-stage-waf-web-acl/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/apigateway/rest-api-stage-waf-web-acl/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/apigateway/rest-api-stage-waf-web-acl/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsApiGatewayStage__c"
importExtracts:
- file: "/types/CA10__CaAwsApiGatewayStage__c/object.extracts.yaml"
testData:
- file: test-data.json
recordTypes:
- "restApiStage"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The stage is not associated with a WAF Web ACL."
remediationMessage: "Consider associating a WAF Web ACL with an API Gateway Stage"
check:
IS_EMPTY:
arg:
EXTRACT: "CA10__webAclArn__c"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The stage is associated with a WAF Web ACL."