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-14 15:24:11 +03:00
parent 4b466f61c3
commit 493d7d6d38

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):