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:
ori.agmon
2018-10-16 17:12:42 +03:00
committed by oriagmon
parent 1f01076cf6
commit 1e4ead93f4
+1 -1
View File
@@ -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):