VerdictExpression represents an nftables expression that determines the fate of a packet or controls the flow of execution within the rule set.
Fields
| Field Name | Description |
|---|---|
kind - NftVerdictKind!
|
The type of verdict action to apply (e.g., ACCEPT, DROP, JUMP). |
chain - String!
|
The name of the target chain if the verdict kind involves transferring control (e.g., GOTO, JUMP). This field is omitted if not applicable. |
Used by
ChainExpressionunion: A union of all possible nftables chain expression types.
Example
Example
{"kind": "RETURN", "chain": "abc123"}