kube-hunter icon indicating copy to clipboard operation
kube-hunter copied to clipboard

Provide metrics endpoint

Open swade1987 opened this issue 6 years ago • 3 comments

Provide an endpoint which Prometheus can scrape to allow real-time alerting of potential vulnerabilities.

swade1987 avatar Jan 18 '19 09:01 swade1987

thanks @swade1987 for the suggestion. I'd like to clarify this request: kube-hunter is a one time job that runs, reports, and dies. I don't think exposing metrics from kube-hunter is useful there's a good chance it will finish before Prometheus will be able to scrape it. Would you agree? or you had another scenario in mind. One thing we could do, it maybe push to a push gateway.

itaysk avatar Nov 12 '19 11:11 itaysk

@itaysk I think the ability to easily configure kube-hunter to push metrics to the pushgateway makes sense.

swade1987 avatar Nov 12 '19 12:11 swade1987

I just want to export the metrics of the kube hunter pod to use in grafana dashboards and for other purposes. After researching a lot, I couldn't find any metrics exporter for kube hunter and I have no idea how to create a custom metrics exporter because of lack of resources online at the begineer level. I would be so glad if you can give a solution for this issue, by providing a kube hunter metrics exporter so that the results can be visualized in grafana dashboards.

Nishanth-developer avatar Feb 28 '23 19:02 Nishanth-developer