Rob Crowe
12/05/2022, 3:53 PMpeer.address
in the audit logs is showing the loopback address.
Any chance there's a change that makes sense in PeerFromContext to support our use-case, where by we can pass through the original caller?includeMetadataKeys
?Alex Olivier (Cerbos)
Rob Crowe
12/05/2022, 4:12 PMAlex Olivier (Cerbos)
Rob Crowe
12/05/2022, 4:13 PM# IncludeMetadataKeys defines which gRPC request metadata keys should be included in access logs
Alex Olivier (Cerbos)
Charith (Cerbos)
Rob Crowe
12/05/2022, 4:28 PMincludeMetadataKeys
to pass through some custom values, so it can be joined up with the decision log.
Thanks ๐๐ปCharith (Cerbos)
Rob Crowe
12/05/2022, 4:31 PMCharith (Cerbos)
metadata
field in the decision log entries would address your use case, right? Which keys to include/exclude will be driven by the config file. https://github.com/cerbos/cerbos/pull/1385Rob Crowe
12/06/2022, 2:06 PM