Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Latest commit

 

History

History
32 lines (22 loc) · 845 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 845 Bytes

kube-shodan

kube-shodan monitors the public IPs of a Kubernetes cluster and adds new ones to Shodan Monitor. IPs which are removed from the cluster are also removed from Shodan. This way all public IPs of the cluster will always be monitored by Shodan.

Installation

Helm

helm repo add ekeih https://ekeih.github.io/helm-charts
helm repo up

# Pass Shodan token directly
helm install --namespace kube-shodan --name kube-shodan --set shodanApiToken=TOKEN ekeih/kube-shodan

# Or use Shodan token from existing secret
helm install --namespace kube-shodan --name kube-shodan --set shodanApiToken=SECRETNAME --set shodanApiSecretKey=SECRETKEY ekeih/kube-shodan

pip

pip install kube-shodan

Manual

git clone [email protected]:ekeih/kube-shodan.git
cd kube-shodan
pip install .