# Interface PolicyDecisionAuditOpts

Audit exports - Structured audit logging (Issue #193) Split from index.ts for file size compliance (Issue #285)

interface PolicyDecisionAuditOpts {
policyName: string;
decision: "allow" | "deny";
reason: string;
toolName: string;
actor: {
type: "system" | "user" | "external" | "agent";
id: string;
name?: string;
ip?: string;
userAgent?: string;
};
requestId?: string;
metadata?: Record<string, unknown>;
}

- Defined in packages/nexus-agents/src/audit/audit-types.ts:270

##### Index

### Properties

policyName
decision
reason
toolName
actor
requestId?
metadata?

## Properties

### policyName

policyName: string

- Defined in packages/nexus-agents/src/audit/audit-types.ts:271

### decision

decision: "allow" | "deny"

- Defined in packages/nexus-agents/src/audit/audit-types.ts:272

### reason

reason: string

- Defined in packages/nexus-agents/src/audit/audit-types.ts:273

### toolName

toolName: string

- Defined in packages/nexus-agents/src/audit/audit-types.ts:274

### actor

actor: {
type: "system" | "user" | "external" | "agent";
id: string;
name?: string;
ip?: string;
userAgent?: string;
}

- Defined in packages/nexus-agents/src/audit/audit-types.ts:275

### `Optional` requestId

requestId?: string

- Defined in packages/nexus-agents/src/audit/audit-types.ts:276

### `Optional` metadata

metadata?: Record<string, unknown>

- Defined in packages/nexus-agents/src/audit/audit-types.ts:277