mirror of
https://github.com/kubescape/kubescape.git
synced 2026-03-03 02:00:27 +00:00
Kubescape as a microservice
-
Deploy kubescape microservice
kubectl apply -f https://raw.githubusercontent.com/armosec/kubescape/master/httphandler/examples/prometheus/kubescape.yamlNote
Make sure the configurations suit your cluster (e.g.
serviceType, namespace, etc.) -
Trigger scan
curl --header "Content-Type: application/json" \ --request POST \ --data '{"account":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","hostScanner":true, "submit":true}' \ http://127.0.0.1:8080/v1/scan -
Get results
curl --request GET http://127.0.0.1:8080/v1/results -o results.json