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

# WafCustomRule

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

A custom rule of a WAF policy.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Action` | `string?` | `action` | ALLOW (the request skips the rest, the Core Rule Set too), BLOCK (403 in prevention mode), LOG or RATE_LIMIT. |
| `Match` | `Models.Network.WafMatch?` | `match` | What it matches. |
| `Name` | `string?` | `name` | The rule's name: lower-case letters, digits and hyphens, unique in the policy. |
| `Priority` | `int?` | `priority` | 1 to 10000, different for every rule; the lowest number is looked at first. |
| `RateLimit` | `Models.Network.WafRateLimit?` | `rateLimit` | For RATE_LIMIT. |
