@itentialopensource/adapter-sevone 2.2.4 → 2.4.0

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 (311) hide show
  1. package/AUTH.md +39 -0
  2. package/BROKER.md +199 -0
  3. package/CALLS.md +169 -0
  4. package/CHANGELOG.md +59 -89
  5. package/CODE_OF_CONDUCT.md +12 -17
  6. package/CONTRIBUTING.md +88 -74
  7. package/ENHANCE.md +69 -0
  8. package/PROPERTIES.md +641 -0
  9. package/README.md +225 -502
  10. package/SUMMARY.md +9 -0
  11. package/SYSTEMINFO.md +11 -0
  12. package/TROUBLESHOOT.md +47 -0
  13. package/adapter.js +18786 -55
  14. package/adapterBase.js +1021 -245
  15. package/entities/.generic/action.json +110 -5
  16. package/entities/.generic/schema.json +6 -1
  17. package/entities/ApiKeys/action.json +206 -0
  18. package/entities/ApiKeys/mockdatafiles/createApiKey-default.json +7 -0
  19. package/entities/ApiKeys/mockdatafiles/createApiKeyForUser-default.json +7 -0
  20. package/entities/ApiKeys/mockdatafiles/getApiKeys-default.json +9 -0
  21. package/entities/ApiKeys/mockdatafiles/getApiKeysForUser-default.json +23 -0
  22. package/entities/ApiKeys/mockdatafiles/updateApiKey-default.json +7 -0
  23. package/entities/ApiKeys/mockdatafiles/updateApiKeyForUser-default.json +7 -0
  24. package/entities/ApiKeys/schema.json +28 -0
  25. package/entities/Application/action.json +66 -0
  26. package/entities/Application/mockdatafiles/getVersion-default.json +6 -0
  27. package/entities/Application/mockdatafiles/postLoggingLevel-default.json +5 -0
  28. package/entities/Application/schema.json +21 -0
  29. package/entities/Authentication/action.json +126 -0
  30. package/entities/Authentication/mockdatafiles/getActiveSessions-default.json +26 -0
  31. package/entities/Authentication/mockdatafiles/signIn-default.json +3 -0
  32. package/entities/Authentication/schema.json +24 -0
  33. package/entities/CountriesAndTimezones/action.json +25 -0
  34. package/entities/CountriesAndTimezones/mockdatafiles/getTimezonesByCountries-default.json +30 -0
  35. package/entities/CountriesAndTimezones/schema.json +19 -0
  36. package/entities/DeviceComponent/action.json +24 -0
  37. package/entities/DeviceComponent/mockdatafiles/partiallyUpdateObjectById-default.json +193 -0
  38. package/entities/DeviceComponent/schema.json +19 -0
  39. package/entities/DeviceComponentGroup/action.json +24 -0
  40. package/entities/DeviceComponentGroup/mockdatafiles/partiallyUpdateObjectGroupById-default.json +1227 -0
  41. package/entities/DeviceComponentGroup/schema.json +19 -0
  42. package/entities/DeviceGroup/action.json +45 -0
  43. package/entities/DeviceGroup/mockdatafiles/getDeviceTagsById-default.json +5 -0
  44. package/entities/DeviceGroup/mockdatafiles/partiallyUpdateDeviceGroupById-default.json +1352 -0
  45. package/entities/DeviceGroup/schema.json +20 -0
  46. package/entities/DeviceGroupRules/action.json +127 -0
  47. package/entities/DeviceGroupRules/mockdatafiles/createDeviceGroupRule-default.json +16 -0
  48. package/entities/DeviceGroupRules/mockdatafiles/deleteDeviceGroupRule-default.json +5 -0
  49. package/entities/DeviceGroupRules/mockdatafiles/getDeviceGroupRule-default.json +16 -0
  50. package/entities/DeviceGroupRules/mockdatafiles/getDeviceGroupRules-default.json +88 -0
  51. package/entities/DeviceGroupRules/mockdatafiles/getDeviceGroupsRules-default.json +168 -0
  52. package/entities/DeviceGroupRules/mockdatafiles/updateDeviceGroupRule-default.json +16 -0
  53. package/entities/DeviceGroupRules/schema.json +24 -0
  54. package/entities/DeviceTypes/action.json +147 -0
  55. package/entities/DeviceTypes/mockdatafiles/createDeviceType-default.json +446 -0
  56. package/entities/DeviceTypes/mockdatafiles/deleteDeviceTypeById-default.json +5 -0
  57. package/entities/DeviceTypes/mockdatafiles/deleteDeviceTypeMemberById-default.json +5 -0
  58. package/entities/DeviceTypes/mockdatafiles/getDeviceTypeById-default.json +1350 -0
  59. package/entities/DeviceTypes/mockdatafiles/getDeviceTypeForDeviceById-default.json +22 -0
  60. package/entities/DeviceTypes/mockdatafiles/getDeviceTypes-default.json +4274 -0
  61. package/entities/DeviceTypes/schema.json +25 -0
  62. package/entities/Discovery/action.json +86 -0
  63. package/entities/Discovery/mockdatafiles/filterDevicesInDiscovery-default.json +442 -0
  64. package/entities/Discovery/mockdatafiles/getDeviceStatusById-default.json +224 -0
  65. package/entities/Discovery/mockdatafiles/getDevicesInDiscovery-default.json +1826 -0
  66. package/entities/Discovery/mockdatafiles/updateDevicePriority-default.json +100 -0
  67. package/entities/Discovery/schema.json +22 -0
  68. package/entities/DynamicPlugin/action.json +44 -0
  69. package/entities/DynamicPlugin/mockdatafiles/registerDynamicPlugin-default.json +42 -0
  70. package/entities/DynamicPlugin/mockdatafiles/registerDynamicPluginManager-default.json +6 -0
  71. package/entities/DynamicPlugin/schema.json +20 -0
  72. package/entities/ObjectGroupRules/action.json +147 -0
  73. package/entities/ObjectGroupRules/mockdatafiles/applyObjectGroupRules-default.json +5 -0
  74. package/entities/ObjectGroupRules/mockdatafiles/createObjectGroupRule-default.json +14 -0
  75. package/entities/ObjectGroupRules/mockdatafiles/deleteObjectGroupRule-default.json +5 -0
  76. package/entities/ObjectGroupRules/mockdatafiles/getObjectGroupRule-default.json +14 -0
  77. package/entities/ObjectGroupRules/mockdatafiles/getObjectGroupRules-default.json +148 -0
  78. package/entities/ObjectGroupRules/mockdatafiles/getObjectGroupsRules-default.json +36 -0
  79. package/entities/ObjectGroupRules/mockdatafiles/updateObjectGroupRule-default.json +14 -0
  80. package/entities/ObjectGroupRules/schema.json +25 -0
  81. package/entities/Peers/action.json +150 -0
  82. package/entities/Peers/mockdatafiles/editIncorporateModeUsingPATCH-default.json +5 -0
  83. package/entities/Peers/mockdatafiles/getCurrentPeerUsingGET-default.json +27 -0
  84. package/entities/Peers/mockdatafiles/getIncorporateModeUsingGET-default.json +5 -0
  85. package/entities/Peers/mockdatafiles/getPeerUsingGET-default.json +27 -0
  86. package/entities/Peers/mockdatafiles/getPeersUsingGET-default.json +197 -0
  87. package/entities/Peers/schema.json +25 -0
  88. package/entities/Plugins/action.json +292 -0
  89. package/entities/Plugins/mockdatafiles/createPluginIndicatorType-default.json +16 -0
  90. package/entities/Plugins/mockdatafiles/createPluginObjectType-default.json +9 -0
  91. package/entities/Plugins/mockdatafiles/filterPluginIndicatorTypes-default.json +88 -0
  92. package/entities/Plugins/mockdatafiles/filterPluginObjectTypes-default.json +98 -0
  93. package/entities/Plugins/mockdatafiles/getAllPluginIndicatorTypes-default.json +72 -0
  94. package/entities/Plugins/mockdatafiles/getAllPluginObjectTypes-default.json +35 -0
  95. package/entities/Plugins/mockdatafiles/getAllPlugins-default.json +29 -0
  96. package/entities/Plugins/mockdatafiles/updatePluginIndicatorType-default.json +16 -0
  97. package/entities/Plugins/mockdatafiles/updatePluginObjectType-default.json +9 -0
  98. package/entities/Plugins/schema.json +32 -0
  99. package/entities/Policies/action.json +370 -0
  100. package/entities/Policies/mockdatafiles/createPolicy-default.json +298 -0
  101. package/entities/Policies/mockdatafiles/createPolicyCondition-default.json +14 -0
  102. package/entities/Policies/mockdatafiles/createPolicyFolder-default.json +5 -0
  103. package/entities/Policies/mockdatafiles/deletePolicyActionById-default.json +5 -0
  104. package/entities/Policies/mockdatafiles/deletePolicyById-default.json +5 -0
  105. package/entities/Policies/mockdatafiles/deletePolicyConditionById-default.json +5 -0
  106. package/entities/Policies/mockdatafiles/deletePolicyFolderById-default.json +5 -0
  107. package/entities/Policies/mockdatafiles/filterPolicies-default.json +1709 -0
  108. package/entities/Policies/mockdatafiles/findAllUsingGET-default.json +106 -0
  109. package/entities/Policies/mockdatafiles/getActionsUsingGET-default.json +53 -0
  110. package/entities/Policies/mockdatafiles/getPolicies-default.json +1318 -0
  111. package/entities/Policies/mockdatafiles/getPolicy-default.json +73 -0
  112. package/entities/Policies/mockdatafiles/getPolicyConditionById-default.json +14 -0
  113. package/entities/Policies/mockdatafiles/getPolicyFolders-default.json +13 -0
  114. package/entities/Policies/mockdatafiles/updatePolicy-default.json +97 -0
  115. package/entities/Policies/mockdatafiles/updatePolicyAction-default.json +41 -0
  116. package/entities/Policies/mockdatafiles/updatePolicyCondition-default.json +14 -0
  117. package/entities/Policies/mockdatafiles/updatePolicyFolder-default.json +5 -0
  118. package/entities/Policies/schema.json +36 -0
  119. package/entities/ReportAttachments/action.json +107 -0
  120. package/entities/ReportAttachments/mockdatafiles/deleteReportAttachment-default.json +5 -0
  121. package/entities/ReportAttachments/mockdatafiles/getAllReportAttachments-default.json +26 -0
  122. package/entities/ReportAttachments/mockdatafiles/getReportAttachment-default.json +3 -0
  123. package/entities/ReportAttachments/mockdatafiles/updateReportAttachmentById-default.json +3 -0
  124. package/entities/ReportAttachments/schema.json +23 -0
  125. package/entities/ReportAttachmentsAlerts/action.json +311 -0
  126. package/entities/ReportAttachmentsAlerts/mockdatafiles/createAlertAttachment-default.json +122 -0
  127. package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentAggregation-default.json +3 -0
  128. package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentFilterSchema-default.json +218 -0
  129. package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentFilters-default.json +17 -0
  130. package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentResource-default.json +15 -0
  131. package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentSettings-default.json +67 -0
  132. package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentTimeSettings-default.json +8 -0
  133. package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentVisualizationSettings-default.json +59 -0
  134. package/entities/ReportAttachmentsAlerts/mockdatafiles/partiallyUpdateAlertAttachmentVisualizationSettings-default.json +65 -0
  135. package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentAggregation-default.json +3 -0
  136. package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentFilters-default.json +102 -0
  137. package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentResource-default.json +10 -0
  138. package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentSettings-default.json +52 -0
  139. package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentTimeSettings-default.json +8 -0
  140. package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentVisualizationSettings-default.json +65 -0
  141. package/entities/ReportAttachmentsAlerts/schema.json +33 -0
  142. package/entities/ReportAttachmentsDeviceGroups/action.json +106 -0
  143. package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/createDeviceGroupsAttachment-default.json +46 -0
  144. package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/getDeviceGroupsAttachment-default.json +12 -0
  145. package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/getDeviceGroupsAttachmentVisualization-default.json +28 -0
  146. package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/updateDeviceGroupsAttachment-default.json +9 -0
  147. package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/updateDeviceGroupsAttachmentVisualization-default.json +38 -0
  148. package/entities/ReportAttachmentsDeviceGroups/schema.json +23 -0
  149. package/entities/ReportAttachmentsDevices/action.json +209 -0
  150. package/entities/ReportAttachmentsDevices/mockdatafiles/createDeviceAttachment-default.json +81 -0
  151. package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachment-default.json +12 -0
  152. package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachmentFilterSchema-default.json +4 -0
  153. package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachmentFilters-default.json +90 -0
  154. package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachmentSettings-default.json +72 -0
  155. package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachmentVisualization-default.json +36 -0
  156. package/entities/ReportAttachmentsDevices/mockdatafiles/updateDeviceAttachment-default.json +6 -0
  157. package/entities/ReportAttachmentsDevices/mockdatafiles/updateDeviceAttachmentFilters-default.json +36 -0
  158. package/entities/ReportAttachmentsDevices/mockdatafiles/updateDeviceAttachmentSettings-default.json +56 -0
  159. package/entities/ReportAttachmentsDevices/mockdatafiles/updateDeviceAttachmentVisualization-default.json +39 -0
  160. package/entities/ReportAttachmentsDevices/schema.json +28 -0
  161. package/entities/ReportAttachmentsFlowFalcon/action.json +290 -0
  162. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/createFlowFalconAttachment-default.json +243 -0
  163. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentFilterSchema-default.json +4 -0
  164. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentFilters-default.json +138 -0
  165. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentResources-default.json +64 -0
  166. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentSettings-default.json +80 -0
  167. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentTimeSettings-default.json +8 -0
  168. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentVisualizationSettings-default.json +71 -0
  169. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/partiallyUpdateFlowFalconAttachmentSettings-default.json +48 -0
  170. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/partiallyUpdateFlowFalconAttachmentVisualizationSettings-default.json +67 -0
  171. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentFilters-default.json +58 -0
  172. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentResources-default.json +52 -0
  173. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentSettings-default.json +71 -0
  174. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentTimeSettings-default.json +8 -0
  175. package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentVisualizationSettings-default.json +56 -0
  176. package/entities/ReportAttachmentsFlowFalcon/schema.json +32 -0
  177. package/entities/ReportAttachmentsGroupMetrics/action.json +188 -0
  178. package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/createGroupMetricsAttachment-default.json +208 -0
  179. package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/getGroupMetricsAttachment-default.json +172 -0
  180. package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/getGroupMetricsAttachmentSettings-default.json +47 -0
  181. package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/getGroupMetricsAttachmentTimeSettings-default.json +8 -0
  182. package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/getGroupMetricsAttachmentVisualization-default.json +34 -0
  183. package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/updateGroupMetricsAttachment-default.json +207 -0
  184. package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/updateGroupMetricsAttachmentSettings-default.json +62 -0
  185. package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/updateGroupMetricsAttachmentTimeSettings-default.json +8 -0
  186. package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/updateGroupMetricsAttachmentVisualization-default.json +30 -0
  187. package/entities/ReportAttachmentsGroupMetrics/schema.json +27 -0
  188. package/entities/ReportAttachmentsMetadata/action.json +126 -0
  189. package/entities/ReportAttachmentsMetadata/mockdatafiles/createMetadataAttachment-default.json +41 -0
  190. package/entities/ReportAttachmentsMetadata/mockdatafiles/getMetadataAttachmentResources-default.json +12 -0
  191. package/entities/ReportAttachmentsMetadata/mockdatafiles/getMetadataAttachmentVisualizationSettings-default.json +33 -0
  192. package/entities/ReportAttachmentsMetadata/mockdatafiles/partiallyUpdateMetadataAttachmentVisualizationSettings-default.json +27 -0
  193. package/entities/ReportAttachmentsMetadata/mockdatafiles/updateMetadataAttachmentResources-default.json +9 -0
  194. package/entities/ReportAttachmentsMetadata/mockdatafiles/updateMetadataAttachmentVisualizationSettings-default.json +33 -0
  195. package/entities/ReportAttachmentsMetadata/schema.json +24 -0
  196. package/entities/ReportAttachmentsObjectGroups/action.json +126 -0
  197. package/entities/ReportAttachmentsObjectGroups/mockdatafiles/createObjectGroupAttachment-default.json +54 -0
  198. package/entities/ReportAttachmentsObjectGroups/mockdatafiles/getObjectGroupAttachmentResources-default.json +11 -0
  199. package/entities/ReportAttachmentsObjectGroups/mockdatafiles/getObjectGroupAttachmentVisualizationSettings-default.json +41 -0
  200. package/entities/ReportAttachmentsObjectGroups/mockdatafiles/partiallyUpdateObjectGroupAttachmentVisualizationSettings-default.json +35 -0
  201. package/entities/ReportAttachmentsObjectGroups/mockdatafiles/updateObjectGroupAttachmentResources-default.json +16 -0
  202. package/entities/ReportAttachmentsObjectGroups/mockdatafiles/updateObjectGroupAttachmentVisualizationSettings-default.json +36 -0
  203. package/entities/ReportAttachmentsObjectGroups/schema.json +24 -0
  204. package/entities/ReportAttachmentsObjects/action.json +167 -0
  205. package/entities/ReportAttachmentsObjects/mockdatafiles/createObjectAttachment-default.json +51 -0
  206. package/entities/ReportAttachmentsObjects/mockdatafiles/getObjectAttachmentResources-default.json +10 -0
  207. package/entities/ReportAttachmentsObjects/mockdatafiles/getObjectAttachmentSettings-default.json +5 -0
  208. package/entities/ReportAttachmentsObjects/mockdatafiles/getObjectAttachmentVisualizationSettings-default.json +32 -0
  209. package/entities/ReportAttachmentsObjects/mockdatafiles/partiallyUpdateObjectAttachmentVisualizationSettings-default.json +31 -0
  210. package/entities/ReportAttachmentsObjects/mockdatafiles/updateObjectAttachmentResources-default.json +10 -0
  211. package/entities/ReportAttachmentsObjects/mockdatafiles/updateObjectAttachmentSettings-default.json +5 -0
  212. package/entities/ReportAttachmentsObjects/mockdatafiles/updateObjectAttachmentVisualizationSettings-default.json +35 -0
  213. package/entities/ReportAttachmentsObjects/schema.json +26 -0
  214. package/entities/ReportAttachmentsPerformanceMetrics/action.json +228 -0
  215. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/createPerformanceMetricsAttachment-default.json +275 -0
  216. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/getPerformanceMetricsAttachmentResources-default.json +53 -0
  217. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/getPerformanceMetricsAttachmentSettings-default.json +92 -0
  218. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/getPerformanceMetricsAttachmentTimeSettings-default.json +8 -0
  219. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/getPerformanceMetricsAttachmentVisualizationSettings-default.json +124 -0
  220. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/partiallyUpdatePerformanceMetricsAttachmentSettings-default.json +81 -0
  221. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/partiallyUpdatePerformanceMetricsAttachmentVisualizationSettings-default.json +126 -0
  222. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/updatePerformanceMetricsAttachmentResources-default.json +46 -0
  223. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/updatePerformanceMetricsAttachmentSettings-default.json +139 -0
  224. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/updatePerformanceMetricsAttachmentTimeSettings-default.json +8 -0
  225. package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/updatePerformanceMetricsAttachmentVisualizationSettings-default.json +122 -0
  226. package/entities/ReportAttachmentsPerformanceMetrics/schema.json +29 -0
  227. package/entities/ReportAttachmentsStatusMap/action.json +65 -0
  228. package/entities/ReportAttachmentsStatusMap/mockdatafiles/createStatusMapAttachment-default.json +9 -0
  229. package/entities/ReportAttachmentsStatusMap/mockdatafiles/getStatusMapAttachmentResources-default.json +3 -0
  230. package/entities/ReportAttachmentsStatusMap/mockdatafiles/updateStatusMapAttachmentResources-default.json +3 -0
  231. package/entities/ReportAttachmentsStatusMap/schema.json +21 -0
  232. package/entities/ReportAttachmentsTelephony/action.json +188 -0
  233. package/entities/ReportAttachmentsTelephony/mockdatafiles/createTelephonyAttachment-default.json +57 -0
  234. package/entities/ReportAttachmentsTelephony/mockdatafiles/getTelephonyAttachmentAggregation-default.json +3 -0
  235. package/entities/ReportAttachmentsTelephony/mockdatafiles/getTelephonyAttachmentSettings-default.json +9 -0
  236. package/entities/ReportAttachmentsTelephony/mockdatafiles/getTelephonyAttachmentTimeSettings-default.json +8 -0
  237. package/entities/ReportAttachmentsTelephony/mockdatafiles/getTelephonyAttachmentVisualizationSettings-default.json +35 -0
  238. package/entities/ReportAttachmentsTelephony/mockdatafiles/updateTelephonyAttachmentAggregation-default.json +3 -0
  239. package/entities/ReportAttachmentsTelephony/mockdatafiles/updateTelephonyAttachmentSettings-default.json +9 -0
  240. package/entities/ReportAttachmentsTelephony/mockdatafiles/updateTelephonyAttachmentTimeSettings-default.json +8 -0
  241. package/entities/ReportAttachmentsTelephony/mockdatafiles/updateTelephonyAttachmentVisualizationSettings-default.json +33 -0
  242. package/entities/ReportAttachmentsTelephony/schema.json +27 -0
  243. package/entities/ReportAttachmentsTopN/action.json +228 -0
  244. package/entities/ReportAttachmentsTopN/mockdatafiles/createTopNAttachment-default.json +111 -0
  245. package/entities/ReportAttachmentsTopN/mockdatafiles/getTopNAttachmentResources-default.json +8 -0
  246. package/entities/ReportAttachmentsTopN/mockdatafiles/getTopNAttachmentSettings-default.json +129 -0
  247. package/entities/ReportAttachmentsTopN/mockdatafiles/getTopNAttachmentTimeSettings-default.json +8 -0
  248. package/entities/ReportAttachmentsTopN/mockdatafiles/getTopNAttachmentVisualizationSettings-default.json +44 -0
  249. package/entities/ReportAttachmentsTopN/mockdatafiles/partiallyUpdateTopNAttachmentSettings-default.json +140 -0
  250. package/entities/ReportAttachmentsTopN/mockdatafiles/partiallyUpdateTopNAttachmentVisualizationSettings-default.json +47 -0
  251. package/entities/ReportAttachmentsTopN/mockdatafiles/updateTopNAttachmentResources-default.json +13 -0
  252. package/entities/ReportAttachmentsTopN/mockdatafiles/updateTopNAttachmentSettings-default.json +39 -0
  253. package/entities/ReportAttachmentsTopN/mockdatafiles/updateTopNAttachmentTimeSettings-default.json +8 -0
  254. package/entities/ReportAttachmentsTopN/mockdatafiles/updateTopNAttachmentVisualizationSettings-default.json +51 -0
  255. package/entities/ReportAttachmentsTopN/schema.json +29 -0
  256. package/entities/Reports/action.json +187 -0
  257. package/entities/Reports/mockdatafiles/createReport-default.json +24 -0
  258. package/entities/Reports/mockdatafiles/createReportFolder-default.json +5 -0
  259. package/entities/Reports/mockdatafiles/deleteReportById-default.json +5 -0
  260. package/entities/Reports/mockdatafiles/deleteReportFolderById-default.json +5 -0
  261. package/entities/Reports/mockdatafiles/getAllReportFolders-default.json +48 -0
  262. package/entities/Reports/mockdatafiles/getAllReports-default.json +32 -0
  263. package/entities/Reports/mockdatafiles/getReport-default.json +24 -0
  264. package/entities/Reports/mockdatafiles/updateReportById-default.json +24 -0
  265. package/entities/Reports/mockdatafiles/updateReportFolderById-default.json +5 -0
  266. package/entities/Reports/schema.json +27 -0
  267. package/entities/StatusMapImages/action.json +46 -0
  268. package/entities/StatusMapImages/mockdatafiles/getMapImages-default.json +14 -0
  269. package/entities/StatusMapImages/schema.json +20 -0
  270. package/entities/Users/action.json +25 -0
  271. package/entities/Users/mockdatafiles/getCurrentUser-default.json +26 -0
  272. package/entities/Users/schema.json +19 -0
  273. package/entities/alert/action.json +81 -0
  274. package/entities/alert/mockdatafiles/createAlertForced-default.json +27 -0
  275. package/entities/alert/mockdatafiles/getFlowFalconDeviceAlerts-default.json +48 -0
  276. package/entities/alert/mockdatafiles/getMaxSeverityAlertForObjects-default.json +14 -0
  277. package/entities/alert/mockdatafiles/patchAlert-default.json +36 -0
  278. package/entities/alert/schema.json +8 -2
  279. package/entities/device/action.json +20 -0
  280. package/entities/device/mockdatafiles/getdeviceerror.json +1 -58
  281. package/entities/device/mockdatafiles/partiallyUpdateDeviceById-default.json +103 -0
  282. package/entities/device/schema.json +2 -1
  283. package/entities/map/action.json +20 -0
  284. package/entities/map/mockdatafiles/partiallyUpdateStatusMapById-default.json +534 -0
  285. package/entities/map/schema.json +2 -1
  286. package/error.json +12 -0
  287. package/package.json +20 -13
  288. package/pronghorn.json +34868 -2005
  289. package/propertiesDecorators.json +14 -0
  290. package/propertiesSchema.json +436 -0
  291. package/refs?service=git-upload-pack +0 -0
  292. package/report/adapterInfo.json +10 -0
  293. package/report/updateReport1653680202971.json +120 -0
  294. package/sampleProperties.json +94 -2
  295. package/test/integration/adapterTestBasicGet.js +2 -2
  296. package/test/integration/adapterTestIntegration.js +8011 -105
  297. package/test/unit/adapterBaseTestUnit.js +35 -27
  298. package/test/unit/adapterTestUnit.js +7948 -145
  299. package/utils/adapterInfo.js +206 -0
  300. package/utils/addAuth.js +94 -0
  301. package/utils/basicGet.js +1 -14
  302. package/utils/entitiesToDB.js +179 -0
  303. package/utils/modify.js +1 -1
  304. package/utils/packModificationScript.js +1 -1
  305. package/utils/patches2bundledDeps.js +90 -0
  306. package/utils/pre-commit.sh +3 -0
  307. package/utils/removeHooks.js +20 -0
  308. package/utils/tbScript.js +43 -22
  309. package/utils/tbUtils.js +126 -29
  310. package/utils/testRunner.js +16 -16
  311. package/utils/troubleshootingAdapter.js +2 -26
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getCurrentUser",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/api/v1/users/mypreferences?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": "mockdatafiles/getCurrentUser-default.json"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "authentication": "LDAP",
3
+ "customTimeout": 8,
4
+ "dateFormat": "string",
5
+ "email": "string",
6
+ "firstName": "string",
7
+ "forcePasswordChange": true,
8
+ "id": 5,
9
+ "isActive": true,
10
+ "lastName": "string",
11
+ "password": "string",
12
+ "passwordNeverExpires": true,
13
+ "roleIds": [
14
+ 8,
15
+ 9,
16
+ 3,
17
+ 1,
18
+ 1,
19
+ 5,
20
+ 7,
21
+ 1
22
+ ],
23
+ "timezone": "string",
24
+ "timezoneStartupCheck": true,
25
+ "username": "string"
26
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "",
12
+ "enum": [
13
+ "getCurrentUser"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -235,6 +235,87 @@
235
235
  "mockFile": "mockdatafiles/deletealert.json"
236
236
  }
