Does anyone know if it is possible to return custom responses when a request is denied by listchecker adapter?
I am trying to achieve a whitelisting functionality based on a header value. I’ve created a listentry, 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
Yes, that requires a change to listchecker adapter. We could consider accepting a change to the existing code, but that would require waiting for another release. Feel free to file a feature request!