What is Azure Web Application Firewall Sensitive Data Protection?
The Web Application Firewall's (WAF's) Log Scrubbing tool helps you remove sensitive data from your WAF logs. It works by using a rules engine that allows you to build custom rules to identify specific portions of a request that contain sensitive information. Once identified, the tool scrubs that information from your logs and replaces it with *******.
Default log behavior
Normally, when a WAF rule is triggered, the WAF logs the details of the request in clear text. If the portion of the request triggering the WAF rule contains sensitive data (such as customer passwords or IP addresses), that sensitive data is viewable by anyone with access to the WAF logs. To protect customer data, you can set up Log Scrubbing rules targeting this sensitive data for protection.
Selectors are case insensitive for the RequestHeaderNames match variable only. All other match variables are case sensitive.
The following fields can be scrubbed from the logs:
- IP address
- Request header name
- Request cookie name
- Request args name
- Post arg name
- JSON arg name