@oneuptime/common 14.0.99 → 14.0.100

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 (603) hide show
  1. package/Models/AnalyticsModels/ExceptionInstance.d.mts +2 -0
  2. package/Models/AnalyticsModels/ExceptionInstance.d.ts +2 -0
  3. package/Models/AnalyticsModels/ExceptionInstance.js +31 -0
  4. package/Models/AnalyticsModels/LogCountBaseline.d.mts +6 -0
  5. package/Models/AnalyticsModels/LogCountBaseline.d.ts +6 -0
  6. package/Models/AnalyticsModels/LogCountBaseline.js +7 -1
  7. package/Models/AnalyticsModels/MetricBaselineHourly.d.mts +11 -6
  8. package/Models/AnalyticsModels/MetricBaselineHourly.d.ts +11 -6
  9. package/Models/AnalyticsModels/MetricBaselineHourly.js +12 -7
  10. package/Models/AnalyticsModels/RumSessionChunk.js +1 -1
  11. package/Models/AnalyticsModels/SpanCountBaseline.d.mts +17 -9
  12. package/Models/AnalyticsModels/SpanCountBaseline.d.ts +17 -9
  13. package/Models/AnalyticsModels/SpanCountBaseline.js +18 -10
  14. package/Models/DatabaseModels/CloudApp.d.mts +27 -0
  15. package/Models/DatabaseModels/CloudApp.d.ts +27 -0
  16. package/Models/DatabaseModels/CloudApp.js +414 -0
  17. package/Models/DatabaseModels/CloudApp.mjs +2 -0
  18. package/Models/DatabaseModels/CloudAppRevision.d.mts +23 -0
  19. package/Models/DatabaseModels/CloudAppRevision.d.ts +23 -0
  20. package/Models/DatabaseModels/CloudAppRevision.js +351 -0
  21. package/Models/DatabaseModels/CloudAppRevision.mjs +2 -0
  22. package/Models/DatabaseModels/CloudResourceFeed.d.mts +4 -1
  23. package/Models/DatabaseModels/CloudResourceFeed.d.ts +4 -1
  24. package/Models/DatabaseModels/CloudResourceFeed.js +17 -1
  25. package/Models/DatabaseModels/CloudResourceFeed.mjs +1 -0
  26. package/Models/DatabaseModels/CloudResourceInstance.d.mts +4 -0
  27. package/Models/DatabaseModels/CloudResourceInstance.d.ts +4 -0
  28. package/Models/DatabaseModels/CloudResourceInstance.js +60 -1
  29. package/Models/DatabaseModels/CloudResourceLabelRule.d.mts +2 -0
  30. package/Models/DatabaseModels/CloudResourceLabelRule.d.ts +2 -0
  31. package/Models/DatabaseModels/CloudResourceLabelRule.js +44 -1
  32. package/Models/DatabaseModels/CloudResourceOwnerRule.d.mts +2 -0
  33. package/Models/DatabaseModels/CloudResourceOwnerRule.d.ts +2 -0
  34. package/Models/DatabaseModels/CloudResourceOwnerRule.js +44 -1
  35. package/Models/DatabaseModels/Dashboard.d.mts +2 -0
  36. package/Models/DatabaseModels/Dashboard.d.ts +2 -0
  37. package/Models/DatabaseModels/Dashboard.js +88 -0
  38. package/Models/DatabaseModels/DataSecurityIdentity.d.mts +29 -0
  39. package/Models/DatabaseModels/DataSecurityIdentity.d.ts +29 -0
  40. package/Models/DatabaseModels/DataSecurityIdentity.js +535 -0
  41. package/Models/DatabaseModels/DataSecurityIdentity.mjs +2 -0
  42. package/Models/DatabaseModels/DataStore.d.mts +1 -0
  43. package/Models/DatabaseModels/DataStore.d.ts +1 -0
  44. package/Models/DatabaseModels/DataStore.js +16 -0
  45. package/Models/DatabaseModels/DataStoreAccess.d.mts +1 -0
  46. package/Models/DatabaseModels/DataStoreAccess.d.ts +1 -0
  47. package/Models/DatabaseModels/DataStoreAccess.js +20 -0
  48. package/Models/DatabaseModels/DataStoreFinding.d.mts +3 -0
  49. package/Models/DatabaseModels/DataStoreFinding.d.ts +3 -0
  50. package/Models/DatabaseModels/DataStoreFinding.js +63 -1
  51. package/Models/DatabaseModels/DetectionRule.d.mts +1 -0
  52. package/Models/DatabaseModels/DetectionRule.d.ts +1 -0
  53. package/Models/DatabaseModels/DetectionRule.js +31 -0
  54. package/Models/DatabaseModels/ExceptionSavedView.d.mts +16 -0
  55. package/Models/DatabaseModels/ExceptionSavedView.d.ts +16 -0
  56. package/Models/DatabaseModels/ExceptionSavedView.js +413 -0
  57. package/Models/DatabaseModels/ExceptionSavedView.mjs +2 -0
  58. package/Models/DatabaseModels/FormDomain.d.mts +28 -0
  59. package/Models/DatabaseModels/FormDomain.d.ts +28 -0
  60. package/Models/DatabaseModels/FormDomain.js +598 -0
  61. package/Models/DatabaseModels/FormDomain.mjs +2 -0
  62. package/Models/DatabaseModels/IncidentEpisodeRoleMember.js +10 -1
  63. package/Models/DatabaseModels/Index.js +12 -0
  64. package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.mts +2 -1
  65. package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.ts +2 -1
  66. package/Models/DatabaseModels/NetworkEndpoint.d.mts +2 -0
  67. package/Models/DatabaseModels/NetworkEndpoint.d.ts +2 -0
  68. package/Models/DatabaseModels/NetworkEndpoint.js +62 -1
  69. package/Models/DatabaseModels/ProxmoxCluster.d.mts +2 -0
  70. package/Models/DatabaseModels/ProxmoxCluster.d.ts +2 -0
  71. package/Models/DatabaseModels/ProxmoxCluster.js +66 -0
  72. package/Models/DatabaseModels/ProxmoxResource.d.mts +13 -0
  73. package/Models/DatabaseModels/ProxmoxResource.d.ts +13 -0
  74. package/Models/DatabaseModels/ProxmoxResource.js +292 -0
  75. package/Models/DatabaseModels/StatusPageSubscriber.d.mts +1 -0
  76. package/Models/DatabaseModels/StatusPageSubscriber.d.ts +1 -0
  77. package/Models/DatabaseModels/StatusPageSubscriber.js +52 -0
  78. package/Models/DatabaseModels/TelemetryException.d.mts +5 -0
  79. package/Models/DatabaseModels/TelemetryException.d.ts +5 -0
  80. package/Models/DatabaseModels/TelemetryException.js +183 -0
  81. package/Models/DatabaseModels/TelemetryExceptionActivity.d.mts +42 -0
  82. package/Models/DatabaseModels/TelemetryExceptionActivity.d.ts +42 -0
  83. package/Models/DatabaseModels/TelemetryExceptionActivity.js +527 -0
  84. package/Models/DatabaseModels/TelemetryExceptionActivity.mjs +3 -0
  85. package/Server/Services/DatabaseService.d.mts +10 -0
  86. package/Server/Services/DatabaseService.d.ts +10 -0
  87. package/Types/AI/AIResourceContext.d.mts +2 -0
  88. package/Types/AI/AIResourceContext.d.ts +2 -0
  89. package/Types/AI/AIResourceContext.js +5 -0
  90. package/Types/Analytics/CookieConsent.d.mts +1 -0
  91. package/Types/Analytics/CookieConsent.d.ts +1 -0
  92. package/Types/Analytics/CookieConsent.js +10 -0
  93. package/Types/Analytics/CookieConsent.mjs +2 -0
  94. package/Types/BaseDatabase/AggregateBy.d.mts +13 -0
  95. package/Types/BaseDatabase/AggregateBy.d.ts +13 -0
  96. package/Types/Billing/SubscriptionPlanPricing.d.mts +2 -0
  97. package/Types/Billing/SubscriptionPlanPricing.d.ts +2 -0
  98. package/Types/Billing/SubscriptionPlanPricing.js +30 -0
  99. package/Types/Billing/SubscriptionPlanPricing.mjs +2 -0
  100. package/Types/Cloud/CloudPlatform.d.mts +3 -0
  101. package/Types/Cloud/CloudPlatform.d.ts +3 -0
  102. package/Types/Cloud/CloudPlatform.js +50 -0
  103. package/Types/Cloud/CloudResourceKind.d.mts +11 -0
  104. package/Types/Cloud/CloudResourceKind.d.ts +11 -0
  105. package/Types/Cloud/CloudResourceKind.js +78 -9
  106. package/Types/Cloud/CloudResourceKind.mjs +5 -0
  107. package/Types/CloudConnection/CloudConnectionCatalog.js +10 -8
  108. package/Types/CloudConnection/CloudConnectionSetupCommands.js +32 -10
  109. package/Types/CustomField/CustomFieldFile.d.mts +69 -0
  110. package/Types/CustomField/CustomFieldFile.d.ts +69 -0
  111. package/Types/CustomField/CustomFieldFile.js +235 -0
  112. package/Types/CustomField/CustomFieldFile.mjs +16 -0
  113. package/Types/CustomField/CustomFieldRecordKinds.d.mts +25 -0
  114. package/Types/CustomField/CustomFieldRecordKinds.d.ts +25 -0
  115. package/Types/CustomField/CustomFieldRecordKinds.js +111 -0
  116. package/Types/CustomField/CustomFieldRecordKinds.mjs +6 -0
  117. package/Types/CustomField/CustomFieldType.d.mts +15 -1
  118. package/Types/CustomField/CustomFieldType.d.ts +15 -1
  119. package/Types/CustomField/CustomFieldType.js +14 -0
  120. package/Types/CustomField/CustomFieldValueFormat.d.mts +3 -2
  121. package/Types/CustomField/CustomFieldValueFormat.d.ts +3 -2
  122. package/Types/CustomField/CustomFieldValueFormat.js +8 -2
  123. package/Types/CustomField/CustomFieldValueMapping.js +31 -2
  124. package/Types/CustomField/CustomFieldValueValidator.js +41 -1
  125. package/Types/Dashboard/DashboardLanguage.d.mts +1 -0
  126. package/Types/Dashboard/DashboardLanguage.d.ts +1 -0
  127. package/Types/Dashboard/DashboardLanguage.js +7 -1
  128. package/Types/Dashboard/DashboardLanguage.mjs +1 -0
  129. package/Types/Dashboard/DashboardTemplateFallbackHints.d.mts +4 -0
  130. package/Types/Dashboard/DashboardTemplateFallbackHints.d.ts +4 -0
  131. package/Types/Dashboard/DashboardTemplateFallbackHints.js +42 -0
  132. package/Types/Dashboard/DashboardTemplateFallbackHints.mjs +4 -0
  133. package/Types/Dashboard/DashboardTemplates.js +34 -11
  134. package/Types/DataSecurity/ComplianceRequirementCatalog.js +4 -0
  135. package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +1 -0
  136. package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +1 -0
  137. package/Types/DataSecurity/DataSecurityCheckCatalog.js +53 -0
  138. package/Types/DataSecurity/DataSecurityIdentity.d.mts +27 -0
  139. package/Types/DataSecurity/DataSecurityIdentity.d.ts +27 -0
  140. package/Types/DataSecurity/DataSecurityIdentity.js +160 -0
  141. package/Types/DataSecurity/DataSecurityIdentity.mjs +14 -0
  142. package/Types/DataSecurity/DataSecurityResponseAction.d.mts +9 -1
  143. package/Types/DataSecurity/DataSecurityResponseAction.d.ts +9 -1
  144. package/Types/DataSecurity/DataSecurityResponseAction.js +113 -26
  145. package/Types/DataSecurity/DataSecurityResponseAction.mjs +2 -0
  146. package/Types/DataSecurity/DataStoreAccess.d.mts +7 -0
  147. package/Types/DataSecurity/DataStoreAccess.d.ts +7 -0
  148. package/Types/DataSecurity/DataStoreAccess.js +23 -1
  149. package/Types/DataSecurity/DataStoreAccess.mjs +2 -0
  150. package/Types/Date.d.mts +30 -1
  151. package/Types/Date.d.ts +30 -1
  152. package/Types/Date.js +173 -5
  153. package/Types/Email/EmailMessage.d.mts +1 -0
  154. package/Types/Email/EmailMessage.d.ts +1 -0
  155. package/Types/Episode/EpisodeMembersAdd.d.mts +2 -0
  156. package/Types/Episode/EpisodeMembersAdd.d.ts +2 -0
  157. package/Types/Episode/EpisodeMembersAdd.js +9 -1
  158. package/Types/Episode/EpisodeMembersAdd.mjs +2 -0
  159. package/Types/File/FileContentCheck.d.mts +13 -0
  160. package/Types/File/FileContentCheck.d.ts +13 -0
  161. package/Types/File/FileContentCheck.js +301 -0
  162. package/Types/File/FileContentCheck.mjs +4 -0
  163. package/Types/File/FileSize.d.mts +3 -0
  164. package/Types/File/FileSize.d.ts +3 -0
  165. package/Types/File/FileSize.js +30 -0
  166. package/Types/File/FileSize.mjs +3 -0
  167. package/Types/File/FileTypeIcon.d.mts +4 -0
  168. package/Types/File/FileTypeIcon.d.ts +4 -0
  169. package/Types/File/FileTypeIcon.js +26 -0
  170. package/Types/File/FileTypeIcon.mjs +3 -0
  171. package/Types/File/MimeTypeLabel.d.mts +3 -0
  172. package/Types/File/MimeTypeLabel.d.ts +3 -0
  173. package/Types/File/MimeTypeLabel.js +39 -0
  174. package/Types/File/MimeTypeLabel.mjs +3 -0
  175. package/Types/Form/FormCustomDomain.d.mts +19 -0
  176. package/Types/Form/FormCustomDomain.d.ts +19 -0
  177. package/Types/Form/FormCustomDomain.js +86 -0
  178. package/Types/Form/FormCustomDomain.mjs +13 -0
  179. package/Types/Form/FormField.js +6 -0
  180. package/Types/Form/FormFileAnswer.d.mts +34 -0
  181. package/Types/Form/FormFileAnswer.d.ts +34 -0
  182. package/Types/Form/FormFileAnswer.js +203 -0
  183. package/Types/Form/FormFileAnswer.mjs +10 -0
  184. package/Types/Form/FormPublic.d.mts +16 -1
  185. package/Types/Form/FormPublic.d.ts +16 -1
  186. package/Types/Form/FormPublic.js +184 -2
  187. package/Types/Form/FormPublic.mjs +5 -0
  188. package/Types/Form/FormSubmissionAnswer.js +29 -0
  189. package/Types/InstallScripts/InstallScripts.d.mts +28 -0
  190. package/Types/InstallScripts/InstallScripts.d.ts +28 -0
  191. package/Types/InstallScripts/InstallScripts.js +225 -0
  192. package/Types/InstallScripts/InstallScripts.mjs +11 -0
  193. package/Types/Kubernetes/KubernetesClusterProvider.d.mts +10 -0
  194. package/Types/Kubernetes/KubernetesClusterProvider.d.ts +10 -0
  195. package/Types/Kubernetes/KubernetesClusterProvider.js +95 -0
  196. package/Types/Kubernetes/KubernetesClusterProvider.mjs +8 -0
  197. package/Types/Kubernetes/KubernetesInventoryExtractor.js +23 -16
  198. package/Types/Kubernetes/KubernetesObjectParser.d.mts +24 -0
  199. package/Types/Kubernetes/KubernetesObjectParser.d.ts +24 -0
  200. package/Types/Kubernetes/KubernetesObjectParser.js +64 -0
  201. package/Types/Kubernetes/KubernetesObjectParser.mjs +3 -0
  202. package/Types/Kubernetes/OpenShiftObjectAttributes.d.mts +20 -0
  203. package/Types/Kubernetes/OpenShiftObjectAttributes.d.ts +20 -0
  204. package/Types/Kubernetes/OpenShiftObjectAttributes.js +124 -0
  205. package/Types/Kubernetes/OpenShiftObjectAttributes.mjs +5 -0
  206. package/Types/Kubernetes/OpenShiftObjectParser.d.mts +140 -0
  207. package/Types/Kubernetes/OpenShiftObjectParser.d.ts +140 -0
  208. package/Types/Kubernetes/OpenShiftObjectParser.js +436 -0
  209. package/Types/Kubernetes/OpenShiftObjectParser.mjs +22 -0
  210. package/Types/Metrics/MetricQueryConfigData.d.mts +2 -0
  211. package/Types/Metrics/MetricQueryConfigData.d.ts +2 -0
  212. package/Types/Metrics/MetricQueryFallback.d.mts +10 -0
  213. package/Types/Metrics/MetricQueryFallback.d.ts +10 -0
  214. package/Types/Metrics/MetricQueryFallback.js +2 -0
  215. package/Types/Metrics/MetricQueryFallback.mjs +1 -0
  216. package/Types/Monitor/CephAlertTemplates.d.mts +2 -2
  217. package/Types/Monitor/CephAlertTemplates.d.ts +2 -2
  218. package/Types/Monitor/CephAlertTemplates.js +17 -14
  219. package/Types/Monitor/CephMetricCatalog.d.mts +2 -0
  220. package/Types/Monitor/CephMetricCatalog.d.ts +2 -0
  221. package/Types/Monitor/CephMetricCatalog.js +72 -29
  222. package/Types/Monitor/CephMetricCatalog.mjs +2 -0
  223. package/Types/Monitor/CriteriaFilter.d.mts +17 -0
  224. package/Types/Monitor/CriteriaFilter.d.ts +17 -0
  225. package/Types/Monitor/CriteriaFilter.js +23 -1
  226. package/Types/Monitor/CriteriaFilter.mjs +3 -0
  227. package/Types/Monitor/DockerAlertTemplates.d.mts +1 -0
  228. package/Types/Monitor/DockerAlertTemplates.d.ts +1 -0
  229. package/Types/Monitor/DockerAlertTemplates.js +63 -52
  230. package/Types/Monitor/DockerMetricCatalog.js +16 -0
  231. package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +1 -0
  232. package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +1 -0
  233. package/Types/Monitor/DockerSwarmAlertTemplates.js +13 -2
  234. package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.mts +34 -0
  235. package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.ts +34 -0
  236. package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.js +170 -0
  237. package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.mjs +12 -0
  238. package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.mts +17 -0
  239. package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.ts +17 -0
  240. package/Types/Monitor/HostMetricCatalog.d.mts +2 -0
  241. package/Types/Monitor/HostMetricCatalog.d.ts +2 -0
  242. package/Types/Monitor/HostMetricCatalog.js +20 -11
  243. package/Types/Monitor/IotAlertTemplates.d.mts +1 -0
  244. package/Types/Monitor/IotAlertTemplates.d.ts +1 -0
  245. package/Types/Monitor/IotAlertTemplates.js +11 -7
  246. package/Types/Monitor/KubernetesAlertTemplates.d.mts +15 -12
  247. package/Types/Monitor/KubernetesAlertTemplates.d.ts +15 -12
  248. package/Types/Monitor/KubernetesAlertTemplates.js +155 -73
  249. package/Types/Monitor/KubernetesMetricCatalog.d.mts +2 -1
  250. package/Types/Monitor/KubernetesMetricCatalog.d.ts +2 -1
  251. package/Types/Monitor/KubernetesMetricCatalog.js +62 -1
  252. package/Types/Monitor/LogMonitor/LogMonitorResponse.d.mts +1 -0
  253. package/Types/Monitor/LogMonitor/LogMonitorResponse.d.ts +1 -0
  254. package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.mts +24 -1
  255. package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.ts +24 -1
  256. package/Types/Monitor/MonitorStepCephMonitor.d.mts +1 -0
  257. package/Types/Monitor/MonitorStepCephMonitor.d.ts +1 -0
  258. package/Types/Monitor/MonitorStepDockerMonitor.d.mts +1 -0
  259. package/Types/Monitor/MonitorStepDockerMonitor.d.ts +1 -0
  260. package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.mts +10 -0
  261. package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +10 -0
  262. package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +3 -1
  263. package/Types/Monitor/MonitorStepDockerSwarmMonitor.mjs +1 -0
  264. package/Types/Monitor/MonitorStepExceptionMonitor.d.mts +1 -0
  265. package/Types/Monitor/MonitorStepExceptionMonitor.d.ts +1 -0
  266. package/Types/Monitor/MonitorStepExceptionMonitor.js +13 -2
  267. package/Types/Monitor/MonitorStepHostMonitor.d.mts +1 -0
  268. package/Types/Monitor/MonitorStepHostMonitor.d.ts +1 -0
  269. package/Types/Monitor/MonitorStepIoTMonitor.d.mts +9 -0
  270. package/Types/Monitor/MonitorStepIoTMonitor.d.ts +9 -0
  271. package/Types/Monitor/MonitorStepIoTMonitor.js +21 -0
  272. package/Types/Monitor/MonitorStepKubernetesMonitor.d.mts +11 -1
  273. package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +11 -1
  274. package/Types/Monitor/MonitorStepKubernetesMonitor.js +15 -4
  275. package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +2 -0
  276. package/Types/Monitor/MonitorStepPodmanMonitor.d.mts +1 -0
  277. package/Types/Monitor/MonitorStepPodmanMonitor.d.ts +1 -0
  278. package/Types/Monitor/MonitorStepProxmoxMonitor.d.mts +5 -3
  279. package/Types/Monitor/MonitorStepProxmoxMonitor.d.ts +5 -3
  280. package/Types/Monitor/MonitorStepProxmoxMonitor.js +1 -1
  281. package/Types/Monitor/MonitorStepStorageArrayMonitor.d.mts +1 -0
  282. package/Types/Monitor/MonitorStepStorageArrayMonitor.d.ts +1 -0
  283. package/Types/Monitor/MonitorStepVMwareMonitor.d.mts +1 -0
  284. package/Types/Monitor/MonitorStepVMwareMonitor.d.ts +1 -0
  285. package/Types/Monitor/OpenShiftAlertTemplates.d.mts +29 -0
  286. package/Types/Monitor/OpenShiftAlertTemplates.d.ts +29 -0
  287. package/Types/Monitor/OpenShiftAlertTemplates.js +220 -0
  288. package/Types/Monitor/OpenShiftAlertTemplates.mjs +9 -0
  289. package/Types/Monitor/PodmanAlertTemplates.d.mts +1 -10
  290. package/Types/Monitor/PodmanAlertTemplates.d.ts +1 -10
  291. package/Types/Monitor/PodmanAlertTemplates.js +40 -85
  292. package/Types/Monitor/PodmanAlertTemplates.mjs +0 -1
  293. package/Types/Monitor/PodmanMetricCatalog.js +16 -0
  294. package/Types/Monitor/ProxmoxAlertTemplates.d.mts +1 -0
  295. package/Types/Monitor/ProxmoxAlertTemplates.d.ts +1 -0
  296. package/Types/Monitor/ProxmoxAlertTemplates.js +190 -4
  297. package/Types/Monitor/ProxmoxAlertTemplates.mjs +1 -0
  298. package/Types/Monitor/ProxmoxMetricCatalog.js +43 -22
  299. package/Types/Monitor/ProxmoxNotificationAlertTemplates.d.mts +24 -0
  300. package/Types/Monitor/ProxmoxNotificationAlertTemplates.d.ts +24 -0
  301. package/Types/Monitor/ProxmoxNotificationAlertTemplates.js +251 -0
  302. package/Types/Monitor/ProxmoxNotificationAlertTemplates.mjs +12 -0
  303. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +71 -3
  304. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +1 -0
  305. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +1 -0
  306. package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +23 -7
  307. package/Types/Monitor/ServiceAlertTemplates.js +111 -3
  308. package/Types/Monitor/SnmpMonitor/NetworkTopology.d.mts +9 -0
  309. package/Types/Monitor/SnmpMonitor/NetworkTopology.d.ts +9 -0
  310. package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.d.mts +5 -0
  311. package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.d.ts +5 -0
  312. package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.js +2 -0
  313. package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.mjs +1 -0
  314. package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.d.mts +27 -0
  315. package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.d.ts +27 -0
  316. package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.js +97 -0
  317. package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.mjs +4 -0
  318. package/Types/Monitor/StorageArrayAlertTemplates.d.mts +1 -0
  319. package/Types/Monitor/StorageArrayAlertTemplates.d.ts +1 -0
  320. package/Types/Monitor/StorageArrayAlertTemplates.js +8 -1
  321. package/Types/Monitor/StorageArrayMetricCatalog.js +10 -1
  322. package/Types/Monitor/TelemetryAlertRule.d.mts +8 -1
  323. package/Types/Monitor/TelemetryAlertRule.d.ts +8 -1
  324. package/Types/Monitor/TelemetryAlertRule.js +62 -35
  325. package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.mts +1 -0
  326. package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.ts +1 -0
  327. package/Types/Monitor/VMwareAlertTemplates.d.mts +1 -0
  328. package/Types/Monitor/VMwareAlertTemplates.d.ts +1 -0
  329. package/Types/Monitor/VMwareAlertTemplates.js +41 -19
  330. package/Types/NetworkController/NetworkControllerProvider.d.mts +1 -0
  331. package/Types/NetworkController/NetworkControllerProvider.d.ts +1 -0
  332. package/Types/NetworkController/NetworkControllerProvider.js +8 -0
  333. package/Types/NetworkController/NetworkControllerProvider.mjs +1 -0
  334. package/Types/NetworkController/NetworkControllerReadSummary.d.mts +3 -0
  335. package/Types/NetworkController/NetworkControllerReadSummary.d.ts +3 -0
  336. package/Types/NetworkController/NetworkControllerReadSummary.js +7 -1
  337. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +49 -2
  338. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +49 -2
  339. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +252 -17
  340. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +7 -0
  341. package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +1 -0
  342. package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +1 -0
  343. package/Types/NotificationSetting/NotificationEmailRollupCategory.js +9 -0
  344. package/Types/NotificationSetting/NotificationSettingEventType.d.mts +1 -0
  345. package/Types/NotificationSetting/NotificationSettingEventType.d.ts +1 -0
  346. package/Types/NotificationSetting/NotificationSettingEventType.js +8 -0
  347. package/Types/Permission.d.mts +5 -0
  348. package/Types/Permission.d.ts +5 -0
  349. package/Types/Permission.js +59 -1
  350. package/Types/PrivateRecord/PrivateRecordHeld.d.mts +18 -0
  351. package/Types/PrivateRecord/PrivateRecordHeld.d.ts +18 -0
  352. package/Types/PrivateRecord/PrivateRecordHeld.js +101 -0
  353. package/Types/PrivateRecord/PrivateRecordHeld.mjs +2 -0
  354. package/Types/PrivateRecord/PrivateRecordParts.d.mts +14 -0
  355. package/Types/PrivateRecord/PrivateRecordParts.d.ts +14 -0
  356. package/Types/PrivateRecord/PrivateRecordParts.js +95 -0
  357. package/Types/PrivateRecord/PrivateRecordParts.mjs +4 -0
  358. package/Types/ReaderLanguage.d.mts +11 -0
  359. package/Types/ReaderLanguage.d.ts +11 -0
  360. package/Types/ReaderLanguage.js +173 -0
  361. package/Types/ReaderLanguage.mjs +12 -0
  362. package/Types/ReadingDirection.d.mts +4 -0
  363. package/Types/ReadingDirection.d.ts +4 -0
  364. package/Types/ReadingDirection.js +52 -1
  365. package/Types/ReadingDirection.mjs +4 -0
  366. package/Types/Rules/RuleCriteriaSubject.d.mts +3 -1
  367. package/Types/Rules/RuleCriteriaSubject.d.ts +3 -1
  368. package/Types/Rules/RuleCriteriaSubject.js +16 -1
  369. package/Types/Rules/RuleCriteriaSubject.mjs +1 -0
  370. package/Types/Rules/RuleRun.d.mts +5 -1
  371. package/Types/Rules/RuleRun.d.ts +5 -1
  372. package/Types/Rules/RuleRun.js +10 -2
  373. package/Types/Rum/SessionReplay.d.mts +1 -0
  374. package/Types/Rum/SessionReplay.d.ts +1 -0
  375. package/Types/Rum/SessionReplay.js +4 -2
  376. package/Types/Rum/SessionReplay.mjs +1 -0
  377. package/Types/Rum/UserFlow.d.mts +11 -0
  378. package/Types/Rum/UserFlow.d.ts +11 -0
  379. package/Types/Rum/UserFlow.js +27 -12
  380. package/Types/SecurityCase/SecurityCaseContext.d.mts +33 -1
  381. package/Types/SecurityCase/SecurityCaseContext.d.ts +33 -1
  382. package/Types/SecurityCase/SecurityCaseContext.js +6 -1
  383. package/Types/SecurityCase/SecurityCaseContext.mjs +2 -0
  384. package/Types/SecurityEvent/RealTimeDetection.d.mts +13 -0
  385. package/Types/SecurityEvent/RealTimeDetection.d.ts +13 -0
  386. package/Types/SecurityEvent/RealTimeDetection.js +60 -0
  387. package/Types/SecurityEvent/RealTimeDetection.mjs +8 -0
  388. package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +7 -0
  389. package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +7 -0
  390. package/Types/SecurityPlaybook/SecurityPlaybookAction.js +80 -3
  391. package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +15 -1
  392. package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +15 -1
  393. package/Types/SecurityPlaybook/SecurityPlaybookStep.js +112 -3
  394. package/Types/SecurityPlaybook/SecurityPlaybookStep.mjs +5 -0
  395. package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.mts +44 -0
  396. package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.ts +44 -0
  397. package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.js +188 -0
  398. package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.mjs +9 -0
  399. package/Types/SecurityPlaybook/SecurityPlaybookStepResult.d.mts +1 -0
  400. package/Types/SecurityPlaybook/SecurityPlaybookStepResult.d.ts +1 -0
  401. package/Types/SecurityPlaybook/SecurityPlaybookStepResult.js +1 -0
  402. package/Types/SecurityPlaybook/SecurityPlaybookTemplates.d.mts +2 -0
  403. package/Types/SecurityPlaybook/SecurityPlaybookTemplates.d.ts +2 -0
  404. package/Types/SecurityPlaybook/SecurityPlaybookTemplates.js +67 -16
  405. package/Types/SecurityPlaybook/SecurityPlaybookTemplates.mjs +2 -0
  406. package/Types/StatusPage/DefaultStatusNames.d.mts +4 -0
  407. package/Types/StatusPage/DefaultStatusNames.d.ts +4 -0
  408. package/Types/StatusPage/DefaultStatusNames.js +50 -0
  409. package/Types/StatusPage/DefaultStatusNames.mjs +4 -0
  410. package/Types/StatusPage/StateChangeNoteMessage.d.mts +18 -1
  411. package/Types/StatusPage/StateChangeNoteMessage.d.ts +18 -1
  412. package/Types/StatusPage/StateChangeNoteMessage.js +60 -9
  413. package/Types/StatusPage/StateChangeNoteMessage.mjs +1 -0
  414. package/Types/StatusPage/StatusPageLanguage.d.mts +2 -0
  415. package/Types/StatusPage/StatusPageLanguage.d.ts +2 -0
  416. package/Types/StatusPage/StatusPageLanguage.js +10 -1
  417. package/Types/StatusPage/StatusPageLanguage.mjs +2 -0
  418. package/Types/Telemetry/ExceptionFingerprintLookup.d.mts +9 -0
  419. package/Types/Telemetry/ExceptionFingerprintLookup.d.ts +9 -0
  420. package/Types/Telemetry/ExceptionFingerprintLookup.js +55 -0
  421. package/Types/Telemetry/ExceptionFingerprintLookup.mjs +4 -0
  422. package/Types/Telemetry/ExceptionGroupFingerprints.d.mts +10 -0
  423. package/Types/Telemetry/ExceptionGroupFingerprints.d.ts +10 -0
  424. package/Types/Telemetry/ExceptionGroupFingerprints.js +114 -0
  425. package/Types/Telemetry/ExceptionGroupFingerprints.mjs +6 -0
  426. package/Types/Telemetry/ExceptionListStats.d.mts +19 -0
  427. package/Types/Telemetry/ExceptionListStats.d.ts +19 -0
  428. package/Types/Telemetry/ExceptionListStats.js +122 -0
  429. package/Types/Telemetry/ExceptionListStats.mjs +9 -0
  430. package/Types/Telemetry/ExceptionSpanScope.d.mts +3 -0
  431. package/Types/Telemetry/ExceptionSpanScope.d.ts +3 -0
  432. package/Types/Telemetry/ExceptionSpanScope.js +39 -3
  433. package/Types/Telemetry/ExceptionSpanScope.mjs +2 -0
  434. package/Types/Telemetry/SimilarExceptions.d.mts +33 -0
  435. package/Types/Telemetry/SimilarExceptions.d.ts +33 -0
  436. package/Types/Telemetry/SimilarExceptions.js +109 -0
  437. package/Types/Telemetry/SimilarExceptions.mjs +10 -0
  438. package/Types/Telemetry/TelemetrySavedViewState.d.mts +4 -0
  439. package/Types/Telemetry/TelemetrySavedViewState.d.ts +4 -0
  440. package/Types/Telemetry/TraceSpanType.d.mts +1 -0
  441. package/Types/Telemetry/TraceSpanType.d.ts +1 -0
  442. package/Types/Telemetry/TraceSpanType.js +17 -3
  443. package/Types/Telemetry/TraceSpanType.mjs +1 -0
  444. package/Types/Theme/ThemePreference.js +2 -1
  445. package/Types/Translator.d.mts +77 -0
  446. package/Types/Translator.d.ts +77 -0
  447. package/Types/Translator.js +582 -0
  448. package/Types/Translator.mjs +18 -0
  449. package/Types/VideoCall/VideoCallProvider.js +6 -3
  450. package/Types/Workflow/ComponentID.d.mts +5 -0
  451. package/Types/Workflow/ComponentID.d.ts +5 -0
  452. package/Types/Workflow/ComponentID.js +12 -0
  453. package/Types/Workflow/Components/API.js +91 -0
  454. package/Types/Workflow/Components/ApiGetById.d.mts +16 -0
  455. package/Types/Workflow/Components/ApiGetById.d.ts +16 -0
  456. package/Types/Workflow/Components/ApiGetById.js +69 -0
  457. package/Types/Workflow/Components/ApiGetById.mjs +4 -0
  458. package/Types/Workflow/Components/FromAnotherTool.d.mts +94 -0
  459. package/Types/Workflow/Components/FromAnotherTool.d.ts +94 -0
  460. package/Types/Workflow/Components/FromAnotherTool.js +541 -0
  461. package/Types/Workflow/Components/FromAnotherTool.mjs +23 -0
  462. package/Types/Workflow/Components/JavaScriptCheck.d.mts +16 -0
  463. package/Types/Workflow/Components/JavaScriptCheck.d.ts +16 -0
  464. package/Types/Workflow/Components/JavaScriptCheck.js +145 -0
  465. package/Types/Workflow/Components/JavaScriptCheck.mjs +5 -0
  466. package/Types/Workflow/Components/Zabbix.d.mts +62 -0
  467. package/Types/Workflow/Components/Zabbix.d.ts +62 -0
  468. package/Types/Workflow/Components/Zabbix.js +343 -0
  469. package/Types/Workflow/Components/Zabbix.mjs +17 -0
  470. package/Types/Workflow/Components.js +21 -0
  471. package/Types/Workflow/Documentation/APIDocumentation.d.mts +1 -0
  472. package/Types/Workflow/Documentation/APIDocumentation.d.ts +1 -0
  473. package/Types/Workflow/Documentation/APIDocumentation.js +48 -1
  474. package/Types/Workflow/Documentation/APIDocumentation.mjs +1 -0
  475. package/Types/Workflow/Documentation/DocumentationContext.js +2 -0
  476. package/Types/Workflow/Documentation/DocumentationLinks.d.mts +3 -0
  477. package/Types/Workflow/Documentation/DocumentationLinks.d.ts +3 -0
  478. package/Types/Workflow/Documentation/DocumentationLinks.js +3 -0
  479. package/Types/Workflow/Documentation/FromAnotherToolDocumentation.d.mts +5 -0
  480. package/Types/Workflow/Documentation/FromAnotherToolDocumentation.d.ts +5 -0
  481. package/Types/Workflow/Documentation/FromAnotherToolDocumentation.js +89 -0
  482. package/Types/Workflow/Documentation/FromAnotherToolDocumentation.mjs +3 -0
  483. package/Types/Workflow/Documentation/Index.js +7 -0
  484. package/Types/Workflow/Documentation/UtilityDocumentation.d.mts +1 -0
  485. package/Types/Workflow/Documentation/UtilityDocumentation.d.ts +1 -0
  486. package/Types/Workflow/Documentation/UtilityDocumentation.js +40 -1
  487. package/Types/Workflow/Documentation/UtilityDocumentation.mjs +1 -0
  488. package/Types/Workflow/Documentation/ZabbixDocumentation.d.mts +4 -0
  489. package/Types/Workflow/Documentation/ZabbixDocumentation.d.ts +4 -0
  490. package/Types/Workflow/Documentation/ZabbixDocumentation.js +67 -0
  491. package/Types/Workflow/Documentation/ZabbixDocumentation.mjs +2 -0
  492. package/Types/Workflow/TemplateLayout.d.mts +44 -0
  493. package/Types/Workflow/TemplateLayout.d.ts +44 -0
  494. package/Types/Workflow/TemplateLayout.js +125 -0
  495. package/Types/Workflow/TemplateLayout.mjs +7 -0
  496. package/Types/Workflow/Templates.d.mts +42 -12
  497. package/Types/Workflow/Templates.d.ts +42 -12
  498. package/Types/Workflow/Templates.js +2046 -6220
  499. package/Types/Workflow/Templates.mjs +1 -0
  500. package/Types/Workflow/UnhandledStepFailure.d.mts +15 -0
  501. package/Types/Workflow/UnhandledStepFailure.d.ts +15 -0
  502. package/Types/Workflow/UnhandledStepFailure.js +68 -0
  503. package/Types/Workflow/UnhandledStepFailure.mjs +5 -0
  504. package/Types/Workspace/MicrosoftTeamsCloud.d.mts +26 -0
  505. package/Types/Workspace/MicrosoftTeamsCloud.d.ts +26 -0
  506. package/Types/Workspace/MicrosoftTeamsCloud.js +214 -0
  507. package/Types/Workspace/MicrosoftTeamsCloud.mjs +4 -0
  508. package/Types/Workspace/WorkspaceChannelLink.d.mts +1 -0
  509. package/Types/Workspace/WorkspaceChannelLink.d.ts +1 -0
  510. package/Types/Workspace/WorkspaceChannelLink.js +45 -6
  511. package/UI/Utils/TranslateTemplate.d.mts +3 -68
  512. package/UI/Utils/TranslateTemplate.d.ts +3 -68
  513. package/Utils/Dashboard/DashboardBoardLayout.d.mts +46 -0
  514. package/Utils/Dashboard/DashboardBoardLayout.d.ts +46 -0
  515. package/Utils/Dashboard/DashboardBoardLayout.js +238 -0
  516. package/Utils/Dashboard/DashboardBoardLayout.mjs +11 -0
  517. package/Utils/Dashboard/ValueWidgetLayout.js +9 -1
  518. package/Utils/Dashboard/VariableInterpolation.d.mts +1 -0
  519. package/Utils/Dashboard/VariableInterpolation.d.ts +1 -0
  520. package/Utils/Dashboard/VariableInterpolation.js +19 -0
  521. package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
  522. package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
  523. package/Utils/DataSecurity/UnplacedFields.d.mts +35 -0
  524. package/Utils/DataSecurity/UnplacedFields.d.ts +35 -0
  525. package/Utils/DataSecurity/UnplacedFields.js +407 -0
  526. package/Utils/DataSecurity/UnplacedFields.mjs +19 -0
  527. package/Utils/Exceptions/ExceptionActivity.d.mts +22 -0
  528. package/Utils/Exceptions/ExceptionActivity.d.ts +22 -0
  529. package/Utils/Exceptions/ExceptionActivity.js +141 -0
  530. package/Utils/Exceptions/ExceptionActivity.mjs +6 -0
  531. package/Utils/Exceptions/ExceptionUserId.d.mts +8 -0
  532. package/Utils/Exceptions/ExceptionUserId.d.ts +8 -0
  533. package/Utils/Exceptions/ExceptionUserId.js +79 -0
  534. package/Utils/Exceptions/ExceptionUserId.mjs +6 -0
  535. package/Utils/Inventory/InventoryAssetDetails.d.mts +7 -0
  536. package/Utils/Inventory/InventoryAssetDetails.d.ts +7 -0
  537. package/Utils/Inventory/InventoryAssetDetails.js +70 -1
  538. package/Utils/Inventory/InventoryAssetDetails.mjs +1 -0
  539. package/Utils/Metrics/MetricQueryFallback.d.mts +24 -0
  540. package/Utils/Metrics/MetricQueryFallback.d.ts +24 -0
  541. package/Utils/Metrics/MetricQueryFallback.js +208 -0
  542. package/Utils/Metrics/MetricQueryFallback.mjs +2 -0
  543. package/Utils/Monitor/EndpointAttachmentUtil.d.mts +15 -2
  544. package/Utils/Monitor/EndpointAttachmentUtil.d.ts +15 -2
  545. package/Utils/Monitor/EndpointAttachmentUtil.js +83 -1
  546. package/Utils/Monitor/EndpointAttachmentUtil.mjs +1 -0
  547. package/Utils/Monitor/NeighborIdentityUtil.d.mts +15 -0
  548. package/Utils/Monitor/NeighborIdentityUtil.d.ts +15 -0
  549. package/Utils/Monitor/NeighborIdentityUtil.js +58 -0
  550. package/Utils/Monitor/NeighborIdentityUtil.mjs +3 -0
  551. package/Utils/Monitor/NetworkTopologyUtil.d.mts +13 -0
  552. package/Utils/Monitor/NetworkTopologyUtil.d.ts +13 -0
  553. package/Utils/Monitor/NetworkTopologyUtil.js +293 -70
  554. package/Utils/NetworkDevice/DeviceOwnMacUtil.d.mts +20 -0
  555. package/Utils/NetworkDevice/DeviceOwnMacUtil.d.ts +20 -0
  556. package/Utils/NetworkDevice/DeviceOwnMacUtil.js +81 -0
  557. package/Utils/NetworkDevice/DeviceOwnMacUtil.mjs +4 -0
  558. package/Utils/NetworkDevice/DeviceWebUiUtil.d.mts +20 -0
  559. package/Utils/NetworkDevice/DeviceWebUiUtil.d.ts +20 -0
  560. package/Utils/NetworkDevice/DeviceWebUiUtil.js +139 -0
  561. package/Utils/NetworkDevice/DeviceWebUiUtil.mjs +4 -0
  562. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +1 -0
  563. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +1 -0
  564. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +64 -6
  565. package/Utils/NetworkDevice/SystemDescriptionUtil.d.mts +10 -0
  566. package/Utils/NetworkDevice/SystemDescriptionUtil.d.ts +10 -0
  567. package/Utils/NetworkDevice/SystemDescriptionUtil.js +69 -5
  568. package/Utils/NetworkDevice/SystemDescriptionUtil.mjs +2 -0
  569. package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.d.mts +1 -0
  570. package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.d.ts +1 -0
  571. package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.js +19 -6
  572. package/Utils/NetworkDiscovery/DiscoveredHostUtil.d.mts +1 -1
  573. package/Utils/NetworkDiscovery/DiscoveredHostUtil.d.ts +1 -1
  574. package/Utils/NetworkDiscovery/DiscoveredHostUtil.js +18 -1
  575. package/Utils/Proxmox/ProxmoxNotifications.d.mts +62 -0
  576. package/Utils/Proxmox/ProxmoxNotifications.d.ts +62 -0
  577. package/Utils/Proxmox/ProxmoxNotifications.js +458 -0
  578. package/Utils/Proxmox/ProxmoxNotifications.mjs +20 -0
  579. package/Utils/Rules/RuleRunSummary.d.mts +6 -3
  580. package/Utils/Rules/RuleRunSummary.d.ts +6 -3
  581. package/Utils/Rules/RuleRunSummary.js +11 -7
  582. package/Utils/Rum/UserFlow.d.mts +20 -0
  583. package/Utils/Rum/UserFlow.d.ts +20 -0
  584. package/Utils/Rum/UserFlow.js +41 -3
  585. package/Utils/Rum/UserFlow.mjs +1 -0
  586. package/Utils/Schema/MonitorSchemas.js +2 -0
  587. package/Utils/Sms/Gsm7Text.d.mts +3 -0
  588. package/Utils/Sms/Gsm7Text.d.ts +3 -0
  589. package/Utils/Sms/Gsm7Text.js +109 -8
  590. package/Utils/Sms/Gsm7Text.mjs +3 -0
  591. package/Utils/Sms/SubscriberSms.js +9 -1
  592. package/Utils/Telemetry/ChangeEventFields.d.mts +11 -0
  593. package/Utils/Telemetry/ChangeEventFields.d.ts +11 -0
  594. package/Utils/Telemetry/ChangeEventFields.js +33 -3
  595. package/Utils/Telemetry/CloudAppRevisionName.d.mts +4 -0
  596. package/Utils/Telemetry/CloudAppRevisionName.d.ts +4 -0
  597. package/Utils/Telemetry/CloudAppRevisionName.js +27 -0
  598. package/Utils/Telemetry/CloudAppRevisionName.mjs +2 -0
  599. package/Utils/Telemetry/CloudInstanceIdentity.d.mts +1 -0
  600. package/Utils/Telemetry/CloudInstanceIdentity.d.ts +1 -0
  601. package/Utils/Telemetry/CloudInstanceIdentity.js +10 -0
  602. package/Utils/Telemetry/CloudInstanceIdentity.mjs +1 -0
  603. package/package.json +1 -1
