@oneuptime/common 14.3.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/DatabaseModels/AIAgent.js +7 -1
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.mts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.ts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +62 -0
- package/Models/DatabaseModels/AIRun.d.mts +2 -0
- package/Models/DatabaseModels/AIRun.d.ts +2 -0
- package/Models/DatabaseModels/AIRun.js +63 -0
- package/Models/DatabaseModels/AcmeCertificate.js +14 -0
- package/Models/DatabaseModels/Alert.js +6 -8
- package/Models/DatabaseModels/AlertEpisodeStateTimeline.js +3 -2
- package/Models/DatabaseModels/AlertSeverity.js +3 -12
- package/Models/DatabaseModels/ApiKey.d.mts +3 -1
- package/Models/DatabaseModels/ApiKey.d.ts +3 -1
- package/Models/DatabaseModels/ApiKey.js +67 -14
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.mts +1 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.ts +1 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.js +37 -4
- package/Models/DatabaseModels/CallLog.js +15 -3
- package/Models/DatabaseModels/CodeRepository.d.mts +1 -0
- package/Models/DatabaseModels/CodeRepository.d.ts +1 -0
- package/Models/DatabaseModels/CodeRepository.js +45 -2
- package/Models/DatabaseModels/CodeRepositoryMintedToken.d.mts +25 -0
- package/Models/DatabaseModels/CodeRepositoryMintedToken.d.ts +25 -0
- package/Models/DatabaseModels/CodeRepositoryMintedToken.js +436 -0
- package/Models/DatabaseModels/CodeRepositoryMintedToken.mjs +2 -0
- package/Models/DatabaseModels/CustomNotificationChannel.js +17 -9
- package/Models/DatabaseModels/Dashboard.js +10 -2
- package/Models/DatabaseModels/DashboardDomain.js +22 -27
- package/Models/DatabaseModels/DataProduct.js +3 -2
- package/Models/DatabaseModels/DatabaseBaseModel/RuleBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/RuleBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/RuleBaseModel.js +30 -0
- package/Models/DatabaseModels/EmailLog.js +15 -3
- package/Models/DatabaseModels/File.js +4 -2
- package/Models/DatabaseModels/FormDomain.js +10 -2
- package/Models/DatabaseModels/GlobalConfig.d.mts +9 -1
- package/Models/DatabaseModels/GlobalConfig.d.ts +9 -1
- package/Models/DatabaseModels/GlobalConfig.js +187 -11
- package/Models/DatabaseModels/Incident.js +38 -44
- package/Models/DatabaseModels/IncidentEpisodePublicNote.js +11 -16
- package/Models/DatabaseModels/IncidentEpisodeStateTimeline.js +3 -2
- package/Models/DatabaseModels/IncidentPublicNote.js +11 -16
- package/Models/DatabaseModels/IncidentSeverity.js +3 -12
- package/Models/DatabaseModels/IncidentStateTimeline.js +12 -16
- package/Models/DatabaseModels/IncidentTemplate.js +6 -11
- package/Models/DatabaseModels/IncomingRequestSecret.d.mts +6 -0
- package/Models/DatabaseModels/IncomingRequestSecret.d.ts +6 -0
- package/Models/DatabaseModels/IncomingRequestSecret.js +156 -29
- package/Models/DatabaseModels/Index.js +2 -5
- package/Models/DatabaseModels/IoTDeviceCredential.js +3 -1
- package/Models/DatabaseModels/Monitor.d.mts +5 -0
- package/Models/DatabaseModels/Monitor.d.ts +5 -0
- package/Models/DatabaseModels/Monitor.js +204 -26
- package/Models/DatabaseModels/MonitorNetworkDevice.js +4 -1
- package/Models/DatabaseModels/MonitorTemplate.js +3 -1
- package/Models/DatabaseModels/MonitorTest.js +3 -1
- package/Models/DatabaseModels/NetworkDevice.js +59 -20
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +38 -15
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +39 -0
- package/Models/DatabaseModels/NetworkSnmpCredentialProfile.js +4 -4
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +45 -12
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.d.mts +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.d.ts +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +93 -5
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +43 -0
- package/Models/DatabaseModels/OpenStackProjectNotice.js +29 -10
- package/Models/DatabaseModels/Probe.js +7 -1
- package/Models/DatabaseModels/Project.d.mts +1 -1
- package/Models/DatabaseModels/Project.d.ts +1 -1
- package/Models/DatabaseModels/Project.js +59 -64
- package/Models/DatabaseModels/ProjectSCIM.d.mts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.d.ts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.js +21 -9
- package/Models/DatabaseModels/ProjectSmtpConfig.js +44 -49
- package/Models/DatabaseModels/PushNotificationLog.js +15 -3
- package/Models/DatabaseModels/Reseller.js +2 -8
- package/Models/DatabaseModels/ResellerPlan.js +2 -8
- package/Models/DatabaseModels/Runbook.js +3 -2
- package/Models/DatabaseModels/RunbookExecution.js +4 -4
- package/Models/DatabaseModels/Runner.d.mts +1 -0
- package/Models/DatabaseModels/Runner.d.ts +1 -0
- package/Models/DatabaseModels/Runner.js +52 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +32 -24
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +11 -16
- package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +12 -16
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.js +9 -8
- package/Models/DatabaseModels/ServiceLevelObjective.js +7 -0
- package/Models/DatabaseModels/SmsLog.js +15 -3
- package/Models/DatabaseModels/StatusPage.js +33 -13
- package/Models/DatabaseModels/StatusPageAnnouncement.js +19 -24
- package/Models/DatabaseModels/StatusPageDomain.js +24 -27
- package/Models/DatabaseModels/StatusPageSCIM.d.mts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.d.ts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.js +17 -8
- package/Models/DatabaseModels/StatusPageSubscriber.js +40 -19
- package/Models/DatabaseModels/TelegramLog.js +15 -3
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +36 -1
- package/Models/DatabaseModels/User.d.mts +0 -3
- package/Models/DatabaseModels/User.d.ts +0 -3
- package/Models/DatabaseModels/User.js +5 -73
- package/Models/DatabaseModels/UserOnCallLog.d.mts +1 -0
- package/Models/DatabaseModels/UserOnCallLog.d.ts +1 -0
- package/Models/DatabaseModels/UserOnCallLog.js +52 -5
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +10 -2
- package/Models/DatabaseModels/UserWebhook.js +39 -22
- package/Models/DatabaseModels/WebhookLog.js +27 -5
- package/Models/DatabaseModels/WhatsAppLog.js +15 -3
- package/Models/DatabaseModels/Workflow.d.mts +3 -0
- package/Models/DatabaseModels/Workflow.d.ts +3 -0
- package/Models/DatabaseModels/Workflow.js +70 -1
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +15 -3
- package/Models/DatabaseModels/WorkspaceNotificationRule.js +10 -7
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.js +16 -2
- package/Models/DatabaseModels/WorkspaceUserAuthToken.js +13 -2
- package/Server/Services/DatabaseService.d.mts +78 -39
- package/Server/Services/DatabaseService.d.ts +78 -39
- package/Server/Types/Database/Permissions/PrivateRecordPermission.d.mts +123 -0
- package/Server/Types/Database/Permissions/PrivateRecordPermission.d.ts +123 -0
- package/Types/AI/AIActionWords.d.mts +14 -1
- package/Types/AI/AIActionWords.d.ts +14 -1
- package/Types/AI/AIActionWords.js +85 -1
- package/Types/AI/AIActionWords.mjs +4 -0
- package/Types/AI/AIAgentRunLimits.js +5 -4
- package/Types/AI/AIChatTypes.js +8 -3
- package/Types/AI/AIReadTableWords.js +7 -2
- package/Types/AI/AiActivityInsights.d.mts +1 -0
- package/Types/AI/AiActivityInsights.d.ts +1 -0
- package/Types/AI/CarriedRecords.d.mts +35 -0
- package/Types/AI/CarriedRecords.d.ts +35 -0
- package/Types/AI/CarriedRecords.js +211 -0
- package/Types/AI/CarriedRecords.mjs +3 -0
- package/Types/AI/CodeTask.d.mts +1 -0
- package/Types/AI/CodeTask.d.ts +1 -0
- package/Types/AI/CodeTask.js +7 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +4 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +4 -0
- package/Types/Accounts/MoreWaysToSignIn.d.mts +1 -0
- package/Types/Accounts/MoreWaysToSignIn.d.ts +1 -0
- package/Types/Accounts/MoreWaysToSignIn.js +11 -0
- package/Types/Accounts/MoreWaysToSignIn.mjs +2 -0
- package/Types/Accounts/SetPasswordLink.d.mts +6 -0
- package/Types/Accounts/SetPasswordLink.d.ts +6 -0
- package/Types/Accounts/SetPasswordLink.js +47 -0
- package/Types/Accounts/SetPasswordLink.mjs +7 -0
- package/Types/Accounts/SignInMessages.d.mts +5 -0
- package/Types/Accounts/SignInMessages.d.ts +5 -0
- package/Types/Accounts/SignInMessages.js +19 -1
- package/Types/Accounts/SignInMessages.mjs +2 -0
- package/Types/Analytics/ProductEvent.d.mts +7 -2
- package/Types/Analytics/ProductEvent.d.ts +7 -2
- package/Types/Analytics/ProductEvent.js +62 -12
- package/Types/ApiKey/ApiKeyShownOnce.d.mts +11 -0
- package/Types/ApiKey/ApiKeyShownOnce.d.ts +11 -0
- package/Types/ApiKey/ApiKeyShownOnce.js +78 -0
- package/Types/ApiKey/ApiKeyShownOnce.mjs +6 -0
- package/Types/AuditLog/AuditLogAction.d.mts +1 -0
- package/Types/AuditLog/AuditLogAction.d.ts +1 -0
- package/Types/AuditLog/AuditLogAction.js +11 -1
- package/Types/AuditLog/AuditLogActionLabel.js +1 -0
- package/Types/AuditLog/AuditLogCoverage.js +1 -0
- package/Types/AuditLog/AuditLogSessionEvent.d.mts +15 -3
- package/Types/AuditLog/AuditLogSessionEvent.d.ts +15 -3
- package/Types/AuditLog/AuditLogSessionEvent.js +107 -12
- package/Types/AuditLog/AuditLogSessionEvent.mjs +6 -0
- package/Types/AuditLog/AuditLogSignInFailure.d.mts +30 -0
- package/Types/AuditLog/AuditLogSignInFailure.d.ts +30 -0
- package/Types/AuditLog/AuditLogSignInFailure.js +109 -0
- package/Types/AuditLog/AuditLogSignInFailure.mjs +8 -0
- package/Types/AuditLog/AuditLogStatusPageSession.d.mts +29 -0
- package/Types/AuditLog/AuditLogStatusPageSession.d.ts +29 -0
- package/Types/AuditLog/AuditLogStatusPageSession.js +106 -0
- package/Types/AuditLog/AuditLogStatusPageSession.mjs +9 -0
- package/Types/AuditLog/Export/AuditLogExportEntriesLost.d.mts +11 -0
- package/Types/AuditLog/Export/AuditLogExportEntriesLost.d.ts +11 -0
- package/Types/AuditLog/Export/AuditLogExportEntriesLost.js +57 -0
- package/Types/AuditLog/Export/AuditLogExportEntriesLost.mjs +5 -0
- package/Types/AutoRemediation/RemediationApprovals.d.mts +39 -0
- package/Types/AutoRemediation/RemediationApprovals.d.ts +39 -0
- package/Types/AutoRemediation/RemediationApprovals.js +174 -8
- package/Types/AutoRemediation/RemediationApprovals.mjs +9 -0
- package/Types/AutoRemediation/RemediationPlanFingerprint.d.mts +15 -0
- package/Types/AutoRemediation/RemediationPlanFingerprint.d.ts +15 -0
- package/Types/AutoRemediation/RemediationPlanFingerprint.js +131 -0
- package/Types/AutoRemediation/RemediationPlanFingerprint.mjs +6 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionPropsUtil.js +1 -1
- package/Types/BaseDatabase/SortNulls.d.mts +5 -0
- package/Types/BaseDatabase/SortNulls.d.ts +5 -0
- package/Types/BaseDatabase/SortNulls.js +14 -0
- package/Types/BaseDatabase/SortNulls.mjs +2 -0
- package/Types/Billing/AdminProjectInvoice.d.mts +20 -0
- package/Types/Billing/AdminProjectInvoice.d.ts +20 -0
- package/Types/Billing/AdminProjectInvoice.js +85 -0
- package/Types/Billing/AdminProjectInvoice.mjs +6 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.mts +6 -2
- package/Types/CloudConnection/CloudAiAgentCost.d.ts +6 -2
- package/Types/CloudConnection/CloudAiAgentCost.js +28 -2
- package/Types/CloudConnection/CloudAiAgentCost.mjs +4 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +19 -1
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +19 -1
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +354 -16
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +17 -0
- package/Types/CodeRepository/ProductionReview.d.mts +5 -0
- package/Types/CodeRepository/ProductionReview.d.ts +5 -0
- package/Types/CodeRepository/ProductionReview.js +108 -0
- package/Types/CustomDomain/UploadedCertificateRefusals.d.mts +10 -0
- package/Types/CustomDomain/UploadedCertificateRefusals.d.ts +10 -0
- package/Types/CustomDomain/UploadedCertificateRefusals.js +69 -0
- package/Types/CustomDomain/UploadedCertificateRefusals.mjs +11 -0
- package/Types/DataObservability/DataLineageMap.d.mts +147 -0
- package/Types/DataObservability/DataLineageMap.d.ts +147 -0
- package/Types/DataObservability/DataLineageMap.js +503 -0
- package/Types/DataObservability/DataLineageMap.mjs +20 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +2 -0
- package/Types/Database/DatabaseProperty.d.mts +1 -0
- package/Types/Database/DatabaseProperty.d.ts +1 -0
- package/Types/Database/DatabaseProperty.js +27 -0
- package/Types/Database/EncryptedValue.d.mts +2 -0
- package/Types/Database/EncryptedValue.d.ts +2 -0
- package/Types/Database/EncryptedValue.js +27 -0
- package/Types/Database/EncryptedValue.mjs +3 -0
- package/Types/Database/TableColumn.d.mts +4 -0
- package/Types/Database/TableColumn.d.ts +4 -0
- package/Types/Database/UserAttribution.js +7 -3
- package/Types/Date.d.mts +0 -2
- package/Types/Date.d.ts +0 -2
- package/Types/Date.js +12 -19
- package/Types/Docs/GlossaryTerm.d.mts +1 -0
- package/Types/Docs/GlossaryTerm.d.ts +1 -0
- package/Types/Docs/GlossaryTerm.js +2 -0
- package/Types/Email/EmailMessage.d.mts +2 -0
- package/Types/Email/EmailMessage.d.ts +2 -0
- package/Types/Email/EmailRecipients.d.mts +11 -0
- package/Types/Email/EmailRecipients.d.ts +11 -0
- package/Types/Email/EmailRecipients.js +84 -0
- package/Types/Email/EmailRecipients.mjs +6 -0
- package/Types/Email/EmailSendFailure.d.mts +20 -0
- package/Types/Email/EmailSendFailure.d.ts +20 -0
- package/Types/Email/EmailSendFailure.js +244 -0
- package/Types/Email/EmailSendFailure.mjs +3 -0
- package/Types/Email/EmailTemplateType.d.mts +3 -1
- package/Types/Email/EmailTemplateType.d.ts +3 -1
- package/Types/Email/EmailTemplateType.js +10 -0
- package/Types/IP/IP.js +27 -1
- package/Types/JoinedSerializableObjects.d.mts +6 -0
- package/Types/JoinedSerializableObjects.d.ts +6 -0
- package/Types/JoinedSerializableObjects.js +14 -0
- package/Types/JoinedSerializableObjects.mjs +3 -0
- package/Types/Kubernetes/KubernetesClusterAiLogs.d.mts +2 -0
- package/Types/Kubernetes/KubernetesClusterAiLogs.d.ts +2 -0
- package/Types/MasterApiKey/MasterApiKeyAnswer.d.mts +15 -0
- package/Types/MasterApiKey/MasterApiKeyAnswer.d.ts +15 -0
- package/Types/MasterApiKey/MasterApiKeyAnswer.js +81 -0
- package/Types/MasterApiKey/MasterApiKeyAnswer.mjs +5 -0
- package/Types/MeaningKeys.js +19 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.mts +2 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.ts +2 -0
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.d.mts +23 -1
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.d.ts +23 -1
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.js +105 -4
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.mjs +7 -0
- package/Types/Monitor/IncomingMonitor/WebhookVerificationProvider.d.mts +11 -0
- package/Types/Monitor/IncomingMonitor/WebhookVerificationProvider.d.ts +11 -0
- package/Types/Monitor/IncomingMonitor/WebhookVerificationProvider.js +28 -0
- package/Types/Monitor/IncomingMonitor/WebhookVerificationProvider.mjs +3 -0
- package/Types/Monitor/MonitorCriteria.js +8 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +8 -0
- package/Types/Monitor/MonitorGroupUptimeSummary.d.mts +12 -0
- package/Types/Monitor/MonitorGroupUptimeSummary.d.ts +12 -0
- package/Types/Monitor/MonitorGroupUptimeSummary.js +2 -0
- package/Types/Monitor/MonitorGroupUptimeSummary.mjs +1 -0
- package/Types/Monitor/MonitorJsonTypes.d.mts +4 -0
- package/Types/Monitor/MonitorJsonTypes.d.ts +4 -0
- package/Types/Monitor/MonitorJsonTypes.js +31 -0
- package/Types/Monitor/MonitorJsonTypes.mjs +2 -0
- package/Types/Monitor/MonitorStep.js +8 -0
- package/Types/Monitor/MonitorSteps.js +8 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.browser.d.mts +3 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.browser.d.ts +3 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.browser.js +21 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.browser.mjs +2 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.d.mts +3 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.d.ts +3 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.js +24 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.mjs +2 -0
- package/Types/Monitor/UptimeHistoryLabels.d.mts +4 -0
- package/Types/Monitor/UptimeHistoryLabels.d.ts +4 -0
- package/Types/Monitor/UptimeHistoryLabels.js +4 -0
- package/Types/Monitor/WhoIsTold.d.mts +25 -0
- package/Types/Monitor/WhoIsTold.d.ts +25 -0
- package/Types/Monitor/WhoIsTold.js +171 -19
- package/Types/Monitor/WhoIsTold.mjs +3 -0
- package/Types/NoBreakSpaces.d.mts +5 -1
- package/Types/NoBreakSpaces.d.ts +5 -1
- package/Types/NoBreakSpaces.js +107 -52
- package/Types/NoBreakSpaces.mjs +1 -0
- package/Types/NotificationRule/PagingLadder.d.mts +2 -0
- package/Types/NotificationRule/PagingLadder.d.ts +2 -0
- package/Types/NotificationRule/PagingLadder.js +47 -1
- package/Types/NotificationRule/PagingLadder.mjs +1 -0
- package/Types/OnCallDutyPolicy/OnCalDutyExecutionLogTimelineStatus.d.mts +2 -1
- package/Types/OnCallDutyPolicy/OnCalDutyExecutionLogTimelineStatus.d.ts +2 -1
- package/Types/OnCallDutyPolicy/OnCalDutyExecutionLogTimelineStatus.js +6 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.mts +5 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.ts +5 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.js +41 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.mjs +1 -0
- package/Types/OnCallDutyPolicy/OnCallLogLine.d.mts +6 -1
- package/Types/OnCallDutyPolicy/OnCallLogLine.d.ts +6 -1
- package/Types/OnCallDutyPolicy/OnCallLogLine.js +60 -0
- package/Types/OnCallDutyPolicy/OnCallPageMerge.d.mts +32 -0
- package/Types/OnCallDutyPolicy/OnCallPageMerge.d.ts +32 -0
- package/Types/OnCallDutyPolicy/OnCallPageMerge.js +192 -0
- package/Types/OnCallDutyPolicy/OnCallPageMerge.mjs +14 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +40 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +40 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.js +142 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +13 -0
- package/Types/Password.d.mts +18 -12
- package/Types/Password.d.ts +18 -12
- package/Types/Password.js +63 -58
- package/Types/Password.mjs +3 -3
- package/Types/Permission.d.mts +4 -0
- package/Types/Permission.d.ts +4 -0
- package/Types/Permission.js +48 -0
- package/Types/PrivateRecord/PrivateRecordParts.js +50 -0
- package/Types/Probe/ProbeCapability.d.mts +2 -1
- package/Types/Probe/ProbeCapability.d.ts +2 -1
- package/Types/Probe/ProbeCapability.js +11 -0
- package/Types/Product/ProjectProducts.d.mts +1 -15
- package/Types/Product/ProjectProducts.d.ts +1 -15
- package/Types/Product/ProjectProducts.js +38 -129
- package/Types/Product/ProjectProducts.mjs +1 -5
- package/Types/Product/ProjectProductsAnswer.js +5 -6
- package/Types/ProductFeedback/ProductFeedback.d.mts +29 -4
- package/Types/ProductFeedback/ProductFeedback.d.ts +29 -4
- package/Types/ProductFeedback/ProductFeedback.js +176 -28
- package/Types/ProductFeedback/ProductFeedback.mjs +11 -1
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +6 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +6 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +20 -1
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +5 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +3 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +3 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +18 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +2 -0
- package/Types/Retention/ResolvedRecordRetention.d.mts +33 -0
- package/Types/Retention/ResolvedRecordRetention.d.ts +33 -0
- package/Types/Retention/ResolvedRecordRetention.js +211 -1
- package/Types/Retention/ResolvedRecordRetention.mjs +13 -0
- package/Types/Retention/ResolvedRecordRetentionAnswers.d.mts +28 -0
- package/Types/Retention/ResolvedRecordRetentionAnswers.d.ts +28 -0
- package/Types/Retention/ResolvedRecordRetentionAnswers.js +134 -0
- package/Types/Retention/ResolvedRecordRetentionAnswers.mjs +5 -0
- package/Types/Rules/RuleEmptiedLimit.d.mts +20 -0
- package/Types/Rules/RuleEmptiedLimit.d.ts +20 -0
- package/Types/Rules/RuleEmptiedLimit.js +131 -0
- package/Types/Rules/RuleEmptiedLimit.mjs +9 -0
- package/Types/Runbook/RunbookStepTimeout.js +11 -10
- package/Types/Runner/GlobalRunnerRepositoryTokens.d.mts +18 -0
- package/Types/Runner/GlobalRunnerRepositoryTokens.d.ts +18 -0
- package/Types/Runner/GlobalRunnerRepositoryTokens.js +97 -0
- package/Types/Runner/GlobalRunnerRepositoryTokens.mjs +8 -0
- package/Types/Runner/GlobalRunnerSandbox.d.mts +38 -0
- package/Types/Runner/GlobalRunnerSandbox.d.ts +38 -0
- package/Types/Runner/GlobalRunnerSandbox.js +178 -0
- package/Types/Runner/GlobalRunnerSandbox.mjs +9 -0
- package/Types/Runner/GlobalRunnerWork.js +9 -4
- package/Types/Runner/RunnerCodeFixCapability.d.mts +16 -0
- package/Types/Runner/RunnerCodeFixCapability.d.ts +16 -0
- package/Types/Runner/RunnerCodeFixCapability.js +121 -0
- package/Types/Runner/RunnerCodeFixCapability.mjs +8 -0
- package/Types/Runner/RunnerCodeFixes.d.mts +3 -0
- package/Types/Runner/RunnerCodeFixes.d.ts +3 -0
- package/Types/Runner/RunnerCodeFixes.js +27 -4
- package/Types/Runner/RunnerCodeFixes.mjs +1 -0
- package/Types/SSO/SessionsWithoutSso.d.mts +10 -0
- package/Types/SSO/SessionsWithoutSso.d.ts +10 -0
- package/Types/SSO/SessionsWithoutSso.js +39 -0
- package/Types/SSO/SessionsWithoutSso.mjs +5 -0
- package/Types/SerializableObjectDictionary.js +11 -8
- package/Types/ServerSending/ServerSendingStatus.d.mts +23 -2
- package/Types/ServerSending/ServerSendingStatus.d.ts +23 -2
- package/Types/ServerSending/ServerSendingStatus.js +208 -10
- package/Types/ServerSending/ServerSendingStatus.mjs +3 -0
- package/Types/ServerSetup/ServerSetupChecklist.js +5 -0
- package/Types/SetupHealth/SetupHealth.d.mts +47 -2
- package/Types/SetupHealth/SetupHealth.d.ts +47 -2
- package/Types/SetupHealth/SetupHealth.js +228 -1
- package/Types/SetupHealth/SetupHealth.mjs +12 -0
- package/Types/StatusPage/StatusPageMagicLink.js +1 -1
- package/Types/StatusPage/StatusPageReport.d.mts +5 -2
- package/Types/StatusPage/StatusPageReport.d.ts +5 -2
- package/Types/StatusPage/StatusPageSignInMessages.d.mts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.d.ts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.js +16 -0
- package/Types/StatusPage/StatusPageSignInMessages.mjs +4 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.mts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.ts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.js +63 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.mjs +8 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.mts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.ts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.js +91 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.mjs +10 -0
- package/Types/StatusPage/SubscriberNotificationTemplateVariables.js +2 -2
- package/Types/StatusPage/UptimeDailyAggregate.d.mts +1 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.ts +1 -0
- package/Types/Telemetry/LlmConventions.d.mts +1 -1
- package/Types/Telemetry/LlmConventions.d.ts +1 -1
- package/Types/Telemetry/LlmConventions.js +1 -1
- package/Types/Telemetry/ScrubRule.d.mts +1 -0
- package/Types/Telemetry/ScrubRule.d.ts +1 -0
- package/Types/Telemetry/ScrubRule.js +47 -0
- package/Types/Translator.d.mts +5 -2
- package/Types/Translator.d.ts +5 -2
- package/Types/Translator.js +43 -19
- package/Types/UsedBy/UsedBy.d.mts +107 -4
- package/Types/UsedBy/UsedBy.d.ts +107 -4
- package/Types/UsedBy/UsedBy.js +339 -6
- package/Types/UsedBy/UsedBy.mjs +12 -0
- package/Types/UsedBy/UsedByServerProducts.d.mts +5 -2
- package/Types/UsedBy/UsedByServerProducts.d.ts +5 -2
- package/Types/UsedBy/UsedByServerProducts.js +115 -6
- package/Types/UsedBy/UsedByServerProducts.mjs +1 -0
- package/Types/UserNotification/UserNotificationExecutionStatus.d.mts +2 -1
- package/Types/UserNotification/UserNotificationExecutionStatus.d.ts +2 -1
- package/Types/UserNotification/UserNotificationExecutionStatus.js +7 -0
- package/Types/UserSession/SessionEndCause.d.mts +1 -0
- package/Types/UserSession/SessionEndCause.d.ts +1 -0
- package/Types/UserSession/SessionEndCause.js +8 -1
- package/Types/WelcomeChecklist/ProjectGoal.js +5 -5
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +4 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +4 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.js +63 -1
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +4 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +0 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +0 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +0 -3
- package/Types/Workflow/WatchedFields.d.mts +1 -0
- package/Types/Workflow/WatchedFields.d.ts +1 -0
- package/Types/Workflow/WatchedFields.js +10 -1
- package/Types/Workflow/WatchedFields.mjs +1 -0
- package/Types/Workflow/WorkflowPrivateRecords.d.mts +2 -0
- package/Types/Workflow/WorkflowPrivateRecords.d.ts +2 -0
- package/Types/Workflow/WorkflowPrivateRecords.js +33 -0
- package/Types/Workflow/WorkflowPrivateRecords.mjs +3 -0
- package/Types/Workspace/ConnectCallback.d.mts +2 -1
- package/Types/Workspace/ConnectCallback.d.ts +2 -1
- package/Types/Workspace/ConnectCallback.js +8 -0
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -0
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -0
- package/Types/Workspace/NotificationRules/EventType.js +4 -3
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +19 -2
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +19 -2
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +127 -8
- package/Types/Workspace/WorkspaceLiveMessageKey.d.mts +5 -1
- package/Types/Workspace/WorkspaceLiveMessageKey.d.ts +5 -1
- package/Types/Workspace/WorkspaceLiveMessageKey.js +12 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +6 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +6 -0
- package/Utils/API.d.mts +6 -7
- package/Utils/API.d.ts +6 -7
- package/Utils/API.js +57 -35
- package/Utils/AiRemediation/DeclaredCodeChange.d.mts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.js +6 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +10 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +10 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +89 -1
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +4 -0
- package/Utils/Billing/InvoiceAmount.d.mts +4 -0
- package/Utils/Billing/InvoiceAmount.d.ts +4 -0
- package/Utils/Billing/InvoiceAmount.js +35 -0
- package/Utils/Billing/InvoiceAmount.mjs +2 -0
- package/Utils/CertificateReissue.js +4 -3
- package/Utils/CronScheduleText.js +10 -3
- package/Utils/CronTab.js +6 -33
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +5 -18
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +5 -18
- package/Utils/Dashboard/MonitorListWidgetFormat.js +54 -18
- package/Utils/DeveloperDocs/ResourceProfiles.js +2 -1
- package/Utils/DeveloperDocs/TerraformSchema.js +3 -2
- package/Utils/Incident/PostmortemActionItemCodeTask.d.mts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.d.ts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.js +22 -5
- package/Utils/Incident/PostmortemActionItemCodeTask.mjs +1 -0
- package/Utils/LinearRegExp/LinearRegExp.d.mts +1 -0
- package/Utils/LinearRegExp/LinearRegExp.d.ts +1 -0
- package/Utils/LinearRegExp/LinearRegExp.js +17 -0
- package/Utils/LookupTable.d.mts +1 -0
- package/Utils/LookupTable.d.ts +1 -0
- package/Utils/LookupTable.js +19 -0
- package/Utils/LookupTable.mjs +1 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.mts +6 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.ts +6 -0
- package/Utils/Markdown/LinkReferenceDefinitions.js +477 -152
- package/Utils/Markdown/LinkReferenceDefinitions.mjs +1 -0
- package/Utils/Markdown/SlowMarkdown.js +168 -33
- package/Utils/Metrics/MetricFormulaEvaluator.d.mts +20 -4
- package/Utils/Metrics/MetricFormulaEvaluator.d.ts +20 -4
- package/Utils/Metrics/MetricFormulaEvaluator.js +233 -29
- package/Utils/Metrics/MetricResultUnitConverter.js +7 -1
- package/Utils/Metrics/MetricSeriesArrivalUtil.d.mts +4 -0
- package/Utils/Metrics/MetricSeriesArrivalUtil.d.ts +4 -0
- package/Utils/Metrics/MetricSeriesArrivalUtil.js +27 -0
- package/Utils/Metrics/MetricZeroFill.d.mts +45 -0
- package/Utils/Metrics/MetricZeroFill.d.ts +45 -0
- package/Utils/Metrics/MetricZeroFill.js +145 -0
- package/Utils/Metrics/MetricZeroFill.mjs +2 -0
- package/Utils/ModelImportExport.js +4 -1
- package/Utils/Monitor/EndpointAttachmentUtil.d.mts +3 -0
- package/Utils/Monitor/EndpointAttachmentUtil.d.ts +3 -0
- package/Utils/Monitor/EndpointAttachmentUtil.js +57 -0
- package/Utils/Monitor/HeartbeatSweepSchedule.d.mts +9 -0
- package/Utils/Monitor/HeartbeatSweepSchedule.d.ts +9 -0
- package/Utils/Monitor/HeartbeatSweepSchedule.js +52 -0
- package/Utils/Monitor/HeartbeatSweepSchedule.mjs +5 -0
- package/Utils/Monitor/MonitorFirstCheck.d.mts +32 -0
- package/Utils/Monitor/MonitorFirstCheck.d.ts +32 -0
- package/Utils/Monitor/MonitorFirstCheck.js +128 -0
- package/Utils/Monitor/MonitorFirstCheck.mjs +4 -0
- package/Utils/Monitor/MonitorFirstCheckOverdue.d.mts +12 -0
- package/Utils/Monitor/MonitorFirstCheckOverdue.d.ts +12 -0
- package/Utils/Monitor/MonitorFirstCheckOverdue.js +87 -0
- package/Utils/Monitor/MonitorFirstCheckOverdue.mjs +2 -0
- package/Utils/Monitor/MonitorGroupUptimeSummaryUtil.d.mts +11 -0
- package/Utils/Monitor/MonitorGroupUptimeSummaryUtil.d.ts +11 -0
- package/Utils/Monitor/MonitorGroupUptimeSummaryUtil.js +86 -0
- package/Utils/Monitor/MonitorGroupUptimeSummaryUtil.mjs +2 -0
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.js +19 -99
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +5 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +5 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +128 -10
- package/Utils/Monitor/MonitorRowStatus.d.mts +56 -0
- package/Utils/Monitor/MonitorRowStatus.d.ts +56 -0
- package/Utils/Monitor/MonitorRowStatus.js +189 -0
- package/Utils/Monitor/MonitorRowStatus.mjs +6 -0
- package/Utils/Monitor/MonitorSummarySnapshotUtil.js +3 -2
- package/Utils/Monitor/MonitorTypeFamily.d.mts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.d.ts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.js +105 -0
- package/Utils/Monitor/MonitorTypeFamily.mjs +3 -0
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +14 -3
- package/Utils/Monitor/StoredCheckEvidence.d.mts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.d.ts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.js +53 -0
- package/Utils/Monitor/StoredCheckEvidence.mjs +5 -0
- package/Utils/NetworkDevice/TransceiverHealthUtil.js +2 -2
- package/Utils/NetworkDiscovery/SnmpScanConfigUtil.js +11 -4
- package/Utils/Profiles/ProfileFrames.js +11 -4
- package/Utils/Profiles/ProfileFunctionNames.d.mts +2 -0
- package/Utils/Profiles/ProfileFunctionNames.d.ts +2 -0
- package/Utils/Profiles/ProfileFunctionNames.js +104 -0
- package/Utils/Profiles/ProfileFunctionNames.mjs +3 -0
- package/Utils/Project/ProjectBalance.js +2 -2
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +9 -1
- package/Utils/Project/ProjectBilling.mjs +1 -0
- package/Utils/Project/TwilioAccount.d.mts +3 -0
- package/Utils/Project/TwilioAccount.d.ts +3 -0
- package/Utils/Project/TwilioAccount.js +58 -18
- package/Utils/Project/TwilioAccount.mjs +2 -0
- package/Utils/ResponseTooLarge.d.mts +5 -0
- package/Utils/ResponseTooLarge.d.ts +5 -0
- package/Utils/ResponseTooLarge.js +69 -0
- package/Utils/ResponseTooLarge.mjs +2 -0
- package/Utils/RetryAfter.d.mts +17 -0
- package/Utils/RetryAfter.d.ts +17 -0
- package/Utils/RetryAfter.js +251 -0
- package/Utils/RetryAfter.mjs +5 -0
- package/Utils/ScheduledMaintenanceStart.js +2 -3
- package/Utils/Schema/BaseSchema.d.mts +12 -5
- package/Utils/Schema/BaseSchema.d.ts +12 -5
- package/Utils/Schema/BaseSchema.js +43 -4
- package/Utils/Schema/BaseSchema.mjs +1 -0
- package/Utils/Schema/ModelSchema.d.mts +10 -0
- package/Utils/Schema/ModelSchema.d.ts +10 -0
- package/Utils/Schema/ModelSchema.js +251 -22
- package/Utils/Slo/SloMonthlyReport.d.mts +187 -0
- package/Utils/Slo/SloMonthlyReport.d.ts +187 -0
- package/Utils/Slo/SloMonthlyReport.js +945 -0
- package/Utils/Slo/SloMonthlyReport.mjs +35 -0
- package/Utils/Slo/SloOverviewText.js +7 -2
- package/Utils/Slo/SloProjection.js +2 -1
- package/Utils/Slo/SloUtil.d.mts +5 -0
- package/Utils/Slo/SloUtil.d.ts +5 -0
- package/Utils/Slo/SloUtil.js +5 -0
- package/Utils/Slo/SloWidgetFormat.js +3 -1
- package/Utils/StatusPage/FrozenMonitorResources.d.mts +30 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.ts +30 -0
- package/Utils/StatusPage/FrozenMonitorResources.js +147 -12
- package/Utils/StatusPage/FrozenMonitorResources.mjs +2 -0
- package/Utils/StatusPage/GroupNestingLayout.js +3 -2
- package/Utils/StatusPage/HistoryChartBarColors.d.mts +2 -0
- package/Utils/StatusPage/HistoryChartBarColors.d.ts +2 -0
- package/Utils/StatusPage/HistoryChartBarColors.js +15 -1
- package/Utils/StatusPage/HistoryChartBarColors.mjs +2 -0
- package/Utils/StatusPage/HistoryWindow.d.mts +3 -0
- package/Utils/StatusPage/HistoryWindow.d.ts +3 -0
- package/Utils/StatusPage/HistoryWindow.js +24 -0
- package/Utils/StatusPage/HistoryWindow.mjs +4 -0
- package/Utils/StatusPage/Report.js +12 -4
- package/Utils/StatusPage/ReportText.d.mts +4 -0
- package/Utils/StatusPage/ReportText.d.ts +4 -0
- package/Utils/StatusPage/ReportText.js +22 -2
- package/Utils/StatusPage/ReportText.mjs +1 -0
- package/Utils/StatusPage/ResourceUptime.js +32 -25
- package/Utils/StatusPage/UptimeDailyAggregateUtil.js +17 -3
- package/Utils/Suggestions/CodeFixSuggestion.d.mts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.d.ts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.js +9 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +24 -3
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.js +16 -4
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.mts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.ts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.js +17 -5
- package/Utils/Suggestions/TelemetryAiFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.js +16 -7
- package/Utils/Syslog/SyslogMessageParser.d.mts +25 -0
- package/Utils/Syslog/SyslogMessageParser.d.ts +25 -0
- package/Utils/Syslog/SyslogMessageParser.js +428 -100
- package/Utils/Syslog/SyslogMessageParser.mjs +3 -0
- package/Utils/Syslog/SyslogRawCopies.d.mts +20 -0
- package/Utils/Syslog/SyslogRawCopies.d.ts +20 -0
- package/Utils/Syslog/SyslogRawCopies.js +283 -0
- package/Utils/Syslog/SyslogRawCopies.mjs +2 -0
- package/Utils/Telemetry/CorrelationIdAttributes.d.mts +8 -0
- package/Utils/Telemetry/CorrelationIdAttributes.d.ts +8 -0
- package/Utils/Telemetry/CorrelationIdAttributes.js +118 -0
- package/Utils/Telemetry/CorrelationIdAttributes.mjs +5 -0
- package/Utils/Telemetry/ScrubJsonKeys.d.mts +11 -0
- package/Utils/Telemetry/ScrubJsonKeys.d.ts +11 -0
- package/Utils/Telemetry/ScrubJsonKeys.js +505 -0
- package/Utils/Telemetry/ScrubJsonKeys.mjs +2 -0
- package/Utils/Telemetry/ScrubJsonText.d.mts +25 -0
- package/Utils/Telemetry/ScrubJsonText.d.ts +25 -0
- package/Utils/Telemetry/ScrubJsonText.js +568 -0
- package/Utils/Telemetry/ScrubJsonText.mjs +4 -0
- package/Utils/Telemetry/ScrubMask.d.mts +1 -0
- package/Utils/Telemetry/ScrubMask.d.ts +1 -0
- package/Utils/Telemetry/ScrubMask.js +54 -0
- package/Utils/Telemetry/ScrubMask.mjs +2 -0
- package/Utils/Telemetry/ScrubNestedValues.d.mts +5 -2
- package/Utils/Telemetry/ScrubNestedValues.d.ts +5 -2
- package/Utils/Telemetry/ScrubNestedValues.js +56 -9
- package/Utils/Uptime/DayUptimeGraphUtil.d.mts +17 -0
- package/Utils/Uptime/DayUptimeGraphUtil.d.ts +17 -0
- package/Utils/Uptime/DayUptimeGraphUtil.js +91 -3
- package/Utils/Uptime/DayUptimeGraphUtil.mjs +1 -0
- package/Utils/Uptime/TimeBeforeFirstCheck.d.mts +11 -0
- package/Utils/Uptime/TimeBeforeFirstCheck.d.ts +11 -0
- package/Utils/Uptime/TimeBeforeFirstCheck.js +188 -0
- package/Utils/Uptime/TimeBeforeFirstCheck.mjs +2 -0
- package/Utils/WebhookAddressMask.d.mts +9 -0
- package/Utils/WebhookAddressMask.d.ts +9 -0
- package/Utils/WebhookAddressMask.js +66 -0
- package/Utils/WebhookAddressMask.mjs +2 -0
- package/package.json +1 -1
- package/Models/DatabaseModels/GreenlockCertificate.d.mts +0 -10
- package/Models/DatabaseModels/GreenlockCertificate.d.ts +0 -10
- package/Models/DatabaseModels/GreenlockCertificate.js +0 -143
- package/Models/DatabaseModels/GreenlockCertificate.mjs +0 -2
- package/Models/DatabaseModels/GreenlockChallenge.d.mts +0 -10
- package/Models/DatabaseModels/GreenlockChallenge.d.ts +0 -10
- package/Models/DatabaseModels/GreenlockChallenge.js +0 -144
- package/Models/DatabaseModels/GreenlockChallenge.mjs +0 -2
- package/Types/SampleProject/SampleProject.d.mts +0 -54
- package/Types/SampleProject/SampleProject.d.ts +0 -54
- package/Types/SampleProject/SampleProject.js +0 -177
- package/Types/SampleProject/SampleProject.mjs +0 -22
- package/Types/SampleProject/SampleProjectContent.d.mts +0 -127
- package/Types/SampleProject/SampleProjectContent.d.ts +0 -127
- package/Types/SampleProject/SampleProjectContent.js +0 -397
- package/Types/SampleProject/SampleProjectContent.mjs +0 -18
|
@@ -54,7 +54,9 @@ const TenantColumn_1 = __importDefault(require("../../Types/Database/TenantColum
|
|
|
54
54
|
const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
|
|
55
55
|
const IncomingRequestSecret_1 = require("../../Types/Monitor/IncomingMonitor/IncomingRequestSecret");
|
|
56
56
|
const MonitorSteps_1 = __importDefault(require("../../Types/Monitor/MonitorSteps"));
|
|
57
|
+
const MonitorStepsColumnTransformer_1 = __importDefault(require("../../Types/Monitor/MonitorStepsColumnTransformer"));
|
|
57
58
|
const MonitorType_1 = __importDefault(require("../../Types/Monitor/MonitorType"));
|
|
59
|
+
const HashedString_1 = __importDefault(require("../../Types/HashedString"));
|
|
58
60
|
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
59
61
|
const Permission_1 = __importDefault(require("../../Types/Permission"));
|
|
60
62
|
const typeorm_1 = require("typeorm");
|
|
@@ -146,12 +148,70 @@ let Monitor = class Monitor extends DatabaseBaseModel_1.default {
|
|
|
146
148
|
this.incomingRequestMonitorHeartbeatCheckedAt = undefined;
|
|
147
149
|
this.telemetryMonitorNextMonitorAt = undefined;
|
|
148
150
|
this.telemetryMonitorLastMonitorAt = undefined;
|
|
151
|
+
/*
|
|
152
|
+
* When something first measured the monitor: a probe's check result, a
|
|
153
|
+
* heartbeat, an email or a server agent's report that arrived, or an
|
|
154
|
+
* evaluation of its telemetry, its network device or the probes it
|
|
155
|
+
* watches. Stamped once, by MonitorResourceUtil.monitorResource
|
|
156
|
+
* (Server/Utils/Monitor/MonitorFirstMeasured); a heartbeat sweep that
|
|
157
|
+
* only judges what has not arrived measures nothing and stamps nothing.
|
|
158
|
+
*
|
|
159
|
+
* NULL while nothing has. Until then the status the monitor holds is the
|
|
160
|
+
* operational one every monitor is created in (MonitorService), which no
|
|
161
|
+
* check stands behind, so the Monitors list, the Monitor List widget and
|
|
162
|
+
* status pages say it is waiting for its first check instead of
|
|
163
|
+
* Operational (Utils/Monitor/MonitorFirstCheck, issue #8899).
|
|
164
|
+
*
|
|
165
|
+
* A manual monitor holds the time it was created (MonitorService
|
|
166
|
+
* .onCreateSuccess): nothing checks it, and its status is the one a person
|
|
167
|
+
* sets, from the start. So "measured" is one column to ask a list for -
|
|
168
|
+
* the Monitor List widget's "operational" filter asks it NOT NULL - and
|
|
169
|
+
* the rule that reads a row never takes a manual monitor for one that is
|
|
170
|
+
* waiting, stamped or not.
|
|
171
|
+
*
|
|
172
|
+
* A monitor measured before this column existed was stamped by the
|
|
173
|
+
* upgrade (BackfillMonitorFirstMeasuredAt) with the time it was created:
|
|
174
|
+
* the upgrade knows it had been measured, not when first, and its first
|
|
175
|
+
* check came after that. Its history stays as measured as it always was.
|
|
176
|
+
*/
|
|
177
|
+
this.firstMeasuredAt = undefined;
|
|
149
178
|
this.disableActiveMonitoringBecauseOfScheduledMaintenanceEvent = undefined;
|
|
150
179
|
this.disableActiveMonitoringBecauseOfManualIncident = undefined;
|
|
151
180
|
this.serverMonitorRequestReceivedAt = undefined;
|
|
152
181
|
this.serverMonitorSecretKey = undefined;
|
|
182
|
+
/*
|
|
183
|
+
* The lookup hash of serverMonitorSecretKey, the key a
|
|
184
|
+
* server's agent reports with (#9012).
|
|
185
|
+
* The key is kept encrypted, which no query can find by its value, so
|
|
186
|
+
* a request that presents it is matched by this hash
|
|
187
|
+
* (DatabaseService.findOneByPresentedKey), then held to the key itself.
|
|
188
|
+
* OneUptime writes it with every write of the key.
|
|
189
|
+
*/
|
|
190
|
+
this.serverMonitorSecretKeyHash = undefined;
|
|
153
191
|
this.incomingRequestSecretKey = undefined;
|
|
192
|
+
/*
|
|
193
|
+
* The lookup hash of incomingRequestSecretKey, the key in
|
|
194
|
+
* the heartbeat URL (#9012).
|
|
195
|
+
* The key is kept encrypted, which no query can find by its value, so
|
|
196
|
+
* a request that presents it is matched by this hash
|
|
197
|
+
* (DatabaseService.findOneByPresentedKey), then held to the key itself.
|
|
198
|
+
* OneUptime writes it with every write of the key.
|
|
199
|
+
*/
|
|
200
|
+
this.incomingRequestSecretKeyHash = undefined;
|
|
154
201
|
// this is for incoming request monitor.
|
|
202
|
+
/*
|
|
203
|
+
* The latest request as people read it: cut as the monitor's logs are,
|
|
204
|
+
* and without its headers and body when the monitor keeps no request
|
|
205
|
+
* content (LatestIncomingRequest). The request as it came is the column
|
|
206
|
+
* below, which only the server reads.
|
|
207
|
+
*
|
|
208
|
+
* Only the server writes it, from each request the monitor receives
|
|
209
|
+
* (MonitorResource, LatestIncomingRequest), so nobody may create or
|
|
210
|
+
* update it through the API: a create that carries one is refused, as an
|
|
211
|
+
* update is. It is not marked computed, and needs no exception: the
|
|
212
|
+
* server's writes of it make no create.
|
|
213
|
+
* https://github.com/OneUptime/oneuptime/issues/6541
|
|
214
|
+
*/
|
|
155
215
|
this.incomingMonitorRequest = undefined;
|
|
156
216
|
/*
|
|
157
217
|
* The latest request as it came - only the monitor's own key masked, at
|
|
@@ -160,11 +220,10 @@ let Monitor = class Monitor extends DatabaseBaseModel_1.default {
|
|
|
160
220
|
* reads it, so the API, exports, MCP, Terraform and the audit log leave it
|
|
161
221
|
* out; people read the copy above (LatestIncomingRequest).
|
|
162
222
|
*
|
|
163
|
-
* Not marked computed:
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
* own hook-free writes set it (MonitorResource, LatestIncomingRequest).
|
|
223
|
+
* Not marked computed: no create's steps write it, so it needs nothing
|
|
224
|
+
* of the column check but its empty lists - a create that carries it is
|
|
225
|
+
* refused, as an update is. Only the server's own hook-free writes set it
|
|
226
|
+
* (MonitorResource, LatestIncomingRequest).
|
|
168
227
|
* https://github.com/OneUptime/oneuptime/issues/6402
|
|
169
228
|
*/
|
|
170
229
|
this.incomingMonitorRequestAsReceived = undefined;
|
|
@@ -188,6 +247,15 @@ let Monitor = class Monitor extends DatabaseBaseModel_1.default {
|
|
|
188
247
|
this.incomingRequestWithoutSecretReason = undefined;
|
|
189
248
|
// Incoming Email Monitor fields
|
|
190
249
|
this.incomingEmailSecretKey = undefined;
|
|
250
|
+
/*
|
|
251
|
+
* The lookup hash of incomingEmailSecretKey, the key in
|
|
252
|
+
* the inbound email address (#9012).
|
|
253
|
+
* The key is kept encrypted, which no query can find by its value, so
|
|
254
|
+
* a request that presents it is matched by this hash
|
|
255
|
+
* (DatabaseService.findOneByPresentedKey), then held to the key itself.
|
|
256
|
+
* OneUptime writes it with every write of the key.
|
|
257
|
+
*/
|
|
258
|
+
this.incomingEmailSecretKeyHash = undefined;
|
|
191
259
|
this.incomingEmailCustomLocalPart = undefined;
|
|
192
260
|
this.incomingEmailMonitorLastEmailReceivedAt = undefined;
|
|
193
261
|
this.incomingEmailMonitorRequest = undefined;
|
|
@@ -1933,7 +2001,8 @@ __decorate([
|
|
|
1933
2001
|
(0, typeorm_1.Column)({
|
|
1934
2002
|
type: ColumnType_1.default.JSON,
|
|
1935
2003
|
nullable: true,
|
|
1936
|
-
|
|
2004
|
+
// A browser build declares it without the monitor types (issue #8821).
|
|
2005
|
+
transformer: MonitorStepsColumnTransformer_1.default,
|
|
1937
2006
|
}),
|
|
1938
2007
|
__metadata("design:type", MonitorSteps_1.default)
|
|
1939
2008
|
], Monitor.prototype, "monitorSteps", void 0);
|
|
@@ -2261,6 +2330,34 @@ __decorate([
|
|
|
2261
2330
|
}),
|
|
2262
2331
|
__metadata("design:type", Date)
|
|
2263
2332
|
], Monitor.prototype, "telemetryMonitorLastMonitorAt", void 0);
|
|
2333
|
+
__decorate([
|
|
2334
|
+
(0, ColumnAccessControl_1.default)({
|
|
2335
|
+
create: [],
|
|
2336
|
+
read: [
|
|
2337
|
+
Permission_1.default.ProjectOwner,
|
|
2338
|
+
Permission_1.default.ProjectAdmin,
|
|
2339
|
+
Permission_1.default.ProjectMember,
|
|
2340
|
+
Permission_1.default.Viewer,
|
|
2341
|
+
Permission_1.default.MonitorAdmin,
|
|
2342
|
+
Permission_1.default.MonitorMember,
|
|
2343
|
+
Permission_1.default.MonitorViewer,
|
|
2344
|
+
Permission_1.default.ReadProjectMonitor,
|
|
2345
|
+
],
|
|
2346
|
+
update: [],
|
|
2347
|
+
}),
|
|
2348
|
+
(0, TableColumn_1.default)({
|
|
2349
|
+
type: TableColumnType_1.default.Date,
|
|
2350
|
+
required: false,
|
|
2351
|
+
isDefaultValueColumn: false,
|
|
2352
|
+
title: "First Measured At",
|
|
2353
|
+
description: "When a check result, heartbeat, email, agent report or evaluation first reached this monitor. Empty while nothing has measured it yet: its status is then only the one every monitor is created in. A manual monitor, whose status a person sets, holds the time it was created.",
|
|
2354
|
+
}),
|
|
2355
|
+
(0, typeorm_1.Column)({
|
|
2356
|
+
type: ColumnType_1.default.Date,
|
|
2357
|
+
nullable: true,
|
|
2358
|
+
}),
|
|
2359
|
+
__metadata("design:type", Date)
|
|
2360
|
+
], Monitor.prototype, "firstMeasuredAt", void 0);
|
|
2264
2361
|
__decorate([
|
|
2265
2362
|
(0, ColumnAccessControl_1.default)({
|
|
2266
2363
|
create: [],
|
|
@@ -2391,6 +2488,9 @@ __decorate([
|
|
|
2391
2488
|
(0, typeorm_1.Index)(),
|
|
2392
2489
|
(0, TableColumn_1.default)({
|
|
2393
2490
|
secret: true,
|
|
2491
|
+
encrypted: true,
|
|
2492
|
+
presentedKey: true,
|
|
2493
|
+
lookupHashColumn: "serverMonitorSecretKeyHash",
|
|
2394
2494
|
type: TableColumnType_1.default.ObjectID,
|
|
2395
2495
|
required: false,
|
|
2396
2496
|
isDefaultValueColumn: false,
|
|
@@ -2399,12 +2499,34 @@ __decorate([
|
|
|
2399
2499
|
description: "This field is for Server Monitor only. Secret Key to authenticate the request.",
|
|
2400
2500
|
}),
|
|
2401
2501
|
(0, typeorm_1.Column)({
|
|
2402
|
-
type: ColumnType_1.default.
|
|
2502
|
+
type: ColumnType_1.default.VeryLongText,
|
|
2403
2503
|
nullable: true,
|
|
2404
2504
|
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
2405
2505
|
}),
|
|
2406
2506
|
__metadata("design:type", ObjectID_1.default)
|
|
2407
2507
|
], Monitor.prototype, "serverMonitorSecretKey", void 0);
|
|
2508
|
+
__decorate([
|
|
2509
|
+
(0, ColumnAccessControl_1.default)({
|
|
2510
|
+
create: [],
|
|
2511
|
+
read: [],
|
|
2512
|
+
update: [],
|
|
2513
|
+
}),
|
|
2514
|
+
(0, typeorm_1.Index)(),
|
|
2515
|
+
(0, TableColumn_1.default)({
|
|
2516
|
+
type: TableColumnType_1.default.HashedString,
|
|
2517
|
+
computed: true,
|
|
2518
|
+
hideColumnInDocumentation: true,
|
|
2519
|
+
title: "Server Monitor Secret Key Hash",
|
|
2520
|
+
description: "The lookup hash of serverMonitorSecretKey, which a request that presents the key finds this record by. OneUptime writes it with every write of the key; nobody reads or writes it through the API.",
|
|
2521
|
+
}),
|
|
2522
|
+
(0, typeorm_1.Column)({
|
|
2523
|
+
type: ColumnType_1.default.HashedString,
|
|
2524
|
+
length: ColumnLength_1.default.HashedString,
|
|
2525
|
+
nullable: true,
|
|
2526
|
+
transformer: HashedString_1.default.getDatabaseTransformer(),
|
|
2527
|
+
}),
|
|
2528
|
+
__metadata("design:type", HashedString_1.default)
|
|
2529
|
+
], Monitor.prototype, "serverMonitorSecretKeyHash", void 0);
|
|
2408
2530
|
__decorate([
|
|
2409
2531
|
(0, ColumnAccessControl_1.default)({
|
|
2410
2532
|
create: [],
|
|
@@ -2440,6 +2562,9 @@ __decorate([
|
|
|
2440
2562
|
(0, typeorm_1.Index)(),
|
|
2441
2563
|
(0, TableColumn_1.default)({
|
|
2442
2564
|
secret: true,
|
|
2565
|
+
encrypted: true,
|
|
2566
|
+
presentedKey: true,
|
|
2567
|
+
lookupHashColumn: "incomingRequestSecretKeyHash",
|
|
2443
2568
|
type: TableColumnType_1.default.ObjectID,
|
|
2444
2569
|
required: false,
|
|
2445
2570
|
isDefaultValueColumn: false,
|
|
@@ -2448,7 +2573,7 @@ __decorate([
|
|
|
2448
2573
|
description: "This field is for Incoming Request Monitor only. Secret Key to authenticate the request.",
|
|
2449
2574
|
}),
|
|
2450
2575
|
(0, typeorm_1.Column)({
|
|
2451
|
-
type: ColumnType_1.default.
|
|
2576
|
+
type: ColumnType_1.default.VeryLongText,
|
|
2452
2577
|
nullable: true,
|
|
2453
2578
|
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
2454
2579
|
}),
|
|
@@ -2456,14 +2581,29 @@ __decorate([
|
|
|
2456
2581
|
], Monitor.prototype, "incomingRequestSecretKey", void 0);
|
|
2457
2582
|
__decorate([
|
|
2458
2583
|
(0, ColumnAccessControl_1.default)({
|
|
2459
|
-
create: [
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2584
|
+
create: [],
|
|
2585
|
+
read: [],
|
|
2586
|
+
update: [],
|
|
2587
|
+
}),
|
|
2588
|
+
(0, typeorm_1.Index)(),
|
|
2589
|
+
(0, TableColumn_1.default)({
|
|
2590
|
+
type: TableColumnType_1.default.HashedString,
|
|
2591
|
+
computed: true,
|
|
2592
|
+
hideColumnInDocumentation: true,
|
|
2593
|
+
title: "Incoming Request Secret Key Hash",
|
|
2594
|
+
description: "The lookup hash of incomingRequestSecretKey, which a request that presents the key finds this record by. OneUptime writes it with every write of the key; nobody reads or writes it through the API.",
|
|
2595
|
+
}),
|
|
2596
|
+
(0, typeorm_1.Column)({
|
|
2597
|
+
type: ColumnType_1.default.HashedString,
|
|
2598
|
+
length: ColumnLength_1.default.HashedString,
|
|
2599
|
+
nullable: true,
|
|
2600
|
+
transformer: HashedString_1.default.getDatabaseTransformer(),
|
|
2601
|
+
}),
|
|
2602
|
+
__metadata("design:type", HashedString_1.default)
|
|
2603
|
+
], Monitor.prototype, "incomingRequestSecretKeyHash", void 0);
|
|
2604
|
+
__decorate([
|
|
2605
|
+
(0, ColumnAccessControl_1.default)({
|
|
2606
|
+
create: [],
|
|
2467
2607
|
read: [
|
|
2468
2608
|
Permission_1.default.ProjectOwner,
|
|
2469
2609
|
Permission_1.default.ProjectAdmin,
|
|
@@ -2475,14 +2615,7 @@ __decorate([
|
|
|
2475
2615
|
Permission_1.default.ReadProjectMonitor,
|
|
2476
2616
|
],
|
|
2477
2617
|
update: [],
|
|
2478
|
-
})
|
|
2479
|
-
/*
|
|
2480
|
-
* The latest request as people read it: cut as the monitor's logs are,
|
|
2481
|
-
* and without its headers and body when the monitor keeps no request
|
|
2482
|
-
* content (LatestIncomingRequest). The request as it came is the column
|
|
2483
|
-
* below, which only the server reads.
|
|
2484
|
-
*/
|
|
2485
|
-
,
|
|
2618
|
+
}),
|
|
2486
2619
|
(0, TableColumn_1.default)({
|
|
2487
2620
|
type: TableColumnType_1.default.JSON,
|
|
2488
2621
|
required: false,
|
|
@@ -2635,6 +2768,9 @@ __decorate([
|
|
|
2635
2768
|
(0, typeorm_1.Index)(),
|
|
2636
2769
|
(0, TableColumn_1.default)({
|
|
2637
2770
|
secret: true,
|
|
2771
|
+
encrypted: true,
|
|
2772
|
+
presentedKey: true,
|
|
2773
|
+
lookupHashColumn: "incomingEmailSecretKeyHash",
|
|
2638
2774
|
type: TableColumnType_1.default.ObjectID,
|
|
2639
2775
|
required: false,
|
|
2640
2776
|
isDefaultValueColumn: false,
|
|
@@ -2643,12 +2779,34 @@ __decorate([
|
|
|
2643
2779
|
description: "This field is for Incoming Email Monitor only. Secret Key used to generate unique email address.",
|
|
2644
2780
|
}),
|
|
2645
2781
|
(0, typeorm_1.Column)({
|
|
2646
|
-
type: ColumnType_1.default.
|
|
2782
|
+
type: ColumnType_1.default.VeryLongText,
|
|
2647
2783
|
nullable: true,
|
|
2648
2784
|
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
2649
2785
|
}),
|
|
2650
2786
|
__metadata("design:type", ObjectID_1.default)
|
|
2651
2787
|
], Monitor.prototype, "incomingEmailSecretKey", void 0);
|
|
2788
|
+
__decorate([
|
|
2789
|
+
(0, ColumnAccessControl_1.default)({
|
|
2790
|
+
create: [],
|
|
2791
|
+
read: [],
|
|
2792
|
+
update: [],
|
|
2793
|
+
}),
|
|
2794
|
+
(0, typeorm_1.Index)(),
|
|
2795
|
+
(0, TableColumn_1.default)({
|
|
2796
|
+
type: TableColumnType_1.default.HashedString,
|
|
2797
|
+
computed: true,
|
|
2798
|
+
hideColumnInDocumentation: true,
|
|
2799
|
+
title: "Incoming Email Secret Key Hash",
|
|
2800
|
+
description: "The lookup hash of incomingEmailSecretKey, which a request that presents the key finds this record by. OneUptime writes it with every write of the key; nobody reads or writes it through the API.",
|
|
2801
|
+
}),
|
|
2802
|
+
(0, typeorm_1.Column)({
|
|
2803
|
+
type: ColumnType_1.default.HashedString,
|
|
2804
|
+
length: ColumnLength_1.default.HashedString,
|
|
2805
|
+
nullable: true,
|
|
2806
|
+
transformer: HashedString_1.default.getDatabaseTransformer(),
|
|
2807
|
+
}),
|
|
2808
|
+
__metadata("design:type", HashedString_1.default)
|
|
2809
|
+
], Monitor.prototype, "incomingEmailSecretKeyHash", void 0);
|
|
2652
2810
|
__decorate([
|
|
2653
2811
|
(0, ColumnAccessControl_1.default)({
|
|
2654
2812
|
/*
|
|
@@ -3038,7 +3196,7 @@ Monitor = __decorate([
|
|
|
3038
3196
|
,
|
|
3039
3197
|
(0, typeorm_1.Index)(["monitorType", "_id"])
|
|
3040
3198
|
/*
|
|
3041
|
-
* The Monitors menu's
|
|
3199
|
+
* The Monitors menu's Probes Disconnected, No Probe Enabled and Disabled
|
|
3042
3200
|
* counts (Pages/Monitor/SideMenu.tsx), counted again on every change to a
|
|
3043
3201
|
* monitor, and their pages: each holds only the monitors it counts.
|
|
3044
3202
|
*/
|
|
@@ -3061,6 +3219,26 @@ Monitor = __decorate([
|
|
|
3061
3219
|
pluralName: "Monitors",
|
|
3062
3220
|
icon: IconProp_1.default.AltGlobe,
|
|
3063
3221
|
tableDescription: "Monitor is anything that monitors your API, Websites, IP, Network or more. You can also create static monitor that does not monitor anything.",
|
|
3222
|
+
/*
|
|
3223
|
+
* A monitor changes on its own: a check fails and its status moves, every
|
|
3224
|
+
* probe watching it disconnects, a maintenance event turns its monitoring
|
|
3225
|
+
* off. The Monitors menu counts what needs attention (Not Operational,
|
|
3226
|
+
* Disabled, Probes Disconnected, No Probe Enabled) beside the lists that show
|
|
3227
|
+
* them, and both follow these announcements at once (UseLiveCount,
|
|
3228
|
+
* UseLiveRows) instead of waiting for a reload (#6918).
|
|
3229
|
+
*
|
|
3230
|
+
* What is announced is what the service writes (DatabaseService): a status
|
|
3231
|
+
* change, a probe's flags, an edit, an archive - and an update only when
|
|
3232
|
+
* it changed the row. The bookkeeping a probe's result, a heartbeat or a
|
|
3233
|
+
* telemetry sweep stamps on a monitor every minute is written without
|
|
3234
|
+
* hooks (updateColumnsByIdWithoutHooks), and announces nothing: no count
|
|
3235
|
+
* or list is waiting on it (HeartbeatWriteFastPathSafety).
|
|
3236
|
+
*/
|
|
3237
|
+
enableRealtimeEventsOn: {
|
|
3238
|
+
create: true,
|
|
3239
|
+
update: true,
|
|
3240
|
+
delete: true,
|
|
3241
|
+
},
|
|
3064
3242
|
})
|
|
3065
3243
|
], Monitor);
|
|
3066
3244
|
exports.default = Monitor;
|
|
@@ -47,7 +47,10 @@ const typeorm_1 = require("typeorm");
|
|
|
47
47
|
* row stays until the monitor's steps change, which is what lets the stale
|
|
48
48
|
* poll check find monitors that watch a device that no longer exists.
|
|
49
49
|
*
|
|
50
|
-
* Internal: no API, no permission reads it. Root reads only.
|
|
50
|
+
* Internal: no API, no permission reads it. Root reads only. The device
|
|
51
|
+
* page's Monitors card asks which monitors watch a device through
|
|
52
|
+
* NetworkDeviceWatchingMonitorsAPI, which reads it as root once the caller
|
|
53
|
+
* may read the device, and answers only the monitors the caller may read.
|
|
51
54
|
*/
|
|
52
55
|
let MonitorNetworkDevice = class MonitorNetworkDevice extends DatabaseBaseModel_1.default {
|
|
53
56
|
constructor() {
|
|
@@ -32,6 +32,7 @@ const TableMetadata_1 = __importDefault(require("../../Types/Database/TableMetad
|
|
|
32
32
|
const TenantColumn_1 = __importDefault(require("../../Types/Database/TenantColumn"));
|
|
33
33
|
const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
|
|
34
34
|
const MonitorSteps_1 = __importDefault(require("../../Types/Monitor/MonitorSteps"));
|
|
35
|
+
const MonitorStepsColumnTransformer_1 = __importDefault(require("../../Types/Monitor/MonitorStepsColumnTransformer"));
|
|
35
36
|
const MonitorType_1 = __importDefault(require("../../Types/Monitor/MonitorType"));
|
|
36
37
|
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
37
38
|
const Permission_1 = __importDefault(require("../../Types/Permission"));
|
|
@@ -430,7 +431,8 @@ __decorate([
|
|
|
430
431
|
(0, typeorm_1.Column)({
|
|
431
432
|
type: ColumnType_1.default.JSON,
|
|
432
433
|
nullable: true,
|
|
433
|
-
|
|
434
|
+
// A browser build declares it without the monitor types (issue #8821).
|
|
435
|
+
transformer: MonitorStepsColumnTransformer_1.default,
|
|
434
436
|
}),
|
|
435
437
|
__metadata("design:type", MonitorSteps_1.default)
|
|
436
438
|
], MonitorTemplate.prototype, "monitorSteps", void 0);
|
|
@@ -30,6 +30,7 @@ const TableMetadata_1 = __importDefault(require("../../Types/Database/TableMetad
|
|
|
30
30
|
const TenantColumn_1 = __importDefault(require("../../Types/Database/TenantColumn"));
|
|
31
31
|
const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
|
|
32
32
|
const MonitorSteps_1 = __importDefault(require("../../Types/Monitor/MonitorSteps"));
|
|
33
|
+
const MonitorStepsColumnTransformer_1 = __importDefault(require("../../Types/Monitor/MonitorStepsColumnTransformer"));
|
|
33
34
|
const MonitorType_1 = __importDefault(require("../../Types/Monitor/MonitorType"));
|
|
34
35
|
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
35
36
|
const Permission_1 = __importDefault(require("../../Types/Permission"));
|
|
@@ -331,7 +332,8 @@ __decorate([
|
|
|
331
332
|
(0, typeorm_1.Column)({
|
|
332
333
|
type: ColumnType_1.default.JSON,
|
|
333
334
|
nullable: true,
|
|
334
|
-
|
|
335
|
+
// A browser build declares it without the monitor types (issue #8821).
|
|
336
|
+
transformer: MonitorStepsColumnTransformer_1.default,
|
|
335
337
|
}),
|
|
336
338
|
__metadata("design:type", MonitorSteps_1.default)
|
|
337
339
|
], MonitorTest.prototype, "monitorSteps", void 0);
|
|
@@ -278,7 +278,9 @@ let NetworkDevice = class NetworkDevice extends DatabaseBaseModel_1.default {
|
|
|
278
278
|
* The receipt time of the poll whose verdict the row holds, which is what
|
|
279
279
|
* keeps an older poll from overwriting a newer one (OneUptime issue #7389).
|
|
280
280
|
* Written with the verdict, in one statement that only writes a poll
|
|
281
|
-
* received after this time (NetworkDeviceService.writePollVerdict)
|
|
281
|
+
* received after this time (NetworkDeviceService.writePollVerdict) - and
|
|
282
|
+
* with the poll's rate baseline and SNMP table and transceiver snapshots,
|
|
283
|
+
* which ride in the same statement (issue #7393).
|
|
282
284
|
*
|
|
283
285
|
* lastPolledAt cannot do this job. It is stamped when OneUptime processed
|
|
284
286
|
* the poll, because the stale-poll check, the topology and the stale pill
|
|
@@ -1716,19 +1718,32 @@ __decorate([
|
|
|
1716
1718
|
Permission_1.default.SettingsMember,
|
|
1717
1719
|
Permission_1.default.EditNetworkDevice,
|
|
1718
1720
|
],
|
|
1719
|
-
})
|
|
1721
|
+
})
|
|
1722
|
+
/*
|
|
1723
|
+
* THE DEVICE'S SNMP CREDENTIALS ARE KEPT ENCRYPTED AT REST (#9014), as a
|
|
1724
|
+
* credential profile's are: this community string, the two v3 keys below
|
|
1725
|
+
* and the legacy snmpV3Auth object's keys. DatabaseService encrypts each on
|
|
1726
|
+
* every write and decrypts it on every read, so the probe's poll
|
|
1727
|
+
* (NetworkDeviceHydrationUtil), the Settings form and both import paths
|
|
1728
|
+
* read them as written; they stay readable to whom reads them today. All
|
|
1729
|
+
* of them together, and the discovery scans' they are copied from too, so
|
|
1730
|
+
* no copy of a credential is left as written beside its encrypted one. The
|
|
1731
|
+
* EncryptSnmpCredentials data migration encrypts the values stored before.
|
|
1732
|
+
* Text, as a ciphertext is longer than its value.
|
|
1733
|
+
*/
|
|
1734
|
+
,
|
|
1720
1735
|
(0, TableColumn_1.default)({
|
|
1721
1736
|
secret: true,
|
|
1737
|
+
encrypted: true,
|
|
1722
1738
|
required: false,
|
|
1723
|
-
type: TableColumnType_1.default.
|
|
1739
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
1724
1740
|
title: "SNMP Community String",
|
|
1725
|
-
description: "Community string used for SNMP v1/v2c polling",
|
|
1741
|
+
description: "Community string used for SNMP v1/v2c polling. Kept encrypted at rest.",
|
|
1726
1742
|
example: "public",
|
|
1727
1743
|
}),
|
|
1728
1744
|
(0, typeorm_1.Column)({
|
|
1729
1745
|
nullable: true,
|
|
1730
|
-
type: ColumnType_1.default.
|
|
1731
|
-
length: ColumnLength_1.default.ShortText,
|
|
1746
|
+
type: ColumnType_1.default.VeryLongText,
|
|
1732
1747
|
}),
|
|
1733
1748
|
__metadata("design:type", String)
|
|
1734
1749
|
], NetworkDevice.prototype, "snmpCommunityString", void 0);
|
|
@@ -1785,14 +1800,17 @@ __decorate([
|
|
|
1785
1800
|
Permission_1.default.SettingsMember,
|
|
1786
1801
|
Permission_1.default.CreateNetworkDevice,
|
|
1787
1802
|
],
|
|
1803
|
+
/*
|
|
1804
|
+
* The narrow list snmpV3AuthKey and snmpV3PrivKey have: this object
|
|
1805
|
+
* carries the same two keys. Viewer and Settings Viewer, who read the
|
|
1806
|
+
* device but not its credentials, read them here until #9014.
|
|
1807
|
+
*/
|
|
1788
1808
|
read: [
|
|
1789
1809
|
Permission_1.default.ProjectOwner,
|
|
1790
1810
|
Permission_1.default.ProjectAdmin,
|
|
1791
1811
|
Permission_1.default.ProjectMember,
|
|
1792
|
-
Permission_1.default.Viewer,
|
|
1793
1812
|
Permission_1.default.SettingsAdmin,
|
|
1794
1813
|
Permission_1.default.SettingsMember,
|
|
1795
|
-
Permission_1.default.SettingsViewer,
|
|
1796
1814
|
Permission_1.default.ReadNetworkDevice,
|
|
1797
1815
|
],
|
|
1798
1816
|
update: [
|
|
@@ -1803,13 +1821,17 @@ __decorate([
|
|
|
1803
1821
|
Permission_1.default.SettingsMember,
|
|
1804
1822
|
Permission_1.default.EditNetworkDevice,
|
|
1805
1823
|
],
|
|
1806
|
-
})
|
|
1824
|
+
})
|
|
1825
|
+
// Its two keys kept encrypted at rest, its other fields as written.
|
|
1826
|
+
,
|
|
1807
1827
|
(0, TableColumn_1.default)({
|
|
1808
1828
|
secret: true,
|
|
1829
|
+
encrypted: true,
|
|
1830
|
+
encryptedFields: ["authKey", "privKey"],
|
|
1809
1831
|
type: TableColumnType_1.default.JSON,
|
|
1810
1832
|
required: false,
|
|
1811
1833
|
title: "SNMP v3 Authentication",
|
|
1812
|
-
description: "Deprecated: SNMP v3 auth is now stored in the snmpV3* columns below. Retained for reading legacy devices.",
|
|
1834
|
+
description: "Deprecated: SNMP v3 auth is now stored in the snmpV3* columns below. Retained for reading legacy devices. Its authKey and privKey are kept encrypted at rest.",
|
|
1813
1835
|
}),
|
|
1814
1836
|
(0, typeorm_1.Column)({
|
|
1815
1837
|
type: ColumnType_1.default.JSON,
|
|
@@ -1972,17 +1994,20 @@ __decorate([
|
|
|
1972
1994
|
Permission_1.default.SettingsMember,
|
|
1973
1995
|
Permission_1.default.EditNetworkDevice,
|
|
1974
1996
|
],
|
|
1975
|
-
})
|
|
1997
|
+
})
|
|
1998
|
+
// Kept encrypted at rest, as snmpCommunityString is.
|
|
1999
|
+
,
|
|
1976
2000
|
(0, TableColumn_1.default)({
|
|
1977
2001
|
secret: true,
|
|
2002
|
+
encrypted: true,
|
|
1978
2003
|
required: false,
|
|
1979
|
-
type: TableColumnType_1.default.
|
|
2004
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
1980
2005
|
title: "SNMP v3 Authentication Key",
|
|
1981
|
-
description: "SNMP v3 authentication passphrase",
|
|
2006
|
+
description: "SNMP v3 authentication passphrase. Kept encrypted at rest.",
|
|
1982
2007
|
}),
|
|
1983
2008
|
(0, typeorm_1.Column)({
|
|
1984
2009
|
nullable: true,
|
|
1985
|
-
type: ColumnType_1.default.
|
|
2010
|
+
type: ColumnType_1.default.VeryLongText,
|
|
1986
2011
|
}),
|
|
1987
2012
|
__metadata("design:type", String)
|
|
1988
2013
|
], NetworkDevice.prototype, "snmpV3AuthKey", void 0);
|
|
@@ -2055,17 +2080,20 @@ __decorate([
|
|
|
2055
2080
|
Permission_1.default.SettingsMember,
|
|
2056
2081
|
Permission_1.default.EditNetworkDevice,
|
|
2057
2082
|
],
|
|
2058
|
-
})
|
|
2083
|
+
})
|
|
2084
|
+
// Kept encrypted at rest, as snmpCommunityString is.
|
|
2085
|
+
,
|
|
2059
2086
|
(0, TableColumn_1.default)({
|
|
2060
2087
|
secret: true,
|
|
2088
|
+
encrypted: true,
|
|
2061
2089
|
required: false,
|
|
2062
|
-
type: TableColumnType_1.default.
|
|
2090
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
2063
2091
|
title: "SNMP v3 Privacy Key",
|
|
2064
|
-
description: "SNMP v3 privacy (encryption) passphrase",
|
|
2092
|
+
description: "SNMP v3 privacy (encryption) passphrase. Kept encrypted at rest.",
|
|
2065
2093
|
}),
|
|
2066
2094
|
(0, typeorm_1.Column)({
|
|
2067
2095
|
nullable: true,
|
|
2068
|
-
type: ColumnType_1.default.
|
|
2096
|
+
type: ColumnType_1.default.VeryLongText,
|
|
2069
2097
|
}),
|
|
2070
2098
|
__metadata("design:type", String)
|
|
2071
2099
|
], NetworkDevice.prototype, "snmpV3PrivKey", void 0);
|
|
@@ -3034,7 +3062,7 @@ __decorate([
|
|
|
3034
3062
|
required: false,
|
|
3035
3063
|
type: TableColumnType_1.default.Date,
|
|
3036
3064
|
title: "Last Poll Received At",
|
|
3037
|
-
description: "When OneUptime received the poll whose result this device shows (isReachable, isSnmpReachable
|
|
3065
|
+
description: "When OneUptime received the poll whose result this device shows (isReachable, isSnmpReachable, the interface counts, the SNMP table and transceiver snapshots). A poll received earlier never overwrites that result: a retried poll, or one that waited longer in the queue than the poll after it. Managed by OneUptime.",
|
|
3038
3066
|
}),
|
|
3039
3067
|
(0, typeorm_1.Column)({
|
|
3040
3068
|
nullable: true,
|
|
@@ -3656,9 +3684,20 @@ NetworkDevice = __decorate([
|
|
|
3656
3684
|
* the fleet tally on the same page already makes. Nor a partial index on
|
|
3657
3685
|
* the unreachable devices: a partial index's columns block HOT like any
|
|
3658
3686
|
* other's, whichever rows it holds.
|
|
3687
|
+
*
|
|
3688
|
+
* `isSnmpReachable` is the fourth column (OneUptime issue #8091), for the
|
|
3689
|
+
* Overview's "SNMP failing" list and the device list's SNMP facet: the
|
|
3690
|
+
* reachable devices whose last walk failed. With three columns both read
|
|
3691
|
+
* the heap row of every reachable device to find the few whose walk is
|
|
3692
|
+
* failing - about one pass over the table. The verdict writes it on every
|
|
3693
|
+
* poll, but its value changes only when a walk starts or stops failing,
|
|
3694
|
+
* and HOT is blocked only by a changed value, so the verdict of a device
|
|
3695
|
+
* whose state did not change stays HOT. Not `lastSnmpSeenAt`, which every
|
|
3696
|
+
* successful walk moves. The three-column prefix still serves the Status
|
|
3697
|
+
* facet and the summary strip's counts.
|
|
3659
3698
|
*/
|
|
3660
3699
|
,
|
|
3661
|
-
(0, typeorm_1.Index)(["projectId", "isArchived", "isReachable"])
|
|
3700
|
+
(0, typeorm_1.Index)(["projectId", "isArchived", "isReachable", "isSnmpReachable"])
|
|
3662
3701
|
/*
|
|
3663
3702
|
* Every per-site rollup, the hierarchy drill-down, and the "unassigned
|
|
3664
3703
|
* devices" count. A device's site almost never changes, so this is close to
|