File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/clients/src/api/audit_trail/v1alpha1 Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ export const unmarshalEvent = (data: unknown): Event => {
179179 requestBody : data . request_body ,
180180 requestId : data . request_id ,
181181 resource : data . resource ? unmarshalResource ( data . resource ) : undefined ,
182+ resources : unmarshalArrayOfObject ( data . resources , unmarshalResource ) ,
182183 serviceName : data . service_name ,
183184 sourceIp : data . source_ip ,
184185 statusCode : data . status_code ,
Original file line number Diff line number Diff line change @@ -127,8 +127,10 @@ export interface Event {
127127 serviceName : string
128128 /** API method called to trigger the event. */
129129 methodName : string
130- /** Resource attached to the event. */
130+ /** @deprecated Resource attached to the event. */
131131 resource ?: Resource
132+ /** Resources attached to the event. */
133+ resources : Resource [ ]
132134 /** Unique identifier of the request at the origin of the event. */
133135 requestId : string
134136 /** Request at the origin of the event. */
You can’t perform that action at this time.
0 commit comments