fixed bug in cloud identification. TODO: remove the outsourcing for cloud provider

This commit is contained in:
Daniel Sagi
2021-01-03 20:26:23 +02:00
parent cb4c7199f3
commit 00db9cbdbe
+1 -1
View File
@@ -27,7 +27,7 @@ class AzureSpnExposure(Vulnerability, Event):
self.evidence = evidence
@handler.subscribe(ExposedPodsHandler, predicate=lambda x: x.cloud == "Azure")
@handler.subscribe(ExposedPodsHandler, predicate=lambda x: x.cloud_type == "Azure")
class AzureSpnHunter(Hunter):
"""AKS Hunting
Hunting Azure cluster deployments using specific known configurations