Docs
Live demo
POST/api/v2/admission/ingress-protection/{payload}
Kubernetes admission webhookInternal integration

Kubernetes AdmissionReview endpoint of the Principal webhook that protects every Ingress created in a Kubernetes target with Protect new Ingresses turned on. It adds the SSO gate annotations to the new Ingress and asks Principal to add it as an application with its own SSO gate. The webhook ignores failures, so Ingress creation in the cluster does not depend on Principal.

Parameters

Path1 required of 1
payloadstringpathrequired

Signed Principal ingress protection admission payload.

Request body application/json

object

Responses

200

AdmissionReview mutation response.

Common errors: 400 413 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close