manage_waf_stack
Start or stop a Docker-based CrowdSec AppSec test stack to validate WAF rules with allowed and blocked requests.
Instructions
Start or stop the Docker-based CrowdSec AppSec test stack so the rule can be exercised with allowed and blocked requests. If this action fails because docker isn't present or cannot be run, prompt the user to set it up manually.
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": {
"action": "<action>"
},
"name": "manage_waf_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Whether to start or stop the stack | |
| rule_yaml | No | WAF rule YAML content to mount into the stack when starting |