237
237
  ]
238
+ },
239
+ {
240
+ "name": "createAlertForced",
241
+ "protocol": "REST",
242
+ "method": "POST",
243
+ "entitypath": "{base_path}/{version}/api/v1/alerts/force?{query}",
244
+ "requestSchema": "schema.json",
245
+ "responseSchema": "schema.json",
246
+ "timeout": 0,
247
+ "sendEmpty": false,
248
+ "requestDatatype": "JSON",
249
+ "responseDatatype": "JSON",
250
+ "headers": {},
251
+ "responseObjects": [
252
+ {
253
+ "type": "default",
254
+ "key": "",
255
+ "mockFile": "mockdatafiles/createAlertForced-default.json"
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "name": "getFlowFalconDeviceAlerts",
261
+ "protocol": "REST",
262
+ "method": "GET",
263
+ "entitypath": "{base_path}/{version}/api/v1/alerts/netflow-device/{pathv1}?{query}",
264
+ "requestSchema": "schema.json",
265
+ "responseSchema": "schema.json",
266
+ "timeout": 0,
267
+ "sendEmpty": false,
268
+ "sendGetBody": false,
269
+ "requestDatatype": "JSON",
270
+ "responseDatatype": "JSON",
271
+ "headers": {},
272
+ "responseObjects": [
273
+ {
274
+ "type": "default",
275
+ "key": "",
276
+ "mockFile": "mockdatafiles/getFlowFalconDeviceAlerts-default.json"
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "name": "getMaxSeverityAlertForObjects",
282
+ "protocol": "REST",
283
+ "method": "POST",
284
+ "entitypath": "{base_path}/{version}/api/v1/alerts/objects?{query}",
285
+ "requestSchema": "schema.json",
286
+ "responseSchema": "schema.json",
287
+ "timeout": 0,
288
+ "sendEmpty": false,
289
+ "requestDatatype": "JSON",
290
+ "responseDatatype": "JSON",
291
+ "headers": {},
292
+ "responseObjects": [
293
+ {
294
+ "type": "default",
295
+ "key": "",
296
+ "mockFile": "mockdatafiles/getMaxSeverityAlertForObjects-default.json"
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ "name": "patchAlert",
302
+ "protocol": "REST",
303
+ "method": "PATCH",
304
+ "entitypath": "{base_path}/{version}/api/v1/alerts/{pathv1}?{query}",
305
+ "requestSchema": "schema.json",
306
+ "responseSchema": "schema.json",
307
+ "timeout": 0,
308
+ "sendEmpty": false,
309
+ "requestDatatype": "JSON",
310
+ "responseDatatype": "JSON",
311
+ "headers": {},
312
+ "responseObjects": [
313
+ {
314
+ "type": "default",
315
+ "key": "",
316
+ "mockFile": "mockdatafiles/patchAlert-default.json"
317
+ }
318
+ ]
238
319
  }
239
320
  ]
240
321
  }
@@ -0,0 +1,27 @@
1
+ {
2
+ "alertFlowFalcon": {
3
+ "alertId": 6,
4
+ "directionId": 9,
5
+ "filterId": 3,
6
+ "id": 1,
7
+ "interfaceId": 1,
8
+ "netflowDeviceId": 4,
9
+ "viewId": 1
10
+ },
11
+ "clearTime": 7,
12
+ "deviceId": 6,
13
+ "endTime": 6,
14
+ "id": 9,
15
+ "ignoreComment": "string",
16
+ "ignoreUid": 3,
17
+ "ignoreUntil": 6,
18
+ "message": "string",
19
+ "number": 6,
20
+ "objectId": 7,
21
+ "origin": "trap",
22
+ "pluginName": "string",
23
+ "pollId": 7,
24
+ "severity": 8,
25
+ "startTime": 9,
26
+ "thresholdId": 8
27
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "alerts": [
3
+ {
4
+ "acknowledgedBy": "string",
5
+ "alertFlowFalcon": {
6
+ "alertId": 9,
7
+ "directionId": 1,
8
+ "filterId": 2,
9
+ "id": 6,
10
+ "interfaceId": 9,
11
+ "netflowDeviceId": 10,
12
+ "viewId": 9
13
+ },
14
+ "assignedTo": 3,
15
+ "clearMessage": "string",
16
+ "clearTime": 4,
17
+ "closed": 10,
18
+ "closedKey": 8,
19
+ "comments": "string",
20
+ "deviceId": 1,
21
+ "endTime": 1,
22
+ "id": 6,
23
+ "ignoreComment": "string",
24
+ "ignoreUid": 2,
25
+ "ignoreUntil": 5,
26
+ "indicatorId": 3,
27
+ "isMaintenanceAlert": false,
28
+ "lastProcessed": 4,
29
+ "message": "string",
30
+ "number": 8,
31
+ "objectId": 8,
32
+ "origin": "system",
33
+ "pluginName": "string",
34
+ "pollId": 5,
35
+ "severity": 3,
36
+ "startTime": 8,
37
+ "thresholdId": 9
38
+ }
39
+ ],
40
+ "id": 5,
41
+ "name": "string",
42
+ "originIp": "string",
43
+ "overrideName": 3,
44
+ "peer": 7,
45
+ "systemName": "string",
46
+ "versions": "string",
47
+ "visible": 5
48
+ }
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "active": true,
4
+ "alertId": 7,
5
+ "assigned": true,
6
+ "clearTime": 2,
7
+ "deviceId": 5,
8
+ "endTime": 4,
9
+ "numAlerts": 2,
10
+ "objectId": 4,
11
+ "severity": 3,
12
+ "startTime": 10
13
+ }
14
+ ]
@@ -0,0 +1,36 @@
1
+ {
2
+ "acknowledgedBy": "string",
3
+ "alertFlowFalcon": {
4
+ "alertId": 4,
5
+ "directionId": 7,
6
+ "filterId": 9,
7
+ "id": 6,
8
+ "interfaceId": 8,
9
+ "netflowDeviceId": 9,
10
+ "viewId": 3
11
+ },
12
+ "assignedTo": 9,
13
+ "clearMessage": "string",
14
+ "clearTime": 9,
15
+ "closed": 1,
16
+ "closedKey": 9,
17
+ "comments": "string",
18
+ "deviceId": 2,
19
+ "endTime": 3,
20
+ "id": 2,
21
+ "ignoreComment": "string",
22
+ "ignoreUid": 7,
23
+ "ignoreUntil": 9,
24
+ "indicatorId": 3,
25
+ "isMaintenanceAlert": true,
26
+ "lastProcessed": 7,
27
+ "message": "string",
28
+ "number": 7,
29
+ "objectId": 6,
30
+ "origin": "trap",
31
+ "pluginName": "string",
32
+ "pollId": 8,
33
+ "severity": 9,
34
+ "startTime": 8,
35
+ "thresholdId": 5
36
+ }
@@ -2,6 +2,8 @@
2
2
  "$id": "sevone_alert",
3
3
  "type": "object",
4
4
  "$schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
5
7
  "properties": {
6
8
  "ph_request_type": {
7
9
  "type": "string",
@@ -18,7 +20,11 @@
18
20
  "assignAlert",
19
21
  "ignoreAlert",
20
22
  "clearAlert",
21
- "deleteAlert"
23
+ "deleteAlert",
24
+ "createAlertForced",
25
+ "getFlowFalconDeviceAlerts",
26
+ "getMaxSeverityAlertForObjects",
27
+ "patchAlert"
22
28
  ],
23
29
  "external_name": "ph_request_type"
24
30
  },
@@ -287,7 +293,7 @@
287
293
  "key": ""
288
294
  },
289
295
  "minimum": 0,
290
- "maximum": 7,
296
+ "maximum": 10,
291
297
  "external_name": "severity"
292
298
  },
