[SDK reference](../../index.md) / [Models](../index.md) / [Network](index.md)

# WafMatch

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Network`  

What a custom WAF rule matches. Every part that is given must hold; at least one is needed.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Countries` | `List<string>?` | `countries` | Client countries (two-letter upper-case codes), as the edge's address database says; at most 50. |
| `Headers` | `List<Models.Network.WafHeaderCondition>?` | `headers` | Header conditions, at most 10. |
| `IpRanges` | `List<string>?` | `ipRanges` | Client address ranges (CIDR, IPv4 or IPv6, no host bits set), at most 50. |
| `Methods` | `List<string>?` | `methods` | Methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS. |
| `Path` | `string?` | `path` | The path or the part of it, in plain text. |
| `PathType` | `string?` | `pathType` | PREFIX (default; whole segments), EXACT or CONTAINS. |
| `QueryContains` | `string?` | `queryContains` | A text the query string contains. |
