# Interface PolicyGateEvent

Policy gate evaluation result.

interface PolicyGateEvent {
id: string;
timestamp: string;
component: string;
type: "policy_gate";
actionType:
| "GeneratePatchPlan"
| "DraftReply"
| "ProposeLabels"
| "SummarizeIssue"
| "ClassifyIssue"
| "IdentifyDuplicates"
| "RequestHumanApproval"
| "RefuseAction"
| "HandoffMessage";
allowed: boolean;
requiresApproval: boolean;
inputTrustTier: "1"
| "2"
| "3"
| "4";
violationRules: readonly string[];
}

#### Hierarchy

- AuditEventBase
  - PolicyGateEvent

- Defined in packages/nexus-agents/src/security/audit-trail.ts:57

##### Index

### Properties

id
timestamp
component
type
actionType
allowed
requiresApproval
inputTrustTier
violationRules

## Properties

### `Readonly` id

id: string

Inherited from AuditEventBase.id

- Defined in packages/nexus-agents/src/security/audit-trail.ts:40

### `Readonly` timestamp

timestamp: string

Inherited from AuditEventBase.timestamp

- Defined in packages/nexus-agents/src/security/audit-trail.ts:41

### `Readonly` component

component: string

Inherited from AuditEventBase.component

- Defined in packages/nexus-agents/src/security/audit-trail.ts:42

### `Readonly` type

type: "policy_gate"

- Defined in packages/nexus-agents/src/security/audit-trail.ts:58

### `Readonly` actionType

actionType:
| "GeneratePatchPlan"
| "DraftReply"
| "ProposeLabels"
| "SummarizeIssue"
| "ClassifyIssue"
| "IdentifyDuplicates"
| "RequestHumanApproval"
| "RefuseAction"
| "HandoffMessage"

- Defined in packages/nexus-agents/src/security/audit-trail.ts:59

### `Readonly` allowed

allowed: boolean

- Defined in packages/nexus-agents/src/security/audit-trail.ts:60

### `Readonly` requiresApproval

requiresApproval: boolean

- Defined in packages/nexus-agents/src/security/audit-trail.ts:61

### `Readonly` inputTrustTier

inputTrustTier: "1" | "2" | "3" | "4"

- Defined in packages/nexus-agents/src/security/audit-trail.ts:62

### `Readonly` violationRules

violationRules: readonly string[]

- Defined in packages/nexus-agents/src/security/audit-trail.ts:63