|
| 1 | +<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check"> |
| 2 | + <scan_table_check action="INSERT_OR_UPDATE"> |
| 3 | + <active>true</active> |
| 4 | + <advanced>false</advanced> |
| 5 | + <category>manageability</category> |
| 6 | + <conditions table="incident">active=true^state=7^ORstate=8^EQ<item endquery="false" field="active" goto="false" newquery="false" operator="=" or="false" value="true"/> |
| 7 | + <item display_value="Closed" endquery="false" field="state" goto="false" newquery="false" operator="=" or="false" value="7"/> |
| 8 | + <item display_value="Canceled" endquery="false" field="state" goto="false" newquery="false" operator="=" or="true" value="8"/> |
| 9 | + <item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/> |
| 10 | + </conditions> |
| 11 | + <description>If records closed or canceled are still active, it can influence the state of the reports on the table. The close_states/work_states may not be set correctly in the column attributes.</description> |
| 12 | + <documentation_url/> |
| 13 | + <finding_type>scan_finding</finding_type> |
| 14 | + <name>Check incidents that are closed or cancelled but still active</name> |
| 15 | + <priority>3</priority> |
| 16 | + <resolution_details/> |
| 17 | + <run_condition/> |
| 18 | + <score_max>100</score_max> |
| 19 | + <score_min>0</score_min> |
| 20 | + <score_scale>1</score_scale> |
| 21 | + <script><![CDATA[(function (engine) { |
| 22 | +
|
| 23 | + // Add your code here |
| 24 | +
|
| 25 | +})(engine);]]></script> |
| 26 | + <short_description>Verify that closed or canceled records are not active anymore</short_description> |
| 27 | + <sys_class_name>scan_table_check</sys_class_name> |
| 28 | + <sys_created_by>admin</sys_created_by> |
| 29 | + <sys_created_on>2023-10-12 11:23:44</sys_created_on> |
| 30 | + <sys_id>22407c16473d35103899fa37536d43e3</sys_id> |
| 31 | + <sys_mod_count>0</sys_mod_count> |
| 32 | + <sys_name>Check incidents that are closed or cancelled but still active</sys_name> |
| 33 | + <sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package> |
| 34 | + <sys_policy/> |
| 35 | + <sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope> |
| 36 | + <sys_update_name>scan_table_check_22407c16473d35103899fa37536d43e3</sys_update_name> |
| 37 | + <sys_updated_by>admin</sys_updated_by> |
| 38 | + <sys_updated_on>2023-10-12 11:23:44</sys_updated_on> |
| 39 | + <table>incident</table> |
| 40 | + <use_manifest>false</use_manifest> |
| 41 | + </scan_table_check> |
| 42 | + <sys_translated_text action="delete_multiple" query="documentkey=22407c16473d35103899fa37536d43e3"/> |
| 43 | +</record_update> |
0 commit comments