From 95d9b9d7f2cbffebdba3aeef604bc5a0b03a7d1a Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Wed, 19 Aug 2026 13:17:14 +0000 Subject: [PATCH] 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. --- coriolis/wsman.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/coriolis/wsman.py b/coriolis/wsman.py index 4f43fc8fb..77ad1ef64 100644 --- a/coriolis/wsman.py +++ b/coriolis/wsman.py @@ -75,8 +75,6 @@ def from_connection_info(cls, connection_info, timeout=DEFAULT_TIMEOUT): 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)