run_waf_tests
Launch a WAF test harness and run nuclei templates to validate that CrowdSec rules trigger HTTP 403 blocks.
Instructions
Start the WAF harness and execute the provided nuclei test template against it. 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": {
"rule_yaml": "<rule_yaml>",
"nuclei_yaml": "<nuclei_yaml>"
},
"name": "run_waf_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_yaml | Yes | CrowdSec WAF rule YAML to load into the harness before running tests | |
| nuclei_yaml | Yes | Adapted nuclei template YAML that should trigger a block (HTTP 403) |