mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-05-10 03:07:16 +00:00
Created RunningAsPodEvent
Throw it from hosts.py when running form pod I was able to subscribe to the RunningAsPodEvent thanks to a Rebased with the branch that fix the circular dependencies bug (moveAzureComponentToTypes branch)
This commit is contained in:
@@ -7,7 +7,7 @@ from kubelet import ExposedRunHandler
|
||||
|
||||
from ...core.events import handler
|
||||
from ...core.events.types import Event, Vulnerability
|
||||
from ...core.types import Hunter, ActiveHunter, KubernetesCluster, IdentityTheft
|
||||
from ...core.types import Hunter, ActiveHunter, KubernetesCluster, IdentityTheft, Azure
|
||||
|
||||
|
||||
class AzureSpnExposure(Vulnerability, Event):
|
||||
|
||||
Reference in New Issue
Block a user