Hi Team, when I am using amazon s3

Hi Team, when I am using amazon s3 bucket url in place of jsdeliver url for custom css and adding it in the cutomCSSUrl option while embedding the liveboard, the css changes are impacting in the ui. Also, I have added the amazon s3 domain in CSP visual embed hosts, CSP connect src domains and CORS whitelisted domains in the thoughtspot security settings. Can anyone put some light on what can be done regarding this?
10 Replies
shikharTS
shikharTS6mo ago
Do you see any errors in the console log? Or do you just not see the css in your app?
utsav.kapoor
utsav.kapoor6mo ago
Check the network to see if you are getting a 403 for CSS. If yes, can we check what is giving a 403
AZÖG
AZÖGOP6mo ago
Yeah I checked the network tab in that, I am not getting status code for the api call. I have attached a video for your reference.
AZÖG
AZÖGOP6mo ago
Instead, when I am using jsdeliver url, I am getting 200 status code for the api call.
shikharTS
shikharTS6mo ago
Can you check the console logs during this time?
AZÖG
AZÖGOP6mo ago
Hi @shikharTS In the console, I found https://infoxd.dev.calix.com/css/style69.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' This problem I am facing in Thoughtspot verison 8.8.1, I tried the same thing in 9.5.0 Thoughtspot version, it works fine. In 9.5.0 version, we have a separate section of CSP style-src domains to add in the security setting, unlike 8.8.1 version.
utsav.kapoor
utsav.kapoor6mo ago
I see. Thats the issue. We would need to add the following URL to style-src. This can be done by the SRE team. We will connect with them and provide them the command so they can run it. Do you have a ticket open for this ?
utsav.kapoor
utsav.kapoor6mo ago
I have messaged the SRE team with the command. They will reach out
AZÖG
AZÖGOP6mo ago
Okay thanks.

Did you find this page helpful?