# Interface PolicyFirewallConfig

Configuration for the policy firewall.

interface PolicyFirewallConfig {
mode?: PolicyMode;
logger?: ILogger;
rules?: readonly FirewallPolicyRule[];
}

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

##### Index

### Properties

mode?
logger?
rules?

## Properties

### `Optional` `Readonly` mode

mode?: PolicyMode

Enforcement mode (default: 'enforce')

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

### `Optional` `Readonly` logger

logger?: ILogger

Logger instance

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

### `Optional` `Readonly` rules

rules?: readonly FirewallPolicyRule[]

Initial rules to register

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