@oneuptime/common 14.0.107 → 14.0.109
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/AnalyticsModels/AuditLog.js +1 -1
- package/Models/DatabaseModels/CloudApp.d.mts +5 -0
- package/Models/DatabaseModels/CloudApp.d.ts +5 -0
- package/Models/DatabaseModels/CloudApp.js +112 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +4 -0
- package/Models/DatabaseModels/DataBiConnection.d.ts +4 -0
- package/Models/DatabaseModels/DataBiConnection.js +59 -2
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +111 -0
- package/Models/DatabaseModels/Index.js +9 -0
- package/Models/DatabaseModels/Monitor.js +14 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.d.mts +1 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.d.ts +1 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.js +43 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +132 -2
- package/Models/DatabaseModels/ProductFeedback.d.mts +11 -0
- package/Models/DatabaseModels/ProductFeedback.d.ts +11 -0
- package/Models/DatabaseModels/ProductFeedback.js +203 -0
- package/Models/DatabaseModels/ProductFeedback.mjs +2 -0
- package/Models/DatabaseModels/Project.d.mts +6 -0
- package/Models/DatabaseModels/Project.d.ts +6 -0
- package/Models/DatabaseModels/Project.js +237 -0
- package/Models/DatabaseModels/ProjectMilestone.d.mts +11 -0
- package/Models/DatabaseModels/ProjectMilestone.d.ts +11 -0
- package/Models/DatabaseModels/ProjectMilestone.js +207 -0
- package/Models/DatabaseModels/ProjectMilestone.mjs +2 -0
- package/Models/DatabaseModels/ProjectUserPreference.d.mts +11 -0
- package/Models/DatabaseModels/ProjectUserPreference.d.ts +11 -0
- package/Models/DatabaseModels/ProjectUserPreference.js +194 -0
- package/Models/DatabaseModels/ProjectUserPreference.mjs +2 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.d.mts +20 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.d.ts +20 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.js +353 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.mjs +2 -0
- package/Models/DatabaseModels/RumSessionPin.js +16 -2
- package/Models/DatabaseModels/RumSessionReplayView.js +8 -1
- package/Models/DatabaseModels/SecurityCase.js +8 -1
- package/Models/DatabaseModels/User.d.mts +2 -0
- package/Models/DatabaseModels/User.d.ts +2 -0
- package/Models/DatabaseModels/User.js +52 -0
- package/Models/DatabaseModels/UserOnCallLog.js +32 -4
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +10 -0
- package/Models/DatabaseModels/WhatsAppLog.d.mts +3 -0
- package/Models/DatabaseModels/WhatsAppLog.d.ts +3 -0
- package/Models/DatabaseModels/WhatsAppLog.js +62 -0
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +20 -0
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +20 -0
- package/Models/DatabaseModels/WorkspaceUserGroup.js +1 -1
- package/Server/Services/DatabaseService.d.mts +1 -0
- package/Server/Services/DatabaseService.d.ts +1 -0
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +213 -0
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +213 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +4 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +4 -0
- package/Types/AI/AIActionWords.d.mts +167 -7
- package/Types/AI/AIActionWords.d.ts +167 -7
- package/Types/AI/AIActionWords.js +474 -17
- package/Types/AI/AIActionWords.mjs +22 -0
- package/Types/AI/AIChatMessageStatus.js +3 -2
- package/Types/AI/AIChatRecordSeen.d.mts +6 -2
- package/Types/AI/AIChatRecordSeen.d.ts +6 -2
- package/Types/AI/AIChatRecordSeen.js +48 -9
- package/Types/AI/AIChatRecordSeen.mjs +2 -0
- package/Types/AI/AIChatTypes.d.mts +20 -1
- package/Types/AI/AIChatTypes.d.ts +20 -1
- package/Types/AI/AIChatTypes.js +46 -1
- package/Types/AI/AIChatTypes.mjs +3 -0
- package/Types/AI/AIRunAttempt.d.mts +8 -0
- package/Types/AI/AIRunAttempt.d.ts +8 -0
- package/Types/AI/AIRunAttempt.js +60 -6
- package/Types/AI/AIRunAttempt.mjs +3 -0
- package/Types/AI/AISetupActions.d.mts +9 -0
- package/Types/AI/AISetupActions.d.ts +9 -0
- package/Types/AI/AISetupActions.js +56 -0
- package/Types/AI/AISetupActions.mjs +10 -0
- package/Types/AI/CodeTask.d.mts +14 -0
- package/Types/AI/CodeTask.d.ts +14 -0
- package/Types/AI/InvestigationNotStartedReason.d.mts +7 -0
- package/Types/AI/InvestigationNotStartedReason.d.ts +7 -0
- package/Types/AI/RecordAiTokenLimit.d.mts +24 -0
- package/Types/AI/RecordAiTokenLimit.d.ts +24 -0
- package/Types/AI/RecordAiTokenLimit.js +153 -0
- package/Types/AI/RecordAiTokenLimit.mjs +8 -0
- package/Types/Accounts/SignInMessages.d.mts +8 -0
- package/Types/Accounts/SignInMessages.d.ts +8 -0
- package/Types/Accounts/SignInMessages.js +28 -0
- package/Types/Accounts/SignInMessages.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +48 -0
- package/Types/Analytics/ActivationMilestone.d.ts +48 -0
- package/Types/Analytics/ActivationMilestone.js +247 -0
- package/Types/Analytics/ActivationMilestone.mjs +16 -0
- package/Types/Analytics/ChecklistProgress.d.mts +11 -0
- package/Types/Analytics/ChecklistProgress.d.ts +11 -0
- package/Types/Analytics/ChecklistProgress.js +32 -0
- package/Types/Analytics/ChecklistProgress.mjs +2 -0
- package/Types/Analytics/ProductEvent.d.mts +61 -0
- package/Types/Analytics/ProductEvent.d.ts +61 -0
- package/Types/Analytics/ProductEvent.js +430 -0
- package/Types/Analytics/ProductEvent.mjs +14 -0
- package/Types/AuditLog/AuditLogAction.d.mts +5 -1
- package/Types/AuditLog/AuditLogAction.d.ts +5 -1
- package/Types/AuditLog/AuditLogAction.js +11 -0
- package/Types/AuditLog/AuditLogActionLabel.d.mts +3 -0
- package/Types/AuditLog/AuditLogActionLabel.d.ts +3 -0
- package/Types/AuditLog/AuditLogActionLabel.js +30 -0
- package/Types/AuditLog/AuditLogActionLabel.mjs +3 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +2 -1
- package/Types/AuditLog/AuditLogCoverage.d.ts +2 -1
- package/Types/AuditLog/AuditLogCoverage.js +8 -1
- package/Types/AuditLog/AuditLogRetention.js +7 -4
- package/Types/AuditLog/AuditLogSessionEvent.d.mts +45 -0
- package/Types/AuditLog/AuditLogSessionEvent.d.ts +45 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +210 -0
- package/Types/AuditLog/AuditLogSessionEvent.mjs +14 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +4 -0
- package/Types/AutoRemediation/RemediationRound.d.ts +4 -0
- package/Types/AutoRemediation/RemediationRound.js +19 -2
- package/Types/AutoRemediation/RemediationRoundName.d.mts +1 -0
- package/Types/AutoRemediation/RemediationRoundName.d.ts +1 -0
- package/Types/AutoRemediation/RemediationRoundName.js +5 -0
- package/Types/AutoRemediation/RemediationRoundName.mjs +1 -0
- package/Types/Cloud/CloudAppTelemetrySignal.d.mts +9 -0
- package/Types/Cloud/CloudAppTelemetrySignal.d.ts +9 -0
- package/Types/Cloud/CloudAppTelemetrySignal.js +41 -0
- package/Types/Cloud/CloudAppTelemetrySignal.mjs +4 -0
- package/Types/Cloud/CloudPlatform.js +7 -1
- package/Types/CodeInSentence.d.mts +8 -0
- package/Types/CodeInSentence.d.ts +8 -0
- package/Types/CodeInSentence.js +875 -0
- package/Types/CodeInSentence.mjs +4 -0
- package/Types/CodeRepository/CodeFileSeen.d.mts +5 -0
- package/Types/CodeRepository/CodeFileSeen.d.ts +5 -0
- package/Types/CodeRepository/CodeFileSeen.js +142 -27
- package/Types/CustomDomain/CustomDomainDnsCheckResult.d.mts +13 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.d.ts +13 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.js +80 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.mjs +2 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.d.mts +55 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.d.ts +55 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.js +199 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.mjs +8 -0
- package/Types/CustomDomain/DnsRecordCheck.d.mts +34 -0
- package/Types/CustomDomain/DnsRecordCheck.d.ts +34 -0
- package/Types/CustomDomain/DnsRecordCheck.js +175 -0
- package/Types/CustomDomain/DnsRecordCheck.mjs +6 -0
- package/Types/CustomDomain/DnsRecordCheckWords.d.mts +35 -0
- package/Types/CustomDomain/DnsRecordCheckWords.d.ts +35 -0
- package/Types/CustomDomain/DnsRecordCheckWords.js +151 -0
- package/Types/CustomDomain/DnsRecordCheckWords.mjs +5 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +11 -1
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.mjs +1 -0
- package/Types/Dashboard/DashboardComponentType.d.mts +2 -0
- package/Types/Dashboard/DashboardComponentType.d.ts +2 -0
- package/Types/Dashboard/DashboardComponentType.js +7 -0
- package/Types/Dashboard/DashboardComponents/ComponentArgument.d.mts +3 -1
- package/Types/Dashboard/DashboardComponents/ComponentArgument.d.ts +3 -1
- package/Types/Dashboard/DashboardComponents/ComponentArgument.js +3 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.d.mts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.d.ts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.js +2 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.mjs +1 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.d.mts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.d.ts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.js +2 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.mjs +1 -0
- package/Types/Dashboard/PublicDashboardServedSettings.js +15 -7
- package/Types/DataObservability/DataBiRefreshAlert.d.mts +44 -0
- package/Types/DataObservability/DataBiRefreshAlert.d.ts +44 -0
- package/Types/DataObservability/DataBiRefreshAlert.js +206 -0
- package/Types/DataObservability/DataBiRefreshAlert.mjs +12 -0
- package/Types/DataObservability/DataCheckType.d.mts +4 -0
- package/Types/DataObservability/DataCheckType.d.ts +4 -0
- package/Types/DataObservability/DataCheckType.js +17 -0
- package/Types/DataObservability/DataCheckType.mjs +1 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +10 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +10 -0
- package/Types/DataObservability/DataLineageColumnTrail.js +152 -0
- package/Types/DataObservability/DataLineageColumnTrail.mjs +4 -0
- package/Types/DataObservability/DataLineageExpansion.d.mts +29 -0
- package/Types/DataObservability/DataLineageExpansion.d.ts +29 -0
- package/Types/DataObservability/DataLineageExpansion.js +166 -0
- package/Types/DataObservability/DataLineageExpansion.mjs +4 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +8 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +8 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +14 -0
- package/Types/DataObservability/DataTableLineage.d.mts +29 -1
- package/Types/DataObservability/DataTableLineage.d.ts +29 -1
- package/Types/DataObservability/DataTableLineage.js +27 -7
- package/Types/DataObservability/DataTableLineage.mjs +3 -0
- package/Types/Date.d.mts +22 -0
- package/Types/Date.d.ts +22 -0
- package/Types/Date.js +72 -3
- package/Types/DateLanguage.d.mts +7 -0
- package/Types/DateLanguage.d.ts +7 -0
- package/Types/DateLanguage.js +44 -1
- package/Types/DateLanguage.mjs +1 -0
- package/Types/Docs/DocsLanguage.d.mts +2 -0
- package/Types/Docs/DocsLanguage.d.ts +2 -0
- package/Types/Docs/DocsLanguage.js +23 -1
- package/Types/Docs/DocsLanguage.mjs +2 -0
- package/Types/Docs/GlossaryTerm.d.mts +82 -0
- package/Types/Docs/GlossaryTerm.d.ts +82 -0
- package/Types/Docs/GlossaryTerm.js +126 -0
- package/Types/Docs/GlossaryTerm.mjs +5 -0
- package/Types/Email/AmazonSesAuthenticationType.d.mts +23 -0
- package/Types/Email/AmazonSesAuthenticationType.d.ts +23 -0
- package/Types/Email/AmazonSesAuthenticationType.js +40 -0
- package/Types/Email/AmazonSesAuthenticationType.mjs +4 -0
- package/Types/Email/EmailServer.d.mts +2 -0
- package/Types/Email/EmailServer.d.ts +2 -0
- package/Types/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +2 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.mts +6 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.ts +6 -0
- package/Types/Exception/BadDataExceptionWithDetails.js +20 -0
- package/Types/Exception/BadDataExceptionWithDetails.mjs +2 -0
- package/Types/Exception/ErrorMessageRule.d.mts +4 -0
- package/Types/Exception/ErrorMessageRule.d.ts +4 -0
- package/Types/Exception/ErrorMessageRule.js +143 -0
- package/Types/Exception/ErrorMessageRule.mjs +5 -0
- package/Types/Exception/UnexplainedError.d.mts +45 -0
- package/Types/Exception/UnexplainedError.d.ts +45 -0
- package/Types/Exception/UnexplainedError.js +179 -0
- package/Types/Exception/UnexplainedError.mjs +11 -0
- package/Types/HashedString.js +9 -2
- package/Types/Icon/IconProp.d.mts +4 -1
- package/Types/Icon/IconProp.d.ts +4 -1
- package/Types/Icon/IconProp.js +6 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +122 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +122 -0
- package/Types/InstallationHealth/InstallationHealth.js +513 -0
- package/Types/InstallationHealth/InstallationHealth.mjs +13 -0
- package/Types/LLM/LLMProviderExchange.d.mts +17 -0
- package/Types/LLM/LLMProviderExchange.d.ts +17 -0
- package/Types/LLM/LLMProviderExchange.js +70 -0
- package/Types/LLM/LLMProviderExchange.mjs +5 -0
- package/Types/Monitor/CriteriaFilter.d.mts +1 -0
- package/Types/Monitor/CriteriaFilter.d.ts +1 -0
- package/Types/Monitor/CriteriaFilter.js +3 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/CriteriaFilterValues.d.mts +18 -0
- package/Types/Monitor/CriteriaFilterValues.d.ts +18 -0
- package/Types/Monitor/CriteriaFilterValues.js +346 -0
- package/Types/Monitor/CriteriaFilterValues.mjs +2 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.d.mts +13 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.d.ts +13 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.js +108 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.mjs +3 -0
- package/Types/Monitor/EvaluationSentence.d.mts +1 -0
- package/Types/Monitor/EvaluationSentence.d.ts +1 -0
- package/Types/Monitor/EvaluationSentence.js +34 -3
- package/Types/Monitor/EvaluationSentence.mjs +1 -0
- package/Types/Monitor/IncomingEmailMonitor/IncomingEmailMonitorRequest.d.mts +1 -0
- package/Types/Monitor/IncomingEmailMonitor/IncomingEmailMonitorRequest.d.ts +1 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +22 -2
- package/Types/Monitor/MonitorStep.js +28 -11
- package/Types/Monitor/MonitorStepMetricMonitor.js +6 -1
- package/Types/Monitor/MonitorStepRollingTime.d.mts +12 -0
- package/Types/Monitor/MonitorStepRollingTime.d.ts +12 -0
- package/Types/Monitor/MonitorStepRollingTime.js +117 -0
- package/Types/Monitor/MonitorStepRollingTime.mjs +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.d.mts +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.d.ts +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.js +95 -0
- package/Types/Monitor/RetiredEvaluationTemplates.mjs +3 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.mts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.ts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.js +20 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.mjs +2 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.mts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.ts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.js +29 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.mjs +2 -0
- package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.mts +7 -0
- package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.ts +7 -0
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.js +11 -0
- package/Types/Monitor/ServerMonitor/ServerMonitorResponse.d.mts +1 -0
- package/Types/Monitor/ServerMonitor/ServerMonitorResponse.d.ts +1 -0
- package/Types/Monitor/TelemetryAlertRule.js +7 -2
- package/Types/Monitor/WhoIsTold.d.mts +165 -0
- package/Types/Monitor/WhoIsTold.d.ts +165 -0
- package/Types/Monitor/WhoIsTold.js +582 -0
- package/Types/Monitor/WhoIsTold.mjs +17 -0
- package/Types/NotificationRule/NotificationRepeat.d.mts +10 -0
- package/Types/NotificationRule/NotificationRepeat.d.ts +10 -0
- package/Types/NotificationRule/NotificationRepeat.js +51 -0
- package/Types/NotificationRule/NotificationRepeat.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.mts +70 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.ts +70 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.js +276 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.mjs +12 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +34 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.d.mts +9 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.d.ts +9 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.js +44 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.mjs +5 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +240 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +240 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +574 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +52 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.mts +31 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.ts +31 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.mjs +14 -0
- package/Types/PhoneNumberDirection.d.mts +6 -0
- package/Types/PhoneNumberDirection.d.ts +6 -0
- package/Types/PhoneNumberDirection.js +123 -0
- package/Types/PhoneNumberDirection.mjs +6 -0
- package/Types/Probe/ProbeMonitorResponse.d.mts +1 -0
- package/Types/Probe/ProbeMonitorResponse.d.ts +1 -0
- package/Types/Product/ProductKey.d.mts +58 -0
- package/Types/Product/ProductKey.d.ts +58 -0
- package/Types/Product/ProductKey.js +175 -0
- package/Types/Product/ProductKey.mjs +8 -0
- package/Types/Product/ProductPins.d.mts +10 -0
- package/Types/Product/ProductPins.d.ts +10 -0
- package/Types/Product/ProductPins.js +65 -0
- package/Types/Product/ProductPins.mjs +6 -0
- package/Types/Product/ProductUsage.d.mts +21 -0
- package/Types/Product/ProductUsage.d.ts +21 -0
- package/Types/Product/ProductUsage.js +175 -0
- package/Types/Product/ProductUsage.mjs +10 -0
- package/Types/Product/ProjectProducts.d.mts +60 -0
- package/Types/Product/ProjectProducts.d.ts +60 -0
- package/Types/Product/ProjectProducts.js +336 -0
- package/Types/Product/ProjectProducts.mjs +19 -0
- package/Types/Product/ProjectProductsAnswer.d.mts +20 -0
- package/Types/Product/ProjectProductsAnswer.d.ts +20 -0
- package/Types/Product/ProjectProductsAnswer.js +139 -0
- package/Types/Product/ProjectProductsAnswer.mjs +7 -0
- package/Types/ProductFeedback/NewGitHubIssue.d.mts +12 -0
- package/Types/ProductFeedback/NewGitHubIssue.d.ts +12 -0
- package/Types/ProductFeedback/NewGitHubIssue.js +64 -0
- package/Types/ProductFeedback/NewGitHubIssue.mjs +5 -0
- package/Types/ProductFeedback/ProductFeedback.d.mts +140 -0
- package/Types/ProductFeedback/ProductFeedback.d.ts +140 -0
- package/Types/ProductFeedback/ProductFeedback.js +517 -0
- package/Types/ProductFeedback/ProductFeedback.mjs +49 -0
- package/Types/ReadingDirection.d.mts +4 -0
- package/Types/ReadingDirection.d.ts +4 -0
- package/Types/ReadingDirection.js +303 -26
- package/Types/ReadingDirection.mjs +4 -0
- package/Types/Recommendation/RecommendationType.d.mts +2 -1
- package/Types/Recommendation/RecommendationType.d.ts +2 -1
- package/Types/Recommendation/RecommendationType.js +6 -0
- package/Types/Reminder/ReminderInterval.d.mts +7 -0
- package/Types/Reminder/ReminderInterval.d.ts +7 -0
- package/Types/Reminder/ReminderInterval.js +110 -0
- package/Types/Reminder/ReminderInterval.mjs +8 -0
- package/Types/Retention/ResolvedRecordRetention.d.mts +19 -0
- package/Types/Retention/ResolvedRecordRetention.d.ts +19 -0
- package/Types/Retention/ResolvedRecordRetention.js +124 -0
- package/Types/Retention/ResolvedRecordRetention.mjs +14 -0
- package/Types/RollingTime/RollingTimeUtil.d.mts +8 -0
- package/Types/RollingTime/RollingTimeUtil.d.ts +8 -0
- package/Types/RollingTime/RollingTimeUtil.js +249 -71
- package/Types/Rum/ProductAnalyticsSavedViews.d.mts +56 -0
- package/Types/Rum/ProductAnalyticsSavedViews.d.ts +56 -0
- package/Types/Rum/ProductAnalyticsSavedViews.js +219 -0
- package/Types/Rum/ProductAnalyticsSavedViews.mjs +14 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +116 -108
- package/Types/ServerSending/ServerSendingStatus.d.mts +69 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +69 -0
- package/Types/ServerSending/ServerSendingStatus.js +281 -0
- package/Types/ServerSending/ServerSendingStatus.mjs +7 -0
- package/Types/ServerSending/ServerSendingWords.d.mts +9 -0
- package/Types/ServerSending/ServerSendingWords.d.ts +9 -0
- package/Types/ServerSending/ServerSendingWords.js +95 -0
- package/Types/ServerSending/ServerSendingWords.mjs +7 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +172 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +172 -0
- package/Types/ServerSetup/ServerSetupChecklist.js +735 -0
- package/Types/ServerSetup/ServerSetupChecklist.mjs +12 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +35 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +35 -0
- package/Types/ServerSetup/ServerTestSend.js +160 -0
- package/Types/ServerSetup/ServerTestSend.mjs +10 -0
- package/Types/SetupHealth/SetupHealth.d.mts +283 -0
- package/Types/SetupHealth/SetupHealth.d.ts +283 -0
- package/Types/SetupHealth/SetupHealth.js +1047 -0
- package/Types/SetupHealth/SetupHealth.mjs +46 -0
- package/Types/StatusPage/StatusPageSummary.d.mts +1 -0
- package/Types/StatusPage/StatusPageSummary.d.ts +1 -0
- package/Types/StatusPage/StatusPageSummary.js +3 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.mts +25 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.ts +25 -0
- package/Types/Telemetry/LlmCallKind.js +1 -1
- package/Types/Telemetry/ServiceType.d.mts +1 -0
- package/Types/Telemetry/ServiceType.d.ts +1 -0
- package/Types/Telemetry/ServiceType.js +6 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +1 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +1 -0
- package/Types/Telemetry/TelemetryIngestionBudget.js +135 -2
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +1 -0
- package/Types/ToolImport/ToolImportCatalog.d.mts +1 -0
- package/Types/ToolImport/ToolImportCatalog.d.ts +1 -0
- package/Types/ToolImport/ToolImportCatalog.js +54 -1
- package/Types/ToolImport/ToolImportCatalog.mjs +1 -0
- package/Types/Translator.js +64 -31
- package/Types/UserNotification/UserNotificationEventType.d.mts +2 -1
- package/Types/UserNotification/UserNotificationEventType.d.ts +2 -1
- package/Types/UserNotification/UserNotificationEventType.js +7 -0
- package/Types/UserSession/SessionEndCause.d.mts +17 -0
- package/Types/UserSession/SessionEndCause.d.ts +17 -0
- package/Types/UserSession/SessionEndCause.js +79 -0
- package/Types/UserSession/SessionEndCause.mjs +6 -0
- package/Types/UserSession/SessionSignIn.d.mts +44 -0
- package/Types/UserSession/SessionSignIn.d.ts +44 -0
- package/Types/UserSession/SessionSignIn.js +174 -0
- package/Types/UserSession/SessionSignIn.mjs +17 -0
- package/Types/WelcomeChecklist/ProjectGoal.d.mts +16 -0
- package/Types/WelcomeChecklist/ProjectGoal.d.ts +16 -0
- package/Types/WelcomeChecklist/ProjectGoal.js +94 -0
- package/Types/WelcomeChecklist/ProjectGoal.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +76 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +76 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.js +344 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +19 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +24 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +24 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +136 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +9 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +27 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +27 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +183 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +13 -0
- package/Types/Workflow/Documentation/AIDocumentation.js +1 -1
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.mts +7 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.ts +7 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.js +40 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.mjs +3 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.mts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.ts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.js +9 -2
- package/UI/Components/Dropdown/Dropdown.d.mts +1 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +1 -0
- package/Utils/API.js +10 -0
- package/Utils/Crypto.js +10 -3
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.d.mts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.d.ts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +67 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.mjs +2 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.d.mts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.d.ts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +68 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.mjs +2 -0
- package/Utils/Dashboard/DashboardWidgetIds.js +6 -1
- package/Utils/Dashboard/DashboardWidgetSorts.js +25 -4
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +37 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +37 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.js +86 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.mjs +10 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +31 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +31 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.js +89 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +6 -0
- package/Utils/GuidedSetup/StatusPageRecords.d.mts +36 -0
- package/Utils/GuidedSetup/StatusPageRecords.d.ts +36 -0
- package/Utils/GuidedSetup/StatusPageRecords.js +105 -0
- package/Utils/GuidedSetup/StatusPageRecords.mjs +6 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +41 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +41 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.js +204 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +9 -0
- package/Utils/Markdown/InlineImageDataUri.d.mts +9 -0
- package/Utils/Markdown/InlineImageDataUri.d.ts +9 -0
- package/Utils/Markdown/InlineImageDataUri.js +17 -1
- package/Utils/Markdown/InlineImageDataUri.mjs +1 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.mts +12 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.ts +12 -0
- package/Utils/Markdown/LinkReferenceDefinitions.js +539 -0
- package/Utils/Markdown/LinkReferenceDefinitions.mjs +4 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.js +2 -4
- package/Utils/Monitor/ExternalStatusPageReading.d.mts +9 -0
- package/Utils/Monitor/ExternalStatusPageReading.d.ts +9 -0
- package/Utils/Monitor/ExternalStatusPageReading.js +77 -8
- package/Utils/Monitor/ExternalStatusPageReading.mjs +3 -0
- package/Utils/Monitor/ExternalStatusPageScope.js +17 -1
- package/Utils/Monitor/MonitorDestinationUtil.js +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +10 -1
- package/Utils/Monitor/MonitorRootCauseWording.js +28 -24
- package/Utils/Monitor/MonitorStatusHistoryUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.js +1 -0
- package/Utils/Monitor/MonitorStepMetricQueries.js +2 -1
- package/Utils/Monitor/MonitorStepsValuesUtil.d.mts +13 -0
- package/Utils/Monitor/MonitorStepsValuesUtil.d.ts +13 -0
- package/Utils/Monitor/MonitorStepsValuesUtil.js +80 -0
- package/Utils/Monitor/MonitorStepsValuesUtil.mjs +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.d.mts +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.d.ts +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.js +13 -17
- package/Utils/Monitor/MonitorSummarySnapshotUtil.js +5 -3
- package/Utils/Monitor/MonitorUptimeSummaryUtil.d.mts +1 -1
- package/Utils/Monitor/MonitorUptimeSummaryUtil.d.ts +1 -1
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +1 -0
- package/Utils/Monitor/MonitoringOff.d.mts +20 -0
- package/Utils/Monitor/MonitoringOff.d.ts +20 -0
- package/Utils/Monitor/MonitoringOff.js +81 -0
- package/Utils/Monitor/MonitoringOff.mjs +4 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.js +9 -7
- package/Utils/Monitor/StateChangeLogScreenshots.d.mts +8 -0
- package/Utils/Monitor/StateChangeLogScreenshots.d.ts +8 -0
- package/Utils/Monitor/StateChangeLogScreenshots.js +116 -0
- package/Utils/Monitor/StateChangeLogScreenshots.mjs +3 -0
- package/Utils/NetworkDevice/Naming/NamingLookup.d.mts +1 -1
- package/Utils/NetworkDevice/Naming/NamingLookup.d.ts +1 -1
- package/Utils/NetworkDevice/Naming/NamingLookup.js +14 -4
- package/Utils/NetworkDevice/Naming/NamingLookup.mjs +1 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +2 -1
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +2 -1
- package/Utils/Slo/SloErrorBudgetPolicy.js +8 -2
- package/Utils/Slo/SloListWidgetFormat.d.mts +7 -1
- package/Utils/Slo/SloListWidgetFormat.d.ts +7 -1
- package/Utils/Slo/SloListWidgetFormat.js +20 -26
- package/Utils/Slo/SloOverviewText.d.mts +6 -1
- package/Utils/Slo/SloOverviewText.d.ts +6 -1
- package/Utils/Slo/SloOverviewText.js +3 -3
- package/Utils/Slo/SloProjection.d.mts +18 -0
- package/Utils/Slo/SloProjection.d.ts +18 -0
- package/Utils/Slo/SloProjection.js +53 -12
- package/Utils/Slo/SloProjection.mjs +2 -0
- package/Utils/Slo/SloUtil.d.mts +18 -9
- package/Utils/Slo/SloUtil.d.ts +18 -9
- package/Utils/Slo/SloUtil.js +47 -10
- package/Utils/Slo/SloWidgetFormat.d.mts +69 -11
- package/Utils/Slo/SloWidgetFormat.d.ts +69 -11
- package/Utils/Slo/SloWidgetFormat.js +198 -50
- package/Utils/Slo/SloWidgetFormat.mjs +7 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.mts +41 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.ts +41 -0
- package/Utils/StatusPage/FrozenMonitorResources.js +155 -0
- package/Utils/StatusPage/FrozenMonitorResources.mjs +4 -0
- package/Utils/StatusPage/GroupNestingLayout.d.mts +2 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +2 -0
- package/Utils/StatusPage/GroupNestingLayout.js +12 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.mts +48 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.ts +48 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.js +181 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.mjs +2 -0
- package/Utils/StatusPage/ResourceExplorer.d.mts +1 -10
- package/Utils/StatusPage/ResourceExplorer.d.ts +1 -10
- package/Utils/StatusPage/ResourceExplorer.js +11 -29
- package/Utils/StatusPage/ResourceUptime.d.mts +6 -1
- package/Utils/StatusPage/ResourceUptime.d.ts +6 -1
- package/Utils/StatusPage/ResourceUptime.js +31 -6
- package/Utils/StatusPage/StatusPageSummaryBuilder.d.mts +1 -0
- package/Utils/StatusPage/StatusPageSummaryBuilder.d.ts +1 -0
- package/Utils/StatusPage/StatusPageSummaryBuilder.js +12 -1
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +41 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +41 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.js +114 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.mjs +2 -0
- package/Utils/StatusPage/UptimeDailyAggregateUtil.d.mts +3 -1
- package/Utils/StatusPage/UptimeDailyAggregateUtil.d.ts +3 -1
- package/Utils/StatusPage/UptimeDailyAggregateUtil.js +69 -50
- package/Utils/Telemetry/CloudInstanceIdentity.js +12 -7
- package/Utils/Uptime/DayUptimeGraphUtil.d.mts +8 -0
- package/Utils/Uptime/DayUptimeGraphUtil.d.ts +8 -0
- package/Utils/Uptime/DayUptimeGraphUtil.js +41 -6
- package/Utils/Uptime/UptimeMaintenanceUtil.d.mts +3 -0
- package/Utils/Uptime/UptimeMaintenanceUtil.d.ts +3 -0
- package/Utils/Uptime/UptimeMaintenanceUtil.js +49 -0
- package/Utils/Uptime/UptimeUtil.d.mts +38 -1
- package/Utils/Uptime/UptimeUtil.d.ts +38 -1
- package/Utils/Uptime/UptimeUtil.js +270 -75
- package/Utils/Uptime/WorstStatusTimeline.d.mts +31 -0
- package/Utils/Uptime/WorstStatusTimeline.d.ts +31 -0
- package/Utils/Uptime/WorstStatusTimeline.js +190 -0
- package/Utils/Uptime/WorstStatusTimeline.mjs +2 -0
- package/Utils/Workspace/WorkspaceSummarySetup.d.mts +25 -0
- package/Utils/Workspace/WorkspaceSummarySetup.d.ts +25 -0
- package/Utils/Workspace/WorkspaceSummarySetup.js +215 -0
- package/Utils/Workspace/WorkspaceSummarySetup.mjs +11 -0
- package/package.json +1 -1
- package/Utils/StatusPage/ArchivedMonitorResources.d.mts +0 -10
- package/Utils/StatusPage/ArchivedMonitorResources.d.ts +0 -10
- package/Utils/StatusPage/ArchivedMonitorResources.js +0 -33
- package/Utils/StatusPage/ArchivedMonitorResources.mjs +0 -2
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import AuditLogAction from "./AuditLogAction";
|
|
2
|
+
import ObjectID from "../ObjectID";
|
|
3
|
+
import { SessionEndCause } from "../UserSession/SessionEndCause";
|
|
4
|
+
import { SessionSignIn } from "../UserSession/SessionSignIn";
|
|
5
|
+
export declare const AUDIT_LOG_SESSION_RESOURCE_TYPE: string;
|
|
6
|
+
export declare const AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE: string;
|
|
7
|
+
export declare const AUDIT_LOG_SESSION_UNKNOWN_DEVICE: string;
|
|
8
|
+
export type SessionAuditLogAction = AuditLogAction.SignIn | AuditLogAction.SignOut | AuditLogAction.SessionTimeout | AuditLogAction.SessionRevoked;
|
|
9
|
+
export declare const SESSION_AUDIT_LOG_ACTIONS: ReadonlyArray<SessionAuditLogAction>;
|
|
10
|
+
export declare const isSessionAuditLogAction: (action: unknown) => action is SessionAuditLogAction;
|
|
11
|
+
export declare const getSessionEndAuditLogAction: (cause: SessionEndCause) => SessionAuditLogAction;
|
|
12
|
+
export declare const SESSION_END_CAUSE_DESCRIPTIONS: Readonly<Record<SessionEndCause, string>>;
|
|
13
|
+
export declare enum AuditLogSessionField {
|
|
14
|
+
Reason = "reason",
|
|
15
|
+
SignInMethod = "signInMethod",
|
|
16
|
+
SsoProvider = "ssoProvider",
|
|
17
|
+
SecondFactor = "secondFactor",
|
|
18
|
+
Device = "device",
|
|
19
|
+
IpAddress = "ipAddress",
|
|
20
|
+
Location = "location",
|
|
21
|
+
SignedInAt = "signedInAt",
|
|
22
|
+
LastActiveAt = "lastActiveAt",
|
|
23
|
+
EndedAt = "endedAt"
|
|
24
|
+
}
|
|
25
|
+
export declare const AUDIT_LOG_SESSION_FIELDS: ReadonlyArray<AuditLogSessionField>;
|
|
26
|
+
export declare const AUDIT_LOG_SESSION_FIELD_LABELS: Readonly<Record<AuditLogSessionField, string>>;
|
|
27
|
+
export declare const AUDIT_LOG_SESSION_TIME_FIELDS: ReadonlyArray<AuditLogSessionField>;
|
|
28
|
+
export interface SessionAuditEvent {
|
|
29
|
+
action: SessionAuditLogAction;
|
|
30
|
+
userId: ObjectID;
|
|
31
|
+
sessionId: ObjectID;
|
|
32
|
+
signIn?: SessionSignIn | null | undefined;
|
|
33
|
+
device?: string | undefined;
|
|
34
|
+
ipAddress?: string | undefined;
|
|
35
|
+
location?: string | undefined;
|
|
36
|
+
signedInAt?: Date | undefined;
|
|
37
|
+
lastActiveAt?: Date | undefined;
|
|
38
|
+
endedAt?: Date | undefined;
|
|
39
|
+
endCause?: SessionEndCause | undefined;
|
|
40
|
+
}
|
|
41
|
+
export declare const readSessionEntryFields: (changes: unknown) => Map<AuditLogSessionField, string>;
|
|
42
|
+
export declare const getSessionEntrySummary: (data: {
|
|
43
|
+
action: string | undefined;
|
|
44
|
+
changes: unknown;
|
|
45
|
+
}) => string;
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getSessionEntrySummary = exports.readSessionEntryFields = exports.AUDIT_LOG_SESSION_TIME_FIELDS = exports.AUDIT_LOG_SESSION_FIELD_LABELS = exports.AUDIT_LOG_SESSION_FIELDS = exports.AuditLogSessionField = exports.SESSION_END_CAUSE_DESCRIPTIONS = exports.getSessionEndAuditLogAction = exports.isSessionAuditLogAction = exports.SESSION_AUDIT_LOG_ACTIONS = exports.AUDIT_LOG_SESSION_UNKNOWN_DEVICE = exports.AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE = exports.AUDIT_LOG_SESSION_RESOURCE_TYPE = void 0;
|
|
7
|
+
const AuditLogAction_1 = __importDefault(require("./AuditLogAction"));
|
|
8
|
+
const SessionEndCause_1 = require("../UserSession/SessionEndCause");
|
|
9
|
+
const SessionLength_1 = require("../UserSession/SessionLength");
|
|
10
|
+
/*
|
|
11
|
+
* PEOPLE'S SESSIONS IN THE AUDIT LOG (issue #6762).
|
|
12
|
+
*
|
|
13
|
+
* The audit log records who changed what - and, as compliance reviews ask
|
|
14
|
+
* of it too, who signed in, how and from where, and how each session ended:
|
|
15
|
+
*
|
|
16
|
+
* - Sign In: a session started, by any way into OneUptime - a password or
|
|
17
|
+
* a sign-in link with the account's second factor, a passkey, Google,
|
|
18
|
+
* Microsoft, Vercel, or a SAML or OpenID Connect provider.
|
|
19
|
+
* - Sign Out: its person signed out.
|
|
20
|
+
* - Session Timeout: OneUptime ended it on time - the server's idle
|
|
21
|
+
* timeout or session length, or 30 days without use.
|
|
22
|
+
* - Session Revoked: OneUptime ended it because something changed - the
|
|
23
|
+
* password, a blocked account, two factor authentication reset or
|
|
24
|
+
* required by a server admin.
|
|
25
|
+
*
|
|
26
|
+
* WHERE: in every project the person is a member of (they accepted an
|
|
27
|
+
* invitation to one of its teams) that records audit logs. A sign-in is to
|
|
28
|
+
* OneUptime, and so to each of their projects at once. Recorded whether or
|
|
29
|
+
* not the project stores system events, like everything a person does: a
|
|
30
|
+
* session is theirs, whoever or whatever ended it.
|
|
31
|
+
*
|
|
32
|
+
* WHAT AN ENTRY SAYS:
|
|
33
|
+
*
|
|
34
|
+
* - its resource is the session itself: a User Session, by the session's
|
|
35
|
+
* id - so a session's sign-in and its end share an id - named by the
|
|
36
|
+
* device it signed in from ("Chrome 130 on macOS"), and rolling up to
|
|
37
|
+
* its person (User, by their id);
|
|
38
|
+
* - its actor is the person whose session it is, so filtering the audit
|
|
39
|
+
* log by their email shows every sign-in and session end of theirs;
|
|
40
|
+
* - its fields (`changes`) say how and from where it signed in, and why
|
|
41
|
+
* and when it ended (AuditLogSessionField).
|
|
42
|
+
*
|
|
43
|
+
* Nothing a client wrote reaches an entry, and nothing secret: the device is
|
|
44
|
+
* described only in words OneUptime spells out (UserAgentDevice), as the
|
|
45
|
+
* security emails describe it, and an entry never carries a token or the
|
|
46
|
+
* raw User-Agent. A project's own SSO provider is named only in that
|
|
47
|
+
* project's audit log (SessionSignIn.ssoProjectId).
|
|
48
|
+
*/
|
|
49
|
+
// The resource of every session entry: the session (UserSession's singular name).
|
|
50
|
+
exports.AUDIT_LOG_SESSION_RESOURCE_TYPE = "User Session";
|
|
51
|
+
// What every session entry rolls up to: the person whose session it is.
|
|
52
|
+
exports.AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE = "User";
|
|
53
|
+
// What a session entry is named when the device it signed in from is unknown.
|
|
54
|
+
exports.AUDIT_LOG_SESSION_UNKNOWN_DEVICE = "Unknown device";
|
|
55
|
+
exports.SESSION_AUDIT_LOG_ACTIONS = [
|
|
56
|
+
AuditLogAction_1.default.SignIn,
|
|
57
|
+
AuditLogAction_1.default.SignOut,
|
|
58
|
+
AuditLogAction_1.default.SessionTimeout,
|
|
59
|
+
AuditLogAction_1.default.SessionRevoked,
|
|
60
|
+
];
|
|
61
|
+
const isSessionAuditLogAction = (action) => {
|
|
62
|
+
return (typeof action === "string" &&
|
|
63
|
+
exports.SESSION_AUDIT_LOG_ACTIONS.includes(action));
|
|
64
|
+
};
|
|
65
|
+
exports.isSessionAuditLogAction = isSessionAuditLogAction;
|
|
66
|
+
// The action a session's end is recorded as.
|
|
67
|
+
const getSessionEndAuditLogAction = (cause) => {
|
|
68
|
+
switch (cause) {
|
|
69
|
+
case SessionEndCause_1.SessionEndCause.SignedOut:
|
|
70
|
+
return AuditLogAction_1.default.SignOut;
|
|
71
|
+
case SessionEndCause_1.SessionEndCause.IdleTimeout:
|
|
72
|
+
case SessionEndCause_1.SessionEndCause.LengthReached:
|
|
73
|
+
case SessionEndCause_1.SessionEndCause.Expired:
|
|
74
|
+
return AuditLogAction_1.default.SessionTimeout;
|
|
75
|
+
default:
|
|
76
|
+
return AuditLogAction_1.default.SessionRevoked;
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
exports.getSessionEndAuditLogAction = getSessionEndAuditLogAction;
|
|
80
|
+
// What an entry says of why a session ended.
|
|
81
|
+
exports.SESSION_END_CAUSE_DESCRIPTIONS = {
|
|
82
|
+
[SessionEndCause_1.SessionEndCause.SignedOut]: "Signed out",
|
|
83
|
+
[SessionEndCause_1.SessionEndCause.IdleTimeout]: "Idle timeout reached",
|
|
84
|
+
[SessionEndCause_1.SessionEndCause.LengthReached]: "Session length reached",
|
|
85
|
+
[SessionEndCause_1.SessionEndCause.Expired]: `Not used for ${SessionLength_1.DEFAULT_SESSION_IDLE_DAYS} days`,
|
|
86
|
+
[SessionEndCause_1.SessionEndCause.PasswordChanged]: "Password changed",
|
|
87
|
+
[SessionEndCause_1.SessionEndCause.PasswordReset]: "Password reset",
|
|
88
|
+
[SessionEndCause_1.SessionEndCause.AccountBlocked]: "Account blocked by a server admin",
|
|
89
|
+
[SessionEndCause_1.SessionEndCause.TwoFactorRequired]: "Two-factor authentication required by a server admin",
|
|
90
|
+
[SessionEndCause_1.SessionEndCause.TwoFactorReset]: "Two-factor authentication reset by a server admin",
|
|
91
|
+
[SessionEndCause_1.SessionEndCause.Other]: "Session ended",
|
|
92
|
+
};
|
|
93
|
+
/*
|
|
94
|
+
* The fields of a session entry, as its `changes` carry them: each one a
|
|
95
|
+
* { field, newValue } with a text or an ISO 8601 time, in this order, and
|
|
96
|
+
* only when it is known.
|
|
97
|
+
*/
|
|
98
|
+
var AuditLogSessionField;
|
|
99
|
+
(function (AuditLogSessionField) {
|
|
100
|
+
// Why it ended: SESSION_END_CAUSE_DESCRIPTIONS. Not on a sign-in.
|
|
101
|
+
AuditLogSessionField["Reason"] = "reason";
|
|
102
|
+
AuditLogSessionField["SignInMethod"] = "signInMethod";
|
|
103
|
+
// The single sign-on provider's name.
|
|
104
|
+
AuditLogSessionField["SsoProvider"] = "ssoProvider";
|
|
105
|
+
AuditLogSessionField["SecondFactor"] = "secondFactor";
|
|
106
|
+
// The device it signed in from: "Chrome 130 on macOS".
|
|
107
|
+
AuditLogSessionField["Device"] = "device";
|
|
108
|
+
/*
|
|
109
|
+
* The address of the request the entry is about - the sign-in's, the
|
|
110
|
+
* sign-out's - or, for a session OneUptime ended, the last one that
|
|
111
|
+
* session was used from.
|
|
112
|
+
*/
|
|
113
|
+
AuditLogSessionField["IpAddress"] = "ipAddress";
|
|
114
|
+
// Where it signed in from, when the operator names the CDN headers that say it.
|
|
115
|
+
AuditLogSessionField["Location"] = "location";
|
|
116
|
+
// When it signed in. Not on a sign-in: the entry's own time says it.
|
|
117
|
+
AuditLogSessionField["SignedInAt"] = "signedInAt";
|
|
118
|
+
// When its person last used it, as OneUptime knew.
|
|
119
|
+
AuditLogSessionField["LastActiveAt"] = "lastActiveAt";
|
|
120
|
+
/*
|
|
121
|
+
* When it timed out: the moment its idle timeout, session length or
|
|
122
|
+
* refresh token ran out, which can be before the moment OneUptime
|
|
123
|
+
* noticed and recorded it.
|
|
124
|
+
*/
|
|
125
|
+
AuditLogSessionField["EndedAt"] = "endedAt";
|
|
126
|
+
})(AuditLogSessionField || (exports.AuditLogSessionField = AuditLogSessionField = {}));
|
|
127
|
+
exports.AUDIT_LOG_SESSION_FIELDS = [
|
|
128
|
+
AuditLogSessionField.Reason,
|
|
129
|
+
AuditLogSessionField.SignInMethod,
|
|
130
|
+
AuditLogSessionField.SsoProvider,
|
|
131
|
+
AuditLogSessionField.SecondFactor,
|
|
132
|
+
AuditLogSessionField.Device,
|
|
133
|
+
AuditLogSessionField.IpAddress,
|
|
134
|
+
AuditLogSessionField.Location,
|
|
135
|
+
AuditLogSessionField.SignedInAt,
|
|
136
|
+
AuditLogSessionField.LastActiveAt,
|
|
137
|
+
AuditLogSessionField.EndedAt,
|
|
138
|
+
];
|
|
139
|
+
exports.AUDIT_LOG_SESSION_FIELD_LABELS = {
|
|
140
|
+
[AuditLogSessionField.Reason]: "Reason",
|
|
141
|
+
[AuditLogSessionField.SignInMethod]: "Signed in with",
|
|
142
|
+
[AuditLogSessionField.SsoProvider]: "SSO provider",
|
|
143
|
+
[AuditLogSessionField.SecondFactor]: "Second factor",
|
|
144
|
+
[AuditLogSessionField.Device]: "Device",
|
|
145
|
+
[AuditLogSessionField.IpAddress]: "IP address",
|
|
146
|
+
[AuditLogSessionField.Location]: "Location",
|
|
147
|
+
[AuditLogSessionField.SignedInAt]: "Signed in at",
|
|
148
|
+
[AuditLogSessionField.LastActiveAt]: "Last active at",
|
|
149
|
+
[AuditLogSessionField.EndedAt]: "Timed out at",
|
|
150
|
+
};
|
|
151
|
+
// The fields whose values are times, which a reader shows in its own zone.
|
|
152
|
+
exports.AUDIT_LOG_SESSION_TIME_FIELDS = [
|
|
153
|
+
AuditLogSessionField.SignedInAt,
|
|
154
|
+
AuditLogSessionField.LastActiveAt,
|
|
155
|
+
AuditLogSessionField.EndedAt,
|
|
156
|
+
];
|
|
157
|
+
/*
|
|
158
|
+
* The text fields of a session entry, by field, as its `changes` hold them:
|
|
159
|
+
* a change of a field this file names, with a text value. Anything else an
|
|
160
|
+
* entry holds is left out.
|
|
161
|
+
*/
|
|
162
|
+
const readSessionEntryFields = (changes) => {
|
|
163
|
+
const fields = new Map();
|
|
164
|
+
if (!Array.isArray(changes)) {
|
|
165
|
+
return fields;
|
|
166
|
+
}
|
|
167
|
+
for (const change of changes) {
|
|
168
|
+
if (!change || typeof change !== "object" || Array.isArray(change)) {
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
const field = change["field"];
|
|
172
|
+
const value = change["newValue"];
|
|
173
|
+
if (typeof field !== "string" ||
|
|
174
|
+
!exports.AUDIT_LOG_SESSION_FIELDS.includes(field) ||
|
|
175
|
+
typeof value !== "string" ||
|
|
176
|
+
value.trim().length === 0) {
|
|
177
|
+
continue;
|
|
178
|
+
}
|
|
179
|
+
fields.set(field, value);
|
|
180
|
+
}
|
|
181
|
+
return fields;
|
|
182
|
+
};
|
|
183
|
+
exports.readSessionEntryFields = readSessionEntryFields;
|
|
184
|
+
/*
|
|
185
|
+
* A session entry in a few words, for the audit log's table: how it signed
|
|
186
|
+
* in ("Password + Authenticator app", "SAML single sign-on · Okta"), or why
|
|
187
|
+
* it ended ("Idle timeout reached").
|
|
188
|
+
*/
|
|
189
|
+
const getSessionEntrySummary = (data) => {
|
|
190
|
+
const fields = (0, exports.readSessionEntryFields)(data.changes);
|
|
191
|
+
if (data.action === AuditLogAction_1.default.SignIn) {
|
|
192
|
+
const method = fields.get(AuditLogSessionField.SignInMethod);
|
|
193
|
+
if (!method) {
|
|
194
|
+
return "Signed in";
|
|
195
|
+
}
|
|
196
|
+
const secondFactor = fields.get(AuditLogSessionField.SecondFactor);
|
|
197
|
+
const provider = fields.get(AuditLogSessionField.SsoProvider);
|
|
198
|
+
let summary = method;
|
|
199
|
+
if (secondFactor) {
|
|
200
|
+
summary = `${summary} + ${secondFactor}`;
|
|
201
|
+
}
|
|
202
|
+
if (provider) {
|
|
203
|
+
summary = `${summary} · ${provider}`;
|
|
204
|
+
}
|
|
205
|
+
return summary;
|
|
206
|
+
}
|
|
207
|
+
return (fields.get(AuditLogSessionField.Reason) ||
|
|
208
|
+
exports.SESSION_END_CAUSE_DESCRIPTIONS[SessionEndCause_1.SessionEndCause.Other]);
|
|
209
|
+
};
|
|
210
|
+
exports.getSessionEntrySummary = getSessionEntrySummary;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import commonJsModule from "./AuditLogSessionEvent.js";
|
|
2
|
+
export const AUDIT_LOG_SESSION_FIELDS = commonJsModule.AUDIT_LOG_SESSION_FIELDS;
|
|
3
|
+
export const AUDIT_LOG_SESSION_FIELD_LABELS = commonJsModule.AUDIT_LOG_SESSION_FIELD_LABELS;
|
|
4
|
+
export const AUDIT_LOG_SESSION_RESOURCE_TYPE = commonJsModule.AUDIT_LOG_SESSION_RESOURCE_TYPE;
|
|
5
|
+
export const AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE = commonJsModule.AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE;
|
|
6
|
+
export const AUDIT_LOG_SESSION_TIME_FIELDS = commonJsModule.AUDIT_LOG_SESSION_TIME_FIELDS;
|
|
7
|
+
export const AUDIT_LOG_SESSION_UNKNOWN_DEVICE = commonJsModule.AUDIT_LOG_SESSION_UNKNOWN_DEVICE;
|
|
8
|
+
export const AuditLogSessionField = commonJsModule.AuditLogSessionField;
|
|
9
|
+
export const SESSION_AUDIT_LOG_ACTIONS = commonJsModule.SESSION_AUDIT_LOG_ACTIONS;
|
|
10
|
+
export const SESSION_END_CAUSE_DESCRIPTIONS = commonJsModule.SESSION_END_CAUSE_DESCRIPTIONS;
|
|
11
|
+
export const getSessionEndAuditLogAction = commonJsModule.getSessionEndAuditLogAction;
|
|
12
|
+
export const getSessionEntrySummary = commonJsModule.getSessionEntrySummary;
|
|
13
|
+
export const isSessionAuditLogAction = commonJsModule.isSessionAuditLogAction;
|
|
14
|
+
export const readSessionEntryFields = commonJsModule.readSessionEntryFields;
|
|
@@ -36,6 +36,10 @@ export declare enum RemediationRoundTryAgainRefusal {
|
|
|
36
36
|
NoProvider = "NoProvider",
|
|
37
37
|
CreditsUsedUp = "CreditsUsedUp",
|
|
38
38
|
LimitReached = "LimitReached",
|
|
39
|
+
IncidentTokenLimitPaused = "IncidentTokenLimitPaused",
|
|
40
|
+
IncidentTokenLimitUsedUp = "IncidentTokenLimitUsedUp",
|
|
41
|
+
AlertTokenLimitPaused = "AlertTokenLimitPaused",
|
|
42
|
+
AlertTokenLimitUsedUp = "AlertTokenLimitUsedUp",
|
|
39
43
|
NotStarted = "NotStarted"
|
|
40
44
|
}
|
|
41
45
|
export declare const REMEDIATION_ROUND_TRY_AGAIN_REFUSALS: Readonly<Record<RemediationRoundTryAgainRefusal, string>>;
|
|
@@ -36,6 +36,10 @@ export declare enum RemediationRoundTryAgainRefusal {
|
|
|
36
36
|
NoProvider = "NoProvider",
|
|
37
37
|
CreditsUsedUp = "CreditsUsedUp",
|
|
38
38
|
LimitReached = "LimitReached",
|
|
39
|
+
IncidentTokenLimitPaused = "IncidentTokenLimitPaused",
|
|
40
|
+
IncidentTokenLimitUsedUp = "IncidentTokenLimitUsedUp",
|
|
41
|
+
AlertTokenLimitPaused = "AlertTokenLimitPaused",
|
|
42
|
+
AlertTokenLimitUsedUp = "AlertTokenLimitUsedUp",
|
|
39
43
|
NotStarted = "NotStarted"
|
|
40
44
|
}
|
|
41
45
|
export declare const REMEDIATION_ROUND_TRY_AGAIN_REFUSALS: Readonly<Record<RemediationRoundTryAgainRefusal, string>>;
|
|
@@ -30,7 +30,10 @@
|
|
|
30
30
|
*
|
|
31
31
|
* Shared by the server (the routes, the runners' tool) and the Dashboard
|
|
32
32
|
* (the step, and the refusals in the reader's language), so both read the
|
|
33
|
-
* same shapes and say the same sentences. Dependency-free
|
|
33
|
+
* same shapes and say the same sentences. Dependency-free, but for the
|
|
34
|
+
* words of an incident's or alert's daily AI token limit, which every
|
|
35
|
+
* message about it shares (Types/AI/RecordAiTokenLimit, itself
|
|
36
|
+
* dependency-free).
|
|
34
37
|
*/
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.MAX_ROUND_CHECK_ERROR_LENGTH = exports.MAX_ROUND_CHECK_WHY_LENGTH = exports.MAX_ROUND_CHECKS = exports.REMEDIATION_ROUND_TRY_AGAIN_NOT_ALLOWED = exports.REMEDIATION_ROUND_TRY_AGAIN_REFUSALS = exports.RemediationRoundTryAgainRefusal = exports.MAX_ROUND_COMMAND_LENGTH = exports.MAX_RULED_OUT_FIX_COMMANDS = exports.MAX_RULED_OUT_WHY_NOT_LENGTH = exports.MAX_RULED_OUT_FIX_LENGTH = exports.MAX_RULED_OUT_FIXES = exports.MAX_EXPLANATION_REASON_LENGTH = exports.EXPLAIN_NO_FIX_TOOL_NAME = exports.REMEDIATION_ROUND_TRY_AGAIN_PATH = exports.REMEDIATION_ROUND_PATH = void 0;
|
|
@@ -40,6 +43,7 @@ exports.hasRemediationRoundAppliedSteps = hasRemediationRoundAppliedSteps;
|
|
|
40
43
|
exports.getRemediationRoundTryAgainRefusal = getRemediationRoundTryAgainRefusal;
|
|
41
44
|
exports.parseRemediationRoundChecks = parseRemediationRoundChecks;
|
|
42
45
|
exports.parseRemediationRoundAppliedSteps = parseRemediationRoundAppliedSteps;
|
|
46
|
+
const RecordAiTokenLimit_1 = require("../AI/RecordAiTokenLimit");
|
|
43
47
|
exports.REMEDIATION_ROUND_PATH = "/auto-remediation/round";
|
|
44
48
|
exports.REMEDIATION_ROUND_TRY_AGAIN_PATH = "/auto-remediation/round-try-again";
|
|
45
49
|
/*
|
|
@@ -152,7 +156,16 @@ var RemediationRoundTryAgainRefusal;
|
|
|
152
156
|
RemediationRoundTryAgainRefusal["AiOff"] = "AiOff";
|
|
153
157
|
RemediationRoundTryAgainRefusal["NoProvider"] = "NoProvider";
|
|
154
158
|
RemediationRoundTryAgainRefusal["CreditsUsedUp"] = "CreditsUsedUp";
|
|
159
|
+
// The project's own daily AI limits (Project Settings → AI → AI Features).
|
|
155
160
|
RemediationRoundTryAgainRefusal["LimitReached"] = "LimitReached";
|
|
161
|
+
/*
|
|
162
|
+
* The incident's (alert's) own daily AI token limit (#7157): set to 0,
|
|
163
|
+
* which pauses the work until it is raised, or used up until midnight UTC.
|
|
164
|
+
*/
|
|
165
|
+
RemediationRoundTryAgainRefusal["IncidentTokenLimitPaused"] = "IncidentTokenLimitPaused";
|
|
166
|
+
RemediationRoundTryAgainRefusal["IncidentTokenLimitUsedUp"] = "IncidentTokenLimitUsedUp";
|
|
167
|
+
RemediationRoundTryAgainRefusal["AlertTokenLimitPaused"] = "AlertTokenLimitPaused";
|
|
168
|
+
RemediationRoundTryAgainRefusal["AlertTokenLimitUsedUp"] = "AlertTokenLimitUsedUp";
|
|
156
169
|
// The queue did not take it, for no reason it could name.
|
|
157
170
|
RemediationRoundTryAgainRefusal["NotStarted"] = "NotStarted";
|
|
158
171
|
})(RemediationRoundTryAgainRefusal || (exports.RemediationRoundTryAgainRefusal = RemediationRoundTryAgainRefusal = {}));
|
|
@@ -165,9 +178,13 @@ exports.REMEDIATION_ROUND_TRY_AGAIN_REFUSALS = {
|
|
|
165
178
|
[RemediationRoundTryAgainRefusal.AlertResolved]: "This alert is resolved, so OneUptime AI does not try to fix it.",
|
|
166
179
|
[RemediationRoundTryAgainRefusal.AlreadyStarted]: "Someone has just started this fix again.",
|
|
167
180
|
[RemediationRoundTryAgainRefusal.AiOff]: "OneUptime AI is switched off for this project. A project owner or someone with Manage Billing can turn it on in Project Settings > AI > AI Features.",
|
|
168
|
-
[RemediationRoundTryAgainRefusal.NoProvider]: "This project has no
|
|
181
|
+
[RemediationRoundTryAgainRefusal.NoProvider]: "This project has no LLM provider to work out a fix with. Add one in Project Settings > AI > LLM Providers, then try again.",
|
|
169
182
|
[RemediationRoundTryAgainRefusal.CreditsUsedUp]: "This project's AI credits are used up. A project owner or someone with Manage Billing can add AI credits in Project Settings > AI > AI Credits.",
|
|
170
183
|
[RemediationRoundTryAgainRefusal.LimitReached]: "The project reached its daily AI limit. OneUptime AI starts again at midnight UTC.",
|
|
184
|
+
[RemediationRoundTryAgainRefusal.IncidentTokenLimitPaused]: (0, RecordAiTokenLimit_1.getRecordAiTokenLimitMessage)("incident", { limitInTokens: 0 }),
|
|
185
|
+
[RemediationRoundTryAgainRefusal.IncidentTokenLimitUsedUp]: (0, RecordAiTokenLimit_1.getRecordAiTokenLimitMessage)("incident"),
|
|
186
|
+
[RemediationRoundTryAgainRefusal.AlertTokenLimitPaused]: (0, RecordAiTokenLimit_1.getRecordAiTokenLimitMessage)("alert", { limitInTokens: 0 }),
|
|
187
|
+
[RemediationRoundTryAgainRefusal.AlertTokenLimitUsedUp]: (0, RecordAiTokenLimit_1.getRecordAiTokenLimitMessage)("alert"),
|
|
171
188
|
[RemediationRoundTryAgainRefusal.NotStarted]: "The fix could not start again. Try again in a few minutes.",
|
|
172
189
|
};
|
|
173
190
|
function getRemediationRoundTryAgainRefusal(refusal) {
|
|
@@ -13,6 +13,7 @@ export interface ParsedRoundName {
|
|
|
13
13
|
name: string;
|
|
14
14
|
round: number;
|
|
15
15
|
}
|
|
16
|
+
export declare function parseClusterRoundName(name: unknown): ParsedRoundName | null;
|
|
16
17
|
export declare function parseResourceRoundName(name: unknown, resourceType: AiResourceType | string | null | undefined): ParsedRoundName | null;
|
|
17
18
|
export declare const REMEDIATION_ROUND_SENTENCES: {
|
|
18
19
|
cluster: string;
|
|
@@ -13,6 +13,7 @@ export interface ParsedRoundName {
|
|
|
13
13
|
name: string;
|
|
14
14
|
round: number;
|
|
15
15
|
}
|
|
16
|
+
export declare function parseClusterRoundName(name: unknown): ParsedRoundName | null;
|
|
16
17
|
export declare function parseResourceRoundName(name: unknown, resourceType: AiResourceType | string | null | undefined): ParsedRoundName | null;
|
|
17
18
|
export declare const REMEDIATION_ROUND_SENTENCES: {
|
|
18
19
|
cluster: string;
|
|
@@ -9,6 +9,7 @@ exports.getClusterRoundNameSnapshot = getClusterRoundNameSnapshot;
|
|
|
9
9
|
exports.parseClusterRoundNameSnapshot = parseClusterRoundNameSnapshot;
|
|
10
10
|
exports.getResourceRoundNameSnapshot = getResourceRoundNameSnapshot;
|
|
11
11
|
exports.parseResourceRoundNumber = parseResourceRoundNumber;
|
|
12
|
+
exports.parseClusterRoundName = parseClusterRoundName;
|
|
12
13
|
exports.parseResourceRoundName = parseResourceRoundName;
|
|
13
14
|
exports.describeRemediationRoundName = describeRemediationRoundName;
|
|
14
15
|
const AiResourceType_1 = __importDefault(require("../ResourceAiAgent/AiResourceType"));
|
|
@@ -107,6 +108,10 @@ function toRound(text) {
|
|
|
107
108
|
const round = text ? parseInt(text, 10) : 1;
|
|
108
109
|
return Number.isFinite(round) && round > 1 ? round : 1;
|
|
109
110
|
}
|
|
111
|
+
/*
|
|
112
|
+
* A cluster round's name read back: the cluster's name and which round,
|
|
113
|
+
* or null when the name is not a cluster round's.
|
|
114
|
+
*/
|
|
110
115
|
function parseClusterRoundName(name) {
|
|
111
116
|
if (typeof name !== "string") {
|
|
112
117
|
return null;
|
|
@@ -6,6 +6,7 @@ export const describeRemediationRoundName = commonJsModule.describeRemediationRo
|
|
|
6
6
|
export const getClusterRoundNameSnapshot = commonJsModule.getClusterRoundNameSnapshot;
|
|
7
7
|
export const getRemediationRoundResourceNoun = commonJsModule.getRemediationRoundResourceNoun;
|
|
8
8
|
export const getResourceRoundNameSnapshot = commonJsModule.getResourceRoundNameSnapshot;
|
|
9
|
+
export const parseClusterRoundName = commonJsModule.parseClusterRoundName;
|
|
9
10
|
export const parseClusterRoundNameSnapshot = commonJsModule.parseClusterRoundNameSnapshot;
|
|
10
11
|
export const parseResourceRoundName = commonJsModule.parseResourceRoundName;
|
|
11
12
|
export const parseResourceRoundNumber = commonJsModule.parseResourceRoundNumber;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare enum CloudAppTelemetrySignal {
|
|
2
|
+
Traces = "traces",
|
|
3
|
+
Logs = "logs",
|
|
4
|
+
Metrics = "metrics",
|
|
5
|
+
Profiles = "profiles"
|
|
6
|
+
}
|
|
7
|
+
export type CloudAppSignalColumn = "tracesLastReceivedAt" | "logsLastReceivedAt" | "metricsLastReceivedAt";
|
|
8
|
+
export declare const CLOUD_APP_SIGNAL_COLUMNS: Readonly<Partial<Record<CloudAppTelemetrySignal, CloudAppSignalColumn>>>;
|
|
9
|
+
export declare function getCloudAppSignalColumn(signal: CloudAppTelemetrySignal | null | undefined): CloudAppSignalColumn | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare enum CloudAppTelemetrySignal {
|
|
2
|
+
Traces = "traces",
|
|
3
|
+
Logs = "logs",
|
|
4
|
+
Metrics = "metrics",
|
|
5
|
+
Profiles = "profiles"
|
|
6
|
+
}
|
|
7
|
+
export type CloudAppSignalColumn = "tracesLastReceivedAt" | "logsLastReceivedAt" | "metricsLastReceivedAt";
|
|
8
|
+
export declare const CLOUD_APP_SIGNAL_COLUMNS: Readonly<Partial<Record<CloudAppTelemetrySignal, CloudAppSignalColumn>>>;
|
|
9
|
+
export declare function getCloudAppSignalColumn(signal: CloudAppTelemetrySignal | null | undefined): CloudAppSignalColumn | null;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THE KINDS OF TELEMETRY AN APP PLATFORMS APP SENDS.
|
|
4
|
+
*
|
|
5
|
+
* An App Platforms app (CloudApp) is made from whatever telemetry its
|
|
6
|
+
* instances send - traces, logs, metrics or profiles - and its page draws
|
|
7
|
+
* different numbers from each: requests, error rate and latency from its
|
|
8
|
+
* traces, its instances' CPU and memory from their metrics. So the ingest of
|
|
9
|
+
* each kind marks when it last received that kind for the app, one column
|
|
10
|
+
* each (CLOUD_APP_SIGNAL_COLUMNS, named as a RUM application's are:
|
|
11
|
+
* RumTelemetrySignal), and the page can say "No traces received" where it
|
|
12
|
+
* would otherwise show a zero it never measured (issue #6770: an App Service
|
|
13
|
+
* app that sent only metrics read "Running", "0 requests", "0 instances",
|
|
14
|
+
* with nothing to say why).
|
|
15
|
+
*
|
|
16
|
+
* Shared by the ingest (OtelIngestBaseService, CloudAppService) and the
|
|
17
|
+
* dashboard (CloudAppTelemetrySetup), so the two name the kinds alike.
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.CLOUD_APP_SIGNAL_COLUMNS = exports.CloudAppTelemetrySignal = void 0;
|
|
21
|
+
exports.getCloudAppSignalColumn = getCloudAppSignalColumn;
|
|
22
|
+
var CloudAppTelemetrySignal;
|
|
23
|
+
(function (CloudAppTelemetrySignal) {
|
|
24
|
+
CloudAppTelemetrySignal["Traces"] = "traces";
|
|
25
|
+
CloudAppTelemetrySignal["Logs"] = "logs";
|
|
26
|
+
CloudAppTelemetrySignal["Metrics"] = "metrics";
|
|
27
|
+
// Profiles keep the app seen, and have no column of their own on it.
|
|
28
|
+
CloudAppTelemetrySignal["Profiles"] = "profiles";
|
|
29
|
+
})(CloudAppTelemetrySignal || (exports.CloudAppTelemetrySignal = CloudAppTelemetrySignal = {}));
|
|
30
|
+
// The CloudApp column each kind is marked on. Profiles mark none.
|
|
31
|
+
exports.CLOUD_APP_SIGNAL_COLUMNS = {
|
|
32
|
+
[CloudAppTelemetrySignal.Traces]: "tracesLastReceivedAt",
|
|
33
|
+
[CloudAppTelemetrySignal.Logs]: "logsLastReceivedAt",
|
|
34
|
+
[CloudAppTelemetrySignal.Metrics]: "metricsLastReceivedAt",
|
|
35
|
+
};
|
|
36
|
+
function getCloudAppSignalColumn(signal) {
|
|
37
|
+
if (!signal) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return exports.CLOUD_APP_SIGNAL_COLUMNS[signal] || null;
|
|
41
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import commonJsModule from "./CloudAppTelemetrySignal.js";
|
|
2
|
+
export const CLOUD_APP_SIGNAL_COLUMNS = commonJsModule.CLOUD_APP_SIGNAL_COLUMNS;
|
|
3
|
+
export const CloudAppTelemetrySignal = commonJsModule.CloudAppTelemetrySignal;
|
|
4
|
+
export const getCloudAppSignalColumn = commonJsModule.getCloudAppSignalColumn;
|
|
@@ -193,8 +193,14 @@ exports.MANAGED_CLOUD_PLATFORMS = [
|
|
|
193
193
|
productName: "Azure App Service",
|
|
194
194
|
description: (0, Translator_1.translationKey)("Web apps on Azure App Service."),
|
|
195
195
|
docsUrl: "/docs/telemetry/cloud-other-platforms",
|
|
196
|
+
/*
|
|
197
|
+
* The Collector's and the Go SDK's `azureappservice` detectors put
|
|
198
|
+
* WEBSITE_INSTANCE_ID in azure.app_service.instance.id; the Node.js
|
|
199
|
+
* and .NET Azure detectors put it in service.instance.id. Either
|
|
200
|
+
* names the same instance.
|
|
201
|
+
*/
|
|
196
202
|
detection: "detector",
|
|
197
|
-
instanceAttribute: "
|
|
203
|
+
instanceAttribute: "azure.app_service.instance.id",
|
|
198
204
|
// The App Service detector names the site and its deployment slot.
|
|
199
205
|
appAttributes: [SERVICE_NAME_ATTRIBUTE],
|
|
200
206
|
appGroupAttributes: DEPLOYMENT_ENVIRONMENT_ATTRIBUTES,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const LEFT_TO_RIGHT_ISOLATE: string;
|
|
2
|
+
export interface CodeInSentence {
|
|
3
|
+
start: number;
|
|
4
|
+
end: number;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const getCodeInSentence: (sentence: string) => Array<CodeInSentence>;
|
|
8
|
+
export declare const setCodeApartInSentence: (sentence: string, language: string | null | undefined) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const LEFT_TO_RIGHT_ISOLATE: string;
|
|
2
|
+
export interface CodeInSentence {
|
|
3
|
+
start: number;
|
|
4
|
+
end: number;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const getCodeInSentence: (sentence: string) => Array<CodeInSentence>;
|
|
8
|
+
export declare const setCodeApartInSentence: (sentence: string, language: string | null | undefined) => string;
|