mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-05-16 14:16:56 +00:00
changed evidence of priviledged containers, also added casting to str in reporter
This commit is contained in:
@@ -60,7 +60,8 @@ class PrivilegedContainers(Vulnerability, Event):
|
||||
"""A priviledged container on a node, can expose the node/cluster to unwanted root operations"""
|
||||
def __init__(self, containers):
|
||||
Vulnerability.__init__(self, KubernetesCluster, "Priviledged Container")
|
||||
self.evidence = containers
|
||||
self.containers = containers
|
||||
self.evidence = "pod: {}, container: {}".format(containers[0][0], containers[0][1])
|
||||
|
||||
|
||||
""" dividing ports for seperate hunters """
|
||||
|
||||
Reference in New Issue
Block a user