# Interface FirewallPolicyRule

A single policy rule that can approve or deny operations.

interface FirewallPolicyRule {
name: string;
description: string;
check(ctx: FirewallPolicyContext): FirewallPolicyDecision;
}

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:67

##### Index

### Properties

name
description

### Methods

check

## Properties

### `Readonly` name

name: string

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:68

### `Readonly` description

description: string

- Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:69

## Methods

### check

- check(ctx: FirewallPolicyContext): FirewallPolicyDecision

  #### Parameters

  - ctx: FirewallPolicyContext

  #### Returns FirewallPolicyDecision

  - Defined in packages/nexus-agents/src/mcp/middleware/policy-types.ts:70