@oneuptime/common 12.0.11 → 12.0.13

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 (251) hide show
  1. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.ts +32 -5
  2. package/Models/DatabaseModels/NetworkDevice.ts +64 -0
  3. package/Models/DatabaseModels/StatusPage.ts +59 -0
  4. package/Models/DatabaseModels/StatusPageOidc.ts +2 -0
  5. package/Models/DatabaseModels/WorkspaceProjectAuthToken.ts +19 -2
  6. package/Server/API/AIChatAPI.ts +55 -56
  7. package/Server/API/CommonAPI.ts +89 -0
  8. package/Server/API/MicrosoftTeamsAPI.ts +20 -9
  9. package/Server/API/SlackAPI.ts +13 -10
  10. package/Server/API/StatusPageAPI.ts +2197 -2128
  11. package/Server/API/TelemetryAPI.ts +72 -3
  12. package/Server/Infrastructure/Postgres/SchemaMigrations/1787500000000-AddEnableSearchEngineIndexingToStatusPage.ts +30 -0
  13. package/Server/Infrastructure/Postgres/SchemaMigrations/1787600000000-AddNetworkDeviceReachabilityColumns.ts +47 -0
  14. package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +4 -0
  15. package/Server/Middleware/UserAuthorization.ts +11 -2
  16. package/Server/Services/ApiKeyPermissionService.ts +116 -2
  17. package/Server/Services/DatabaseService.ts +17 -6
  18. package/Server/Services/LogAggregationService.ts +34 -0
  19. package/Server/Services/LogService.ts +21 -0
  20. package/Server/Services/NetworkSiteService.ts +12 -0
  21. package/Server/Services/SpanService.ts +21 -0
  22. package/Server/Services/TraceAggregationService.ts +15 -0
  23. package/Server/Services/WorkspaceNotificationRuleService.ts +172 -220
  24. package/Server/Types/AnalyticsDatabase/ModelPermission.ts +9 -0
  25. package/Server/Types/Database/Permissions/AccessControlPermission.ts +47 -16
  26. package/Server/Types/Workflow/Components/Conditions/IfElse.ts +9 -0
  27. package/Server/Types/Workflow/Components/JavaScript.ts +9 -0
  28. package/Server/Utils/APIKey/AccessPermission.ts +16 -40
  29. package/Server/Utils/AnalyticsDatabase/StatementGenerator.ts +144 -0
  30. package/Server/Utils/LogRedaction.ts +576 -0
  31. package/Server/Utils/Logger.ts +123 -46
  32. package/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.ts +94 -23
  33. package/Server/Utils/Monitor/MonitorCriteriaEvaluator.ts +12 -0
  34. package/Server/Utils/Monitor/MonitorResource.ts +29 -9
  35. package/Server/Utils/Monitor/NetworkInventoryUtil.ts +28 -7
  36. package/Server/Utils/SessionReplay/SessionReplayGateCacheStore.ts +56 -10
  37. package/Server/Utils/StartServer.ts +30 -9
  38. package/Server/Utils/StatusPageSearchEngineIndexing.ts +33 -0
  39. package/Server/Utils/Telemetry/ResourceEntityFilter.ts +441 -0
  40. package/Server/Utils/VM/VMRunner.ts +693 -874
  41. package/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.ts +488 -46
  42. package/Tests/App/Dashboard/MonitorTypePicker.test.tsx +300 -0
  43. package/Tests/App/StatusPage/StatusPageIndexPageRobotsMeta.test.ts +130 -0
  44. package/Tests/Models/DatabaseModels/DatabaseBaseModelToJSONObjectCache.test.ts +180 -0
  45. package/Tests/Models/StatusPageEnableSearchEngineIndexing.test.ts +157 -0
  46. package/Tests/Server/API/AIChatCancelAndFeedback.test.ts +23 -1
  47. package/Tests/Server/API/AIChatRouteAuthorization.test.ts +785 -0
  48. package/Tests/Server/API/BaseAPIApiKeyAuth.test.ts +21 -8
  49. package/Tests/Server/API/CommonAPIAuthGuard.test.ts +290 -0
  50. package/Tests/Server/API/MicrosoftTeamsManifest.test.ts +7 -1
  51. package/Tests/Server/API/StatusPageOverviewCache.test.ts +474 -0
  52. package/Tests/Server/API/StatusPageSeoSearchEngineIndexing.test.ts +189 -0
  53. package/Tests/Server/Infrastructure/InMemoryTTLCache.test.ts +158 -0
  54. package/Tests/Server/Infrastructure/Postgres/DeviceRoleAndDeclaredLinkParentMigration.test.ts +9 -60
  55. package/Tests/Server/Middleware/ProjectAuthorizationApiKeyMiddleware.test.ts +24 -15
  56. package/Tests/Server/Middleware/UserAuthorization.test.ts +79 -0
  57. package/Tests/Server/Services/AddNetworkDeviceReachabilityColumnsMigration.test.ts +332 -0
  58. package/Tests/Server/Services/ApiKeyPermissionService.test.ts +347 -0
  59. package/Tests/Server/Services/DatabaseServiceUpdateDebugLogging.test.ts +282 -0
  60. package/Tests/Server/Services/NetworkSiteService.test.ts +56 -2
  61. package/Tests/Server/Services/TelemetryResourceFacetFilters.test.ts +267 -0
  62. package/Tests/Server/Services/WorkspaceNotificationRuleTestRuleChannels.test.ts +702 -0
  63. package/Tests/Server/Types/Database/Permissions/AccessControlPermission.test.ts +165 -0
  64. package/Tests/Server/Types/Workflow/Components/CustomCodeScriptError.test.ts +121 -0
  65. package/Tests/Server/Utils/APIKey/AccessPermission.test.ts +48 -36
  66. package/Tests/Server/Utils/AnalyticsDatabase/StatementGenerator.test.ts +213 -0
  67. package/Tests/Server/Utils/LogRedaction.test.ts +415 -0
  68. package/Tests/Server/Utils/LoggerCredentialLeak.test.ts +245 -0
  69. package/Tests/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.test.ts +374 -4
  70. package/Tests/Server/Utils/Monitor/MonitorCriteriaEvaluatorJavascriptExpression.test.ts +92 -0
  71. package/Tests/Server/Utils/Monitor/MonitorResourceIngestedStepSelection.test.ts +455 -0
  72. package/Tests/Server/Utils/Monitor/NetworkDeviceReachabilityRoundTrip.test.ts +369 -0
  73. package/Tests/Server/Utils/Monitor/NetworkInventoryUtil.test.ts +86 -8
  74. package/Tests/Server/Utils/PrivacyFilterUtil.test.ts +64 -0
  75. package/Tests/Server/Utils/SessionReplay/SessionReplayGateCacheStore.test.ts +207 -0
  76. package/Tests/Server/Utils/StartServerBodyVerify.test.ts +335 -0
  77. package/Tests/Server/Utils/StatusPageSearchEngineIndexing.test.ts +60 -0
  78. package/Tests/Server/Utils/Telemetry/ResourceEntityFilter.test.ts +435 -0
  79. package/Tests/Server/Utils/VM/VMRunnerIsolation.test.ts +385 -0
  80. package/Tests/Server/Utils/VM/VMRunnerSsrf.test.ts +3 -0
  81. package/Tests/Server/Utils/Workspace/MicrosoftTeamsChannelSend.test.ts +607 -62
  82. package/Tests/Server/Utils/Workspace/MicrosoftTeamsInstalledTeamIdSpace.test.ts +778 -0
  83. package/Tests/Server/Utils/Workspace/MicrosoftTeamsTeamInstalls.test.ts +44 -10
  84. package/Tests/Types/API/HostnameFromAuthority.test.ts +164 -0
  85. package/Tests/Types/Database/AccessControl/ColumnAccessControlCache.test.ts +344 -0
  86. package/Tests/Types/Database/DatabasePropertyFindOperator.test.ts +518 -0
  87. package/Tests/Types/Database/TableColumnMetadataCache.test.ts +286 -0
  88. package/Tests/Types/Monitor/MonitorStep.test.ts +100 -0
  89. package/Tests/Types/Monitor/MonitorTypeKeywords.test.ts +360 -0
  90. package/Tests/Types/StatusPage/SearchEngineIndexing.test.ts +86 -0
  91. package/Tests/Types/Telemetry/ResourceEntityFacet.test.ts +254 -0
  92. package/Tests/UI/Components/CardSelect.test.tsx +1021 -0
  93. package/Tests/UI/Components/MasterPage.test.tsx +36 -1
  94. package/Tests/Utils/Monitor/MonitorMetricType.test.ts +66 -1
  95. package/Tests/Utils/Monitor/NetworkTopologyUtil.test.ts +115 -6
  96. package/Tests/Utils/NetworkDevice/DeviceReachabilityUtil.test.ts +610 -0
  97. package/Tests/Utils/NetworkSite/SiteStatusRollupUtil.test.ts +114 -45
  98. package/Types/API/Hostname.ts +79 -0
  99. package/Types/Database/AccessControl/ColumnAccessControl.ts +33 -11
  100. package/Types/Database/AccessControl/ColumnBillingAccessControl.ts +33 -11
  101. package/Types/Database/DatabaseProperty.ts +38 -0
  102. package/Types/Database/TableColumn.ts +34 -7
  103. package/Types/Events/Recurring.ts +16 -1
  104. package/Types/Monitor/CustomCodeMonitor/CustomCodeMonitorResponse.ts +14 -2
  105. package/Types/Monitor/MonitorStep.ts +13 -1
  106. package/Types/Monitor/MonitorType.ts +345 -40
  107. package/Types/Monitor/SSLMonitor/SslMonitorResponse.ts +43 -0
  108. package/Types/StatusPage/SearchEngineIndexing.ts +61 -0
  109. package/Types/Telemetry/ResourceEntityFacet.ts +211 -0
  110. package/UI/Components/CardSelect/CardSelect.tsx +714 -105
  111. package/UI/Components/EmptyState/EmptyState.tsx +8 -1
  112. package/UI/Components/Footer/Footer.tsx +32 -6
  113. package/UI/Components/Forms/Fields/FormField.tsx +3 -0
  114. package/UI/Components/Forms/Types/Field.ts +8 -0
  115. package/UI/Components/Loader/PageLoader.tsx +29 -8
  116. package/UI/Components/LogsViewer/components/LogsAnalyticsView.tsx +26 -4
  117. package/UI/Components/Markdown.tsx/LazyMarkdownViewer.tsx +17 -1
  118. package/UI/Components/MasterPage/MasterPage.tsx +24 -11
  119. package/Utils/Monitor/MonitorMetricType.ts +16 -1
  120. package/Utils/Monitor/NetworkTopologyUtil.ts +60 -8
  121. package/Utils/NetworkDevice/DeviceReachabilityUtil.ts +262 -0
  122. package/Utils/NetworkSite/SiteStatusRollupUtil.ts +41 -24
  123. package/Utils/Telemetry/CrossSignalScope.ts +75 -4
  124. package/build/dist/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +20 -4
  125. package/build/dist/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js.map +1 -1
  126. package/build/dist/Models/DatabaseModels/NetworkDevice.js +66 -0
  127. package/build/dist/Models/DatabaseModels/NetworkDevice.js.map +1 -1
  128. package/build/dist/Models/DatabaseModels/StatusPage.js +60 -0
  129. package/build/dist/Models/DatabaseModels/StatusPage.js.map +1 -1
  130. package/build/dist/Models/DatabaseModels/StatusPageOidc.js +2 -0
  131. package/build/dist/Models/DatabaseModels/StatusPageOidc.js.map +1 -1
  132. package/build/dist/Models/DatabaseModels/WorkspaceProjectAuthToken.js.map +1 -1
  133. package/build/dist/Server/API/AIChatAPI.js +48 -35
  134. package/build/dist/Server/API/AIChatAPI.js.map +1 -1
  135. package/build/dist/Server/API/CommonAPI.js +59 -0
  136. package/build/dist/Server/API/CommonAPI.js.map +1 -1
  137. package/build/dist/Server/API/MicrosoftTeamsAPI.js +20 -6
  138. package/build/dist/Server/API/MicrosoftTeamsAPI.js.map +1 -1
  139. package/build/dist/Server/API/SlackAPI.js +13 -10
  140. package/build/dist/Server/API/SlackAPI.js.map +1 -1
  141. package/build/dist/Server/API/StatusPageAPI.js +745 -673
  142. package/build/dist/Server/API/StatusPageAPI.js.map +1 -1
  143. package/build/dist/Server/API/TelemetryAPI.js +34 -3
  144. package/build/dist/Server/API/TelemetryAPI.js.map +1 -1
  145. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1787500000000-AddEnableSearchEngineIndexingToStatusPage.js +23 -0
  146. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1787500000000-AddEnableSearchEngineIndexingToStatusPage.js.map +1 -0
  147. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1787600000000-AddNetworkDeviceReachabilityColumns.js +34 -0
  148. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1787600000000-AddNetworkDeviceReachabilityColumns.js.map +1 -0
  149. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +4 -0
  150. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
  151. package/build/dist/Server/Middleware/UserAuthorization.js +6 -2
  152. package/build/dist/Server/Middleware/UserAuthorization.js.map +1 -1
  153. package/build/dist/Server/Services/ApiKeyPermissionService.js +90 -1
  154. package/build/dist/Server/Services/ApiKeyPermissionService.js.map +1 -1
  155. package/build/dist/Server/Services/DatabaseService.js +15 -6
  156. package/build/dist/Server/Services/DatabaseService.js.map +1 -1
  157. package/build/dist/Server/Services/LogAggregationService.js +2 -0
  158. package/build/dist/Server/Services/LogAggregationService.js.map +1 -1
  159. package/build/dist/Server/Services/LogService.js +16 -0
  160. package/build/dist/Server/Services/LogService.js.map +1 -1
  161. package/build/dist/Server/Services/NetworkSiteService.js +12 -0
  162. package/build/dist/Server/Services/NetworkSiteService.js.map +1 -1
  163. package/build/dist/Server/Services/SpanService.js +16 -0
  164. package/build/dist/Server/Services/SpanService.js.map +1 -1
  165. package/build/dist/Server/Services/TraceAggregationService.js +2 -0
  166. package/build/dist/Server/Services/TraceAggregationService.js.map +1 -1
  167. package/build/dist/Server/Services/WorkspaceNotificationRuleService.js +137 -164
  168. package/build/dist/Server/Services/WorkspaceNotificationRuleService.js.map +1 -1
  169. package/build/dist/Server/Types/AnalyticsDatabase/ModelPermission.js +9 -0
  170. package/build/dist/Server/Types/AnalyticsDatabase/ModelPermission.js.map +1 -1
  171. package/build/dist/Server/Types/Database/Permissions/AccessControlPermission.js +21 -13
  172. package/build/dist/Server/Types/Database/Permissions/AccessControlPermission.js.map +1 -1
  173. package/build/dist/Server/Types/Workflow/Components/Conditions/IfElse.js +8 -0
  174. package/build/dist/Server/Types/Workflow/Components/Conditions/IfElse.js.map +1 -1
  175. package/build/dist/Server/Types/Workflow/Components/JavaScript.js +8 -0
  176. package/build/dist/Server/Types/Workflow/Components/JavaScript.js.map +1 -1
  177. package/build/dist/Server/Utils/APIKey/AccessPermission.js +9 -32
  178. package/build/dist/Server/Utils/APIKey/AccessPermission.js.map +1 -1
  179. package/build/dist/Server/Utils/AnalyticsDatabase/StatementGenerator.js +87 -0
  180. package/build/dist/Server/Utils/AnalyticsDatabase/StatementGenerator.js.map +1 -1
  181. package/build/dist/Server/Utils/LogRedaction.js +449 -0
  182. package/build/dist/Server/Utils/LogRedaction.js.map +1 -0
  183. package/build/dist/Server/Utils/Logger.js +98 -45
  184. package/build/dist/Server/Utils/Logger.js.map +1 -1
  185. package/build/dist/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.js +65 -13
  186. package/build/dist/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.js.map +1 -1
  187. package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js +12 -1
  188. package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js.map +1 -1
  189. package/build/dist/Server/Utils/Monitor/MonitorResource.js +20 -3
  190. package/build/dist/Server/Utils/Monitor/MonitorResource.js.map +1 -1
  191. package/build/dist/Server/Utils/Monitor/NetworkInventoryUtil.js +27 -7
  192. package/build/dist/Server/Utils/Monitor/NetworkInventoryUtil.js.map +1 -1
  193. package/build/dist/Server/Utils/SessionReplay/SessionReplayGateCacheStore.js +29 -10
  194. package/build/dist/Server/Utils/SessionReplay/SessionReplayGateCacheStore.js.map +1 -1
  195. package/build/dist/Server/Utils/StartServer.js +10 -7
  196. package/build/dist/Server/Utils/StartServer.js.map +1 -1
  197. package/build/dist/Server/Utils/StatusPageSearchEngineIndexing.js +24 -0
  198. package/build/dist/Server/Utils/StatusPageSearchEngineIndexing.js.map +1 -0
  199. package/build/dist/Server/Utils/Telemetry/ResourceEntityFilter.js +311 -0
  200. package/build/dist/Server/Utils/Telemetry/ResourceEntityFilter.js.map +1 -0
  201. package/build/dist/Server/Utils/VM/VMRunner.js +402 -525
  202. package/build/dist/Server/Utils/VM/VMRunner.js.map +1 -1
  203. package/build/dist/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.js +366 -37
  204. package/build/dist/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.js.map +1 -1
  205. package/build/dist/Types/API/Hostname.js +63 -0
  206. package/build/dist/Types/API/Hostname.js.map +1 -1
  207. package/build/dist/Types/Database/AccessControl/ColumnAccessControl.js +20 -6
  208. package/build/dist/Types/Database/AccessControl/ColumnAccessControl.js.map +1 -1
  209. package/build/dist/Types/Database/AccessControl/ColumnBillingAccessControl.js +20 -6
  210. package/build/dist/Types/Database/AccessControl/ColumnBillingAccessControl.js.map +1 -1
  211. package/build/dist/Types/Database/DatabaseProperty.js +38 -0
  212. package/build/dist/Types/Database/DatabaseProperty.js.map +1 -1
  213. package/build/dist/Types/Database/TableColumn.js +24 -6
  214. package/build/dist/Types/Database/TableColumn.js.map +1 -1
  215. package/build/dist/Types/Events/Recurring.js +13 -1
  216. package/build/dist/Types/Events/Recurring.js.map +1 -1
  217. package/build/dist/Types/Monitor/MonitorStep.js +9 -1
  218. package/build/dist/Types/Monitor/MonitorStep.js.map +1 -1
  219. package/build/dist/Types/Monitor/MonitorType.js +330 -31
  220. package/build/dist/Types/Monitor/MonitorType.js.map +1 -1
  221. package/build/dist/Types/StatusPage/SearchEngineIndexing.js +55 -0
  222. package/build/dist/Types/StatusPage/SearchEngineIndexing.js.map +1 -0
  223. package/build/dist/Types/Telemetry/ResourceEntityFacet.js +156 -0
  224. package/build/dist/Types/Telemetry/ResourceEntityFacet.js.map +1 -0
  225. package/build/dist/UI/Components/CardSelect/CardSelect.js +360 -40
  226. package/build/dist/UI/Components/CardSelect/CardSelect.js.map +1 -1
  227. package/build/dist/UI/Components/EmptyState/EmptyState.js +1 -1
  228. package/build/dist/UI/Components/EmptyState/EmptyState.js.map +1 -1
  229. package/build/dist/UI/Components/Footer/Footer.js +7 -4
  230. package/build/dist/UI/Components/Footer/Footer.js.map +1 -1
  231. package/build/dist/UI/Components/Forms/Fields/FormField.js +1 -1
  232. package/build/dist/UI/Components/Forms/Fields/FormField.js.map +1 -1
  233. package/build/dist/UI/Components/Loader/PageLoader.js +15 -5
  234. package/build/dist/UI/Components/Loader/PageLoader.js.map +1 -1
  235. package/build/dist/UI/Components/LogsViewer/components/LogsAnalyticsView.js +16 -3
  236. package/build/dist/UI/Components/LogsViewer/components/LogsAnalyticsView.js.map +1 -1
  237. package/build/dist/UI/Components/Markdown.tsx/LazyMarkdownViewer.js +13 -1
  238. package/build/dist/UI/Components/Markdown.tsx/LazyMarkdownViewer.js.map +1 -1
  239. package/build/dist/UI/Components/MasterPage/MasterPage.js +10 -2
  240. package/build/dist/UI/Components/MasterPage/MasterPage.js.map +1 -1
  241. package/build/dist/Utils/Monitor/MonitorMetricType.js +13 -1
  242. package/build/dist/Utils/Monitor/MonitorMetricType.js.map +1 -1
  243. package/build/dist/Utils/Monitor/NetworkTopologyUtil.js +34 -7
  244. package/build/dist/Utils/Monitor/NetworkTopologyUtil.js.map +1 -1
  245. package/build/dist/Utils/NetworkDevice/DeviceReachabilityUtil.js +177 -0
  246. package/build/dist/Utils/NetworkDevice/DeviceReachabilityUtil.js.map +1 -0
  247. package/build/dist/Utils/NetworkSite/SiteStatusRollupUtil.js +23 -27
  248. package/build/dist/Utils/NetworkSite/SiteStatusRollupUtil.js.map +1 -1
  249. package/build/dist/Utils/Telemetry/CrossSignalScope.js +44 -4
  250. package/build/dist/Utils/Telemetry/CrossSignalScope.js.map +1 -1
  251. package/package.json +1 -1
