CSP Scanner: script-src unsafe-inline in HUE

On running ZAP scans on HUE we are getting
CSP Scanner: script-src unsafe-inline
Is there an approach to handle this using content security policy or it will be a change in hue code base to add 'strict-dynamic' 'nonce-xxx' with each script. This is will be a concern from SecurtyTeam and we are trying to see on how to resolve this.