|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<unload unload_date="2021-10-21 19:59:27"> |
| 3 | +<scan_table_check action="INSERT_OR_UPDATE"> |
| 4 | +<active>true</active> |
| 5 | +<advanced>true</advanced> |
| 6 | +<attributes display_value="Users belongs to inactive Group">a49d119e2f9b30100b40bea62799b627</attributes> |
| 7 | +<category>security</category> |
| 8 | +<conditions table="sys_user_grmember">group.active=false^EQ<item goto="false" or="false" field="" endquery="true" value="" operator="=" newquery="false"/> |
| 9 | +</conditions> |
| 10 | +<description/> |
| 11 | +<documentation_url/> |
| 12 | +<name>Users belongs to inactive Group</name> |
| 13 | +<priority>3</priority> |
| 14 | +<resolution_details/> |
| 15 | +<script><![CDATA[(function(finding, current) { |
| 16 | +
|
| 17 | + var grGroup = new GlideRecord("sys_user_group"); |
| 18 | + grGroup.get(current.group); |
| 19 | +
|
| 20 | + finding.setCurrentSource(grGroup); |
| 21 | + finding.increment(); |
| 22 | +
|
| 23 | +
|
| 24 | +})(finding, current);]]></script> |
| 25 | +<short_description>List users that still belongs to already inactivated groups</short_description> |
| 26 | +<sys_class_name>scan_table_check</sys_class_name> |
| 27 | +<sys_created_by>admin</sys_created_by> |
| 28 | +<sys_created_on>2021-10-21 19:31:07</sys_created_on> |
| 29 | +<sys_id>5adc555e2f9b30100b40bea62799b6e3</sys_id> |
| 30 | +<sys_mod_count>3</sys_mod_count> |
| 31 | +<sys_name>Users belongs to inactive Group</sys_name> |
| 32 | +<sys_package display_value="Global" source="global">global</sys_package> |
| 33 | +<sys_policy/> |
| 34 | +<sys_scope display_value="Global">global</sys_scope> |
| 35 | +<sys_update_name>scan_table_check_5adc555e2f9b30100b40bea62799b6e3</sys_update_name> |
| 36 | +<sys_updated_by>admin</sys_updated_by> |
| 37 | +<sys_updated_on>2021-10-21 19:59:01</sys_updated_on> |
| 38 | +<table>sys_user_grmember</table> |
| 39 | +<use_manifest>false</use_manifest> |
| 40 | +</scan_table_check> |
| 41 | +</unload> |
0 commit comments