From 493d7d6d38d4cb9b4e818445edcb3e597a92d115 Mon Sep 17 00:00:00 2001 From: "ori.agmon" Date: Sun, 14 Oct 2018 15:24:11 +0300 Subject: [PATCH] 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) --- src/modules/hunting/aks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/hunting/aks.py b/src/modules/hunting/aks.py index 2fdaf0c..16257e2 100644 --- a/src/modules/hunting/aks.py +++ b/src/modules/hunting/aks.py @@ -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):