293
299
  "startTime": {
@@ -114,6 +114,26 @@
114
114
  "mockFile": "mockdatafiles/deletedevice.json"
115
115
  }
116
116
  ]
117
+ },
118
+ {
119
+ "name": "partiallyUpdateDeviceById",
120
+ "protocol": "REST",
121
+ "method": "PATCH",
122
+ "entitypath": "{base_path}/{version}/api/v1/devices/{pathv1}?{query}",
123
+ "requestSchema": "schema.json",
124
+ "responseSchema": "schema.json",
125
+ "timeout": 0,
126
+ "sendEmpty": false,
127
+ "requestDatatype": "JSON",
128
+ "responseDatatype": "JSON",
129
+ "headers": {},
130
+ "responseObjects": [
131
+ {
132
+ "type": "default",
133
+ "key": "",
134
+ "mockFile": "mockdatafiles/partiallyUpdateDeviceById-default.json"
135
+ }
136
+ ]
117
137
  }
118
138
  ]
119
139
  }
@@ -1,61 +1,4 @@
1
1
  {
2
2
  "status": 400,
3
- "response": {
4
- "allowDelete":true,
5
- "alternateName":"string",
6
- "dateAdded":0,
7
- "description":"TESTING",
8
- "disableConcurrentPolling":true,
9
- "disablePolling":true,
10
- "disableThresholding":true,
11
- "id":1245,
12
- "ipAddress":"10.10.10.1",
13
- "isDeleted":true,
14
- "isNew":true,
15
- "lastDiscovery":0,
16
- "name":"Michael 1",
17
- "numElements":0,
18
- "objects":[
19
- {
20
- "description":"string",
21
- "deviceId":1245,
22
- "extendedInfo":{
23
- },
24
- "id":1234,
25
- "indicators":[
26
- {
27
- "deviceId":1245,
28
- "evaluationOrder":0,
29
- "extendedInfo":{
30
- },
31
- "format":"GAUGE",
32
- "id":9876,
33
- "isBaselining":true,
34
- "isDeleted":true,
35
- "isEnabled":true,
36
- "lastInvalidationTime":0,
37
- "maxValue":0,
38
- "objectId":0,
39
- "pluginId":0,
40
- "pluginIndicatorTypeId":0,
41
- "syntheticExpression":"string"
42
- }
43
- ],
44
- "isDeleted":true,
45
- "isEnabled":true,
46
- "isVisible":true,
47
- "name":"string",
48
- "pluginId":0,
49
- "pluginObjectTypeId":0,
50
- "subtypeId":0
51
- }
52
- ],
53
- "peerId":0,
54
- "pluginInfo":{
55
- },
56
- "pluginManagerId":0,
57
- "pollFrequency":0,
58
- "timezone":"string",
59
- "workhoursGroupId":0
60
- }
3
+ "response": "failed"
61
4
  }
