Hello,
In order to work correctly and as expected, my plugin (sometimes) needs to add a few extra headers to the white list so that they will be forwarded to Elasticsearch.
Is there a way to do this in the new platform? I previously managed to do this with something along the lines of:
server.plugins.elasticsearch.getCluster('admin').getRequestHeadersWhitelist = () => myNewList
server.plugins.elasticsearch.getCluster('data').getRequestHeadersWhitelist = () => myNewList