Hello,
You can try and achieve this by using the server.customResponseHeaders
https://www.elastic.co/guide/en/kibana/current/settings.html and specifying your own custom one.
The format for the setting is like this: Format of kibana server.customResponseHeaders