Does anyone know if it is possible to return custom responses when a request is denied by
I am trying to achieve a whitelisting functionality based on a header value. I’ve created a
listchecker and a
rule connecting those two, but on rejection I get this message:
HTTP Status code: 403 Forbidden Body: PERMISSION_DENIED:enforce-header.listchecker.myapp:123456789 is not whitelisted
I’d like to change the Body’s text.
Is it possible to achieve such thing using istio?