@@ -158,188 +158,478 @@ export class MonitorTypeHelper {
158
158
  {
159
159
  monitorType: MonitorType.API,
160
160
  title: "API",
161
- description: "This monitor type lets you monitor any API - GET, POST, PUT, DELETE or more.",
161
+ description: "Call any HTTP endpoint - GET, POST, PUT, DELETE - and alert on the response.",
162
162
  icon: IconProp.Code,
163
+ keywords: [
164
+ "rest",
165
+ "endpoint",
166
+ "http",
167
+ "https",
168
+ "json",
169
+ "graphql",
170
+ "get",
171
+ "post",
172
+ "put",
173
+ "delete",
174
+ "service",
175
+ ],
163
176
  },
164
177
  {
165
178
  monitorType: MonitorType.Manual,
166
179
  title: "Manual",
167
- description: "This monitor is a static monitor and will not actually monitor anything. It will however help you to integrate OneUptime with external monitoring tools and utilities.",
180
+ description: "No automatic checks. You set the status yourself, or from an external tool.",
168
181
  icon: IconProp.EmptyCircle,
182
+ keywords: [
183
+ "static",
184
+ "external",
185
+ "integration",
186
+ "placeholder",
187
+ "no check",
188
+ "third party",
189
+ ],
169
190
  },
170
191
  {
171
192
  monitorType: MonitorType.Website,
172
193
  title: "Website",
173
- description: "This monitor type lets you monitor landing pages like home page of your company / blog or more.",
194
+ description: "Check a page loads and responds - status code, page content, and response time.",
174
195
  icon: IconProp.Globe,
196
+ keywords: [
197
+ "url",
198
+ "http",
199
+ "https",
200
+ "web",
201
+ "webpage",
202
+ "site",
203
+ "landing page",
204
+ "home page",
205
+ "uptime",
206
+ ],
175
207
  },
176
208
  {
177
209
  monitorType: MonitorType.Ping,
178
210
  title: "Ping",
179
- description: "This monitor type does the basic ping test of an endpoint.",
211
+ description: "ICMP reachability and round trip time for a host.",
180
212
  icon: IconProp.Signal,
213
+ keywords: [
214
+ "icmp",
215
+ "echo",
216
+ "reachable",
217
+ "reachability",
218
+ "latency",
219
+ "rtt",
220
+ "packet loss",
221
+ ],
181
222
  },
182
223
  {
183
224
  monitorType: MonitorType.Kubernetes,
184
225
  title: "Kubernetes",
185
- description: "This monitor type lets you monitor Kubernetes clusters, workloads, nodes, and pods.",
226
+ description: "Cluster, node, workload, and pod health.",
186
227
  icon: IconProp.Cube,
228
+ keywords: [
229
+ "k8s",
230
+ "cluster",
231
+ "pod",
232
+ "node",
233
+ "workload",
234
+ "deployment",
235
+ "namespace",
236
+ "container",
237
+ "eks",
238
+ "gke",
239
+ "aks",
240
+ "openshift",
241
+ ],
187
242
  },
188
243
  {
189
244
  monitorType: MonitorType.Docker,
190
245
  title: "Docker Container",
191
- description: "This monitor type lets you monitor Docker containers — CPU, memory, network, restarts, and lifecycle events.",
246
+ description: "Container CPU, memory, network, restarts, and lifecycle events.",
192
247
  icon: IconProp.Cube,
248
+ keywords: [
249
+ "container",
250
+ "dockerd",
251
+ "image",
252
+ "restart",
253
+ "compose",
254
+ "oci",
255
+ ],
193
256
  },
194
257
  {
195
258
  monitorType: MonitorType.Host,
196
259
  title: "Host",
197
- description: "This monitor type lets you monitor OpenTelemetry-instrumented hosts and servers (the Hosts product) — CPU, memory, disk, network, load average, and process count via the OneUptime Infrastructure Agent. It is the telemetry-metric counterpart to the agent-push Server / VM Monitor.",
260
+ description: "CPU, memory, disk, network, and load for hosts running the Infrastructure Agent.",
198
261
  icon: IconProp.Server,
262
+ keywords: [
263
+ "server",
264
+ "vm",
265
+ "machine",
266
+ "cpu",
267
+ "memory",
268
+ "ram",
269
+ "disk",
270
+ "load average",
271
+ "otel",
272
+ "opentelemetry",
273
+ "agent",
274
+ "linux",
275
+ "infrastructure",
276
+ ],
199
277
  },
200
278
  {
201
279
  monitorType: MonitorType.Podman,
202
280
  title: "Podman Container",
203
- description: "This monitor type lets you monitor Podman containers — CPU, memory, network, restarts, and lifecycle events.",
281
+ description: "Container CPU, memory, network, restarts, and lifecycle events.",
204
282
  icon: IconProp.Podman,
283
+ keywords: [
284
+ "container",
285
+ "rootless",
286
+ "redhat",
287
+ "oci",
288
+ "quadlet",
289
+ "buildah",
290
+ ],
205
291
  },
206
292
  {
207
293
  monitorType: MonitorType.DockerSwarm,
208
294
  title: "Docker Swarm",
209
- description: "This monitor type lets you monitor Docker Swarm clusters — per-task container CPU, memory, network, process count, and uptime across the cluster's services and nodes.",
295
+ description: "Per task container health across the cluster's services and nodes.",
210
296
  icon: IconProp.DockerSwarm,
297
+ keywords: [
298
+ "swarm",
299
+ "cluster",
300
+ "service",
301
+ "task",
302
+ "orchestration",
303
+ "stack",
304
+ "docker",
305
+ ],
211
306
  },
212
307
  {
213
308
  monitorType: MonitorType.Proxmox,
214
309
  title: "Proxmox",
215
- description: "This monitor type lets you monitor Proxmox VE clusters — node availability, VM and container (guest) health, CPU, memory, storage, and HA state.",
310
+ description: "Node availability, VM and container guests, storage, and HA state.",
216
311
  icon: IconProp.Proxmox,
312
+ keywords: [
313
+ "pve",
314
+ "hypervisor",
315
+ "vm",
316
+ "virtual machine",
317
+ "lxc",
318
+ "guest",
319
+ "virtualization",
320
+ "ha",
321
+ "cluster",
322
+ ],
217
323
  },
218
324
  {
219
325
  monitorType: MonitorType.Ceph,
220
326
  title: "Ceph",
221
- description: "This monitor type lets you monitor Ceph storage clusters — cluster health, monitor quorum, OSD availability, pool capacity, and placement group states.",
327
+ description: "Cluster health, monitor quorum, OSD availability, and pool capacity.",
222
328
  icon: IconProp.Ceph,
329
+ keywords: [
330
+ "storage",
331
+ "osd",
332
+ "placement group",
333
+ "pool",
334
+ "quorum",
335
+ "rados",
336
+ "cluster",
337
+ "object storage",
338
+ ],
223
339
  },
224
340
  {
225
341
  monitorType: MonitorType.IoTDevice,
226
342
  title: "IoT Device",
227
- description: "This monitor type lets you monitor IoT device fleets — device availability, battery level, connectivity and signal strength, temperature, and system health across your devices and gateways.",
343
+ description: "Device fleet availability, battery, connectivity, and signal strength.",
228
344
  icon: IconProp.IoT,
345
+ keywords: [
346
+ "iot",
347
+ "device",
348
+ "fleet",
349
+ "sensor",
350
+ "battery",
351
+ "gateway",
352
+ "embedded",
353
+ "signal",
354
+ ],
229
355
  },
230
356
  {
231
357
  monitorType: MonitorType.IP,
232
358
  title: "IP",
233
- description: "This monitor type lets you monitor any IPv4 or IPv6 addresses.",
359
+ description: "Reachability of any IPv4 or IPv6 address.",
234
360
  icon: IconProp.AltGlobe,
361
+ keywords: ["ipv4", "ipv6", "address", "reachability", "host"],
235
362
  },
236
363
  {
237
364
  monitorType: MonitorType.IncomingRequest,
238
365
  title: "Incoming Request",
239
- description: "This monitor type lets you ping OneUptime from any external device or service with a custom payload.",
366
+ description: "Have something call OneUptime - heartbeats, cron jobs, and webhooks.",
240
367
  icon: IconProp.Webhook,
368
+ keywords: [
369
+ "webhook",
370
+ "heartbeat",
371
+ "push",
372
+ "cron",
373
+ "inbound",
374
+ "dead man switch",
375
+ "alertmanager",
376
+ "curl",
377
+ ],
241
378
  },
242
379
  {
243
380
  monitorType: MonitorType.IncomingEmail,
244
381
  title: "Incoming Email",
245
- description: "This monitor type triggers alerts when emails are received at a unique email address with matching criteria.",
382
+ description: "Alert when email arrives at a unique address and matches your criteria.",
246
383
  icon: IconProp.Email,
384
+ keywords: ["email", "mail", "inbox", "smtp", "imap", "mailbox"],
247
385
  },
248
386
  {
249
387
  monitorType: MonitorType.Port,
250
388
  title: "Port",
251
- description: "This monitor type lets you monitor any TCP or UDP port.",
389
+ description: "Whether a TCP or UDP port accepts connections.",
252
390
  icon: IconProp.Terminal,
391
+ keywords: ["tcp", "udp", "socket", "telnet", "open port", "connection"],
253
392
  },
254
393
  {
255
394
  monitorType: MonitorType.Server,
256
395
  title: "Server / VM",
257
- description: "This monitor type lets you monitor any server, VM, or any machine.",
396
+ description: "Any server, VM, or machine, reporting in through the OneUptime agent.",
258
397
  icon: IconProp.Cube,
398
+ keywords: [
399
+ "vm",
400
+ "machine",
401
+ "agent",
402
+ "linux",
403
+ "windows",
404
+ "cpu",
405
+ "memory",
406
+ "disk",
407
+ ],
259
408
  },
260
409
  {
261
410
  monitorType: MonitorType.SSLCertificate,
262
411
  title: "SSL Certificate",
263
- description: "This monitor type lets you monitor SSL certificates of any domain.",
412
+ description: "Certificate validity and expiry for a domain.",
264
413
  icon: IconProp.ShieldCheck,
414
+ keywords: [
415
+ "tls",
416
+ "ssl",
417
+ "cert",
418
+ "certificate",
419
+ "https",
420
+ "expiry",
421
+ "expiration",
422
+ "x509",
423
+ "chain",
424
+ "handshake",
425
+ ],
265
426
  },
266
427
  {
267
428
  monitorType: MonitorType.SQLQuery,
268
429
  title: "SQL Query",
269
- description: "This monitor type runs a read-only SQL query on a schedule against a database (PostgreSQL, MySQL, or Microsoft SQL Server) and alerts on the result — row count, a scalar value, execution time, or query errors. Requires a probe with network access to your database.",
430
+ description: "Run a read only query on a schedule and alert on rows, values, or errors.",
270
431
  icon: IconProp.Database,
432
+ keywords: [
433
+ "database",
434
+ "db",
435
+ "postgres",
436
+ "postgresql",
437
+ "mysql",
438
+ "mariadb",
439
+ "mssql",
440
+ "sql server",
441
+ "query",
442
+ "row count",
443
+ ],
271
444
  },
272
445
  {
273
446
  monitorType: MonitorType.SyntheticMonitor,
274
447
  title: "Synthetic Monitor",
275
- description: "This monitor type lets you monitor your web application UI.",
448
+ description: "Drive your web app in a real browser and alert when the journey fails.",
276
449
  icon: IconProp.Window,
450
+ keywords: [
451
+ "browser",
452
+ "playwright",
453
+ "e2e",
454
+ "user journey",
455
+ "ui",
456
+ "click",
457
+ "flow",
458
+ "transaction",
459
+ "headless",
460
+ ],
277
461
  },
278
462
  {
279
463
  monitorType: MonitorType.CustomJavaScriptCode,
280
464
  title: "Custom JavaScript Code",
281
- description: "This monitor type lets you run custom JavaScript code on a schedule.",
465
+ description: "Run your own JavaScript on a schedule and alert on what it returns.",
282
466
  icon: IconProp.Code,
467
+ keywords: [
468
+ "js",
469
+ "javascript",
470
+ "script",
471
+ "code",
472
+ "custom",
473
+ "node",
474
+ "programmatic",
475
+ ],
283
476
  },
284
477
  {
285
478
  monitorType: MonitorType.Logs,
286
479
  title: "Logs",
287
- description: "This monitor type lets you monitor logs from any source.",
480
+ description: "Alert on log volume or matching log content from any source.",
288
481
  icon: IconProp.Logs,
482
+ keywords: [
483
+ "log",
484
+ "otel",
485
+ "opentelemetry",
486
+ "log query",
487
+ "error log",
488
+ "search logs",
489
+ ],
289
490
  },
290
491
  {
291
492
  monitorType: MonitorType.Exceptions,
292
493
  title: "Exceptions",
293
- description: "This monitor type lets you monitor exceptions and error groups from any source.",
494
+ description: "Alert on exceptions and error groups from any source.",
294
495
  icon: IconProp.Bug,
496
+ keywords: [
497
+ "exception",
498
+ "error",
499
+ "crash",
500
+ "stack trace",
501
+ "bug",
502
+ "error group",
503
+ ],
295
504
  },
296
505
  {
297
506
  monitorType: MonitorType.Traces,
298
507
  title: "Traces",
299
- description: "This monitor type lets you monitor traces from any source.",
508
+ description: "Alert on span latency and error rate from any source.",
300
509
  icon: IconProp.Waterfall,
510
+ keywords: [
511
+ "trace",
512
+ "span",
513
+ "otel",
514
+ "opentelemetry",
515
+ "distributed tracing",
516
+ "apm",
517
+ "latency",
518
+ ],
301
519
  },
302
520
  {
303
521
  monitorType: MonitorType.Metrics,
304
522
  title: "Metrics",
305
- description: "This monitor type lets you monitor metrics from any source.",
523
+ description: "Alert on any metric you ingest.",
306
524
  icon: IconProp.Heartbeat,
525
+ keywords: [
526
+ "metric",
527
+ "otel",
528
+ "opentelemetry",
529
+ "gauge",
530
+ "counter",
531
+ "histogram",
532
+ "timeseries",
533
+ "prometheus",
534
+ ],
307
535
  },
308
536
  {
309
537
  monitorType: MonitorType.Profiles,
310
538
  title: "Profiles",
311
- description: "This monitor type lets you monitor continuous profiling data from any source.",
539
+ description: "Alert on continuous profiling data from any source.",
312
540
  icon: IconProp.Fire,
541
+ keywords: [
542
+ "profiling",
543
+ "cpu profile",
544
+ "flamegraph",
545
+ "pprof",
546
+ "continuous profiling",
547
+ ],
313
548
  },
314
549
  {
315
550
  monitorType: MonitorType.NetworkDevice,
316
551
  title: "Network Device",
317
- description: "This monitor type alerts on a registered Network Device (switch, router, firewall, or access point) — availability, interface status, bandwidth, health OIDs, and traps. The device itself is polled by its assigned probe; the monitor chooses what to alert on.",
552
+ description: "Alert on a registered switch, router, firewall, or access point.",
318
553
  icon: IconProp.Signal,
554
+ keywords: [
555
+ "snmp",
556
+ "switch",
557
+ "router",
558
+ "firewall",
559
+ "access point",
560
+ "interface",
561
+ "oid",
562
+ "trap",
563
+ "bandwidth",
564
+ ],
319
565
  },
320
566
  {
321
567
  monitorType: MonitorType.DNS,
322
568
  title: "DNS",
323
- description: "This monitor type lets you monitor DNS resolution for your domains, verify record values, and check DNSSEC validity.",
569
+ description: "Resolution and record values for your domains.",
324
570
  icon: IconProp.GlobeAlt,
571
+ keywords: [
572
+ "resolution",
573
+ "resolve",
574
+ "record",
575
+ "cname",
576
+ "mx",
577
+ "txt",
578
+ "ns",
579
+ "srv",
580
+ "resolver",
581
+ "nslookup",
582
+ "dig",
583
+ ],
325
584
  },
326
585
  {
327
586
  monitorType: MonitorType.DNSSEC,
328
587
  title: "DNSSEC",
329
- description: "This monitor type performs full DNSSEC validation DNSKEY, DS at the parent zone, RRSIG validity windows, AD-flag/SERVFAIL behavior across public resolvers, and primary/secondary nameserver consistency.",
588
+ description: "Full DNSSEC validation - DNSKEY, DS, RRSIG, and resolver behaviour.",
330
589
  icon: IconProp.Key,
590
+ keywords: [
591
+ "dnskey",
592
+ "ds record",
593
+ "rrsig",
594
+ "signing",
595
+ "validation",
596
+ "secure dns",
597
+ "chain of trust",
598
+ ],
331
599
  },
332
600
  {
333
601
  monitorType: MonitorType.Domain,
334
602
  title: "Domain",
335
- description: "This monitor type lets you monitor domain registration health expiry dates, registrar info, nameserver delegation, and WHOIS status.",
603
+ description: "Registration health - expiry, registrar, nameservers, and WHOIS status.",
336
604
  icon: IconProp.Globe,
605
+ keywords: [
606
+ "whois",
607
+ "registrar",
608
+ "registration",
609
+ "expiry",
610
+ "expiration",
611
+ "nameserver",
612
+ "delegation",
613
+ "tld",
614
+ ],
337
615
  },
338
616
  {
339
617
  monitorType: MonitorType.ExternalStatusPage,
340
618
  title: "External Status Page",
341
- description: "This monitor type lets you monitor third-party status pages (e.g. AWS, GCP, Azure, GitHub, Cloudflare) and alert when their services degrade.",
619
+ description: "Watch a third party status page - AWS, GCP, Azure, GitHub, Cloudflare.",
342
620
  icon: IconProp.ExternalLink,
621
+ keywords: [
622
+ "third party",
623
+ "vendor",
624
+ "upstream",
625
+ "dependency",
626
+ "aws",
627
+ "gcp",
628
+ "azure",
629
+ "github",
630
+ "cloudflare",
631
+ "statuspage",
632
+ ],
343
633
  },
344
634
  ];
