cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get uncompressed/beautified JavaScript Agent?

ryan_shaw
Dynatrace Helper
Dynatrace Helper

Hi,

Is there a way to get the uncompressed/beautified JavaScript agent from the server instead of the compressed version? Currently to run security scans we need to run it through a beautifier.

4 REPLIES 4

Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

Ryan, Did you try something like: http://jsbeautifier.org/?

joe

There currently using something similar to that, I was just wondering if there was a way to get it like that direct from the server.

ryan_shaw
Dynatrace Helper
Dynatrace Helper

"Code can be de-minified with numerous tools. Variable/method names will remain obfuscated, however, and we cannot provide a version of the code with the real names due to policy" - Dynatrace Support

c_schwarzbauer
Dynatrace Champion
Dynatrace Champion

Ryan,

we're obfuscating/minifying the js code exactly for the reason so that it's not easily readable by humans.

however, I'm wondering: why would security scans need a beautified version? the obfuscated/minified version should be exactly as well machine-readable as a beautified version. and I cannot think of any security implications related to renaming of variables and methods. 🙂

Christian