# We turned on the AWS WAF Bot Control managed rule group in front of our CloudFront site and our AI search referrals dropped. Does Bot Control block AI crawlers even when they're verified, and how do we let one AI crawler or a Web Bot Auth signed agent through without opening the door to everything that claims to be one?

**Short answer:** Yes, by default. In the AWS WAF Bot Control rule group, the category rules (search engine, SEO, monitoring and so on) block only unverified bots, and verified bots just get labelled. CategoryAI is the exception: AWS documents that it applies its Block action to every AI bot it matches, verified or not. Two things change that. First, from static Version_4.0 (changelog dated November 20, 2025), Bot Control checks Web Bot Auth signatures, and a request labelled web_bot_auth:verified is not matched by CategoryAI or TGT_TokenAbsent; Version_6.0 (May 22, 2026) treats such bots as standard verified bots in every category. Static versions must be selected explicitly; the default version doesn't change. Second, you can override CategoryAI to Count and add your own label rule after the group that blocks AI bots except the ones you name, ideally only when they also carry the bot:verified label.

## Checklist
1. Find what is blocking: in your web ACL logs, the terminatingRule fields name the Bot Control rule. For AI crawlers it is usually CategoryAI.
2. If you want signed agents through, explicitly select static Version_4.0 or later of AWSManagedRulesBotControlRuleSet (Version_6.0 or later for Regional resources and for verified treatment in every category). The default version won't pick it up.
3. Override CategoryAI to Count in the rule group configuration, so it still adds its labels but stops blocking.
4. Add a label match rule after the rule group that blocks awswaf:managed:aws:bot-control:bot:category:ai unless the request also has bot:verified and the bot:name label of the crawler you want.
5. Don't allow on bot:unverified, user_triggered:verified or developer_platform:verified. AWS says unverified signatures can be falsified, and the other two are treated like unverified bots.
6. If CloudFront isn't the first hop (a proxy or load balancer sits in front), note that Bot Control verifies on the request's origin IP and can't use the forwarded IP setting; add an earlier rule for that case.
7. Recheck your logs after the change to confirm the crawler is allowed and the rest are still blocked.

