|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<unload unload_date="2021-10-28 19:04:18"> |
| 3 | +<scan_script_only_check action="INSERT_OR_UPDATE"> |
| 4 | +<active>true</active> |
| 5 | +<attributes display_value="Public reports to be verified ">906611642f2330100b40bea62799b6b7</attributes> |
| 6 | +<category>security</category> |
| 7 | +<description>It is worthy to check all reports that are with role public - as they can expose data to unauthenticated users via: |
| 8 | + https : / / <instance>.service-now.com/sys_report_display.do?sysparm_report_id=<sysID></description> |
| 9 | +<documentation_url/> |
| 10 | +<name>Public reports to be verified </name> |
| 11 | +<priority>2</priority> |
| 12 | +<resolution_details/> |
| 13 | +<script><![CDATA[(function(finding) { |
| 14 | +
|
| 15 | + var grSysReport = new GlideRecord('sys_report'); |
| 16 | + grSysReport.addEncodedQuery("roles=public"); |
| 17 | + grSysReport.query(); |
| 18 | + while (grSysReport.next()) { |
| 19 | + finding.setCurrentSource(grSysReport); |
| 20 | + finding.increment(); |
| 21 | + } |
| 22 | +
|
| 23 | +})(finding);]]></script> |
| 24 | +<short_description>Candidates of publicly available reports (without needs to authorize) that shoul</short_description> |
| 25 | +<sys_class_name>scan_script_only_check</sys_class_name> |
| 26 | +<sys_created_by>admin</sys_created_by> |
| 27 | +<sys_created_on>2021-10-28 18:46:02</sys_created_on> |
| 28 | +<sys_id>1e7511642f2330100b40bea62799b6f1</sys_id> |
| 29 | +<sys_mod_count>1</sys_mod_count> |
| 30 | +<sys_name>Public reports to be verified </sys_name> |
| 31 | +<sys_package display_value="Global" source="global">global</sys_package> |
| 32 | +<sys_policy/> |
| 33 | +<sys_scope display_value="Global">global</sys_scope> |
| 34 | +<sys_update_name>scan_script_only_check_1e7511642f2330100b40bea62799b6f1</sys_update_name> |
| 35 | +<sys_updated_by>admin</sys_updated_by> |
| 36 | +<sys_updated_on>2021-10-28 18:50:32</sys_updated_on> |
| 37 | +</scan_script_only_check> |
| 38 | +</unload> |
0 commit comments