---
title: ChainPolicy enum | Wartiva GraphQL API
description: The default policy for a base nftables chain if no rule explicitly matches a packet. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/chain-policy.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `ChainPolicy` enum

The default policy for a base nftables chain if no rule explicitly matches a packet.

## Values

| Enum Value | Description |
|---|---|
| `ACCEPT` | The packet is accepted and allowed to continue processing. |
| `DROP` | The packet is dropped (discarded). |
| `UNSPECIFIED` | Policy is not specified or unknown. |

## Used by

- [`Chain`](https://wartiva.com/api-docs/types/chain.html) type: Represents an nftables chain, which is a named list of rules that are executed in order.

## Example

### Example

```json
"ACCEPT"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
