pomerium/internal/log
Joe Kralicky 554e77bc7c
envoy: log mtls failures (#5210)
envoy: log mtls failures

This implements limited listener-based access logging for downstream
transport failures, only enabled when downstream_mtls.enforcement is
set to 'reject_connection'. Client certificate details and the error
message will be logged.

Additionally, the new key 'client-certificate' can be set in the
access_log_fields list in the configuration, which will add peer
certificate properties (issuer, subject, SANs) to the existing
per-request http logs.

---------

Co-authored-by: Kenneth Jenkins <51246568+kenjenkins@users.noreply.github.com>
2024-08-09 14:05:10 -04:00
..
access.go envoy: log mtls failures (#5210) 2024-08-09 14:05:10 -04:00
authorize.go authorize: log id token claims separately from id token (#4394) 2023-07-26 11:45:10 -06:00
grpc.go Add support for using the standard grpc env vars to control log severity and verbosity (#5120) 2024-05-31 14:06:38 -04:00
headers.go proxy: add support for logging http request headers (#4388) 2023-07-25 09:46:42 -06:00
headers_test.go proxy: add support for logging http request headers (#4388) 2023-07-25 09:46:42 -06:00
log.go core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
log_test.go core/config: remove debug option, always use json logs (#4857) 2023-12-15 11:29:05 -07:00
middleware.go core/telemetry: move requestid to pkg directory (#4911) 2024-01-19 13:18:16 -07:00
middleware_test.go core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
multiwriter.go chore(deps): bump github.com/spf13/viper from 1.16.0 to 1.18.2 (#4861) 2023-12-27 16:16:38 -07:00
warnings.go config: generate cookie secret if not set in all-in-one mode (#3742) 2022-11-11 14:14:30 -07:00