AppD Archive

End User Experience: browser refuses to load adrum JS

CommunityUser
Splunk Employee
Splunk Employee

Hi all,

manually instrumented my PHP application with the adrum snippet in the page, the following snippet is inserted fine just after the head opening tag:

<script type="text/javascript" src="/adrum.js"></script>

I further copied the adrum-extXX.js script to my host and edited adrum.js to refer to that local copy instead the cdn.appdynamics.com hosted JS.

However, I still see a CSP violation in the javascript console on every load of the page:

Refused to load the script 'https://xxx/adrum-ext.63e9f33be79086444fbb75051659bdae.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'"

It fails both on Chrome 42 and Firefox 37 (on Mac OS).

Any chance to get this working?

Regards, Tobias

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Update: seems Firefox actually works, but Chrome does not.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...