You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/11/24 00:27:12 UTC

[GitHub] [apisix-ingress-controller] macmiranda commented on issue #1472: bug: ingress-controller logs admin token in plaint text

macmiranda commented on issue #1472:
URL: https://github.com/apache/apisix-ingress-controller/issues/1472#issuecomment-1325799591

   As far as I can see this is where the config data is being logged to the stdout (but there may be other places too):
   https://github.com/apache/apisix-ingress-controller/blob/be7edf6b880e4904553c98f57dd78766632e1520/cmd/ingress/ingress.go#L132-L136
   
   The Kubernetes folks had to deal with a similar [issue](https://github.com/kubernetes/kubernetes/issues/81114) where Bearer tokens were being logged at high verbosity levels. This [PR](https://github.com/kubernetes/kubernetes/pull/81330/files) shows how they were able to mask it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org