WAF ruleset from a log
waf_ruleset_from_lognginx, Caddy, Cloudflare, HAProxy or Apache rules for only the crawlers in your log. The reply warns that a UA rule stops only an honest client, and that impersonation is an address problem needing the published prefixes as an allowlist. Example: log='412 GPTBot/1.2', target='nginx', scope='ai-training'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | Yes | The log text. | |
| scope | No | A category (default ai-training), 'all-seen', 'impersonators', or a stance. | |
| action | No | Default block. | |
| target | No | Default nginx. |