diff --git a/kube_hunter/modules/hunting/etcd.py b/kube_hunter/modules/hunting/etcd.py index 15b3af3..da74ff3 100644 --- a/kube_hunter/modules/hunting/etcd.py +++ b/kube_hunter/modules/hunting/etcd.py @@ -135,7 +135,7 @@ class EtcdRemoteAccess(Hunter): logger.debug(f"Trying to check etcd version remotely at {self.event.host}") try: r = requests.get( - f"{self.protocol}://{self.event.host}:{ETCD_PORT}/version", + f"{self.event.protocol}://{self.event.host}:{ETCD_PORT}/version", verify=False, timeout=config.network_timeout, )