Skip to content

Commit a87991a

Browse files
authored
Merge pull request #113876 from asukumar22/asukumar22-patch-1-2
Update best-practices.md
2 parents 141d5c6 + c313eb4 commit a87991a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/web-application-firewall/ag/best-practices.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This article summarizes best practices for using the web application firewall (W
1717

1818
### Enable the WAF
1919

20-
For internet-facing applications, we recommend you enable a web application firewall (WAF) and configure it to use managed rules. When you use a WAF and Microsoft-managed rules, your application is protected from a range of attacks.
20+
For internet-facing applications, we recommend you enable a web application firewall (WAF) and configure it to use managed rules. When you use WAF and Microsoft-managed rules, your application is protected from a wide range of attacks.
2121

2222
### Use WAF policies
2323

@@ -37,19 +37,19 @@ For more information, see [Troubleshoot Web Application Firewall (WAF) for Azure
3737

3838
### Use prevention mode
3939

40-
After you've tuned your WAF, you should configure it to [run in prevention mode](create-waf-policy-ag.md#configure-waf-rules-optional). By running in prevention mode, you ensure the WAF actually blocks requests that it detects are malicious. Running in detection mode is useful while you tune and configure your WAF, but provides no protection.
40+
After you tune your WAF, you should configure it to [run in **prevention** mode](create-waf-policy-ag.md#configure-waf-rules-optional). By running in **prevention** mode, you ensure the WAF actually blocks requests that it detects as malicious. Running in **detection** mode is useful for testing purposes while you tune and configure your WAF but it provides no protection. It logs the traffic, but it doesn't take any actions such as *allow* or *deny*.
4141

4242
### Define your WAF configuration as code
4343

4444
When you tune your WAF for your application workload, you typically create a set of rule exclusions to reduce false positive detections. If you manually configure these exclusions by using the Azure portal, then when you upgrade your WAF to use a newer ruleset version, you need to reconfigure the same exceptions against the new ruleset version. This process can be time-consuming and error-prone.
4545

46-
Instead, consider defining your WAF rule exclusions and other configuration as code, such as by using the Azure CLI, Azure PowerShell, Bicep or Terraform. Then, when you need to update your WAF ruleset version, you can easily reuse the same exclusions.
46+
Instead, consider defining your WAF rule exclusions and other configurations as code, such as by using the Azure CLI, Azure PowerShell, Bicep or Terraform. Then, when you need to update your WAF ruleset version, you can easily reuse the same exclusions.
4747

4848
## Managed ruleset best practices
4949

5050
### Enable core rule sets
5151

52-
Microsoft's core rule sets are designed to protect your application by detecting and blocking common attacks. The rules are based on a various sources including the OWASP top 10 attack types and information from Microsoft Threat Intelligence.
52+
Microsoft's core rule sets are designed to protect your application by detecting and blocking common attacks. The rules are based on various sources including the OWASP top 10 attack types and information from Microsoft Threat Intelligence.
5353

5454
For more information, see [Web Application Firewall CRS rule groups and rules](application-gateway-crs-rulegroups-rules.md).
5555

@@ -77,7 +77,7 @@ For more information, see [Geomatch custom rules](geomatch-custom-rules.md).
7777

7878
### Add diagnostic settings to save your WAF's logs
7979

80-
Application Gateway's WAF integrates with Azure Monitor. It's important to save the WAF logs to a destination like Log Analytics. You should review the WAF logs regularly. Reviewing logs helps you to [tune your WAF policies to reduce false-positive detections](#tune-your-waf), and to understand whether your application has been the subject of attacks.
80+
Application Gateway's WAF integrates with Azure Monitor. It's important to enable the diagnostic settings and save the WAF logs to a destination like Log Analytics. You should review the WAF logs regularly. Reviewing logs helps you to [tune your WAF policies to reduce false-positive detections](#tune-your-waf), and to understand whether your application has been the subject of attacks.
8181

8282
For more information, see [Azure Web Application Firewall Monitoring and Logging](application-gateway-waf-metrics.md).
8383

0 commit comments

Comments
 (0)