You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,40 @@ Open-Sourced community contributed and owned repository for Instance Scan Defini
6
6
7
7
## Category: Manageability
8
8
9
+
### Consider using getXMLAnswer instead of getXML
10
+
getXMLAnswer only retrieves the Answer which we are actually after. getXML retrieves the whole XML document. In most cases, we are not interested in the whole XML document, though only in the Answer.
11
+
For the rare cases where you are interested in the whole XML document, simply mute the generated scan finding.
12
+
13
+
### Could not verify Remote instance connection
14
+
Connection test for the remote instance defined did not result in a positive response.
15
+
9
16
### Duplicate Script Include Name
10
17
This uses a table check to find other Script Includes having the same API name. Technically this is possible, but causes issues as there is no way to control which Script Include will be instantiated when being called.
11
18
19
+
### Don't use new Array()
20
+
In general, you should use the array literal notation when possible. It is easier to read, it gives the compiler a chance to optimize your code, and it's mostly faster too.
21
+
22
+
### Don't use new Object()
23
+
In general, you should use the object literal notation when possible. It is easier to read, it gives the compiler a chance to optimize your code, and it's mostly faster too.
24
+
25
+
### High number of workflows running for a single record
26
+
In general, for a single record only a few Workflow context will be running. If a high number of Workflow context are active, this often indicates an issue on the starting conditions of your Workflow. More then 10 active Workflow context is considered being a high number.
27
+
28
+
### Parent All Nodes/Active Nodes without childs
29
+
Schedule records with system ID "all Nodes" or "active nodes", are considered to be parent schedules. Parent schedules that themselves will never run but instead spawn child jobs (of the same name) for each application node required by their definition. Jobs with system ID "all nodes", are typically background maintenance jobs required for general node health and management. Jobs with system ID "active nodes", are typically jobs that need to run the same event processor or other jobs that need increased processing bandwidth across the platform.
30
+
12
31
### Product Catalog without Product Models
13
32
Catalog Items in the Product Catalog should be created from the underlying Product Model and this association should be kept intact.
14
33
34
+
### Scripts should not contain debugging statements in production
35
+
The "gs.log()", "gs.debug()", "console.log()", etc. statements can be used to write information to the system log, while the "gs.print()", etc. statements also sends it as output to the screen. It is generally used when debugging. Using "gs.log()", "gs.debug()", "console.log()", etc. statements on a production instance will pollute the system log, while it is never used as you do not perform debugging on a production instance.
36
+
37
+
### Unprocessed queues
38
+
External Communication Channel (ECC) Queue is a connection point between an instance and the MID Server. Jobs that the MID Server needs to perform are saved in this queue until the MID Server is ready to handle them. The default polling interval is set to 40 seconds. When there are unprocessed queue records, this can indicate a large volume of queue records, a processing issue in general, or a MID Server issue.
39
+
40
+
### Unprocessed schedules
41
+
Schedules with a state "Ready" run at the next scheduled interval (this does not include schedules with trigger type "Run at System Startup" and "On Demand"). When there are unprocessed schedules, this can indicate a large volume of schedules, a processing issue in general, or errors on the individual schedule itself.
42
+
15
43
### Do not use hard-coded sys_ids
16
44
Hard-coded sys_ids can lead to unpredictable results (sys_ids may differ between instances) and can be difficult to track down.
0 commit comments