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

Register your Kubernetes IPs to monitor.shodan.io

License

Notifications You must be signed in to change notification settings

ekeih/kube-shodan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 .