Skip to main content
Version: latest (main)

Interface: WireAuditEvent

Defined in: src/audit/encode.ts:35

Wire-form shape of an AuditEvent. Keys are snake_case to match the gateway's JSON convention; optional fields are omitted when undefined (rather than emitted as null or empty string), so a decoded round-trip yields the original undefined.

Properties​

action_type​

action_type: string

Defined in: src/audit/encode.ts:38


agent_id​

agent_id: string

Defined in: src/audit/encode.ts:37


call_stack?​

optional call_stack?: WireCallStackNode[]

Defined in: src/audit/encode.ts:44


decision​

decision: string

Defined in: src/audit/encode.ts:39


event_id​

event_id: string

Defined in: src/audit/encode.ts:36


labels?​

optional labels?: Record<string, string>

Defined in: src/audit/encode.ts:43


parent_span_id?​

optional parent_span_id?: string

Defined in: src/audit/encode.ts:42


span_id?​

optional span_id?: string

Defined in: src/audit/encode.ts:41


trace_id?​

optional trace_id?: string

Defined in: src/audit/encode.ts:40