345
635
  return monitorTypeProps;
@@ -362,6 +652,15 @@ export class MonitorTypeHelper {
362
652
  }
363
653
  return monitorTypeProps[0].title;
364
654
  }
655
+ static getKeywords(monitorType) {
656
+ const monitorTypeProps = this.getAllMonitorTypeProps().filter((item) => {
657
+ return item.monitorType === monitorType;
658
+ });
659
+ if (!monitorTypeProps[0]) {
660
+ throw new BadDataException(`${monitorType} does not have monitorType props`);
661
+ }
662
+ return monitorTypeProps[0].keywords;
663
+ }
365
664
  /*
366
665
  * Monitor types the probe executes on a schedule via MonitorProbe rows.
367
666
  *
@@ -1 +1 @@
1
- {"version":3,"file":"MonitorType.js","sourceRoot":"","sources":["../../../../Types/Monitor/MonitorType.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AAExC,IAAK,WAuDJ;AAvDD,WAAK,WAAW;IACd,gCAAiB,CAAA;IACjB,kCAAmB,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,QAAQ;YACpC,WAAW,KAAK,WAAW,CAAC,kBAAkB,EAC9C,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Search engine indexing for status pages.
3
+ *
4
+ * A status page is indexable unless its owner turned indexing off
5
+ * (StatusPage.enableSearchEngineIndexing, which defaults to true). The
6
+ * opt-out is carried to crawlers two ways:
7
+ *
8
+ * - <meta name="robots" content="noindex, nofollow"> in the server-rendered
9
+ * index.ejs, which is in the HTML before the JS bundle loads
10
+ * - an X-Robots-Tag response header, which crawlers also honour on
11
+ * responses that are not HTML (the RSS feed, llms.txt)
12
+ *
13
+ * Both live here rather than in each renderer because the status page is
14
+ * rendered by two servers - the standalone status-page container
15
+ * (App/FeatureSet/StatusPage/Serve.ts) and the combined App container
16
+ * (App/FeatureSet/Frontend/Index.ts) - and the two must not drift.
17
+ */
18
+ /*
19
+ * nofollow rides along with noindex: a page that is meant to stay out of
20
+ * search results should not be passing crawl signals to the pages it links to
21
+ * either. This is the same directive Atlassian Statuspage and Status.io emit
22
+ * for their equivalent setting.
23
+ */
24
+ export const NOINDEX_ROBOTS_DIRECTIVE = "noindex, nofollow";
25
+ export const X_ROBOTS_TAG_HEADER_NAME = "X-Robots-Tag";
26
+ /*
27
+ * Name of the flag on the status page /seo API response, and of the variable
28
+ * handed to index.ejs. Kept as a constant so the API, the two renderers and
29
+ * the template cannot disagree about the spelling.
30
+ */
31
+ export const SEARCH_ENGINE_INDEXING_FLAG_NAME = "enableSearchEngineIndexing";
32
+ /**
33
+ * Reads the indexing flag off an untyped value - a JSON field from the /seo
34
+ * API, or a column that predates the migration.
35
+ *
36
+ * Everything that is not an explicit "off" means indexable. Failing this open
37
+ * is deliberate: the flag reaches the renderers over an internal HTTP call,
38
+ * and a blip on that call must not de-index a page whose owner never asked for
39
+ * that. The opposite failure (one render of a noindex page missing its meta
40
+ * tag) costs nothing permanent, because crawlers re-fetch.
41
+ */
42
+ export function isSearchEngineIndexingEnabled(value) {
43
+ if (value === false) {
44
+ return false;
45
+ }
46
+ /*
47
+ * JSON round-trips and query strings can turn the boolean into a string.
48
+ * "false" is the only spelling either produces for false.
49
+ */
50
+ if (value === "false") {
51
+ return false;
52
+ }
53
+ return true;
54
+ }
55
+ //# sourceMappingURL=SearchEngineIndexing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchEngineIndexing.js","sourceRoot":"","sources":["../../../../Types/StatusPage/SearchEngineIndexing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAW,mBAAmB,CAAC;AAEpE,MAAM,CAAC,MAAM,wBAAwB,GAAW,cAAc,CAAC;AAE/D;;;;GAIG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAC3C,4BAA4B,CAAC;AAE/B;;;;;;;;;GASG;AACH,MAAM,UAAU,6BAA6B,CAAC,KAAc;IAC1D,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;QACpB,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;;OAGG;IACH,IAAI,KAAK,KAAK,OAAO,EAAE,CAAC;QACtB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}