Just when you think you have blocked attacks from the Milkshake group, more attack requests are coming to your application. These attacks are becoming more dangerous. However, you can confidently block these attacks with custom rules for your WAF Web ACL.
All attacks seem to have a strange header X-TomatoAttack and you need to block requests with this header to stop this attack wave.
WAF allows you to create custom rules to handle requests. This is very useful when you want to customize according to your application context. Along with introducing custom rules, this section will familiarize you with sampling requests and Web ACL Capacity Units.





MyCustomRule-X-TomatoAttack.
X-TomatoAttack.

# This will be blocked
curl -H "X-TomatoAttack: Red" "<Your Juice Shop URL>"
We will see Request blocked.
6. Run the command.
# This will be blocked
curl -H "X-TomatoAttack: Green" "<Your Juice Shop URL>"
We will see Request blocked.
7. On your Web ACL information page.

