@oneuptime/common 15.0.0 → 17.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/AnalyticsModels/RumProductAnalyticsEvent.js +15 -6
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +27 -10
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +16 -4
- package/Models/AnalyticsModels/RumSession.js +12 -0
- package/Models/DatabaseModels/AIAgent.js +2 -0
- 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/AlertSeverity.js +12 -3
- package/Models/DatabaseModels/CustomNotificationChannel.js +17 -9
- package/Models/DatabaseModels/DataAsset.d.mts +1 -0
- package/Models/DatabaseModels/DataAsset.d.ts +1 -0
- package/Models/DatabaseModels/DataAsset.js +23 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +2 -1
- package/Models/DatabaseModels/DataBiConnection.d.ts +2 -1
- package/Models/DatabaseModels/DataBiConnection.js +15 -0
- package/Models/DatabaseModels/DataCheck.d.mts +3 -0
- package/Models/DatabaseModels/DataCheck.d.ts +3 -0
- package/Models/DatabaseModels/DataCheck.js +49 -0
- package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
- package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
- package/Models/DatabaseModels/DataDashboard.js +15 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +1 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +1 -0
- package/Models/DatabaseModels/DataPipeline.js +25 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/DataProduct.js +3 -2
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +23 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.js +21 -0
- package/Models/DatabaseModels/EmailLog.d.mts +1 -0
- package/Models/DatabaseModels/EmailLog.d.ts +1 -0
- package/Models/DatabaseModels/EmailLog.js +35 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +129 -1
- package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
- package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
- package/Models/DatabaseModels/GlobalOidc.js +29 -0
- package/Models/DatabaseModels/IncidentSeverity.js +12 -3
- package/Models/DatabaseModels/Index.js +6 -0
- package/Models/DatabaseModels/IoTDeviceCredential.js +3 -1
- package/Models/DatabaseModels/Monitor.d.mts +4 -0
- package/Models/DatabaseModels/Monitor.d.ts +4 -0
- package/Models/DatabaseModels/Monitor.js +126 -5
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +92 -17
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +38 -15
- package/Models/DatabaseModels/NetworkSnmpCredentialProfile.js +4 -4
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
- package/Models/DatabaseModels/OpenStackProjectNotice.js +29 -10
- package/Models/DatabaseModels/Probe.d.mts +4 -0
- package/Models/DatabaseModels/Probe.d.ts +4 -0
- package/Models/DatabaseModels/Probe.js +102 -0
- package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
- package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
- package/Models/DatabaseModels/ProductFeedback.js +34 -2
- package/Models/DatabaseModels/Project.d.mts +4 -1
- package/Models/DatabaseModels/Project.d.ts +4 -1
- package/Models/DatabaseModels/Project.js +147 -7
- package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
- package/Models/DatabaseModels/ProjectOidc.d.mts +1 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +1 -0
- package/Models/DatabaseModels/ProjectOidc.js +46 -0
- 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/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +12 -3
- package/Models/DatabaseModels/RumApplication.d.mts +1 -0
- package/Models/DatabaseModels/RumApplication.d.ts +1 -0
- package/Models/DatabaseModels/RumApplication.js +58 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
- package/Models/DatabaseModels/Runbook.js +3 -2
- package/Models/DatabaseModels/Runner.js +2 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
- package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.js +206 -0
- package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
- package/Models/DatabaseModels/StatusPage.js +3 -2
- package/Models/DatabaseModels/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- 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 +35 -15
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +46 -1
- package/Models/DatabaseModels/User.d.mts +3 -0
- package/Models/DatabaseModels/User.d.ts +3 -0
- package/Models/DatabaseModels/User.js +66 -0
- package/Models/DatabaseModels/UserSession.d.mts +1 -0
- package/Models/DatabaseModels/UserSession.d.ts +1 -0
- package/Models/DatabaseModels/UserSession.js +32 -0
- package/Models/DatabaseModels/UserWebhook.js +25 -17
- package/Models/DatabaseModels/WebhookLog.js +12 -2
- 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/WorkspaceLiveMessage.js +21 -15
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
- package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Server/Services/DatabaseService.d.mts +27 -1
- package/Server/Services/DatabaseService.d.ts +27 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.js +2 -1
- package/Types/AI/AIChatPageContext.d.mts +1 -0
- package/Types/AI/AIChatPageContext.d.ts +1 -0
- package/Types/AI/AIChatPageContext.js +6 -0
- package/Types/AI/AIRunProducts.d.mts +14 -0
- package/Types/AI/AIRunProducts.d.ts +14 -0
- package/Types/AI/AIRunProducts.js +40 -0
- package/Types/AI/AIRunProducts.mjs +2 -0
- package/Types/AI/AskAiRatings.d.mts +31 -0
- package/Types/AI/AskAiRatings.d.ts +31 -0
- package/Types/AI/AskAiRatings.js +173 -0
- package/Types/AI/AskAiRatings.mjs +13 -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/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/SignUpInvitation.d.mts +12 -0
- package/Types/Accounts/SignUpInvitation.d.ts +12 -0
- package/Types/Accounts/SignUpInvitation.js +84 -0
- package/Types/Accounts/SignUpInvitation.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +2 -1
- package/Types/Analytics/ActivationMilestone.d.ts +2 -1
- package/Types/Analytics/ActivationMilestone.js +11 -0
- package/Types/Analytics/ProductEvent.d.mts +11 -0
- package/Types/Analytics/ProductEvent.d.ts +11 -0
- package/Types/Analytics/ProductEvent.js +166 -13
- package/Types/Analytics/ProductEvent.mjs +3 -0
- package/Types/Backup/BackupScriptRun.d.mts +17 -0
- package/Types/Backup/BackupScriptRun.d.ts +17 -0
- package/Types/Backup/BackupScriptRun.js +96 -0
- package/Types/Backup/BackupScriptRun.mjs +6 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionPropsUtil.js +1 -1
- package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
- package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
- package/Types/BaseDatabase/ReadAudience.js +2 -0
- package/Types/BaseDatabase/ReadAudience.mjs +1 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
- package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +28 -1
- package/Types/Cloud/CloudKeyMetrics.d.ts +28 -1
- package/Types/Cloud/CloudKeyMetrics.js +1209 -206
- package/Types/Cloud/CloudKeyMetrics.mjs +6 -0
- package/Types/Cloud/CloudResourceCatalog.js +43 -12
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +49 -6
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
- package/Types/CloudConnection/CloudStreamTemplate.js +6 -2
- 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/CreateFormAddress.d.mts +3 -0
- package/Types/CreateFormAddress.d.ts +3 -0
- package/Types/CreateFormAddress.js +17 -0
- package/Types/CreateFormAddress.mjs +4 -0
- package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
- package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
- package/Types/DataObservability/DataAssetFreshness.js +28 -5
- package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
- package/Types/DataObservability/DataBiLineage.d.mts +69 -0
- package/Types/DataObservability/DataBiLineage.d.ts +69 -0
- package/Types/DataObservability/DataBiLineage.js +198 -0
- package/Types/DataObservability/DataBiLineage.mjs +13 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
- package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
- package/Types/DataObservability/DataLineageMap.d.mts +67 -1
- package/Types/DataObservability/DataLineageMap.d.ts +67 -1
- package/Types/DataObservability/DataLineageMap.js +335 -3
- package/Types/DataObservability/DataLineageMap.mjs +14 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.js +21 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.js +48 -1
- package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
- package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.js +26 -6
- package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
- package/Types/DataObservability/DataTableLineage.d.mts +6 -0
- package/Types/DataObservability/DataTableLineage.d.ts +6 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +21 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.js +112 -0
- package/Types/DataSecurity/FindingSampleRecord.mjs +6 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +6 -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/MoveInList.d.mts +41 -0
- package/Types/Database/MoveInList.d.ts +41 -0
- package/Types/Database/MoveInList.js +177 -0
- package/Types/Database/MoveInList.mjs +4 -0
- package/Types/Database/TableColumn.d.mts +3 -0
- package/Types/Database/TableColumn.d.ts +3 -0
- 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/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 +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +5 -0
- package/Types/Email/ServerEmailLog.d.mts +41 -0
- package/Types/Email/ServerEmailLog.d.ts +41 -0
- package/Types/Email/ServerEmailLog.js +136 -0
- package/Types/Email/ServerEmailLog.mjs +11 -0
- package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
- package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
- package/Types/Exception/ProductSwitchedOffException.js +38 -0
- package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
- package/Types/Exception/UnexplainedError.d.mts +7 -0
- package/Types/Exception/UnexplainedError.d.ts +7 -0
- package/Types/Exception/UnexplainedError.js +36 -1
- package/Types/Exception/UnexplainedError.mjs +2 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
- package/Types/InstallationHealth/InstallationHealth.js +163 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +16 -0
- package/Types/Kubernetes/KubernetesHealth.d.ts +16 -0
- package/Types/Kubernetes/KubernetesHealth.js +128 -6
- package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
- package/Types/Monitor/CriteriaFilter.d.mts +2 -1
- package/Types/Monitor/CriteriaFilter.d.ts +2 -1
- package/Types/Monitor/CriteriaFilter.js +9 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
- package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
- package/Types/Monitor/MonitorMetricType.d.mts +2 -1
- package/Types/Monitor/MonitorMetricType.d.ts +2 -1
- package/Types/Monitor/MonitorMetricType.js +1 -0
- package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
- package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
- package/Types/Monitor/MonitorStepLimit.js +62 -0
- package/Types/Monitor/MonitorStepLimit.mjs +3 -0
- package/Types/Monitor/MonitorSteps.js +5 -0
- package/Types/Monitor/MonitorType.js +2 -1
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +111 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +15 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
- package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
- package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
- package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.js +61 -0
- package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
- package/Types/Monitor/TelemetryRulePreview.js +18 -6
- package/Types/Monitor/WhoIsTold.d.mts +71 -0
- package/Types/Monitor/WhoIsTold.d.ts +71 -0
- package/Types/Monitor/WhoIsTold.js +348 -121
- package/Types/Monitor/WhoIsTold.mjs +7 -0
- package/Types/NetworkAutomation/RuleRunResult.js +9 -5
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +205 -1
- package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
- package/Types/NetworkDevice/DiscoveryImport.js +8 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
- package/Types/Notification/WhoWasTold.d.mts +190 -0
- package/Types/Notification/WhoWasTold.d.ts +190 -0
- package/Types/Notification/WhoWasTold.js +662 -0
- package/Types/Notification/WhoWasTold.mjs +16 -0
- package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.js +529 -0
- package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
- package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
- package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
- package/Types/Permission.d.mts +8 -0
- package/Types/Permission.d.ts +8 -0
- package/Types/Permission.js +84 -0
- package/Types/Probe/ProbeBehind.d.mts +48 -0
- package/Types/Probe/ProbeBehind.d.ts +48 -0
- package/Types/Probe/ProbeBehind.js +196 -0
- package/Types/Probe/ProbeBehind.mjs +6 -0
- package/Types/Product/ProductRecordTables.d.mts +8 -0
- package/Types/Product/ProductRecordTables.d.ts +8 -0
- package/Types/Product/ProductRecordTables.js +847 -0
- package/Types/Product/ProductRecordTables.mjs +5 -0
- package/Types/Product/ProductUsage.d.mts +2 -0
- package/Types/Product/ProductUsage.d.ts +2 -0
- package/Types/Product/ProductUsage.js +41 -6
- package/Types/Product/ProductUsage.mjs +2 -0
- package/Types/Product/ServerProductOffReason.d.mts +4 -0
- package/Types/Product/ServerProductOffReason.d.ts +4 -0
- package/Types/Product/ServerProductOffReason.js +19 -0
- package/Types/Product/ServerProductOffReason.mjs +2 -0
- package/Types/Product/ServerProducts.d.mts +2 -4
- package/Types/Product/ServerProducts.d.ts +2 -4
- package/Types/Product/ServerProducts.js +19 -17
- package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
- package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
- package/Types/ProductFeedback/ProductFeedback.js +185 -5
- package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
- package/Types/PushNotification/PushNotificationCategory.js +17 -6
- package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +34 -1
- package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
- package/Types/Rum/ProductAnalytics.d.mts +9 -0
- package/Types/Rum/ProductAnalytics.d.ts +9 -0
- package/Types/Rum/ProductAnalytics.js +56 -8
- package/Types/Rum/ProductAnalytics.mjs +6 -0
- package/Types/Rum/ProductAnalyticsEvents.js +2 -1
- package/Types/Rum/SessionReplay.d.mts +3 -0
- package/Types/Rum/SessionReplay.d.ts +3 -0
- package/Types/Rum/SessionReplay.js +35 -1
- package/Types/Rum/SessionReplay.mjs +2 -0
- package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
- package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
- package/Types/Runbook/RunbookTriggerType.js +19 -1
- package/Types/Runbook/RunbookTriggerType.mjs +1 -0
- package/Types/Runner/RunnerCodeFixCapability.d.mts +3 -1
- package/Types/Runner/RunnerCodeFixCapability.d.ts +3 -1
- package/Types/Runner/RunnerCodeFixCapability.js +19 -1
- package/Types/Runner/RunnerCodeFixCapability.mjs +1 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +24 -0
- package/Types/SSO/IdentityProviderSignOut.d.ts +24 -0
- package/Types/SSO/IdentityProviderSignOut.js +124 -0
- package/Types/SSO/IdentityProviderSignOut.mjs +10 -0
- package/Types/SSO/SessionsWithoutSso.js +2 -2
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +12 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.js +252 -0
- package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
- package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
- package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
- package/Types/ServerSending/ProjectCanSend.js +49 -0
- package/Types/ServerSending/ProjectCanSend.mjs +4 -0
- package/Types/ServerSending/ServerAlerts.d.mts +78 -0
- package/Types/ServerSending/ServerAlerts.d.ts +78 -0
- package/Types/ServerSending/ServerAlerts.js +393 -0
- package/Types/ServerSending/ServerAlerts.mjs +8 -0
- package/Types/ServerSending/ServerSendingStatus.d.mts +29 -2
- package/Types/ServerSending/ServerSendingStatus.d.ts +29 -2
- package/Types/ServerSending/ServerSendingStatus.js +231 -10
- package/Types/ServerSending/ServerSendingStatus.mjs +3 -0
- package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.js +164 -0
- package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.js +275 -33
- package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
- package/Types/ServerSetup/ServerTestSend.js +60 -3
- package/Types/ServerSetup/ServerTestSend.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.js +38 -0
- package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
- package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
- package/Types/SetupHealth/SetupHealth.d.mts +31 -3
- package/Types/SetupHealth/SetupHealth.d.ts +31 -3
- package/Types/SetupHealth/SetupHealth.js +333 -4
- package/Types/SetupHealth/SetupHealth.mjs +5 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
- package/Types/StatusPage/StatusPageMagicLink.js +1 -1
- package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
- package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
- package/Types/StatusPage/StatusPagePublicName.js +32 -0
- package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
- 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/Team/InvitationEmailsNotSent.d.mts +28 -0
- package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
- package/Types/Team/InvitationEmailsNotSent.js +261 -0
- package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
- package/Types/Team/ProjectMemberSearch.d.mts +15 -0
- package/Types/Team/ProjectMemberSearch.d.ts +15 -0
- package/Types/Team/ProjectMemberSearch.js +180 -0
- package/Types/Team/ProjectMemberSearch.mjs +10 -0
- package/Types/Team/ProjectRemovalReach.d.mts +15 -0
- package/Types/Team/ProjectRemovalReach.d.ts +15 -0
- package/Types/Team/ProjectRemovalReach.js +154 -0
- package/Types/Team/ProjectRemovalReach.mjs +8 -0
- package/Types/Team/ResendInvitation.d.mts +27 -0
- package/Types/Team/ResendInvitation.d.ts +27 -0
- package/Types/Team/ResendInvitation.js +123 -0
- package/Types/Team/ResendInvitation.mjs +12 -0
- package/Types/UsedBy/UsedBy.d.mts +1 -0
- package/Types/UsedBy/UsedBy.d.ts +1 -0
- package/Types/UsedBy/UsedBy.js +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
- package/Types/Workflow/Component.d.mts +0 -1
- package/Types/Workflow/Component.d.ts +0 -1
- 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 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
- package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
- package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
- 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/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.js +10 -5
- package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
- package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
- package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/FieldClassifier.js +38 -8
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +270 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +5 -0
- package/Utils/DataSecurity/TextScanner.d.mts +4 -0
- package/Utils/DataSecurity/TextScanner.d.ts +4 -0
- 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/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/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.js +134 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +33 -6
- package/Utils/Monitor/MonitorFirstCheckOverdue.js +5 -5
- package/Utils/Monitor/MonitorMetricType.js +11 -1
- 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 +1 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +27 -9
- package/Utils/Monitor/MonitorRowStatus.js +2 -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/ProbeFailureCauses.js +4 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
- 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/NetworkDeviceAssetFacts.d.mts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
- package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
- package/Utils/NetworkDiscovery/SnmpScanConfigUtil.js +11 -4
- 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/Rules/RuleCriteriaMatcher.d.mts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
- package/Utils/Slo/SloBurnRateRuleState.js +3 -6
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
- package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
- package/Utils/Slo/SloFeedMarkdown.js +19 -7
- package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
- package/Utils/Slo/SloHealth.d.mts +5 -0
- package/Utils/Slo/SloHealth.d.ts +5 -0
- package/Utils/Slo/SloHealth.js +27 -0
- package/Utils/Slo/SloListWidgetFormat.js +5 -3
- package/Utils/Slo/SloMetricType.js +6 -5
- package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
- package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
- package/Utils/Slo/SloOverviewText.js +7 -0
- package/Utils/Slo/SloStatusColor.d.mts +3 -0
- package/Utils/Slo/SloStatusColor.d.ts +3 -0
- package/Utils/Slo/SloStatusColor.js +3 -0
- package/Utils/Slo/SloStatusPosts.d.mts +18 -0
- package/Utils/Slo/SloStatusPosts.d.ts +18 -0
- package/Utils/Slo/SloStatusPosts.js +95 -0
- package/Utils/Slo/SloStatusPosts.mjs +3 -0
- package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
- package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
- package/Utils/StatusPage/GridAxisValues.js +33 -0
- package/Utils/StatusPage/GridAxisValues.mjs +3 -0
- package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.js +13 -12
- package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.js +25 -5
- 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/ResourceExplorer.d.mts +2 -2
- package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
- package/Utils/StatusPage/ResourceExplorer.js +15 -21
- package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
- package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
- 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/Telemetry/MobileAppFaults.d.mts +8 -0
- package/Utils/Telemetry/MobileAppFaults.d.ts +8 -0
- package/Utils/Telemetry/MobileAppFaults.js +69 -0
- package/Utils/Telemetry/MobileAppFaults.mjs +6 -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/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.js +769 -0
- package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
- package/package.json +4 -1
|
@@ -28,6 +28,7 @@ const TableColumnType_1 = __importDefault(require("../../Types/Database/TableCol
|
|
|
28
28
|
const TableMetadata_1 = __importDefault(require("../../Types/Database/TableMetadata"));
|
|
29
29
|
const TenantColumn_1 = __importDefault(require("../../Types/Database/TenantColumn"));
|
|
30
30
|
const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
|
|
31
|
+
const HashedString_1 = __importDefault(require("../../Types/HashedString"));
|
|
31
32
|
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
32
33
|
const Permission_1 = __importDefault(require("../../Types/Permission"));
|
|
33
34
|
const TelemetryIngestionKeyType_1 = __importDefault(require("../../Types/Telemetry/TelemetryIngestionKeyType"));
|
|
@@ -65,6 +66,15 @@ let TelemetryIngestionKey = class TelemetryIngestionKey extends DatabaseBaseMode
|
|
|
65
66
|
this.deletedByUser = undefined;
|
|
66
67
|
this.deletedByUserId = undefined;
|
|
67
68
|
this.secretKey = undefined;
|
|
69
|
+
/*
|
|
70
|
+
* The lookup hash of secretKey, the ingestion key
|
|
71
|
+
* telemetry is sent with (#9012).
|
|
72
|
+
* The key is kept encrypted, which no query can find by its value, so
|
|
73
|
+
* a request that presents it is matched by this hash
|
|
74
|
+
* (DatabaseService.findOneByPresentedKey), then held to the key itself.
|
|
75
|
+
* OneUptime writes it with every write of the key.
|
|
76
|
+
*/
|
|
77
|
+
this.secretKeyHash = undefined;
|
|
68
78
|
/*
|
|
69
79
|
* Deliberately IMMUTABLE: create and read, but `update: []`.
|
|
70
80
|
*
|
|
@@ -387,6 +397,9 @@ __decorate([
|
|
|
387
397
|
(0, typeorm_1.Index)(),
|
|
388
398
|
(0, TableColumn_1.default)({
|
|
389
399
|
secret: true,
|
|
400
|
+
encrypted: true,
|
|
401
|
+
presentedKey: true,
|
|
402
|
+
lookupHashColumn: "secretKeyHash",
|
|
390
403
|
type: TableColumnType_1.default.ObjectID,
|
|
391
404
|
isDefaultValueColumn: false,
|
|
392
405
|
computed: true,
|
|
@@ -395,12 +408,34 @@ __decorate([
|
|
|
395
408
|
example: "c3d4e5f6-a7b8-9012-cdef-123456789012",
|
|
396
409
|
}),
|
|
397
410
|
(0, typeorm_1.Column)({
|
|
398
|
-
type: ColumnType_1.default.
|
|
411
|
+
type: ColumnType_1.default.VeryLongText,
|
|
399
412
|
nullable: false,
|
|
400
413
|
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
401
414
|
}),
|
|
402
415
|
__metadata("design:type", ObjectID_1.default)
|
|
403
416
|
], TelemetryIngestionKey.prototype, "secretKey", void 0);
|
|
417
|
+
__decorate([
|
|
418
|
+
(0, ColumnAccessControl_1.default)({
|
|
419
|
+
create: [],
|
|
420
|
+
read: [],
|
|
421
|
+
update: [],
|
|
422
|
+
}),
|
|
423
|
+
(0, typeorm_1.Index)(),
|
|
424
|
+
(0, TableColumn_1.default)({
|
|
425
|
+
type: TableColumnType_1.default.HashedString,
|
|
426
|
+
computed: true,
|
|
427
|
+
hideColumnInDocumentation: true,
|
|
428
|
+
title: "Ingestion Key Hash",
|
|
429
|
+
description: "The lookup hash of secretKey, 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.",
|
|
430
|
+
}),
|
|
431
|
+
(0, typeorm_1.Column)({
|
|
432
|
+
type: ColumnType_1.default.HashedString,
|
|
433
|
+
length: ColumnLength_1.default.HashedString,
|
|
434
|
+
nullable: true,
|
|
435
|
+
transformer: HashedString_1.default.getDatabaseTransformer(),
|
|
436
|
+
}),
|
|
437
|
+
__metadata("design:type", HashedString_1.default)
|
|
438
|
+
], TelemetryIngestionKey.prototype, "secretKeyHash", void 0);
|
|
404
439
|
__decorate([
|
|
405
440
|
(0, ColumnAccessControl_1.default)({
|
|
406
441
|
create: [
|
|
@@ -420,6 +455,11 @@ __decorate([
|
|
|
420
455
|
required: true,
|
|
421
456
|
type: TableColumnType_1.default.ShortText,
|
|
422
457
|
allowedValues: Object.values(TelemetryIngestionKeyType_1.default),
|
|
458
|
+
/*
|
|
459
|
+
* Readable through a relation, as the key's name is: a refusal says what
|
|
460
|
+
* kind of key was refused (INGEST_REFUSAL_SELECT).
|
|
461
|
+
*/
|
|
462
|
+
canReadOnRelationQuery: true,
|
|
423
463
|
title: "Key Type",
|
|
424
464
|
description: "Server keys are for backend services and OpenTelemetry collectors: full ingest, no origin checks. Browser keys are write-only client keys: listed web origins may send traces, logs, metrics, session replays and Sentry events, while listed app:// identities currently authorize React Native session replay only. This cannot be changed after the key is created - create a new key instead.",
|
|
425
465
|
defaultValue: TelemetryIngestionKeyType_1.default.Server,
|
|
@@ -487,6 +527,11 @@ __decorate([
|
|
|
487
527
|
(0, TableColumn_1.default)({
|
|
488
528
|
required: false,
|
|
489
529
|
type: TableColumnType_1.default.ShortText,
|
|
530
|
+
/*
|
|
531
|
+
* Readable through a relation, as the key's name is: a refusal says which
|
|
532
|
+
* service the refused key is pinned to (INGEST_REFUSAL_SELECT).
|
|
533
|
+
*/
|
|
534
|
+
canReadOnRelationQuery: true,
|
|
490
535
|
title: "Pinned Service Name",
|
|
491
536
|
description: "When set, every OpenTelemetry resource ingested with this key has its service.name REPLACED with this value. This is what stops data written with a scraped key from masquerading as another service: forged spans land in one service you can see and mute, instead of poisoning your backend services' dashboards and alerts.",
|
|
492
537
|
example: "checkout-web",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import File from "./File.mjs";
|
|
2
|
+
import Project from "./Project.mjs";
|
|
2
3
|
import UserModel from "./DatabaseBaseModel/UserModel.mjs";
|
|
3
4
|
import CompanySize from "../../Types/Company/CompanySize.mjs";
|
|
4
5
|
import JobRole from "../../Types/Company/JobRole.mjs";
|
|
@@ -67,5 +68,7 @@ declare class User extends UserModel {
|
|
|
67
68
|
disableFeedbackQuestions?: boolean;
|
|
68
69
|
disableDashboardRecording?: boolean;
|
|
69
70
|
feedbackQuestionsAsked?: JSONObject;
|
|
71
|
+
sampleProject?: Project;
|
|
72
|
+
sampleProjectId?: ObjectID;
|
|
70
73
|
}
|
|
71
74
|
export default User;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import File from "./File";
|
|
2
|
+
import Project from "./Project";
|
|
2
3
|
import UserModel from "../../Models/DatabaseModels/DatabaseBaseModel/UserModel";
|
|
3
4
|
import CompanySize from "../../Types/Company/CompanySize";
|
|
4
5
|
import JobRole from "../../Types/Company/JobRole";
|
|
@@ -67,5 +68,7 @@ declare class User extends UserModel {
|
|
|
67
68
|
disableFeedbackQuestions?: boolean;
|
|
68
69
|
disableDashboardRecording?: boolean;
|
|
69
70
|
feedbackQuestionsAsked?: JSONObject;
|
|
71
|
+
sampleProject?: Project;
|
|
72
|
+
sampleProjectId?: ObjectID;
|
|
70
73
|
}
|
|
71
74
|
export default User;
|
|
@@ -13,6 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const File_1 = __importDefault(require("./File"));
|
|
16
|
+
const Project_1 = __importDefault(require("./Project"));
|
|
16
17
|
const UserModel_1 = __importDefault(require("../../Models/DatabaseModels/DatabaseBaseModel/UserModel"));
|
|
17
18
|
const Route_1 = __importDefault(require("../../Types/API/Route"));
|
|
18
19
|
const CompanySize_1 = __importDefault(require("../../Types/Company/CompanySize"));
|
|
@@ -174,6 +175,22 @@ let User = class User extends UserModel_1.default {
|
|
|
174
175
|
* (ProductFeedbackService, as root), when it asks.
|
|
175
176
|
*/
|
|
176
177
|
this.feedbackQuestionsAsked = undefined;
|
|
178
|
+
/*
|
|
179
|
+
* KEPT FOR THE RELEASE BEFORE, AND READ BY NOTHING HERE.
|
|
180
|
+
*
|
|
181
|
+
* The sample project a made-up person belonged to (issue #6808), when
|
|
182
|
+
* OneUptime still made sample projects. Every one of them was deleted
|
|
183
|
+
* (RemoveSampleProject1809180800000), and nothing sets this any more.
|
|
184
|
+
*
|
|
185
|
+
* The column stays until a later release drops it (expand, then
|
|
186
|
+
* contract): the pods of the release before keep serving while a
|
|
187
|
+
* release's migrations run, and every insert into "User" they make names
|
|
188
|
+
* it - dropped, nobody could sign up until the last of them was gone.
|
|
189
|
+
* KeepSampleProjectColumns1809183500000 puts it back where 15.0.0 already
|
|
190
|
+
* dropped it. Read and written by nobody, hidden from the documentation.
|
|
191
|
+
*/
|
|
192
|
+
this.sampleProject = undefined;
|
|
193
|
+
this.sampleProjectId = undefined;
|
|
177
194
|
}
|
|
178
195
|
};
|
|
179
196
|
__decorate([
|
|
@@ -1209,6 +1226,55 @@ __decorate([
|
|
|
1209
1226
|
}),
|
|
1210
1227
|
__metadata("design:type", Object)
|
|
1211
1228
|
], User.prototype, "feedbackQuestionsAsked", void 0);
|
|
1229
|
+
__decorate([
|
|
1230
|
+
(0, ColumnAccessControl_1.default)({
|
|
1231
|
+
create: [],
|
|
1232
|
+
read: [],
|
|
1233
|
+
update: [],
|
|
1234
|
+
}),
|
|
1235
|
+
(0, TableColumn_1.default)({
|
|
1236
|
+
manyToOneRelationColumn: "sampleProjectId",
|
|
1237
|
+
type: TableColumnType_1.default.Entity,
|
|
1238
|
+
// Lazy: Project imports User back (see modelTypeThunk).
|
|
1239
|
+
modelTypeThunk: () => {
|
|
1240
|
+
return Project_1.default;
|
|
1241
|
+
},
|
|
1242
|
+
title: "Sample Project",
|
|
1243
|
+
description: "Kept for the release before: the sample project a made-up person belonged to. Never set.",
|
|
1244
|
+
hideColumnInDocumentation: true,
|
|
1245
|
+
}),
|
|
1246
|
+
(0, typeorm_1.ManyToOne)(() => {
|
|
1247
|
+
return Project_1.default;
|
|
1248
|
+
}, {
|
|
1249
|
+
eager: false,
|
|
1250
|
+
nullable: true,
|
|
1251
|
+
onDelete: "CASCADE",
|
|
1252
|
+
orphanedRowAction: "delete",
|
|
1253
|
+
}),
|
|
1254
|
+
(0, typeorm_1.JoinColumn)({ name: "sampleProjectId" }),
|
|
1255
|
+
__metadata("design:type", Project_1.default)
|
|
1256
|
+
], User.prototype, "sampleProject", void 0);
|
|
1257
|
+
__decorate([
|
|
1258
|
+
(0, ColumnAccessControl_1.default)({
|
|
1259
|
+
create: [],
|
|
1260
|
+
read: [],
|
|
1261
|
+
update: [],
|
|
1262
|
+
}),
|
|
1263
|
+
(0, typeorm_1.Index)(),
|
|
1264
|
+
(0, TableColumn_1.default)({
|
|
1265
|
+
type: TableColumnType_1.default.ObjectID,
|
|
1266
|
+
title: "Sample Project ID",
|
|
1267
|
+
description: "Kept for the release before: the ID of the sample project a made-up person belonged to. Never set.",
|
|
1268
|
+
hideColumnInDocumentation: true,
|
|
1269
|
+
example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
1270
|
+
}),
|
|
1271
|
+
(0, typeorm_1.Column)({
|
|
1272
|
+
type: ColumnType_1.default.ObjectID,
|
|
1273
|
+
nullable: true,
|
|
1274
|
+
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
1275
|
+
}),
|
|
1276
|
+
__metadata("design:type", ObjectID_1.default)
|
|
1277
|
+
], User.prototype, "sampleProjectId", void 0);
|
|
1212
1278
|
User = __decorate([
|
|
1213
1279
|
(0, EnableDocumentation_1.default)({
|
|
1214
1280
|
isMasterAdminApiDocs: true,
|
|
@@ -30,6 +30,7 @@ const HashedString_1 = __importDefault(require("../../Types/HashedString"));
|
|
|
30
30
|
const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
|
|
31
31
|
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
32
32
|
const Permission_1 = __importDefault(require("../../Types/Permission"));
|
|
33
|
+
const IdentityProviderSignOut_1 = require("../../Types/SSO/IdentityProviderSignOut");
|
|
33
34
|
const typeorm_1 = require("typeorm");
|
|
34
35
|
/*
|
|
35
36
|
* Not in the API. Sign-in, refresh and sign-out keep these sessions
|
|
@@ -59,6 +60,17 @@ let UserSession = class UserSession extends DatabaseBaseModel_1.default {
|
|
|
59
60
|
this.revokedAt = undefined;
|
|
60
61
|
this.revokedReason = undefined;
|
|
61
62
|
this.additionalInfo = undefined;
|
|
63
|
+
/*
|
|
64
|
+
* What signing this session's person out of their identity provider too
|
|
65
|
+
* takes (Types/SSO/IdentityProviderSignOut, #9535): kept only for a
|
|
66
|
+
* browser sign-in through an OpenID Connect provider whose "Sign out of
|
|
67
|
+
* the identity provider too" switch is on - the provider, its
|
|
68
|
+
* end_session_endpoint, and the sign-in's ID token, the id_token_hint,
|
|
69
|
+
* encrypted at rest. Read by POST /identity/logout once the session has
|
|
70
|
+
* ended, and cleared then. Nobody reads or writes it through the API, and
|
|
71
|
+
* it is never sent to the browser while the session lives.
|
|
72
|
+
*/
|
|
73
|
+
this.identityProviderSignOut = undefined;
|
|
62
74
|
}
|
|
63
75
|
};
|
|
64
76
|
__decorate([
|
|
@@ -343,6 +355,26 @@ __decorate([
|
|
|
343
355
|
}),
|
|
344
356
|
__metadata("design:type", Object)
|
|
345
357
|
], UserSession.prototype, "additionalInfo", void 0);
|
|
358
|
+
__decorate([
|
|
359
|
+
(0, ColumnAccessControl_1.default)({
|
|
360
|
+
create: [],
|
|
361
|
+
read: [],
|
|
362
|
+
update: [],
|
|
363
|
+
}),
|
|
364
|
+
(0, TableColumn_1.default)({
|
|
365
|
+
type: TableColumnType_1.default.JSON,
|
|
366
|
+
title: "Identity Provider Sign-Out",
|
|
367
|
+
description: "Internal: what signing this session's person out of their OpenID Connect provider takes. Its ID token is kept encrypted.",
|
|
368
|
+
encrypted: true,
|
|
369
|
+
encryptedFields: IdentityProviderSignOut_1.IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS,
|
|
370
|
+
hideColumnInDocumentation: true,
|
|
371
|
+
}),
|
|
372
|
+
(0, typeorm_1.Column)({
|
|
373
|
+
type: ColumnType_1.default.JSON,
|
|
374
|
+
nullable: true,
|
|
375
|
+
}),
|
|
376
|
+
__metadata("design:type", Object)
|
|
377
|
+
], UserSession.prototype, "identityProviderSignOut", void 0);
|
|
346
378
|
UserSession = __decorate([
|
|
347
379
|
(0, AllowAccessIfSubscriptionIsUnpaid_1.default)(),
|
|
348
380
|
(0, TableAccessControl_1.default)({
|
|
@@ -63,15 +63,13 @@ const typeorm_1 = require("typeorm");
|
|
|
63
63
|
* actually reaching for. Point the next admin surface there. Widening this
|
|
64
64
|
* list is not a cheaper version of that; it is the version that leaks.
|
|
65
65
|
*
|
|
66
|
-
* One path does not pass through this list at all
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* too; flipping the URL to match is a change to the rule tables that select it
|
|
74
|
-
* through the relation, not a change that can be made here alone.
|
|
66
|
+
* One path does not pass through this list at all: a nested relation select
|
|
67
|
+
* made FROM a model whose own read is admin-wide - today UserNotificationRule -
|
|
68
|
+
* is checked by QueryPermission.checkRelationQueryPermission, which skips the
|
|
69
|
+
* column check outright for a column marked `canReadOnRelationQuery: true` and
|
|
70
|
+
* never consults this table list. Neither credential is: the webhook URL and
|
|
71
|
+
* its signing secret both carry `false`, and are kept encrypted at rest, so a
|
|
72
|
+
* rule table names the webhook a rule points at by its `name` alone.
|
|
75
73
|
*/
|
|
76
74
|
let UserWebhook = class UserWebhook extends DatabaseBaseModel_1.default {
|
|
77
75
|
constructor() {
|
|
@@ -165,9 +163,19 @@ __decorate([
|
|
|
165
163
|
/*
|
|
166
164
|
* A webhook URL is a bearer credential in its own right. Slack, Discord and
|
|
167
165
|
* Teams hooks all carry their secret in the path, so anyone who can read this
|
|
168
|
-
* string can post into the channel it belongs to.
|
|
169
|
-
*
|
|
170
|
-
*
|
|
166
|
+
* string can post into the channel it belongs to. Its owner reads it - the
|
|
167
|
+
* Webhooks table shows it, and the Edit dialog edits it - and it is kept
|
|
168
|
+
* encrypted at rest (`encrypted: true`): DatabaseService encrypts it on
|
|
169
|
+
* every write and decrypts it on every read, a notification rule's read of
|
|
170
|
+
* its webhook through the userWebhook relation included, so every page is
|
|
171
|
+
* posted to the address as it was typed. The EncryptWebhookAddresses data
|
|
172
|
+
* migration encrypts the addresses stored before. Text, as a ciphertext is
|
|
173
|
+
* longer than the address.
|
|
174
|
+
*
|
|
175
|
+
* Never read through a relation by a request (EncryptedColumnsStayOffRelations):
|
|
176
|
+
* a rule table says which webhook a rule points at by the webhook's name
|
|
177
|
+
* (NotificationMethodUtil), and the readiness view by its masked name
|
|
178
|
+
* (OnCallReadinessService).
|
|
171
179
|
*/
|
|
172
180
|
,
|
|
173
181
|
(0, OwnerOnlyColumn_1.default)(),
|
|
@@ -175,13 +183,13 @@ __decorate([
|
|
|
175
183
|
title: "Webhook URL",
|
|
176
184
|
required: true,
|
|
177
185
|
unique: false,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
186
|
+
encrypted: true,
|
|
187
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
188
|
+
canReadOnRelationQuery: false,
|
|
189
|
+
description: "HTTPS endpoint that will receive POST requests with notification payloads. Kept encrypted at rest.",
|
|
181
190
|
}),
|
|
182
191
|
(0, typeorm_1.Column)({
|
|
183
|
-
type: ColumnType_1.default.
|
|
184
|
-
length: ColumnLength_1.default.LongText,
|
|
192
|
+
type: ColumnType_1.default.VeryLongText,
|
|
185
193
|
unique: false,
|
|
186
194
|
nullable: false,
|
|
187
195
|
}),
|
|
@@ -147,12 +147,22 @@ __decorate([
|
|
|
147
147
|
Permission_1.default.ReadWebhookLog,
|
|
148
148
|
],
|
|
149
149
|
update: [],
|
|
150
|
-
})
|
|
150
|
+
})
|
|
151
|
+
/*
|
|
152
|
+
* Where the request went, by its scheme, host and port alone:
|
|
153
|
+
* https://hooks.slack.com/•••. The rest of a webhook's address is its
|
|
154
|
+
* credential - a Slack, Microsoft Teams or Discord webhook's secret is in
|
|
155
|
+
* its path - and a log is read by everyone who reads the notification
|
|
156
|
+
* logs, so it never keeps it (WebhookAddressMask). The
|
|
157
|
+
* MaskWebhookAddressesInLogs data migration masks the addresses logged
|
|
158
|
+
* before.
|
|
159
|
+
*/
|
|
160
|
+
,
|
|
151
161
|
(0, TableColumn_1.default)({
|
|
152
162
|
required: true,
|
|
153
163
|
type: TableColumnType_1.default.LongText,
|
|
154
164
|
title: "Webhook URL",
|
|
155
|
-
description: "
|
|
165
|
+
description: "Where the request was sent: the address's scheme, host and port. The rest of the address is left out, as it can hold the webhook's secret.",
|
|
156
166
|
canReadOnRelationQuery: false,
|
|
157
167
|
}),
|
|
158
168
|
(0, typeorm_1.Column)({
|
|
@@ -3,6 +3,7 @@ import Project from "./Project.mjs";
|
|
|
3
3
|
import User from "./User.mjs";
|
|
4
4
|
import BaseModel from "./DatabaseBaseModel/DatabaseBaseModel.mjs";
|
|
5
5
|
import { JSONObject } from "../../Types/JSON.mjs";
|
|
6
|
+
import HashedString from "../../Types/HashedString.mjs";
|
|
6
7
|
import ObjectID from "../../Types/ObjectID.mjs";
|
|
7
8
|
export default class Workflow extends BaseModel {
|
|
8
9
|
project?: Project;
|
|
@@ -25,7 +26,9 @@ export default class Workflow extends BaseModel {
|
|
|
25
26
|
triggerId?: string;
|
|
26
27
|
triggerArguments?: JSONObject;
|
|
27
28
|
webhookSecretKey?: string;
|
|
29
|
+
webhookSecretKeyHash?: HashedString;
|
|
28
30
|
incomingEmailSecretKey?: ObjectID;
|
|
31
|
+
incomingEmailSecretKeyHash?: HashedString;
|
|
29
32
|
webhookSigningSecret?: string;
|
|
30
33
|
isWebhookSigningSecretSet?: boolean;
|
|
31
34
|
lastWebhookRequestAt?: Date;
|
|
@@ -3,6 +3,7 @@ import Project from "./Project";
|
|
|
3
3
|
import User from "./User";
|
|
4
4
|
import BaseModel from "./DatabaseBaseModel/DatabaseBaseModel";
|
|
5
5
|
import { JSONObject } from "../../Types/JSON";
|
|
6
|
+
import HashedString from "../../Types/HashedString";
|
|
6
7
|
import ObjectID from "../../Types/ObjectID";
|
|
7
8
|
export default class Workflow extends BaseModel {
|
|
8
9
|
project?: Project;
|
|
@@ -25,7 +26,9 @@ export default class Workflow extends BaseModel {
|
|
|
25
26
|
triggerId?: string;
|
|
26
27
|
triggerArguments?: JSONObject;
|
|
27
28
|
webhookSecretKey?: string;
|
|
29
|
+
webhookSecretKeyHash?: HashedString;
|
|
28
30
|
incomingEmailSecretKey?: ObjectID;
|
|
31
|
+
incomingEmailSecretKeyHash?: HashedString;
|
|
29
32
|
webhookSigningSecret?: string;
|
|
30
33
|
isWebhookSigningSecretSet?: boolean;
|
|
31
34
|
lastWebhookRequestAt?: Date;
|
|
@@ -34,6 +34,7 @@ const TableMetadata_1 = __importDefault(require("../../Types/Database/TableMetad
|
|
|
34
34
|
const TenantColumn_1 = __importDefault(require("../../Types/Database/TenantColumn"));
|
|
35
35
|
const UniqueColumnBy_1 = __importDefault(require("../../Types/Database/UniqueColumnBy"));
|
|
36
36
|
const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
|
|
37
|
+
const HashedString_1 = __importDefault(require("../../Types/HashedString"));
|
|
37
38
|
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
38
39
|
const Permission_1 = __importDefault(require("../../Types/Permission"));
|
|
39
40
|
const typeorm_1 = require("typeorm");
|
|
@@ -89,7 +90,25 @@ let Workflow = class Workflow extends DatabaseBaseModel_1.default {
|
|
|
89
90
|
this.triggerId = undefined;
|
|
90
91
|
this.triggerArguments = undefined;
|
|
91
92
|
this.webhookSecretKey = undefined;
|
|
93
|
+
/*
|
|
94
|
+
* The lookup hash of webhookSecretKey, the key in the
|
|
95
|
+
* Webhook trigger's URL (#9012).
|
|
96
|
+
* The key is kept encrypted, which no query can find by its value, so
|
|
97
|
+
* a request that presents it is matched by this hash
|
|
98
|
+
* (DatabaseService.findOneByPresentedKey), then held to the key itself.
|
|
99
|
+
* OneUptime writes it with every write of the key.
|
|
100
|
+
*/
|
|
101
|
+
this.webhookSecretKeyHash = undefined;
|
|
92
102
|
this.incomingEmailSecretKey = undefined;
|
|
103
|
+
/*
|
|
104
|
+
* The lookup hash of incomingEmailSecretKey, the key in
|
|
105
|
+
* the Incoming Email trigger's address (#9012).
|
|
106
|
+
* The key is kept encrypted, which no query can find by its value, so
|
|
107
|
+
* a request that presents it is matched by this hash
|
|
108
|
+
* (DatabaseService.findOneByPresentedKey), then held to the key itself.
|
|
109
|
+
* OneUptime writes it with every write of the key.
|
|
110
|
+
*/
|
|
111
|
+
this.incomingEmailSecretKeyHash = undefined;
|
|
93
112
|
/*
|
|
94
113
|
* The signing secret of a trigger whose sender signs its requests: the
|
|
95
114
|
* Huntress trigger (Types/Workflow/HuntressTrigger). Huntress signs each
|
|
@@ -813,6 +832,9 @@ __decorate([
|
|
|
813
832
|
}),
|
|
814
833
|
(0, TableColumn_1.default)({
|
|
815
834
|
secret: true,
|
|
835
|
+
encrypted: true,
|
|
836
|
+
presentedKey: true,
|
|
837
|
+
lookupHashColumn: "webhookSecretKeyHash",
|
|
816
838
|
isDefaultValueColumn: false,
|
|
817
839
|
required: false,
|
|
818
840
|
type: TableColumnType_1.default.LongText,
|
|
@@ -825,6 +847,28 @@ __decorate([
|
|
|
825
847
|
}),
|
|
826
848
|
__metadata("design:type", String)
|
|
827
849
|
], Workflow.prototype, "webhookSecretKey", void 0);
|
|
850
|
+
__decorate([
|
|
851
|
+
(0, ColumnAccessControl_1.default)({
|
|
852
|
+
create: [],
|
|
853
|
+
read: [],
|
|
854
|
+
update: [],
|
|
855
|
+
}),
|
|
856
|
+
(0, typeorm_1.Index)(),
|
|
857
|
+
(0, TableColumn_1.default)({
|
|
858
|
+
type: TableColumnType_1.default.HashedString,
|
|
859
|
+
computed: true,
|
|
860
|
+
hideColumnInDocumentation: true,
|
|
861
|
+
title: "Webhook Secret Key Hash",
|
|
862
|
+
description: "The lookup hash of webhookSecretKey, 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.",
|
|
863
|
+
}),
|
|
864
|
+
(0, typeorm_1.Column)({
|
|
865
|
+
type: ColumnType_1.default.HashedString,
|
|
866
|
+
length: ColumnLength_1.default.HashedString,
|
|
867
|
+
nullable: true,
|
|
868
|
+
transformer: HashedString_1.default.getDatabaseTransformer(),
|
|
869
|
+
}),
|
|
870
|
+
__metadata("design:type", HashedString_1.default)
|
|
871
|
+
], Workflow.prototype, "webhookSecretKeyHash", void 0);
|
|
828
872
|
__decorate([
|
|
829
873
|
(0, ColumnAccessControl_1.default)({
|
|
830
874
|
/*
|
|
@@ -860,6 +904,9 @@ __decorate([
|
|
|
860
904
|
}),
|
|
861
905
|
(0, TableColumn_1.default)({
|
|
862
906
|
secret: true,
|
|
907
|
+
encrypted: true,
|
|
908
|
+
presentedKey: true,
|
|
909
|
+
lookupHashColumn: "incomingEmailSecretKeyHash",
|
|
863
910
|
isDefaultValueColumn: false,
|
|
864
911
|
required: false,
|
|
865
912
|
unique: true,
|
|
@@ -869,13 +916,35 @@ __decorate([
|
|
|
869
916
|
example: "7c9e6679-7425-40de-944b-e07fc1f90ae7",
|
|
870
917
|
}),
|
|
871
918
|
(0, typeorm_1.Column)({
|
|
872
|
-
type: ColumnType_1.default.
|
|
919
|
+
type: ColumnType_1.default.VeryLongText,
|
|
873
920
|
nullable: true,
|
|
874
921
|
unique: true,
|
|
875
922
|
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
876
923
|
}),
|
|
877
924
|
__metadata("design:type", ObjectID_1.default)
|
|
878
925
|
], Workflow.prototype, "incomingEmailSecretKey", void 0);
|
|
926
|
+
__decorate([
|
|
927
|
+
(0, ColumnAccessControl_1.default)({
|
|
928
|
+
create: [],
|
|
929
|
+
read: [],
|
|
930
|
+
update: [],
|
|
931
|
+
}),
|
|
932
|
+
(0, typeorm_1.Index)({ unique: true }),
|
|
933
|
+
(0, TableColumn_1.default)({
|
|
934
|
+
type: TableColumnType_1.default.HashedString,
|
|
935
|
+
computed: true,
|
|
936
|
+
hideColumnInDocumentation: true,
|
|
937
|
+
title: "Incoming Email Secret Key Hash",
|
|
938
|
+
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.",
|
|
939
|
+
}),
|
|
940
|
+
(0, typeorm_1.Column)({
|
|
941
|
+
type: ColumnType_1.default.HashedString,
|
|
942
|
+
length: ColumnLength_1.default.HashedString,
|
|
943
|
+
nullable: true,
|
|
944
|
+
transformer: HashedString_1.default.getDatabaseTransformer(),
|
|
945
|
+
}),
|
|
946
|
+
__metadata("design:type", HashedString_1.default)
|
|
947
|
+
], Workflow.prototype, "incomingEmailSecretKeyHash", void 0);
|
|
879
948
|
__decorate([
|
|
880
949
|
(0, ColumnAccessControl_1.default)({
|
|
881
950
|
create: [
|
|
@@ -41,6 +41,12 @@ const typeorm_1 = require("typeorm");
|
|
|
41
41
|
* remember between edits (who it already names, which alarms its run already
|
|
42
42
|
* raised).
|
|
43
43
|
*
|
|
44
|
+
* Where a message is - its channel or chat, team and message id - is kept
|
|
45
|
+
* whole, in LongText columns (500 characters): a Microsoft Teams personal
|
|
46
|
+
* chat's id ("a:1...") runs to 130 characters and more, and an id cut to fit
|
|
47
|
+
* is another id, which addresses nothing (issue #9284). The names are only
|
|
48
|
+
* shown, and are cut to fit (WorkspaceStoredValue).
|
|
49
|
+
*
|
|
44
50
|
* Written and read only by the server (WorkspaceLiveMessages): no client can
|
|
45
51
|
* read or write a row, and it has no CRUD API.
|
|
46
52
|
*/
|
|
@@ -174,14 +180,14 @@ __decorate([
|
|
|
174
180
|
(0, typeorm_1.Index)(),
|
|
175
181
|
(0, TableColumn_1.default)({
|
|
176
182
|
required: true,
|
|
177
|
-
type: TableColumnType_1.default.
|
|
183
|
+
type: TableColumnType_1.default.LongText,
|
|
178
184
|
title: "Channel ID",
|
|
179
|
-
description: "The Slack channel, Microsoft Teams channel or Microsoft Teams chat the message is in.",
|
|
185
|
+
description: "The Slack channel, Microsoft Teams channel or Microsoft Teams chat the message is in, as the workspace names it, whole.",
|
|
180
186
|
}),
|
|
181
187
|
(0, typeorm_1.Column)({
|
|
182
188
|
nullable: false,
|
|
183
|
-
type: ColumnType_1.default.
|
|
184
|
-
length: ColumnLength_1.default.
|
|
189
|
+
type: ColumnType_1.default.LongText,
|
|
190
|
+
length: ColumnLength_1.default.LongText,
|
|
185
191
|
}),
|
|
186
192
|
__metadata("design:type", String)
|
|
187
193
|
], WorkspaceLiveMessage.prototype, "channelId", void 0);
|
|
@@ -193,14 +199,14 @@ __decorate([
|
|
|
193
199
|
}),
|
|
194
200
|
(0, TableColumn_1.default)({
|
|
195
201
|
required: false,
|
|
196
|
-
type: TableColumnType_1.default.
|
|
202
|
+
type: TableColumnType_1.default.LongText,
|
|
197
203
|
title: "Channel Name",
|
|
198
204
|
description: "The channel's or chat's name when the message was posted.",
|
|
199
205
|
}),
|
|
200
206
|
(0, typeorm_1.Column)({
|
|
201
207
|
nullable: true,
|
|
202
|
-
type: ColumnType_1.default.
|
|
203
|
-
length: ColumnLength_1.default.
|
|
208
|
+
type: ColumnType_1.default.LongText,
|
|
209
|
+
length: ColumnLength_1.default.LongText,
|
|
204
210
|
}),
|
|
205
211
|
__metadata("design:type", String)
|
|
206
212
|
], WorkspaceLiveMessage.prototype, "channelName", void 0);
|
|
@@ -212,14 +218,14 @@ __decorate([
|
|
|
212
218
|
}),
|
|
213
219
|
(0, TableColumn_1.default)({
|
|
214
220
|
required: false,
|
|
215
|
-
type: TableColumnType_1.default.
|
|
221
|
+
type: TableColumnType_1.default.LongText,
|
|
216
222
|
title: "Team ID",
|
|
217
|
-
description: "The Microsoft Teams team a channel belongs to.",
|
|
223
|
+
description: "The Microsoft Teams team a channel belongs to, whole.",
|
|
218
224
|
}),
|
|
219
225
|
(0, typeorm_1.Column)({
|
|
220
226
|
nullable: true,
|
|
221
|
-
type: ColumnType_1.default.
|
|
222
|
-
length: ColumnLength_1.default.
|
|
227
|
+
type: ColumnType_1.default.LongText,
|
|
228
|
+
length: ColumnLength_1.default.LongText,
|
|
223
229
|
}),
|
|
224
230
|
__metadata("design:type", String)
|
|
225
231
|
], WorkspaceLiveMessage.prototype, "teamId", void 0);
|
|
@@ -231,14 +237,14 @@ __decorate([
|
|
|
231
237
|
}),
|
|
232
238
|
(0, TableColumn_1.default)({
|
|
233
239
|
required: true,
|
|
234
|
-
type: TableColumnType_1.default.
|
|
240
|
+
type: TableColumnType_1.default.LongText,
|
|
235
241
|
title: "Message ID",
|
|
236
|
-
description: "The id the workspace gave the message: a Slack message ts or a Microsoft Teams activity id.",
|
|
242
|
+
description: "The id the workspace gave the message, whole: a Slack message ts or a Microsoft Teams activity id.",
|
|
237
243
|
}),
|
|
238
244
|
(0, typeorm_1.Column)({
|
|
239
245
|
nullable: false,
|
|
240
|
-
type: ColumnType_1.default.
|
|
241
|
-
length: ColumnLength_1.default.
|
|
246
|
+
type: ColumnType_1.default.LongText,
|
|
247
|
+
length: ColumnLength_1.default.LongText,
|
|
242
248
|
}),
|
|
243
249
|
__metadata("design:type", String)
|
|
244
250
|
], WorkspaceLiveMessage.prototype, "messageId", void 0);
|