Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ Script Includes names should not include spaces since it is not possible to call
### Roles assigned to non-existing users
Identify role assignments (sys_user_has_role) for users that do not exists

### Assign roles to Group
Assign Roles to sys_user_group , Rather than assigning roles to sys_user , It becomes difficult while adding lot of roles

### Check the incidents that are closed or canceled but still active
This is a table check on the incidents table that verifies if there are closed or canceled incidents in the active state, which would be a sign that the close_states are not set correctly on the incident table. This check can be done on any table, especially there where the State model was changed from OOTB or for custom extended tables. The problem with this kind of records is that they can influence the reports on active records on the respective table.

Expand Down
5 changes: 4 additions & 1 deletion ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
4d6lPrUkCVTDgWYn5zU7vu4stzuS-TziCS-zwvUKtV6pl_XMX5Tj-ebHSo_WkFHOKdmi0Ujiy319GF9bCMGVC16bo9b_IO79Y7WPQlkZLCbMBK-_DQKiWEybC9f1ZalcFWo7V4GrtTCBA8jzgVuih9sHYUU8pBeYGaWqFnKL2bd8IAq9VhtmJM_TuEc1kBvs7Nxkz9ixLDGIH4y4hVzMNOJX9_YneP-MN3X1LH88mDVggqTGcAspNfEjeFwlnSdVyaLuzARhoyNhQmW-02eoXtCCio1Yhf5vjbuvWQrxxeRp-jl52NUBETQaNpvlHpVGHl8yAn5H-JI4yHLuJRrw0okqbBWyMgfP3M6LrWJEwR4YjL0aAVVdk9KL3bq9ylh1sEncKCGHZrzpBqXgF_6qJ_C4L6kZl3k-QxXTBEPuWScooyFBJpntmKF19xhnJtQn4LIfF9vWhm9K5PVSzGF2ZGophrvIZvrktw_u4Lnn1Ousm0kEtkYSELmujsAUbXLDOt0_A2KfGpCQmw-1Av5eHfEhzIHwIEk9wj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NfEjeFwlnSdVyaLuzARhoyNhQmW-02eoXtCCio1Yhf5vjbuvWQrxxeRp-jl52NUBETQaNpvlHpVGHl8yAn5H-JI4yHLuJRrw0okqbBWyMgfP3M6LrWJEwR4YjL0aAVVdk9KL3bq9ylh1sEncKCGHZrzpBqXgF_6qJ_C4L6kZl3k-QxXTBEPuWScooyFBJpntmKF19xhnJtQn4LIfF9vWhm9K5PVSzGF2ZGophrvIZvrktw_u4Lnn1Ousm0kEtkYSELmujsAUbXLDOt0_A2KfGpCQmw-1Av5eHfEhzIHwIEk9wjE6BdaExpaZqL_8QIGMHuU4N09_l9uJ_whnwDLeaPRCJjzkwaxLTuetU9mwMVvW8PTJsZQgvnJ6DNr2LAog737M0_LjoIeO10FEwgwNRSCA_nar42g3jwPPWgcpVaMt-ImskANvhys
master
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check">
<scan_table_check action="INSERT_OR_UPDATE">
<active>true</active>
<advanced>true</advanced>
<category>performance</category>
<conditions/>
<description>Business Rules Inactive Status , Shouldnt be Visible</description>
<documentation_url/>
<finding_type>scan_finding</finding_type>
<name>Business_Rule_Active_Status</name>
<priority>3</priority>
<resolution_details/>
<run_condition/>
<score_max>100</score_max>
<score_min>0</score_min>
<score_scale>1</score_scale>
<script><![CDATA[(function (engine) {

if (!current.active) {
gs.addErrorMessage('Inactive Business Rule: ' + current.name);
}

})(engine);]]></script>
<short_description>Check the Active Status of Business Rules</short_description>
<sys_class_name>scan_table_check</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-10-28 09:25:41</sys_created_on>
<sys_id>01342bc1c3ed12103acc7275e40131eb</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>Business_Rule_Active_Status</sys_name>
<sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
<sys_policy/>
<sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
<sys_update_name>scan_table_check_01342bc1c3ed12103acc7275e40131eb</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-10-28 09:25:41</sys_updated_on>
<table>sys_script</table>
<use_manifest>false</use_manifest>
</scan_table_check>
<sys_translated_text action="delete_multiple" query="documentkey=01342bc1c3ed12103acc7275e40131eb"/>
<sys_es_latest_script action="INSERT_OR_UPDATE">
<id>01342bc1c3ed12103acc7275e40131eb</id>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-10-28 09:25:40</sys_created_on>
<sys_id>39946781c3ed12103acc7275e4013112</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-10-28 09:25:40</sys_updated_on>
<table>scan_table_check</table>
<use_es_latest>true</use_es_latest>
</sys_es_latest_script>
</record_update>
Loading