소스 검색

wsman: avoid logging the connection info

The WSMAN (WinRM) connection info is expected to contain sensitive
data, such as passwords or key certificates.

For this reason, it shouldn't be logged. There's a subsequent
log message covering the host and port, which should be enough.
Lucian Petrut 1 주 전
부모
커밋
82a3ace172
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      coriolis/wsman.py

+ 0 - 2
coriolis/wsman.py

@@ -75,8 +75,6 @@ class WSManConnection(object):
         cert_key_pem = connection_info.get("cert_key_pem")
         url = "https://%s:%s/wsman" % (host, port)
 
-        LOG.info("Connection info: %s", str(connection_info))
-
         LOG.info("Waiting for connectivity on host: %(host)s:%(port)s",
                  {"host": host, "port": port})
         utils.wait_for_port_connectivity(host, port)