generate_waf_rules
Generate WAF v2 Web ACL configuration with managed and custom rules
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"webAclName": "<webAclName>",
"scope": "<scope>"
},
"name": "generate_waf_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | WAF scope | |
| logging | No | WAF logging configuration | |
| rateLimit | No | Rate limit threshold per 5-minute period | |
| webAclName | Yes | WAF Web ACL name | |
| customRules | No | Custom WAF rule definitions | |
| geoRestriction | No | Blocked country codes | |
| managedRuleGroups | No | AWS managed rule group names |