diff --git a/README.md b/README.md index cf76be0..be4028f 100644 --- a/README.md +++ b/README.md @@ -11,16 +11,20 @@ Open-Sourced community contributed and owned repository for Instance Scan Defini # Checks in this repository ## Category: Manageability -### Inactive user check : Catalog task Assigned To + +### Inactive user check: Approvals +Check any approvals waiting in inactive users queue + +### Inactive user check: Catalog task Assigned To Check any Catalog Tasks Assigned to Inactive user ### Check any assets assigned to inactive user Check if any asset is assigned to inactive users. -### Inactive User Check : Catalog Item +### Inactive User Check: Catalog Item We should ensure that inactive users are removed from being assigned as Catalog item owners. -###Avoid gs.log()Statement +### Avoid gs.log()Statement Use Logging Levels: Instead of gs.log(), consider using more appropriate logging levels, such as: gs.info() for informative messages. gs.warn() for warnings that don’t break functionality but may need attention. @@ -276,7 +280,8 @@ Select the check box to ignore flushing some server-side caches, thus flushing o Avoid using gs.sleep() in any script because it does not release session and will cause delays, and add logs to the script whenever gs.sleep() has to be used. ## Category: Security -##Check Mandatory fields on incident + +### Check Mandatory fields on incident This check is used to find mandatory fields on incident ### Avoid using setBasicAuth for REST messages @@ -345,7 +350,7 @@ Scripts in ACLs ARE executed regardless of whether or not the Advanced checked b ### Added a Number Prefix which already exists Creating new number records does not require uniqueness. Though having duplicate number records causes some ServiceNow core functionality not to behave as expected. For example, the search might return a record from another table the number prefix is also used on. -## List Inactive users from active group +### List Inactive users from active group List inactive users that still belongs to activate groups ### HTTP connection records not excluded on clones from Prod diff --git a/ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt b/ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt index 9940b72..632f635 100644 --- a/ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt +++ b/ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt @@ -1 +1 @@ -ad39iLllwcXyHcClv7tIwd87V8cvRPeDsEWhujC7w1DXOJARowOvatgfrJ6huznwKD8Ym_GIVfl7PZ1NAb0TvBct1I5MCraGOXtinvkZTnKtuTjEnnJsqRyGMyFb_-Viy2859sV9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2SzuutMtE8VLa0BVadhasdYUtzgl_q0S4M_DSkozXdOoxSUTIapSZKrudXX7rhu-7i0-knQaJccfmhSBc7aQ4I-yVLhT5PDTY_BO6chD5iM2XxNYzXaKGTrGRDzyGjofq5YYIE8xdxwFzj-W2W95RaF8 \ No newline at end of file diff --git a/ca8467c41b9abc10ce0f62c3b24bcbaa/update/scan_table_check_8de1905683e512103d6c98c6feaad3b9.xml b/ca8467c41b9abc10ce0f62c3b24bcbaa/update/scan_table_check_8de1905683e512103d6c98c6feaad3b9.xml new file mode 100644 index 0000000..685a4be --- /dev/null +++ b/ca8467c41b9abc10ce0f62c3b24bcbaa/update/scan_table_check_8de1905683e512103d6c98c6feaad3b9.xml @@ -0,0 +1,41 @@ + + + true + false + manageability + approver.active=false^EQ + + + Check any approvals waitin on inactive users queue + + scan_finding + Inactive user check : Approval + 1 + + + 100 + 0 + 1 + + Check any approvals waitin on inactive users queue + scan_table_check + admin + 2024-10-31 15:26:29 + 8de1905683e512103d6c98c6feaad3b9 + 0 + Inactive user check : Approval + ca8467c41b9abc10ce0f62c3b24bcbaa + + ca8467c41b9abc10ce0f62c3b24bcbaa + scan_table_check_8de1905683e512103d6c98c6feaad3b9 + admin + 2024-10-31 15:26:29 + sysapproval_approver
+ false +
+ +