Application of Content-Security-Policy response header with value 'default-src https:' breaks down numerous components in Drill Web UI. The main reason for the failures is the inline code used widely in Web UI. According to web security best practices, such code is considered harmful and should be avoided. In order to make UI work, we can apply the only header:
Which isn't as strict as necessary. Therefore it is necessary to rewrite all places where inline code is used and ensure that CSP header can provide really strict rules for securing web pages.