Kibana URL Page : Refused to execute inline script because it violates the following Content Security Policy directive

Hi,

OS - 22.04
Kibana - 7.17.22
Error:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.

we are facing the above error in the console how to resolve it?

Thanks in advance

That's expected.
When Kibana loads tests that the CSP (Content Security Policy) works correctly and the browser prints that message.