Stuck in Count Mode? How to Move AWS WAF Rules to Block Without Breaking Checkout
Many AWS WAF rules spot attacks and do nothing about them. Here's how to move rules from Count to Block safely, using AWS WAF's own features.

Many AWS WAF rules spot attacks and do nothing about them. They're set to Count, a test mode that tallies suspicious traffic, but allows it through. Teams mean to switch them to Block, but nobody wants to be the one who breaks checkout. This post shows how to make the switch safely.
Open almost any mature AWS WAF setup and you'll find rules in Count mode. Some were added for testing, some during a migration, some in the middle of an incident. Each was meant to move to Block once someone had time to check it. Many are still waiting.
It's an easy gap to miss, because a rule in Count still looks like protection. It appears in the web ACL, fires on suspicious requests and produces metrics, but it doesn't stop anything.
What's the difference between Count and Block in AWS WAF?
In AWS WAF, a rule set to Count records each matching request but doesn't decide whether to allow or block it; AWS WAF simply continues evaluating the request against the remaining rules. A rule set to Block stops the matching request, and by default the protected resource returns an HTTP 403 (Forbidden) response.
The Old Problem: Count Mode Was Meant to Be Temporary
Count mode is supposed to be a waiting room. AWS's own guidance recommends testing changes in a staging environment first, then running them in Count against production traffic before enabling them, so you can see what a rule would do before it affects a real request.
The trouble is that many rules go into that waiting room and never come out. There are a few common ways this happens.
- New rules and managed rule groups are trialled in Count: AWS lets you set a whole managed rule group to Count with one setting. Switching back to Block takes judgement.
- Migrations leave rules behind: rules moved to AWS WAF, or between web ACLs, are often brought across in Count to avoid breaking anything.
- Incident overrides are never reverted: a misfiring rule is switched to Count to stop the damage, and the follow-up work slips down the backlog.
- Managed rule group updates add uncertainty: AWS updates its rule groups over time, and any update can change what gets blocked. For teams wary of false positives, that's another reason to leave them in Count.
None of these decisions is wrong at the time. The problem is that Count mode has no expiry date.
What Changed: Count Mode Got More Expensive to Ignore
A few rules sitting in Count used to be a minor gap. Two changes have made it a bigger one.
There's more to manage
AWS WAF protection has grown well beyond a short list of custom rules. AWS now offers specialised managed rule groups for problems like bot traffic, account takeover and fake account creation, each with its own testing and deployment guidance. Protection has also spread across accounts, regions and services, from CloudFront distributions to load balancers and API Gateway endpoints. Each new rule group and web ACL is another place where a rule can be left in Count and forgotten, and some managed rule groups are paid, so a group that only counts can still cost money without blocking anything.
Attackers are moving faster
AI is shortening the time between a vulnerability becoming known and attackers exploiting it. When exploitation moves that fast, a rule that detects an attack but only counts it leaves the door open at exactly the wrong moment.
Taken together, this changes what Count mode means. A rule left in Count used to be an unfinished task. Now it's an open door, multiplied across every account and web ACL you run.
In Our Experience, Count Mode Is Rarely a Decision
In the AWS WAF environments Huskeys works with, many rules stuck in Count weren't left there on purpose. They're left over from other work.
- A rule the team added during an incident stays after the incident ends.
- Another rule they brought across in Count during a migration never gets a review once the migration is over.
- Two rules written at different times end up covering the same ground.
None of this breaks anything, so none of it stands out. Some rules go further and show no matches at all over long periods. That's worth a closer look, because a rule that never fires isn't necessarily an unneeded one.
The common thread is that Count mode tends to become a backlog rather than a choice. And because a Count-mode rule still appears in the console and still produces metrics, it looks like protection. That makes the backlog easy to overlook.
Teams Don’t Flip the Switch Without Evidence
If Count mode is so costly, why do rules stay there? Usually because of what's on the other side. Switching a rule to Block means accepting that it might stop legitimate traffic, and the places where that hurts most are the places attackers target most: login and checkout. A rule that blocks a real customer's payment is a far more visible failure than a rule that lets an attack through.
What's missing in most cases is evidence. Teams need to know which counted requests were genuine attacks and which were real users before they can block with confidence.
The numbers can also be misleading. In Count mode, one suspicious request can be counted by several rules. In Block mode, the first rule stops it and the others never see it. So Count numbers make switching to Block look riskier than it really is. AWS itself notes that Count mode usually shows more matches than you'd see once rules are blocking.
What You Can Do Today: Move One Rule From Count to Block, Safely
You don't need new tools to start. AWS WAF already includes what you need to move a rule from Count to Block with evidence rather than guesswork. Pick one rule, ideally one protecting a high-value path, and work through these steps.
1. Find out what the rule is really matching
Before changing anything, look at the requests the rule has been counting. AWS WAF's sampled requests give a quick view of recent matches, and CloudWatch metrics show how often the rule fires over time. The goal is to sort the matches into two groups: genuine attacks, and legitimate requests that happen to look suspicious.
2. Narrow the rule instead of disabling it
If some of the matches are legitimate, don't switch the whole rule off. AWS WAF gives you several ways to exclude the false positives while keeping the protection.
- Scope-down statements stop requests you've identified as safe from being evaluated by a managed rule group or rate-based rule.
- Label match rules let a managed rule run in Count while a custom rule after it blocks only the requests you've confirmed are malicious.
- Rule action overrides let you change the action of individual rules inside a managed rule group, so one problematic rule doesn't hold the whole group back.
3. Step up gradually, and keep a way back
Block isn't the only next step after Count. For browser-based login pages, AWS WAF's Challenge and CAPTCHA actions can verify that a request comes from a real browser or person instead of blocking it outright. AWS describes CAPTCHA as useful when blocking would stop too many legitimate requests, but allowing everything would let in too much unwanted traffic, such as bots.
Use them carefully: on their own, they only work for web pages, not apps or API calls, unless you add AWS WAF's app integration. They also add friction for real users, and both carry additional charges. Test any change in stages, finishing in production, and keep rollback simple: a rule can go back to Count, and a managed rule group can go back to its last static version that worked.
Repeat for the next rule. The process works. The challenge is doing it for every rule, in every web ACL.
The Bottom Line: Count Mode Is a Process Problem, Not a Settings Problem
One rule is manageable. Every rule, across every web ACL, account and region, is where most teams stall. The steps stay the same, but the evidence has to be gathered fresh for each rule, and there's never a quiet week to do it.
AWS Firewall Manager already helps teams distribute WAF policies across accounts. What remains with the team is the harder question: which Count-mode rules are ready for Block, and how to prove it.
Huskeys takes on that work, on top of the AWS WAF and Firewall Manager setup you already run:
- Assesses your web ACLs against real traffic, starting with read-only access
- Recommends changes in AWS WAF's own constructs, such as scope-down statements, rule action overrides and label-based rules
- Validates each change before it reaches production
- Rolls out changes in phases, with rollback ready
- Keeps your team in control, with every change approved by default, or automated if you choose
Hugging Face, which runs AWS WAF, used Huskeys to achieve an 83% increase in protection coverage across authentication and API endpoints. Count mode was always meant to be temporary. With the right evidence, it can be.
Meet us at AWS re:Invent
Heading to Las Vegas, November 30 to December 4? Come and talk to the Huskeys team about the rules stuck in your web ACLs, and what it would take to move them to Block.
Not in Vegas? Book a demo to see Huskeys on your AWS WAF, or find us on AWS Marketplace.
Count is a test setting for an AWS WAF rule. When a request matches the rule, AWS WAF records the match but doesn't block or allow the request. It just moves on to the next rule. Teams use Count to see what a new rule would catch in real traffic before switching it to Block.
Set the rule or managed rule group to Count, let it run against production traffic, and review what it matches using sampled requests, CloudWatch metrics and WAF logs. AWS recommends testing changes in a staging environment first, then in Count with production traffic, before enabling them.
Narrow the rule rather than disabling it. Scope-down statements exclude requests you've identified as safe, label match rules let you block only confirmed malicious requests, and rule action overrides let you change the action of a single rule inside a managed rule group without affecting the rest.
Yes. AWS Firewall Manager lets you centrally configure and apply AWS WAF policies across accounts in AWS Organizations. Deciding which rules are ready to move from Count to Block, and validating those changes against real traffic, still takes analysis per rule and per web ACL. Huskeys works on top of Firewall Manager to support that part of the process.



