Files
kubescape/httphandler/examples/microservice
Yehudah Tor d2bedc1d2b added urls
Signed-off-by: Yehudah Tor <yehudahtor@gmail.com>
2025-07-27 13:50:47 +03:00
..
2025-07-27 13:50:47 +03:00

Kubescape as a microservice

  1. Deploy kubescape microservice

    kubectl apply -f ks-deployment.yaml
    

    Note


    Make sure the configurations suit your cluster (e.g. serviceType, namespace, etc.)

  2. Trigger scan

    curl --header "Content-Type: application/json" \
    --request POST \
    --data '{"account":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","hostScanner":true}' \
    http://127.0.0.1:8080/v1/scan
    
  3. Get results

    curl --request GET http://127.0.0.1:8080/v1/results -o results.json