@@ -0,0 +1,103 @@
1
+ {
2
+ "allowDelete": false,
3
+ "alternateName": "string",
4
+ "dateAdded": 1,
5
+ "description": "string",
6
+ "disableConcurrentPolling": true,
7
+ "disablePolling": false,
8
+ "disableThresholding": true,
9
+ "id": 9,
10
+ "ipAddress": "string",
11
+ "isDeleted": false,
12
+ "isNew": true,
13
+ "lastDiscovery": 5,
14
+ "manualIP": true,
15
+ "name": "string",
16
+ "numElements": 8,
17
+ "objects": [
18
+ {
19
+ "alternateName": "string",
20
+ "dateAdded": 9,
21
+ "description": "string",
22
+ "deviceId": 5,
23
+ "enabled": {},
24
+ "extendedInfo": {},
25
+ "id": 7,
26
+ "indicators": [
27
+ {},
28
+ {},
29
+ {},
30
+ {},
31
+ {},
32
+ {},
33
+ {},
34
+ {},
35
+ {}
36
+ ],
37
+ "isDeleted": false,
38
+ "isEnabled": false,
39
+ "isVisible": false,
40
+ "name": "string",
41
+ "pluginId": 6,
42
+ "pluginObjectTypeId": 1,
43
+ "subtypeId": 2
44
+ },
45
+ {
46
+ "alternateName": "string",
47
+ "dateAdded": 1,
48
+ "description": "string",
49
+ "deviceId": 5,
50
+ "enabled": {},
51
+ "extendedInfo": {},
52
+ "id": 1,
53
+ "indicators": [
54
+ {},
55
+ {},
56
+ {},
57
+ {},
58
+ {},
59
+ {}
60
+ ],
61
+ "isDeleted": false,
62
+ "isEnabled": true,
63
+ "isVisible": true,
64
+ "name": "string",
65
+ "pluginId": 10,
66
+ "pluginObjectTypeId": 2,
67
+ "subtypeId": 9
68
+ },
69
+ {
70
+ "alternateName": "string",
71
+ "dateAdded": 4,
72
+ "description": "string",
73
+ "deviceId": 3,
74
+ "enabled": {},
75
+ "extendedInfo": {},
76
+ "id": 10,
77
+ "indicators": [
78
+ {},
79
+ {},
80
+ {},
81
+ {},
82
+ {},
83
+ {},
84
+ {},
85
+ {},
86
+ {}
87
+ ],
88
+ "isDeleted": false,
89
+ "isEnabled": true,
90
+ "isVisible": false,
91
+ "name": "string",
92
+ "pluginId": 2,
93
+ "pluginObjectTypeId": 9,
94
+ "subtypeId": 4
95
+ }
96
+ ],
97
+ "peerId": 6,
98
+ "pluginInfo": {},
99
+ "pluginManagerId": 10,
100
+ "pollFrequency": 5,
101
+ "timezone": "string",
102
+ "workhoursGroupId": 9
103
+ }
@@ -12,7 +12,8 @@
12
12
  "getDevicesFiltered",
13
13
  "createDevice",
14
14
  "updateDevice",
15
- "deleteDevice"
15
+ "deleteDevice",
16
+ "partiallyUpdateDeviceById"
16
17
  ],
17
18
  "external_name": "ph_request_type"
18
19
  },
@@ -256,6 +256,26 @@
256
256
  "mockFile": "mockdatafiles/deletemapnode.json"
257
257
  }
258
258
  ]
259
+ },
260
+ {
261
+ "name": "partiallyUpdateStatusMapById",
262
+ "protocol": "REST",
263
+ "method": "PATCH",
264
+ "entitypath": "{base_path}/{version}/api/v1/maps/{pathv1}?{query}",
265
+ "requestSchema": "schema.json",
266
+ "responseSchema": "schema.json",
267
+ "timeout": 0,
268
+ "sendEmpty": false,
269
+ "requestDatatype": "JSON",
270
+ "responseDatatype": "JSON",
271
+ "headers": {},
272
+ "responseObjects": [
273
+ {
274
+ "type": "default",
275
+ "key": "",
276
+ "mockFile": "mockdatafiles/partiallyUpdateStatusMapById-default.json"
277
+ }
278
+ ]
259
279
  }
260
280
  ]
261
281
  }