@@ -38,6 +38,19 @@ export default interface AggregateBy<TBaseModel extends GenericObject> {
38
38
  * `attributes` object containing exactly these keys.
39
39
  */
40
40
  groupByAttributeKeys?: Array<string> | undefined;
41
+ /**
42
+ * With `groupByAttributeKeys`: each row's `attributes` also holds every
43
+ * other attribute of its series' newest datapoint in the window - the
44
+ * grouped keys keep their grouped values. A monitor that groups by a
45
+ * pod, a container or a Proxmox id names each affected resource from
46
+ * them (the pod's node and workload, whether the id is a node or a
47
+ * guest), as it did when it read raw rows. One map a series, shared by
48
+ * its rows, however many buckets it has (MetricService reads them in a
49
+ * second, whole-window read). Off unless set: a chart needs only the
50
+ * grouped keys, and the whole map is the widest column a read can
51
+ * touch. Ignored without `groupByAttributeKeys`.
52
+ */
53
+ includeSampleAttributes?: boolean | undefined;
41
54
  /**
42
55
  * Server-side Top-K group selection for grouped aggregations. When
43
56
  * set (and the aggregation is grouped via `groupBy` /
@@ -9,6 +9,8 @@ export declare function findPlanByPlanId(plans: Array<SubscriptionPlan>, planId:
9
9
  export declare function getMonthlyPricePerUserInUSD(plan: SubscriptionPlan, period: BillingPeriod): number | null;
10
10
  export declare function getChargePerUserInUSD(plan: SubscriptionPlan, period: BillingPeriod): number | null;
11
11
  export declare function isPlanFree(plan: SubscriptionPlan, period: BillingPeriod): boolean;
12
+ export declare function isPlanFreeEitherWay(plan: SubscriptionPlan): boolean;
13
+ export declare function isSamePlanChoice(plans: Array<SubscriptionPlan>, planId: string | null | undefined, otherPlanId: string | null | undefined): boolean;
12
14
  export declare function getTrialDays(plan: SubscriptionPlan): number;
13
15
  export declare function getYearlySavingPercent(plan: SubscriptionPlan): number;
14
16
  export interface YearlySaving {
@@ -9,6 +9,8 @@ export declare function findPlanByPlanId(plans: Array<SubscriptionPlan>, planId:
9
9
  export declare function getMonthlyPricePerUserInUSD(plan: SubscriptionPlan, period: BillingPeriod): number | null;
10
10
  export declare function getChargePerUserInUSD(plan: SubscriptionPlan, period: BillingPeriod): number | null;
11
11
  export declare function isPlanFree(plan: SubscriptionPlan, period: BillingPeriod): boolean;
12
+ export declare function isPlanFreeEitherWay(plan: SubscriptionPlan): boolean;
13
+ export declare function isSamePlanChoice(plans: Array<SubscriptionPlan>, planId: string | null | undefined, otherPlanId: string | null | undefined): boolean;
12
14
  export declare function getTrialDays(plan: SubscriptionPlan): number;
13
15
  export declare function getYearlySavingPercent(plan: SubscriptionPlan): number;
14
16
  export interface YearlySaving {
@@ -7,6 +7,8 @@ exports.findPlanByPlanId = findPlanByPlanId;
7
7
  exports.getMonthlyPricePerUserInUSD = getMonthlyPricePerUserInUSD;
8
8
  exports.getChargePerUserInUSD = getChargePerUserInUSD;
9
9
  exports.isPlanFree = isPlanFree;
10
+ exports.isPlanFreeEitherWay = isPlanFreeEitherWay;
11
+ exports.isSamePlanChoice = isSamePlanChoice;
10
12
  exports.getTrialDays = getTrialDays;
11
13
  exports.getYearlySavingPercent = getYearlySavingPercent;
12
14
  exports.getYearlySaving = getYearlySaving;
@@ -94,6 +96,34 @@ function getChargePerUserInUSD(plan, period) {
94
96
  function isPlanFree(plan, period) {
95
97
  return getMonthlyPricePerUserInUSD(plan, period) === 0;
96
98
  }
99
+ /*
100
+ * A plan that costs nothing whichever period it is billed for: moving it
101
+ * from one period to the other changes nothing anybody pays.
102
+ */
103
+ function isPlanFreeEitherWay(plan) {
104
+ return (isPlanFree(plan, BillingPeriod.Monthly) &&
105
+ isPlanFree(plan, BillingPeriod.Yearly));
106
+ }
107
+ /*
108
+ * Whether moving a project from one price to the other would leave it on
109
+ * what it pays for now: the same price, or the other period of a plan that
110
+ * costs nothing either way. Another plan, or the other period of a paid one
111
+ * (Growth billed monthly instead of yearly), is a change.
112
+ */
113
+ function isSamePlanChoice(plans, planId, otherPlanId) {
114
+ if (!planId || !otherPlanId) {
115
+ return false;
116
+ }
117
+ if (planId === otherPlanId) {
118
+ return true;
119
+ }
120
+ const plan = findPlanByPlanId(plans, planId);
121
+ const otherPlan = findPlanByPlanId(plans, otherPlanId);
122
+ if (!plan || !otherPlan || plan.getName() !== otherPlan.getName()) {
123
+ return false;
124
+ }
125
+ return isPlanFreeEitherWay(plan);
126
+ }
97
127
  // The free days a NEW project on this plan starts with (0 for none).
98
128
  function getTrialDays(plan) {
99
129
  const days = plan.getTrialPeriod();
@@ -11,3 +11,5 @@ export const getTrialDays = commonJsModule.getTrialDays;
11
11
  export const getYearlySaving = commonJsModule.getYearlySaving;
12
12
  export const getYearlySavingPercent = commonJsModule.getYearlySavingPercent;
13
13
  export const isPlanFree = commonJsModule.isPlanFree;
14
+ export const isPlanFreeEitherWay = commonJsModule.isPlanFreeEitherWay;
15
+ export const isSamePlanChoice = commonJsModule.isSamePlanChoice;
@@ -29,6 +29,9 @@ export interface ManagedCloudPlatformDescriptor {
29
29
  docsUrl: string;
30
30
  detection: "detector" | "manual";
31
31
  instanceAttribute: string;
32
+ appAttributes: ReadonlyArray<string>;
33
+ appGroupAttributes: ReadonlyArray<string>;
34
+ revisionAttributes: ReadonlyArray<string>;
32
35
  }
33
36
  export declare const MANAGED_CLOUD_PLATFORMS: ReadonlyArray<ManagedCloudPlatformDescriptor>;
34
37
  export declare const MANAGED_CLOUD_PLATFORM_VALUES: ReadonlySet<string>;
@@ -29,6 +29,9 @@ export interface ManagedCloudPlatformDescriptor {
29
29
  docsUrl: string;
30
30
  detection: "detector" | "manual";
31
31
  instanceAttribute: string;
32
+ appAttributes: ReadonlyArray<string>;
33
+ appGroupAttributes: ReadonlyArray<string>;
34
+ revisionAttributes: ReadonlyArray<string>;
32
35
  }
33
36
  export declare const MANAGED_CLOUD_PLATFORMS: ReadonlyArray<ManagedCloudPlatformDescriptor>;
34
37
  export declare const MANAGED_CLOUD_PLATFORM_VALUES: ReadonlySet<string>;
@@ -62,6 +62,18 @@ var FaasCloudPlatform;
62
62
  FaasCloudPlatform["TencentCloudScf"] = "tencent_cloud_scf";
63
63
  FaasCloudPlatform["AlibabaCloudFc"] = "alibaba_cloud_fc";
64
64
  })(FaasCloudPlatform || (exports.FaasCloudPlatform = FaasCloudPlatform = {}));
