summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/authz/check_service.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/authz/check_service.go b/pkg/authz/check_service.go
index 641ba92..9db32d0 100644
--- a/pkg/authz/check_service.go
+++ b/pkg/authz/check_service.go
@@ -40,6 +40,7 @@ func NewCheckService() *CheckService {
}
func (svc *CheckService) Check(ctx context.Context, request *auth.CheckRequest) (*auth.CheckResponse, error) {
+ log.WithFields(ctx, log.Fields{"headers": request.Attributes.Request.Http.Headers})
if svc.isAllowed(ctx, request) {
return svc.OK(ctx), nil
}