# Protocol length

Deny messages that exceed a configured protocol length.

**Type:** message

**Variants:**

| Action | ID                                                      |
| ------ | ------------------------------------------------------- |
| deny   | `com.synadia.protect.builtins.v1.deny.protolen.message` |

## Configuration

A single integer specifying the maximum protocol length in bytes:

```
activations:

  com.synadia.protect.builtins.v1.deny.protolen.message: true



configurations:

  com.synadia.protect.builtins.v1.deny.protolen.message: 1024
```

## Schema

```
{

  "type": "integer",

  "minimum": 1

}
```