## Why does AWS WAF Bot Control block AI crawlers even when they're verified?
- The AWS WAF Bot Control rule group (AWSManagedRulesBotControlRuleSet) labels each bot it recognises with its category, name and, where known, organization. For most categories, such as CategorySearchEngine, CategorySeo or CategoryMonitoring, the rule action is Block for unverified bots only: a verified bot isn't matched and just gets the label awswaf:managed:aws:bot-control:bot:verified.
- CategoryAI works differently. AWS's rule list says it 'applies the action to all matches, regardless of whether the bots are verified or unverified', with the action Block and the labels bot:category:ai and CategoryAI. So turning on Bot Control with the default rule actions blocks AI crawlers that Bot Control has positively identified, which is why AI search and assistant fetches can drop when you enable it.
- AWS also distinguishes bot:unverified (a bot that names itself but doesn't publish anything that lets it be independently verified; AWS says such signatures can be falsified), user_triggered:verified (similar to a verified bot but possibly invoked directly by end users) and developer_platform:verified (used by developer platforms for scripting, for example Google Apps Script). The last two are treated by the rules like unverified bots.

## What does Web Bot Auth change in AWS WAF Bot Control?
- AWS's Bot Control overview says Bot Control supports Web Bot Authentication (WBA) as a cryptographic verification method for bots and AI agents, for CloudFront distributions and Regional resources in the commercial AWS Regions, and requires Version_4.0 or later, which must be selected explicitly. The Managed Rules changelog shows Version_4.0 (November 20, 2025) added WBA verification on CloudFront and changed CategoryAI and TGT_TokenAbsent so they don't match requests labelled web_bot_auth:verified, and Version_6.0 (May 22, 2026) extended WBA to Regional integrations and treats WBA-verified bots as standard verified bots for all categories, not only AI.
- The result is written as a label: web_bot_auth:verified (the signature validated against the public key directory), web_bot_auth:invalid (a signature was present but validation didn't succeed), web_bot_auth:expired (the key was expired) or web_bot_auth:unknown_bot (the key ID wasn't in the directory). Bot Control also adds bot:name:<rfc_name> from the product token in the WBA signature, so you can write rules for one signed bot. For agents running on Amazon Bedrock AgentCore it adds bot:vendor and bot:account:<hash>, an opaque hash of the owning AWS account.
- Only the verified label lets a signed agent past CategoryAI. Invalid, expired and unknown signatures don't, so a client that copies a real agent's user-agent string and headers without the private key gets no benefit.

## How do you allow one AI crawler in AWS WAF without allowing every bot that claims to be it?
- AWS's 'Allowing a specific blocked bot' example sets the blocking rule's action to Count inside the managed rule group (the rule still adds its labels) and then adds a label match rule after the group that blocks the category except the bot you want, using pingdom and CategoryMonitoring as the example. For AI crawlers, apply the same pattern to CategoryAI: block bot:category:ai unless the request also has bot:verified and the bot:name label of the crawler you allow.
- Keying on bot:verified matters because the name label alone comes from what the request says about itself. AWS notes Bot Control determines verification from the IP address of the web request origin and can't be pointed at a forwarded IP header; if verified bots reach you through a proxy or load balancer, add a rule before the Bot Control group that uses the forwarded IP and explicitly allows them.
- Labels are only available to rules that run after the rule group, and they're recorded in CloudWatch metrics and web ACL logs, so you can watch what each change does. You can list every label the group can add with DescribeManagedRuleGroup (AvailableLabels). Bot Control is charged in addition to standard AWS WAF fees.

## Ask Rightshold (free, no key)
Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code (one-click setup: https://www.rightshold.com/start?ref=seo), then ask: "A request to my CloudFront site says it's an AI agent and carries Signature headers. Before I add it to my AWS WAF allow rule, does its Web Bot Auth signature verify, and which signer is it?"

```json
{
  "tool": "gate_check",
  "arguments": {
    "policy": {
      "require_web_bot_auth": true
    },
    "request": {
      "method": "GET",
      "url": "<the requested URL>",
      "headers": {
        "user-agent": "<as received>",
        "signature-agent": "<as received>",
        "signature-input": "<as received>",
        "signature": "<as received>"
      }
    }
  }
}
```
- Free, no key. It resolves the signer's HTTPS key directory, verifies the Web Bot Auth signature and returns allow or deny with reasons and the signer it resolved, which you can compare with the bot:name label AWS WAF logged.
- It checks one request you paste in; it doesn't read your AWS WAF labels or logs or change your web ACL. Keep the allow rule in AWS WAF keyed on bot:verified.

_Rightshold isn't affiliated with Amazon Web Services and can't see your web ACL, labels or logs. Rule behaviour is as AWS's Developer Guide pages on the Bot Control rule group, Bot Control and the 'Allowing a specific blocked bot' example, and the AWS Managed Rules changelog, described it on November 25, 2026. AWS publishes the latest static version's behaviour and changes rules over time; check DescribeManagedRuleGroup and the changelog for the version you run._

## Sources
- [AWS WAF Developer Guide: AWS WAF Bot Control rule group](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html)
- [AWS WAF Developer Guide: AWS WAF Bot Control (Web bot authentication for AI agents)](https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control.html)
- [AWS WAF Developer Guide: AWS Managed Rules changelog](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-changelog.html)
- [AWS WAF Developer Guide: Bot Control example: Allowing a specific blocked bot](https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control-example-allow-blocked-bot.html)
- [AWS WAF Developer Guide: Bot Control example: Explicitly allowing verified bots](https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control-example-allow-verified-bots.html)

## Related
- [Verify which AI agent is hitting your site with Web Bot Auth](https://www.rightshold.com/answers/how-to-verify-which-ai-agent-is-hitting-your-site-with-web-bot-auth)
- [Sign your AI agent's requests with Web Bot Auth](https://www.rightshold.com/answers/how-to-sign-your-ai-agents-http-requests-with-web-bot-auth-so-websites-can-verify-it)
- [Does a Cloudflare verified bot have to obey robots.txt?](https://www.rightshold.com/answers/does-a-cloudflare-verified-bot-have-to-obey-your-robots-txt-and-can-it-lose-verified-status)
- [Block spoofed ChatGPT-User and Perplexity-User requests](https://www.rightshold.com/answers/how-to-block-spoofed-chatgpt-user-and-perplexity-user-requests-at-the-edge-without-blocking-the-real-ones)

_Not legal advice. Updated 2026-11-25. JSON: https://www.rightshold.com/answers/does-aws-waf-bot-control-block-verified-ai-crawlers-and-how-do-you-let-web-bot-auth-signed-agents-through.json_