mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-05-14 21:27:14 +00:00
merged with multi-threaded-bug
This commit is contained in:
@@ -16,6 +16,7 @@ class ApiServer(Service, Event):
|
||||
def __init__(self):
|
||||
Service.__init__(self, name="API Server")
|
||||
|
||||
|
||||
@handler.subscribe(OpenPortEvent, predicate=lambda x: x.port==443 or x.port==6443)
|
||||
class ApiServerDiscovery(Hunter):
|
||||
"""Api Server Discovery
|
||||
|
||||
Reference in New Issue
Block a user