minor services description improvements

This commit is contained in:
daniel_sagi
2018-07-04 15:08:51 +03:00
parent 05bea207fd
commit e16bc40fb7
3 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ from ...core.events.types import Event, Service, OpenPortEvent
from ...core.types import Hunter
class KubeDashboardEvent(Service, Event):
"""Allows multiple arbitrary operations on the cluster from all connections"""
"""A web-based Kubernetes user interface. allows easy usage with operations on the cluster"""
def __init__(self, **kargs):
Service.__init__(self, name="Kubernetes Dashboard", **kargs)

View File

@@ -12,12 +12,12 @@ urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
""" Services """
class ReadOnlyKubeletEvent(Service, Event):
"""Exposes specific handlers which disclose sensitive information about the cluster"""
"""Can expose specific handlers which reveals information about the node/cluster"""
def __init__(self):
Service.__init__(self, name="Kubelet API (readonly)")
class SecureKubeletEvent(Service, Event):
"""Exposes handlers that can perform unwanted operations on pods/containers"""
"""The kubelet ensures that all containers on the node are running and healthy"""
def __init__(self, cert=False, token=False):
self.cert = cert
self.token = token