Day 8: DDIS - console.log in client scripts

Scan Check Type: Table Check [sys_script_client]

The client-side function console.log could cause errors in certain browser versions

Replace console.log() calls with jslog. The benefits of jslog are that you have to open the JavaScript Debugger Window to view the output, it is compatible with all browsers, and can be left in production since only administrators can open the window.

This scan was developed using a table check with condition to identify any client script records that contain ‘console.log’. This check takes inspiration from the check within QualityClouds.

Download and import the XML to check it out in your instance! At the end of the month I will be bundling all the checks together.

Day 8 scan_table_check_fda8ee6b2fc759107caa93acf699b6c3.xml