# Interface SecurityPolicyDecision

Decision returned by the policy gate.

interface SecurityPolicyDecision {
allowed: boolean;
requiresApproval: boolean;
violations: readonly {
rule: string;
message: string;
severity: "warn" | "block";
}[];
evaluatedAt: string;
}

- Defined in packages/nexus-agents/src/security/policy-gate.ts:42

##### Index

### Properties

allowed
requiresApproval
violations
evaluatedAt

## Properties

### `Readonly` allowed

allowed: boolean

Whether the action is allowed to proceed.

- Defined in packages/nexus-agents/src/security/policy-gate.ts:44

### `Readonly` requiresApproval

requiresApproval: boolean

Whether human approval is required before execution.

- Defined in packages/nexus-agents/src/security/policy-gate.ts:46

### `Readonly` violations

violations: readonly {
rule: string;
message: string;
severity: "warn" | "block";
}[]

All detected violations (blocking and warnings).

- Defined in packages/nexus-agents/src/security/policy-gate.ts:48

### `Readonly` evaluatedAt

evaluatedAt: string

Timestamp of the evaluation (ISO 8601).

- Defined in packages/nexus-agents/src/security/policy-gate.ts:50