@itentialopensource/adapter-paragon_insights 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +2925 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +46322 -0
  23. package/adapterBase.js +1787 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +50 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +53 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/Administration/action.json +24 -0
  33. package/entities/Administration/schema.json +19 -0
  34. package/entities/Authentication/action.json +64 -0
  35. package/entities/Authentication/schema.json +21 -0
  36. package/entities/Config/action.json +4586 -0
  37. package/entities/Config/mockdatafiles/createHealthbotDynamicTagging-default.json +6 -0
  38. package/entities/Config/mockdatafiles/createHealthbotIngestSettingsTaggingProfiles-default.json +4 -0
  39. package/entities/Config/mockdatafiles/createHealthbotIngestTaggingProfiles-default.json +3 -0
  40. package/entities/Config/mockdatafiles/retrieveConfigurationJobs-default.json +22 -0
  41. package/entities/Config/mockdatafiles/retrieveFilesHelperFiles-default.json +4 -0
  42. package/entities/Config/mockdatafiles/retrieveHealthbotDynamicTagging-default.json +3 -0
  43. package/entities/Config/mockdatafiles/retrieveHealthbotIngestByoiDefaultPluginTliveKafkas-default.json +3 -0
  44. package/entities/Config/mockdatafiles/retrieveHealthbotIngestByoiIngestMappings-default.json +4 -0
  45. package/entities/Config/mockdatafiles/retrieveHealthbotIngestFrequencyProfile-default.json +6 -0
  46. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSettingsByoiDefaultPluginTliveKafkas-default.json +4 -0
  47. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSettingsByoiIngestMappings-default.json +4 -0
  48. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSettingsFrequencyProfile-default.json +4 -0
  49. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSettingsTaggingProfiles-default.json +5 -0
  50. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSnmpNotificationV3UsmUsernames-default.json +6 -0
  51. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSnmpNotificationV3UsmUsers-default.json +604 -0
  52. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSyslogHeaderPatternIds-default.json +4 -0
  53. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSyslogHeaderPatterns-default.json +44 -0
  54. package/entities/Config/mockdatafiles/retrieveHealthbotIngestTaggingProfiles-default.json +4 -0
  55. package/entities/Config/mockdatafiles/retrieveHealthbotOrganizationOrganization-default.json +5 -0
  56. package/entities/Config/mockdatafiles/retrieveHealthbotTopicResourceResource-default.json +4 -0
  57. package/entities/Config/mockdatafiles/retrieveIcebergIngestFlowTemplateIds-default.json +6 -0
  58. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsFlowTemplateIds-default.json +4 -0
  59. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsSyslogPatternIds-default.json +6 -0
  60. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsSyslogPatternSetIds-default.json +5 -0
  61. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsSyslogPatternSets-default.json +12 -0
  62. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsSyslogPatterns-default.json +113 -0
  63. package/entities/Config/mockdatafiles/retrieveIcebergIngestSyslogPatternIds-default.json +3 -0
  64. package/entities/Config/mockdatafiles/retrieveIcebergIngestSyslogPatternSetIds-default.json +6 -0
  65. package/entities/Config/mockdatafiles/retrieveIcebergIngestSyslogPatternSets-default.json +27 -0
  66. package/entities/Config/mockdatafiles/retrieveIcebergIngestSyslogPatterns-default.json +151 -0
  67. package/entities/Config/mockdatafiles/retrieveIcebergProfileSecurityCaProfiles-default.json +5 -0
  68. package/entities/Config/mockdatafiles/retrieveIcebergProfileSecurityLocalCertificates-default.json +4 -0
  69. package/entities/Config/mockdatafiles/retrieveIcebergProfileSecuritySshKeyProfiles-default.json +3 -0
  70. package/entities/Config/mockdatafiles/retrieveSensors-default.json +4 -0
  71. package/entities/Config/mockdatafiles/updateHealthbotDynamicTagging-default.json +5 -0
  72. package/entities/Config/mockdatafiles/updateHealthbotIngestSettingsTaggingProfiles-default.json +4 -0
  73. package/entities/Config/mockdatafiles/updateHealthbotIngestTaggingProfiles-default.json +4 -0
  74. package/entities/Config/schema.json +452 -0
  75. package/entities/Configuration/action.json +2948 -0
  76. package/entities/Configuration/mockdatafiles/retrieveIcebergDeviceDevice-default.json +4 -0
  77. package/entities/Configuration/mockdatafiles/retrieveIcebergDeviceGroupDeviceGroup-default.json +4 -0
  78. package/entities/Configuration/mockdatafiles/retrieveIcebergNetworkGroupNetworkGroup-default.json +4 -0
  79. package/entities/Configuration/mockdatafiles/retrieveIcebergNotificationNotification-default.json +4 -0
  80. package/entities/Configuration/mockdatafiles/retrieveIcebergPlaybookPlaybook-default.json +4 -0
  81. package/entities/Configuration/mockdatafiles/retrieveIcebergRetentionPolicyRetentionPolicy-default.json +4 -0
  82. package/entities/Configuration/mockdatafiles/retrieveIcebergTopicRuleRule-default.json +4 -0
  83. package/entities/Configuration/mockdatafiles/retrieveIcebergTopicTopic-default.json +4 -0
  84. package/entities/Configuration/schema.json +361 -0
  85. package/entities/Data/action.json +67 -0
  86. package/entities/Data/mockdatafiles/retrieveDataDatabaseTable-default.json +8 -0
  87. package/entities/Data/mockdatafiles/retrieveDataDatabaseTableColumnByTableName-default.json +4 -0
  88. package/entities/Data/mockdatafiles/retrieveDataDatabaseTagsByTableName-default.json +4 -0
  89. package/entities/Data/schema.json +76 -0
  90. package/entities/DataStore/action.json +85 -0
  91. package/entities/DataStore/schema.json +33 -0
  92. package/entities/Debug/action.json +65 -0
  93. package/entities/Debug/mockdatafiles/retrieveDebugForScenario-default.json +14 -0
  94. package/entities/Debug/mockdatafiles/retrieveDebugJobs-default.json +10 -0
  95. package/entities/Debug/schema.json +43 -0
  96. package/entities/DeployedDeviceDetails/action.json +24 -0
  97. package/entities/DeployedDeviceDetails/schema.json +19 -0
  98. package/entities/Documentation/action.json +46 -0
  99. package/entities/Documentation/schema.json +20 -0
  100. package/entities/Event/action.json +130 -0
  101. package/entities/Event/mockdatafiles/retrieveEvent-default.json +20 -0
  102. package/entities/Event/mockdatafiles/retrieveEventByEventName-default.json +8 -0
  103. package/entities/Event/mockdatafiles/retrieveEventByEventNameDeviceGroup-default.json +14 -0
  104. package/entities/Event/mockdatafiles/retrieveEventByEventNameNetworkGroup-default.json +14 -0
  105. package/entities/Event/mockdatafiles/retrieveEventDeviceGroup-default.json +14 -0
  106. package/entities/Event/mockdatafiles/retrieveEventNetworkGroup-default.json +14 -0
  107. package/entities/Event/schema.json +101 -0
  108. package/entities/Events/action.json +25 -0
  109. package/entities/Events/mockdatafiles/retrieveEvents-default.json +26 -0
  110. package/entities/Events/schema.json +41 -0
  111. package/entities/Facts/action.json +67 -0
  112. package/entities/Facts/schema.json +43 -0
  113. package/entities/FieldCapture/action.json +25 -0
  114. package/entities/FieldCapture/schema.json +19 -0
  115. package/entities/Grafana/action.json +66 -0
  116. package/entities/Grafana/schema.json +32 -0
  117. package/entities/Health/action.json +25 -0
  118. package/entities/Health/schema.json +19 -0
  119. package/entities/HealthTree/action.json +67 -0
  120. package/entities/HealthTree/schema.json +54 -0
  121. package/entities/Inspect/action.json +24 -0
  122. package/entities/Inspect/schema.json +19 -0
  123. package/entities/InstanceScheduleState/action.json +45 -0
  124. package/entities/InstanceScheduleState/schema.json +42 -0
  125. package/entities/License/action.json +189 -0
  126. package/entities/License/mockdatafiles/createIcebergAddLicenseFromFile-default.json +3 -0
  127. package/entities/License/mockdatafiles/retrieveIcebergGetAllLicenseId-default.json +4 -0
  128. package/entities/License/mockdatafiles/updateIcebergReplaceLicense-default.json +3 -0
  129. package/entities/License/schema.json +49 -0
  130. package/entities/Logs/action.json +88 -0
  131. package/entities/Logs/schema.json +66 -0
  132. package/entities/Organization/action.json +166 -0
  133. package/entities/Organization/schema.json +59 -0
  134. package/entities/Services/action.json +126 -0
  135. package/entities/Services/mockdatafiles/retrieveServicesDeviceGroupsDeviceGroupDeviceGroup-default.json +4 -0
  136. package/entities/Services/mockdatafiles/retrieveServicesNetworkGroup-default.json +4 -0
  137. package/entities/Services/schema.json +46 -0
  138. package/entities/System/action.json +150 -0
  139. package/entities/System/schema.json +47 -0
  140. package/entities/Workflow/action.json +187 -0
  141. package/entities/Workflow/mockdatafiles/retrieveHealthbotWorkflowWorkflow-default.json +6 -0
  142. package/entities/Workflow/schema.json +38 -0
  143. package/entities/WorkflowInstance/action.json +146 -0
  144. package/entities/WorkflowInstance/schema.json +47 -0
  145. package/entities/WorkflowStatistics/action.json +25 -0
  146. package/entities/WorkflowStatistics/schema.json +19 -0
  147. package/error.json +190 -0
  148. package/package.json +87 -0
  149. package/pronghorn.json +21194 -0
  150. package/propertiesDecorators.json +14 -0
  151. package/propertiesSchema.json +1248 -0
  152. package/refs?service=git-upload-pack +0 -0
  153. package/report/adapterInfo.json +10 -0
  154. package/report/creationReport.json +2565 -0
  155. package/report/insightsopneapi.json +42358 -0
  156. package/sampleProperties.json +195 -0
  157. package/test/integration/adapterTestBasicGet.js +83 -0
  158. package/test/integration/adapterTestConnectivity.js +93 -0
  159. package/test/integration/adapterTestIntegration.js +12269 -0
  160. package/test/unit/adapterBaseTestUnit.js +949 -0
  161. package/test/unit/adapterTestUnit.js +14656 -0
  162. package/utils/adapterInfo.js +206 -0
  163. package/utils/addAuth.js +94 -0
  164. package/utils/artifactize.js +146 -0
  165. package/utils/basicGet.js +50 -0
  166. package/utils/checkMigrate.js +63 -0
  167. package/utils/entitiesToDB.js +178 -0
  168. package/utils/findPath.js +74 -0
  169. package/utils/methodDocumentor.js +225 -0
  170. package/utils/modify.js +154 -0
  171. package/utils/packModificationScript.js +35 -0
  172. package/utils/patches2bundledDeps.js +90 -0
  173. package/utils/pre-commit.sh +32 -0
  174. package/utils/removeHooks.js +20 -0
  175. package/utils/setup.js +33 -0
  176. package/utils/tbScript.js +246 -0
  177. package/utils/tbUtils.js +490 -0
  178. package/utils/testRunner.js +298 -0
  179. package/utils/troubleshootingAdapter.js +195 -0
  180. package/workflows/README.md +3 -0
