Skip to content

Commit e7dc0a1

Browse files
Update create-custom-waf-rules.md
1 parent d1a79be commit e7dc0a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/web-application-firewall/ag/create-custom-waf-rules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The JSON snippets shown in this article are derived from a [ApplicationGatewayWe
2626

2727
## Example 1
2828

29-
You know there's a bot named *evilbot* that you want to block from crawling your website. In this case, you’ll block on the User-Agent *evilbot* in the request headers.
29+
You know there's a bot named *evilbot* that you want to block from crawling your website. In this case, you block on the User-Agent *evilbot* in the request headers.
3030

3131
Logic: p
3232

@@ -51,7 +51,7 @@ $rule = New-AzApplicationGatewayFirewallCustomRule `
5151
-State Enabled
5252
```
5353

54-
And here is the corresponding JSON:
54+
And here's the corresponding JSON:
5555

5656
```json
5757
{
@@ -266,7 +266,7 @@ Corresponding CRS rule:
266266

267267
## Example 4
268268

269-
For this example, you want to block User-Agent *evilbot*, and traffic in the range 192.168.5.0/24. To accomplish this, you can create two separate match conditions, and put them both in the same rule. This configuration ensures that if both *evilbot* in the User-Agent header **and** IP addresses from the range 192.168.5.0/24 are matched, then the request is blocked.
269+
For this example, you want to block User-Agent *evilbot*, and traffic in the range 192.168.5.0/24. To accomplish this action, you can create two separate match conditions, and put them both in the same rule. This configuration ensures that if both *evilbot* in the User-Agent header **and** IP addresses from the range 192.168.5.0/24 are matched, then the request is blocked.
270270

271271
Logic: p **and** q
272272

@@ -535,7 +535,7 @@ $rule = New-AzApplicationGatewayFirewallCustomRule `
535535
-State Enabled
536536
```
537537

538-
And here is the corresponding JSON:
538+
And here's the corresponding JSON:
539539

540540
```json
541541
{

0 commit comments

Comments
 (0)