Skip to content

Commit f745441

Browse files
committed
Add todo
1 parent 0b3c78b commit f745441

File tree

1 file changed

+3
-0
lines changed
  • packages/pam/handlers/kubernetes

1 file changed

+3
-0
lines changed

packages/pam/handlers/kubernetes/proxy.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ func (p *KubernetesProxy) forwardWebsocketConnection(
270270
return err
271271
}
272272

273+
// TODO: before forwarding, we should probably read the headers from the server, then parse the
274+
// websocket frames for audit logging purpose
275+
273276
forwardingCtx, cancelForwarding := context.WithCancel(ctx)
274277
defer cancelForwarding()
275278
serverDataCh := make(chan []byte)

0 commit comments

Comments
 (0)