@@ -0,0 +1,44 @@
1
+ [
2
+ {
3
+ "description": "string",
4
+ "field": [
5
+ {
6
+ "description": "string",
7
+ "from": "string",
8
+ "name": "string",
9
+ "type": null
10
+ },
11
+ {
12
+ "description": "string",
13
+ "from": "string",
14
+ "name": "string",
15
+ "type": null
16
+ },
17
+ {
18
+ "description": "string",
19
+ "from": "string",
20
+ "name": "string",
21
+ "type": null
22
+ },
23
+ {
24
+ "description": "string",
25
+ "from": "string",
26
+ "name": "string",
27
+ "type": null
28
+ },
29
+ {
30
+ "description": "string",
31
+ "from": "string",
32
+ "name": "string",
33
+ "type": null
34
+ }
35
+ ],
36
+ "filter": "string",
37
+ "filter-type": null,
38
+ "key-fields": [
39
+ "string",
40
+ "string"
41
+ ],
42
+ "name": "string"
43
+ }
44
+ ]
@@ -0,0 +1,6 @@
1
+ [
2
+ "string",
3
+ "string",
4
+ "string",
5
+ "string"
6
+ ]
@@ -0,0 +1,6 @@
1
+ [
2
+ "string",
3
+ "string",
4
+ "string",
5
+ "string"
6
+ ]
@@ -0,0 +1,12 @@
1
+ [
2
+ {
3
+ "description": "string",
4
+ "name": "string",
5
+ "pattern-names": [
6
+ "string",
7
+ "string",
8
+ "string",
9
+ "string"
10
+ ]
11
+ }
12
+ ]
@@ -0,0 +1,113 @@
1
+ [
2
+ {
3
+ "constant": [
4
+ {
5
+ "description": "string",
6
+ "name": "string",
7
+ "type": null,
8
+ "value": "string"
9
+ },
10
+ {
11
+ "description": "string",
12
+ "name": "string",
13
+ "type": null,
14
+ "value": "string"
15
+ },
16
+ {
17
+ "description": "string",
18
+ "name": "string",
19
+ "type": null,
20
+ "value": "string"
21
+ },
22
+ {
23
+ "description": "string",
24
+ "name": "string",
25
+ "type": null,
26
+ "value": "string"
27
+ },
28
+ {
29
+ "description": "string",
30
+ "name": "string",
31
+ "type": null,
32
+ "value": "string"
33
+ },
34
+ {
35
+ "description": "string",
36
+ "name": "string",
37
+ "type": null,
38
+ "value": "string"
39
+ },
40
+ {
41
+ "description": "string",
42
+ "name": "string",
43
+ "type": null,
44
+ "value": "string"
45
+ }
46
+ ],
47
+ "description": "string",
48
+ "event-id": "string",
49
+ "field": [
50
+ {
51
+ "description": "string",
52
+ "from": "string",
53
+ "name": "string",
54
+ "type": null
55
+ },
56
+ {
57
+ "description": "string",
58
+ "from": "string",
59
+ "name": "string",
60
+ "type": null
61
+ },
62
+ {
63
+ "description": "string",
64
+ "from": "string",
65
+ "name": "string",
66
+ "type": null
67
+ },
68
+ {
69
+ "description": "string",
70
+ "from": "string",
71
+ "name": "string",
72
+ "type": null
73
+ },
74
+ {
75
+ "description": "string",
76
+ "from": "string",
77
+ "name": "string",
78
+ "type": null
79
+ },
80
+ {
81
+ "description": "string",
82
+ "from": "string",
83
+ "name": "string",
84
+ "type": null
85
+ },
86
+ {
87
+ "description": "string",
88
+ "from": "string",
89
+ "name": "string",
90
+ "type": null
91
+ },
92
+ {
93
+ "description": "string",
94
+ "from": "string",
95
+ "name": "string",
96
+ "type": null
97
+ },
98
+ {
99
+ "description": "string",
100
+ "from": "string",
101
+ "name": "string",
102
+ "type": null
103
+ }
104
+ ],
105
+ "filter": "string",
106
+ "filter-type": null,
107
+ "key-fields": [
108
+ "string",
109
+ "string"
110
+ ],
111
+ "name": "string"
112
+ }
113
+ ]
@@ -0,0 +1,6 @@
1
+ [
2
+ "string",
3
+ "string",
4
+ "string",
5
+ "string"
6
+ ]
@@ -0,0 +1,27 @@
1
+ [
2
+ {
3
+ "description": "string",
4
+ "name": "string",
5
+ "pattern-names": [
6
+ "string",
7
+ "string",
8
+ "string",
9
+ "string"
10
+ ]
11
+ },
12
+ {
13
+ "description": "string",
14
+ "name": "string",
15
+ "pattern-names": [
16
+ "string",
17
+ "string",
18
+ "string",
19
+ "string",
20
+ "string",
21
+ "string",
22
+ "string",
23
+ "string",
24
+ "string"
25
+ ]
26
+ }
27
+ ]
@@ -0,0 +1,151 @@
1
+ [
2
+ {
3
+ "constant": [
4
+ {
5
+ "description": "string",
6
+ "name": "string",
7
+ "type": null,
8
+ "value": "string"
9
+ },
10
+ {
11
+ "description": "string",
12
+ "name": "string",
13
+ "type": null,
14
+ "value": "string"
15
+ },
16
+ {
17
+ "description": "string",
18
+ "name": "string",
19
+ "type": null,
20
+ "value": "string"
21
+ },
22
+ {
23
+ "description": "string",
24
+ "name": "string",
25
+ "type": null,
26
+ "value": "string"
27
+ },
28
+ {
29
+ "description": "string",
30
+ "name": "string",
31
+ "type": null,
32
+ "value": "string"
33
+ },
34
+ {
35
+ "description": "string",
36
+ "name": "string",
37
+ "type": null,
38
+ "value": "string"
39
+ },
40
+ {
41
+ "description": "string",
42
+ "name": "string",
43
+ "type": null,
44
+ "value": "string"
45
+ },
46
+ {
47
+ "description": "string",
48
+ "name": "string",
49
+ "type": null,
50
+ "value": "string"
51
+ }
52
+ ],
53
+ "description": "string",
54
+ "event-id": "string",
55
+ "field": [
56
+ {
57
+ "description": "string",
58
+ "from": "string",
59
+ "name": "string",
60
+ "type": null
61
+ },
62
+ {
63
+ "description": "string",
64
+ "from": "string",
65
+ "name": "string",
66
+ "type": null
67
+ }
68
+ ],
69
+ "filter": "string",
70
+ "filter-type": null,
71
+ "key-fields": [
72
+ "string",
73
+ "string",
74
+ "string",
75
+ "string",
76
+ "string"
77
+ ],
78
+ "name": "string"
79
+ },
80
+ {
81
+ "constant": [
82
+ {
83
+ "description": "string",
84
+ "name": "string",
85
+ "type": null,
86
+ "value": "string"
87
+ },
88
+ {
89
+ "description": "string",
90
+ "name": "string",
91
+ "type": null,
92
+ "value": "string"
93
+ },
94
+ {
95
+ "description": "string",
96
+ "name": "string",
97
+ "type": null,
98
+ "value": "string"
99
+ },
100
+ {
101
+ "description": "string",
102
+ "name": "string",
103
+ "type": null,
104
+ "value": "string"
105
+ },
106
+ {
107
+ "description": "string",
108
+ "name": "string",
109
+ "type": null,
110
+ "value": "string"
111
+ }
112
+ ],
113
+ "description": "string",
114
+ "event-id": "string",
115
+ "field": [
116
+ {
117
+ "description": "string",
118
+ "from": "string",
119
+ "name": "string",
120
+ "type": null
121
+ },
122
+ {
123
+ "description": "string",
124
+ "from": "string",
125
+ "name": "string",
126
+ "type": null
127
+ },
128
+ {
129
+ "description": "string",
130
+ "from": "string",
131
+ "name": "string",
132
+ "type": null
133
+ }
134
+ ],
135
+ "filter": "string",
136
+ "filter-type": null,
137
+ "key-fields": [
138
+ "string",
139
+ "string",
140
+ "string",
141
+ "string",
142
+ "string",
143
+ "string",
144
+ "string",
145
+ "string",
146
+ "string",
147
+ "string"
148
+ ],
149
+ "name": "string"
150
+ }
151
+ ]
@@ -0,0 +1,4 @@
1
+ [
2
+ "sensor1",
3
+ "sensor2"
4
+ ]
@@ -0,0 +1,5 @@
1
+ [
2
+ "string",
3
+ "string",
4
+ "string"
5
+ ]