Simple tool to list Kubernetes services
5.0K
k8s-service-scanner is a simple utility to scan all the services in a Kubernetes cluster and print them out.
Currently, my use-case is to print them out for consumption in my Nuclei vulnerability scanner deployment in my Kubernetes cluster:
This service scanner allows me to automate vulnerability scanning in my cluster.
docker run -it --rm -v $HOME/.kube/config:/kubeconfig -e KUBECONFIG="/kubeconfig" docker.io/heywoodlh/k8s-service-scanner
Add the EXTRA_TARGETS environment variable with comma separated hostnames to
append to the list that is generated:
docker run -it -e EXTRA_TARGETS="192.168.1.0/24,example.com" --rm -v $HOME/.kube/config:/kubeconfig -e KUBECONFIG="/kubeconfig" docker.io/heywoodlh/k8s-service-scanner
Content type
Image
Digest
sha256:86730d1b4…
Size
74.7 MB
Last updated
1 day ago
docker pull heywoodlh/k8s-service-scanner:0.1.1