65
+ /*
66
+ * The attributes most platforms name their apps and revisions by, when the
67
+ * platform has no name of its own: OpenTelemetry's service.name and
68
+ * service.version, and the image tag a container was started from.
69
+ */
70
+ const SERVICE_NAME_ATTRIBUTE = "service.name";
71
+ const SERVICE_VERSION_ATTRIBUTE = "service.version";
72
+ const IMAGE_TAG_ATTRIBUTE = "container.image.tag";
73
+ const DEPLOYMENT_ENVIRONMENT_ATTRIBUTES = [
74
+ "deployment.environment.name",
75
+ "deployment.environment",
76
+ ];
65
77
  exports.MANAGED_CLOUD_PLATFORMS = [
66
78
  {
67
79
  platform: ManagedCloudPlatform.AwsEcs,
@@ -72,6 +84,14 @@ exports.MANAGED_CLOUD_PLATFORMS = [
72
84
  docsUrl: "/docs/telemetry/cloud-aws-ecs",
73
85
  detection: "detector",
74
86
  instanceAttribute: "aws.ecs.task.arn",
87
+ appAttributes: ["aws.ecs.task.family", SERVICE_NAME_ATTRIBUTE],
88
+ // A family can run in two clusters of one account: staging and production.
89
+ appGroupAttributes: ["aws.ecs.cluster.arn"],
90
+ revisionAttributes: [
91
+ "aws.ecs.task.revision",
92
+ SERVICE_VERSION_ATTRIBUTE,
93
+ IMAGE_TAG_ATTRIBUTE,
94
+ ],
75
95
  },
76
96
  {
77
97
  platform: ManagedCloudPlatform.AwsElasticBeanstalk,
@@ -82,6 +102,11 @@ exports.MANAGED_CLOUD_PLATFORMS = [
82
102
  docsUrl: "/docs/telemetry/cloud-other-platforms",
83
103
  detection: "detector",
84
104
  instanceAttribute: "host.id",
105
+ appAttributes: [SERVICE_NAME_ATTRIBUTE],
106
+ // The Elastic Beanstalk detector names the environment here.
107
+ appGroupAttributes: DEPLOYMENT_ENVIRONMENT_ATTRIBUTES,
108
+ // The detector sets it to the application version label.
109
+ revisionAttributes: [SERVICE_VERSION_ATTRIBUTE],
85
110
  },
86
111
  {
87
112
  platform: ManagedCloudPlatform.AwsAppRunner,
@@ -92,6 +117,9 @@ exports.MANAGED_CLOUD_PLATFORMS = [
92
117
  docsUrl: "/docs/telemetry/cloud-other-platforms",
93
118
  detection: "manual",
94
119
  instanceAttribute: "host.name",
120
+ appAttributes: [SERVICE_NAME_ATTRIBUTE],
121
+ appGroupAttributes: [],
122
+ revisionAttributes: [SERVICE_VERSION_ATTRIBUTE, IMAGE_TAG_ATTRIBUTE],
95
123
  },
96
124
  {
97
125
  platform: ManagedCloudPlatform.GcpCloudRun,
@@ -102,6 +130,10 @@ exports.MANAGED_CLOUD_PLATFORMS = [
102
130
  docsUrl: "/docs/telemetry/cloud-gcp-cloud-run",
103
131
  detection: "detector",
104
132
  instanceAttribute: "faas.instance",
133
+ // K_SERVICE and K_REVISION, as the Google Cloud detector reads them.
134
+ appAttributes: ["faas.name", SERVICE_NAME_ATTRIBUTE],
135
+ appGroupAttributes: [],
136
+ revisionAttributes: ["faas.version", SERVICE_VERSION_ATTRIBUTE],
105
137
  },
106
138
  {
107
139
  platform: ManagedCloudPlatform.GcpAppEngine,
@@ -112,6 +144,10 @@ exports.MANAGED_CLOUD_PLATFORMS = [
112
144
  docsUrl: "/docs/telemetry/cloud-other-platforms",
113
145
  detection: "detector",
114
146
  instanceAttribute: "faas.instance",
147
+ // GAE_SERVICE and GAE_VERSION, as the Google Cloud detector reads them.
148
+ appAttributes: ["faas.name", SERVICE_NAME_ATTRIBUTE],
149
+ appGroupAttributes: [],
150
+ revisionAttributes: ["faas.version", SERVICE_VERSION_ATTRIBUTE],
115
151
  },
116
152
  {
117
153
  platform: ManagedCloudPlatform.AzureContainerApps,
@@ -128,6 +164,13 @@ exports.MANAGED_CLOUD_PLATFORMS = [
128
164
  */
129
165
  detection: "detector",
130
166
  instanceAttribute: "azure.container_app.instance.id",
167
+ /*
168
+ * The Azure detectors set service.name to CONTAINER_APP_NAME and
169
+ * service.version to CONTAINER_APP_REVISION.
170
+ */
171
+ appAttributes: [SERVICE_NAME_ATTRIBUTE],
172
+ appGroupAttributes: [],
173
+ revisionAttributes: [SERVICE_VERSION_ATTRIBUTE, IMAGE_TAG_ATTRIBUTE],
131
174
  },
132
175
  {
133
176
  platform: ManagedCloudPlatform.AzureContainerInstances,
@@ -138,6 +181,9 @@ exports.MANAGED_CLOUD_PLATFORMS = [
138
181
  docsUrl: "/docs/telemetry/cloud-other-platforms",
139
182
  detection: "manual",
140
183
  instanceAttribute: "host.name",
184
+ appAttributes: [SERVICE_NAME_ATTRIBUTE],
185
+ appGroupAttributes: [],
186
+ revisionAttributes: [SERVICE_VERSION_ATTRIBUTE, IMAGE_TAG_ATTRIBUTE],
141
187
  },
142
188
  {
143
189
  platform: ManagedCloudPlatform.AzureAppService,
@@ -148,6 +194,10 @@ exports.MANAGED_CLOUD_PLATFORMS = [
148
194
  docsUrl: "/docs/telemetry/cloud-other-platforms",
149
195
  detection: "detector",
150
196
  instanceAttribute: "host.id",
197
+ // The App Service detector names the site and its deployment slot.
198
+ appAttributes: [SERVICE_NAME_ATTRIBUTE],
199
+ appGroupAttributes: DEPLOYMENT_ENVIRONMENT_ATTRIBUTES,
200
+ revisionAttributes: [SERVICE_VERSION_ATTRIBUTE],
151
201
  },
152
202
  ];
153
203
  const DESCRIPTORS_BY_PLATFORM = new Map(exports.MANAGED_CLOUD_PLATFORMS.map((descriptor) => {
@@ -4,3 +4,14 @@ export declare enum CloudResourceKind {
4
4
  }
5
5
  export declare const CLOUD_RESOURCE_KIND_LABELS: Readonly<Record<CloudResourceKind, string>>;
6
6
  export declare function isCloudResourceKindResource(kind: string | null | undefined): boolean;
7
+ export declare function isCloudResourceKind(value: unknown): value is CloudResourceKind;
8
+ export declare function doesCloudRuleApplyToKind(data: {
9
+ ruleKind: string | null | undefined;
10
+ rowKind: string | null | undefined;
11
+ }): boolean;
12
+ export declare function getCloudResourceDashboardPath(data: {
13
+ cloudResourceId: string;
14
+ cloudResourceKind?: string | null | undefined;
15
+ }): string;
16
+ export declare function getCloudResourceKindNoun(kind: string | null | undefined): string;
17
+ export declare function assertCloudRuleKind(value: unknown): void;
@@ -4,3 +4,14 @@ export declare enum CloudResourceKind {
4
4
  }
5
5
  export declare const CLOUD_RESOURCE_KIND_LABELS: Readonly<Record<CloudResourceKind, string>>;
6
6
  export declare function isCloudResourceKindResource(kind: string | null | undefined): boolean;
7
+ export declare function isCloudResourceKind(value: unknown): value is CloudResourceKind;
8
+ export declare function doesCloudRuleApplyToKind(data: {
9
+ ruleKind: string | null | undefined;
10
+ rowKind: string | null | undefined;
11
+ }): boolean;
12
+ export declare function getCloudResourceDashboardPath(data: {
13
+ cloudResourceId: string;
14
+ cloudResourceKind?: string | null | undefined;
15
+ }): string;
16
+ export declare function getCloudResourceKindNoun(kind: string | null | undefined): string;
17
+ export declare function assertCloudRuleKind(value: unknown): void;
@@ -1,26 +1,38 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.CLOUD_RESOURCE_KIND_LABELS = exports.CloudResourceKind = void 0;
4
7
  exports.isCloudResourceKindResource = isCloudResourceKindResource;
8
+ exports.isCloudResourceKind = isCloudResourceKind;
9
+ exports.doesCloudRuleApplyToKind = doesCloudRuleApplyToKind;
10
+ exports.getCloudResourceDashboardPath = getCloudResourceDashboardPath;
11
+ exports.getCloudResourceKindNoun = getCloudResourceKindNoun;
12
+ exports.assertCloudRuleKind = assertCloudRuleKind;
13
+ const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
5
14
  /*
6
- * The two kinds of row the CloudResource table holds - the Cloud product's
7
- * two lists.
15
+ * The two kinds of row the CloudResource table holds - and since Cloud and
16
+ * App Platforms became two products, which product each kind is in.
8
17
  *
9
- * - An ENVIRONMENT is where managed containers run: one per
18
+ * - An ENVIRONMENT is where managed containers and apps run: one per
10
19
  * cloud.platform + cloud.account.id + cloud.region, created by ingest
11
20
  * from the resource attributes an OpenTelemetry resource detector
12
21
  * stamps on a workload's own telemetry (ECS, Cloud Run, Container Apps,
13
- * ...). See CloudPlatform.
22
+ * ...). See CloudPlatform. Environments are App Platforms'.
14
23
  * - A RESOURCE is one IaaS or PaaS resource a cloud provider runs for
15
24
  * you - a virtual machine, a load balancer, a bucket, a database, a
16
25
  * queue - created by ingest from the metrics the provider's monitoring
17
26
  * API publishes about it (Azure Monitor, CloudWatch, Cloud Monitoring),
18
- * read by an OpenTelemetry Collector. See CloudMonitoredResource.
27
+ * read by an OpenTelemetry Collector or by a cloud connection. See
28
+ * CloudMonitoredResource. Resources are Cloud's.
19
29
  *
20
- * Both share the product's owners, labels, label and owner rules, archive
21
- * and permissions. They differ in identity (an environment key, a provider
22
- * resource id), in what their telemetry is (every signal a workload sends,
23
- * the provider's metrics about one resource) and so in their pages.
30
+ * Both share the table's owners, labels, feed, archive and permissions.
31
+ * They differ in identity (an environment key, a provider resource id), in
32
+ * what their telemetry is (every signal a workload sends, the provider's
33
+ * metrics about one resource) and so in their pages, each in its own
34
+ * product (Dashboard Utils/CloudResourceViewPages). Owner and label rules
35
+ * name the kind they are for (doesCloudRuleApplyToKind).
24
36
  *
25
37
  * Rows written before resources existed are environments: the column
26
38
  * defaults to it, and a person can only ever create an environment.
@@ -42,3 +54,60 @@ exports.CLOUD_RESOURCE_KIND_LABELS = {
42
54
  function isCloudResourceKindResource(kind) {
43
55
  return kind === CloudResourceKind.Resource;
44
56
  }
57
+ // Whether a value is one of the two kinds, spelled exactly as stored.
58
+ function isCloudResourceKind(value) {
59
+ return (value === CloudResourceKind.Environment ||
60
+ value === CloudResourceKind.Resource);
61
+ }
62
+ /*
63
+ * Whether a cloud owner or label rule is for a row. A rule names the kind
64
+ * it is for - the product it was written in: App Platforms' rules are for
65
+ * environments, Cloud's for resources. A rule written before the two
66
+ * products split names neither, and keeps matching every row, as it always
67
+ * did. A row is read as isCloudResourceKindResource reads it.
68
+ */
69
+ function doesCloudRuleApplyToKind(data) {
70
+ if (!data.ruleKind) {
71
+ return true;
72
+ }
73
+ const rowKind = isCloudResourceKindResource(data.rowKind)
74
+ ? CloudResourceKind.Resource
75
+ : CloudResourceKind.Environment;
76
+ return data.ruleKind === rowKind;
77
+ }
78
+ /*
79
+ * Where a row's page is in the Dashboard, after its project id: an
80
+ * environment's in App Platforms (app-platforms/:id), a resource's in Cloud
81
+ * (cloud/:id). A link whose writer cannot tell - a notification that names
82
+ * the rows an incident is linked to, without reading their kind - goes to
83
+ * Cloud's page, which forwards an environment to App Platforms, as it does
84
+ * every link written before the two products split.
85
+ */
86
+ function getCloudResourceDashboardPath(data) {
87
+ if (data.cloudResourceKind !== undefined &&
88
+ !isCloudResourceKindResource(data.cloudResourceKind)) {
89
+ return `app-platforms/${data.cloudResourceId}`;
90
+ }
91
+ return `cloud/${data.cloudResourceId}`;
92
+ }
93
+ // What a feed entry calls a row: "Cloud Environment" or "Cloud Resource".
94
+ function getCloudResourceKindNoun(kind) {
95
+ return isCloudResourceKindResource(kind)
96
+ ? "Cloud Resource"
97
+ : "Cloud Environment";
98
+ }
99
+ /*
100
+ * The kind an owner or label rule may be written for: one of the two, or
101
+ * none (a rule for both). Anything else would be a rule that matches no
102
+ * row and that neither product's rules page lists, so the rule services
103
+ * refuse it (CloudResourceOwnerRuleService, CloudResourceLabelRuleService),
104
+ * whoever writes it: the Dashboard, the API, Terraform or a workflow.
105
+ */
106
+ function assertCloudRuleKind(value) {
107
+ if (value === undefined || value === null || value === "") {
108
+ return;
109
+ }
110
+ if (!isCloudResourceKind(value)) {
111
+ throw new BadDataException_1.default(`A cloud rule applies to "${CloudResourceKind.Environment}" (App Platforms' environments), "${CloudResourceKind.Resource}" (Cloud's resources) or, left empty, both.`);
112
+ }
113
+ }
@@ -1,4 +1,9 @@
1
1
  import commonJsModule from "./CloudResourceKind.js";
2
2
  export const CLOUD_RESOURCE_KIND_LABELS = commonJsModule.CLOUD_RESOURCE_KIND_LABELS;
3
3
  export const CloudResourceKind = commonJsModule.CloudResourceKind;
4
+ export const assertCloudRuleKind = commonJsModule.assertCloudRuleKind;
5
+ export const doesCloudRuleApplyToKind = commonJsModule.doesCloudRuleApplyToKind;
6
+ export const getCloudResourceDashboardPath = commonJsModule.getCloudResourceDashboardPath;
7
+ export const getCloudResourceKindNoun = commonJsModule.getCloudResourceKindNoun;
8
+ export const isCloudResourceKind = commonJsModule.isCloudResourceKind;
4
9
  export const isCloudResourceKindResource = commonJsModule.isCloudResourceKindResource;
@@ -119,12 +119,14 @@ function dataSecurityField() {
119
119
  };
120
120
  }
121
121
  /*
122
- * The setting that records whether the connection may also close a data
123
- * store's exposure, as its setup command granted it: a person on the
124
- * store's issue, or a Security Operations playbook, blocks a store's public
125
- * access and revokes its sharing (DataSecurityResponse) - the only writes
126
- * a connection is ever given, granted on their own and off until someone
127
- * picks "block".
122
+ * The setting that records whether the connection may also fix a data
123
+ * store, as its setup command granted it: a person on the store's issue,
124
+ * or a Security Operations playbook, blocks a store's public access and
125
+ * revokes its sharing, and a person on the issue turns on a setting that
126
+ * protects it - versioning, soft delete, secure transfer...
127
+ * (DataSecurityResponse). The only writes a connection is ever given,
128
+ * granted on their own and off until someone picks "block", the value it
129
+ * has kept since it did the first two alone.
128
130
  */
129
131
  exports.DATA_SECURITY_RESPONSE_FIELD_KEY = "dataSecurityResponse";
130
132
  exports.CLOUD_CONNECTION_DATA_SECURITY_RESPONSES = ["off", "block"];
@@ -136,12 +138,12 @@ function dataSecurityResponseField() {
136
138
  return {
137
139
  key: exports.DATA_SECURITY_RESPONSE_FIELD_KEY,
138
140
  title: "Data security response",
139
- description: "Lets Data Security block public access to a data store and revoke its sharing: from its issue, when a person asks, or in a playbook, each run approved by a person unless the playbook says otherwise. The command changes with it.",
141
+ description: "Lets Data Security fix a data store through this connection: block its public access and revoke its sharing, from its issue or in a playbook, and turn on a setting that protects it, such as versioning or secure transfer, from its issue. Each change is approved by a person unless a playbook says otherwise. The command changes with it.",
140
142
  type: "dropdown",
141
143
  required: false,
142
144
  options: [
143
145
  { label: "Off", value: "off" },
144
- { label: "Block public access and sharing", value: "block" },
146
+ { label: "Close exposures and fix settings", value: "block" },
145
147
  ],
146
148
  defaultValue: "off",
147
149
  isAdvanced: true,
@@ -270,8 +270,10 @@ exports.GCP_SERVICES = [
270
270
  exports.AWS_DATA_SECURITY_POLICY_NAME = "OneUptimeDataSecurity";
271
271
  /*
272
272
  * Every AWS action the data security reader calls (AwsDataSecurityReader),
273
- * by what it is for. Each reads a setting; none reads data or writes. A
274
- * few are in the read-only policy too: this one stands on its own.
273
+ * by what it is for. Each reads a setting; none reads data or writes - the
274
+ * credential report IAM makes on request holds dates and flags, never a
275
+ * secret. A few are in the read-only policy too: this one stands on its
276
+ * own.
275
277
  * organizations:ListAccounts, which an organization's read also calls,
276
278
  * stays in the management account's role alone.
277
279
  */
@@ -323,6 +325,14 @@ exports.AWS_DATA_SECURITY_CONFIGURATION_ACTION_GROUPS = [
323
325
  purpose: "Tell AWS's own keys (alias/aws/...) from the keys you manage",
324
326
  actions: ["kms:ListAliases"],
325
327
  },
328
+ {
329
+ purpose: "Read which users and roles reach each bucket and table through their own IAM policies, who may assume each role, and when each was last used",
330
+ actions: [
331
+ "iam:GetAccountAuthorizationDetails",
332
+ "iam:GenerateCredentialReport",
333
+ "iam:GetCredentialReport",
334
+ ],
335
+ },
326
336
  ];
327
337
  exports.AWS_DATA_SECURITY_CONFIGURATION_ACTIONS = exports.AWS_DATA_SECURITY_CONFIGURATION_ACTION_GROUPS.flatMap((group) => {
328
338
  return group.actions;
@@ -407,29 +417,41 @@ function getAwsDataSecurityPolicyDocument(level) {
407
417
  * Nothing it grants deletes, reads data, or changes who may sign in.
408
418
  *
409
419
  * AWS: a third inline policy, OneUptimeDataSecurityResponse: read and
410
- * turn on a bucket's Block Public Access, read and narrow whom an RDS
411
- * manual snapshot is shared with.
420
+ * turn on a bucket's Block Public Access, versioning and Bucket owner
421
+ * enforced ownership; read and narrow whom an RDS manual snapshot is
422
+ * shared with; read and turn on a DynamoDB table's point-in-time
423
+ * recovery.
412
424
  * Azure: a custom role, OneUptime Data Security Response, that reads and
413
- * updates storage accounts' settings (public blob access, network
414
- * access) on the same scope - never their keys.
425
+ * updates storage accounts' settings (public blob access, secure
426
+ * transfer) and their blob services' (soft delete) on the same scope -
427
+ * never their keys.
415
428
  * Google Cloud: a custom role, oneuptimeDataSecurityResponse, that reads
416
- * and updates buckets' settings (public access prevention), on the
417
- * project or organization the command targets.
429
+ * and updates buckets' settings (public access prevention, uniform
430
+ * access, versioning), on the project or organization the command
431
+ * targets.
418
432
  */
419
433
  exports.AWS_DATA_SECURITY_RESPONSE_POLICY_NAME = "OneUptimeDataSecurityResponse";
420
434
  exports.AWS_DATA_SECURITY_RESPONSE_ACTIONS = [
421
435
  "s3:GetBucketPublicAccessBlock",
422
436
  "s3:PutBucketPublicAccessBlock",
437
+ "s3:GetBucketVersioning",
438
+ "s3:PutBucketVersioning",
439
+ "s3:GetBucketOwnershipControls",
440
+ "s3:PutBucketOwnershipControls",
423
441
  "rds:DescribeDBSnapshotAttributes",
424
442
  "rds:DescribeDBClusterSnapshotAttributes",
425
443
  "rds:ModifyDBSnapshotAttribute",
426
444
  "rds:ModifyDBClusterSnapshotAttribute",
445
+ "dynamodb:DescribeContinuousBackups",
446
+ "dynamodb:UpdateContinuousBackups",
427
447
  ];
428
448
  exports.AZURE_DATA_SECURITY_RESPONSE_ROLE = "OneUptime Data Security Response";
429
- // Reading and updating a storage account's settings; never listKeys.
449
+ // Reading and updating a storage account's settings and its blob service's; never listKeys.
430
450
  exports.AZURE_DATA_SECURITY_RESPONSE_ACTIONS = [
431
451
  "Microsoft.Storage/storageAccounts/read",
432
452
  "Microsoft.Storage/storageAccounts/write",
453
+ "Microsoft.Storage/storageAccounts/blobServices/read",
454
+ "Microsoft.Storage/storageAccounts/blobServices/write",
433
455
  ];
434
456
  exports.GCP_DATA_SECURITY_RESPONSE_ROLE_ID = "oneuptimeDataSecurityResponse";
435
457
  exports.GCP_DATA_SECURITY_RESPONSE_PERMISSIONS = [
@@ -466,7 +488,7 @@ function getAzureResponseRoleLines() {
466
488
  return `"${action}"`;
467
489
  }).join(", ");
468
490
  return [
469
- `RESPONSE_ROLE=$(jq -n --arg scope "$SCOPE" '{Name: "${exports.AZURE_DATA_SECURITY_RESPONSE_ROLE}", IsCustom: true, Description: "OneUptime: turn off public access to storage accounts. Never lists their keys.", Actions: [${actions}], NotActions: [], AssignableScopes: [$scope]}')`,
491
+ `RESPONSE_ROLE=$(jq -n --arg scope "$SCOPE" '{Name: "${exports.AZURE_DATA_SECURITY_RESPONSE_ROLE}", IsCustom: true, Description: "OneUptime: turn off public access to storage accounts, and turn on secure transfer and soft delete. Never lists their keys.", Actions: [${actions}], NotActions: [], AssignableScopes: [$scope]}')`,
470
492
  `az role definition create --role-definition "$RESPONSE_ROLE" > /dev/null 2>&1 || az role definition update --role-definition "$RESPONSE_ROLE" > /dev/null`,
471
493
  `az role assignment create --assignee "$APP" --role "${exports.AZURE_DATA_SECURITY_RESPONSE_ROLE}" --scope "$SCOPE" > /dev/null`,
472
494
  ];
@@ -0,0 +1,69 @@
1
+ import MimeType from "../File/MimeType.mjs";
2
+ export interface CustomFieldFile {
3
+ fileId: string;
4
+ name: string;
5
+ fileType: string;
6
+ size: number;
7
+ }
8
+ export declare const CUSTOM_FIELD_FILE_MAX_SIZE_IN_BYTES: number;
9
+ export declare const CUSTOM_FIELD_MAX_FILES: number;
10
+ export declare const CUSTOM_FIELD_FILES_MAX_TOTAL_SIZE_IN_BYTES: number;
11
+ export declare const CUSTOM_FIELD_FILE_NAME_MAX_LENGTH: number;
12
+ export declare const CUSTOM_FIELD_FILE_TYPES: ReadonlyArray<MimeType>;
13
+ export type IsCustomFieldFileTypeFunction = (type: unknown) => boolean;
14
+ export declare const isCustomFieldFileType: IsCustomFieldFileTypeFunction;
15
+ export type IsCustomFieldFileMimeTypeFunction = (fileType: unknown) => boolean;
16
+ export declare const isCustomFieldFileMimeType: IsCustomFieldFileMimeTypeFunction;
17
+ export type ReadCustomFieldFileReferenceFunction = (entry: unknown) => string | null;
18
+ /**
19
+ * The file one entry of a write names - its id as text, { fileId }, or an
20
+ * uploaded File's { _id } or { id } - in lower case; null for anything else.
21
+ */
22
+ export declare const readCustomFieldFileReference: ReadCustomFieldFileReferenceFunction;
23
+ export interface CustomFieldFileReferences {
24
+ fileIds: Array<string>;
25
+ isList: boolean;
26
+ unreadableCount: number;
27
+ duplicateCount: number;
28
+ entryCount: number;
29
+ }
30
+ export type ReadCustomFieldFileReferencesFunction = (value: unknown) => CustomFieldFileReferences;
31
+ /**
32
+ * The files a write names for a field: a list's entries, or the one value
33
+ * given. Counts what does not name a file, and what names one twice, for
34
+ * the checks to refuse.
35
+ */
36
+ export declare const readCustomFieldFileReferences: ReadCustomFieldFileReferencesFunction;
37
+ export type IsCustomFieldFileFunction = (value: unknown) => value is CustomFieldFile;
38
+ /**
39
+ * Whether a value is a stored file reference: an object with the file's id
40
+ * and its name. (Its type and size are read leniently: readCustomFieldFiles.)
41
+ */
42
+ export declare const isCustomFieldFile: IsCustomFieldFileFunction;
43
+ export type ReadCustomFieldFilesFunction = (value: unknown) => Array<CustomFieldFile>;
44
+ /**
45
+ * A stored value as the files it holds, in order, for showing: one file or a
46
+ * list of them. An entry that is not a file reference is left out, and so is
47
+ * a file listed twice. Never throws.
48
+ */
49
+ export declare const readCustomFieldFiles: ReadCustomFieldFilesFunction;
50
+ export type GetCustomFieldFileIdsFunction = (value: unknown) => Array<string>;
51
+ export declare const getCustomFieldFileIds: GetCustomFieldFileIdsFunction;
52
+ export type FormatCustomFieldFileNamesFunction = (value: unknown) => string;
53
+ /**
54
+ * A stored value as people read it outside the dashboard - an email, a chat
55
+ * message, a note, an export: its files' names, joined with commas. "" when
56
+ * it holds none.
57
+ */
58
+ export declare const formatCustomFieldFileNames: FormatCustomFieldFileNamesFunction;
59
+ export type FormatCustomFieldFileSizeFunction = (bytes: number) => string;
60
+ export declare const formatCustomFieldFileSize: FormatCustomFieldFileSizeFunction;
61
+ export type GetCustomFieldValueEntryKeyFunction = (entry: unknown) => string;
62
+ /**
63
+ * One value - or one entry of a list - as "the same answer" is decided: a
64
+ * file reference, in any shape a write names one, by its file alone; any
65
+ * other object as its JSON; anything else as its text. So a list of files
66
+ * sent back as the dashboard holds them reads as the list the record holds,
67
+ * and two different lists of files never read as one.
68
+ */
69
+ export declare const getCustomFieldValueEntryKey: GetCustomFieldValueEntryKeyFunction;
@@ -0,0 +1,69 @@
1
+ import MimeType from "../File/MimeType";
2
+ export interface CustomFieldFile {
3
+ fileId: string;
4
+ name: string;
5
+ fileType: string;
6
+ size: number;
7
+ }
8
+ export declare const CUSTOM_FIELD_FILE_MAX_SIZE_IN_BYTES: number;
9
+ export declare const CUSTOM_FIELD_MAX_FILES: number;
10
+ export declare const CUSTOM_FIELD_FILES_MAX_TOTAL_SIZE_IN_BYTES: number;
11
+ export declare const CUSTOM_FIELD_FILE_NAME_MAX_LENGTH: number;
12
+ export declare const CUSTOM_FIELD_FILE_TYPES: ReadonlyArray<MimeType>;
13
+ export type IsCustomFieldFileTypeFunction = (type: unknown) => boolean;
14
+ export declare const isCustomFieldFileType: IsCustomFieldFileTypeFunction;
15
+ export type IsCustomFieldFileMimeTypeFunction = (fileType: unknown) => boolean;
16
+ export declare const isCustomFieldFileMimeType: IsCustomFieldFileMimeTypeFunction;
17
+ export type ReadCustomFieldFileReferenceFunction = (entry: unknown) => string | null;
18
+ /**
19
+ * The file one entry of a write names - its id as text, { fileId }, or an
20
+ * uploaded File's { _id } or { id } - in lower case; null for anything else.
21
+ */
22
+ export declare const readCustomFieldFileReference: ReadCustomFieldFileReferenceFunction;
23
+ export interface CustomFieldFileReferences {
24
+ fileIds: Array<string>;
25
+ isList: boolean;
26
+ unreadableCount: number;
27
+ duplicateCount: number;
28
+ entryCount: number;
29
+ }
30
+ export type ReadCustomFieldFileReferencesFunction = (value: unknown) => CustomFieldFileReferences;
31
+ /**
32
+ * The files a write names for a field: a list's entries, or the one value
33
+ * given. Counts what does not name a file, and what names one twice, for
34
+ * the checks to refuse.
35
+ */
36
+ export declare const readCustomFieldFileReferences: ReadCustomFieldFileReferencesFunction;
37
+ export type IsCustomFieldFileFunction = (value: unknown) => value is CustomFieldFile;
38
+ /**
39
+ * Whether a value is a stored file reference: an object with the file's id
40
+ * and its name. (Its type and size are read leniently: readCustomFieldFiles.)
41
+ */
42
+ export declare const isCustomFieldFile: IsCustomFieldFileFunction;
43
+ export type ReadCustomFieldFilesFunction = (value: unknown) => Array<CustomFieldFile>;
44
+ /**
45
+ * A stored value as the files it holds, in order, for showing: one file or a
46
+ * list of them. An entry that is not a file reference is left out, and so is
47
+ * a file listed twice. Never throws.
48
+ */
49
+ export declare const readCustomFieldFiles: ReadCustomFieldFilesFunction;
50
+ export type GetCustomFieldFileIdsFunction = (value: unknown) => Array<string>;
51
+ export declare const getCustomFieldFileIds: GetCustomFieldFileIdsFunction;
52
+ export type FormatCustomFieldFileNamesFunction = (value: unknown) => string;
53
+ /**
54
+ * A stored value as people read it outside the dashboard - an email, a chat
55
+ * message, a note, an export: its files' names, joined with commas. "" when
56
+ * it holds none.
57
+ */
58
+ export declare const formatCustomFieldFileNames: FormatCustomFieldFileNamesFunction;
59
+ export type FormatCustomFieldFileSizeFunction = (bytes: number) => string;
60
+ export declare const formatCustomFieldFileSize: FormatCustomFieldFileSizeFunction;
61
+ export type GetCustomFieldValueEntryKeyFunction = (entry: unknown) => string;
62
+ /**
63
+ * One value - or one entry of a list - as "the same answer" is decided: a
64
+ * file reference, in any shape a write names one, by its file alone; any
65
+ * other object as its JSON; anything else as its text. So a list of files
66
+ * sent back as the dashboard holds them reads as the list the record holds,
67
+ * and two different lists of files never read as one.
68
+ */
69
+ export declare const getCustomFieldValueEntryKey: GetCustomFieldValueEntryKeyFunction;