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?
optionalcall_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?
optionallabels?:Record<string,string>
Defined in: src/audit/encode.ts:43
parent_span_id?
optionalparent_span_id?:string
Defined in: src/audit/encode.ts:42
span_id?
optionalspan_id?:string
Defined in: src/audit/encode.ts:41
trace_id?
optionaltrace_id?:string
Defined in: src/audit/encode.ts:40