@oneuptime/common 16.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/AlertSeverity.js +12 -3
- 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/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 +128 -0
- 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/Monitor.js +18 -0
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +49 -0
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- 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/Probe.d.mts +4 -0
- package/Models/DatabaseModels/Probe.d.ts +4 -0
- package/Models/DatabaseModels/Probe.js +100 -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/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/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/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.js +10 -0
- 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/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 +6 -0
- package/Server/Services/DatabaseService.d.ts +6 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.js +1 -0
- 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/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/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/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/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/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/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/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 +6 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +6 -0
- package/Types/ServerSending/ServerSendingStatus.js +23 -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 +270 -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/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/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/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/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 +9 -4
- 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/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/MonitorMetricType.js +11 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +21 -3
- 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/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/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/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/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/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
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SETUP_HEALTH_RECORD_KINDS_WITH_A_PAGE = exports.SETUP_HEALTH_RULES = exports.SETUP_HEALTH_CACHE_TTL_IN_MS = exports.SCHEDULE_GAP_LOOKAHEAD_IN_DAYS = exports.INGESTION_KEY_HTTP_USE_RECORDED_SINCE = exports.INGESTION_KEY_USE_RECORDED_SINCE = exports.INGESTION_KEY_UNUSED_AFTER_IN_DAYS = exports.MONITOR_OFF_FOR_LONG_IN_DAYS = exports.DOMAIN_VERIFICATION_GRACE_IN_MS = exports.SETUP_HEALTH_WORDS = exports.SetupHealthEventKind = exports.SetupHealthCertificateReason = exports.SetupHealthMonitorReason = exports.SetupHealthScheduleReason = exports.SETUP_HEALTH_RESPONDER_REASON_ORDER = exports.SetupHealthResponderReason = exports.SetupHealthFix = exports.SetupHealthRecordKind = exports.SETUP_HEALTH_CHECK_ORDER = exports.SetupHealthCheck = exports.SETUP_HEALTH_LEVELS_ON_HOME = exports.SETUP_HEALTH_LEVEL_ORDER = exports.SetupHealthLevel = void 0;
|
|
3
|
+
exports.SETUP_HEALTH_RECORD_KINDS_WITH_A_PAGE = exports.SETUP_HEALTH_RULES = exports.SETUP_HEALTH_CACHE_TTL_IN_MS = exports.SCHEDULE_GAP_LOOKAHEAD_IN_DAYS = exports.INGESTION_KEY_HTTP_USE_RECORDED_SINCE = exports.INGESTION_KEY_USE_RECORDED_SINCE = exports.INGESTION_KEY_UNUSED_AFTER_IN_DAYS = exports.MONITOR_OFF_FOR_LONG_IN_DAYS = exports.DOMAIN_VERIFICATION_GRACE_IN_MS = exports.SETUP_HEALTH_WORDS = exports.SetupHealthEventKind = exports.SetupHealthOwnerSubject = exports.SetupHealthCertificateReason = exports.SetupHealthMonitorReason = exports.SetupHealthScheduleReason = exports.SETUP_HEALTH_RESPONDER_REASON_ORDER = exports.SetupHealthResponderReason = exports.SetupHealthFix = exports.SetupHealthRecordKind = exports.SETUP_HEALTH_CHECK_ORDER = exports.SetupHealthCheck = exports.SETUP_HEALTH_LEVELS_ON_HOME = exports.SETUP_HEALTH_LEVEL_ORDER = exports.SetupHealthLevel = void 0;
|
|
4
4
|
exports.getSetupHealthFindingKey = getSetupHealthFindingKey;
|
|
5
5
|
exports.makeSetupHealthFinding = makeSetupHealthFinding;
|
|
6
6
|
exports.getChainFindings = getChainFindings;
|
|
7
|
+
exports.getOwnerNotEmailedFindings = getOwnerNotEmailedFindings;
|
|
8
|
+
exports.getSetupHealthFactsForReader = getSetupHealthFactsForReader;
|
|
9
|
+
exports.hasSetupHealthPrivateEvent = hasSetupHealthPrivateEvent;
|
|
7
10
|
exports.getResponderFindings = getResponderFindings;
|
|
11
|
+
exports.getResponderPhoneFindings = getResponderPhoneFindings;
|
|
8
12
|
exports.getPolicyNotRunFindings = getPolicyNotRunFindings;
|
|
9
13
|
exports.getScheduleFindings = getScheduleFindings;
|
|
10
14
|
exports.formatEnglishTime = formatEnglishTime;
|
|
@@ -53,9 +57,10 @@ const OnCallTestPage_1 = require("../OnCallDutyPolicy/OnCallTestPage");
|
|
|
53
57
|
* (Server/Services/SetupHealthService), and every rule here is a small pure
|
|
54
58
|
* function over them, so a test can hand any project to each rule. The
|
|
55
59
|
* monitors' findings are the breaks of their "When this goes down" chains
|
|
56
|
-
* (Types/Monitor/WhoIsTold, #6810),
|
|
57
|
-
*
|
|
58
|
-
*
|
|
60
|
+
* (Types/Monitor/WhoIsTold, #6810), and the owners their incidents' and
|
|
61
|
+
* alerts' Created email never reaches (#9371), resolved for the whole
|
|
62
|
+
* project at once (WhoIsToldService.resolveProject): the card on a monitor
|
|
63
|
+
* and this list share one set of rules and never disagree.
|
|
59
64
|
*
|
|
60
65
|
* A finding says what is wrong in one sentence, names the one record it is
|
|
61
66
|
* about, and says which page fixes it. Its words are a template the
|
|
@@ -107,6 +112,13 @@ var SetupHealthCheck;
|
|
|
107
112
|
SetupHealthCheck["ChannelOff"] = "channel_off";
|
|
108
113
|
SetupHealthCheck["NoBalance"] = "no_balance";
|
|
109
114
|
SetupHealthCheck["ServerCannotSend"] = "server_cannot_send";
|
|
115
|
+
// From the chains' owners no Created email reaches (#9371).
|
|
116
|
+
SetupHealthCheck["OwnerNotEmailed"] = "owner_not_emailed";
|
|
117
|
+
/*
|
|
118
|
+
* Somebody on a policy with no verified phone method while the project
|
|
119
|
+
* asks people on call for one (#7449): from Readiness's answer.
|
|
120
|
+
*/
|
|
121
|
+
SetupHealthCheck["ResponderHasNoPhone"] = "responder_has_no_phone";
|
|
110
122
|
// The project's other records.
|
|
111
123
|
SetupHealthCheck["PolicyNotRun"] = "policy_not_run";
|
|
112
124
|
SetupHealthCheck["ScheduleHasNobodyOnCall"] = "schedule_has_nobody_on_call";
|
|
@@ -133,8 +145,10 @@ exports.SETUP_HEALTH_CHECK_ORDER = [
|
|
|
133
145
|
SetupHealthCheck.PolicyHasNoEscalationRules,
|
|
134
146
|
SetupHealthCheck.PolicyReachesNobody,
|
|
135
147
|
SetupHealthCheck.ResponderCannotBePaged,
|
|
148
|
+
SetupHealthCheck.ResponderHasNoPhone,
|
|
136
149
|
SetupHealthCheck.MonitorPagesNobody,
|
|
137
150
|
SetupHealthCheck.MonitorTellsNobody,
|
|
151
|
+
SetupHealthCheck.OwnerNotEmailed,
|
|
138
152
|
SetupHealthCheck.PolicyNotRun,
|
|
139
153
|
SetupHealthCheck.ScheduleHasNobodyOnCall,
|
|
140
154
|
SetupHealthCheck.LowBalance,
|
|
@@ -162,6 +176,11 @@ var SetupHealthRecordKind;
|
|
|
162
176
|
SetupHealthRecordKind["StatusPageDomain"] = "StatusPageDomain";
|
|
163
177
|
SetupHealthRecordKind["TelemetryIngestionKey"] = "TelemetryIngestionKey";
|
|
164
178
|
SetupHealthRecordKind["Project"] = "Project";
|
|
179
|
+
// A team named as an owner that the Created email reaches nobody through (#9371).
|
|
180
|
+
SetupHealthRecordKind["Team"] = "Team";
|
|
181
|
+
// An owner rule that adds someone no Created email reaches (#9371).
|
|
182
|
+
SetupHealthRecordKind["IncidentOwnerRule"] = "IncidentOwnerRule";
|
|
183
|
+
SetupHealthRecordKind["AlertOwnerRule"] = "AlertOwnerRule";
|
|
165
184
|
})(SetupHealthRecordKind || (exports.SetupHealthRecordKind = SetupHealthRecordKind = {}));
|
|
166
185
|
// The page that puts a finding right.
|
|
167
186
|
var SetupHealthFix;
|
|
@@ -187,6 +206,15 @@ var SetupHealthFix;
|
|
|
187
206
|
SetupHealthFix["WorkspaceNotificationRules"] = "WorkspaceNotificationRules";
|
|
188
207
|
// The ingestion key's own page: when it was last used, and Delete.
|
|
189
208
|
SetupHealthFix["TelemetryIngestionKey"] = "TelemetryIngestionKey";
|
|
209
|
+
/*
|
|
210
|
+
* Where an owner no Created email reaches is put right (#9371), as the
|
|
211
|
+
* When this goes down card links it: a team's members, the network
|
|
212
|
+
* device's owners, the incident or alert owner rules.
|
|
213
|
+
*/
|
|
214
|
+
SetupHealthFix["TeamMembers"] = "TeamMembers";
|
|
215
|
+
SetupHealthFix["NetworkDeviceOwners"] = "NetworkDeviceOwners";
|
|
216
|
+
SetupHealthFix["IncidentOwnerRules"] = "IncidentOwnerRules";
|
|
217
|
+
SetupHealthFix["AlertOwnerRules"] = "AlertOwnerRules";
|
|
190
218
|
})(SetupHealthFix || (exports.SetupHealthFix = SetupHealthFix = {}));
|
|
191
219
|
// Why a responder can't be paged (ResponderCannotBePaged's reasons), worst first.
|
|
192
220
|
var SetupHealthResponderReason;
|
|
@@ -229,6 +257,31 @@ var SetupHealthCertificateReason;
|
|
|
229
257
|
SetupHealthCertificateReason["NotIssued"] = "not_issued";
|
|
230
258
|
SetupHealthCertificateReason["Expired"] = "expired";
|
|
231
259
|
})(SetupHealthCertificateReason || (exports.SetupHealthCertificateReason = SetupHealthCertificateReason = {}));
|
|
260
|
+
/*
|
|
261
|
+
* AN OWNER NO CREATED EMAIL REACHES (OwnerNotEmailed's subjects, #9371):
|
|
262
|
+
* what names them, and why the email can't reach them - each with its own
|
|
263
|
+
* record and fix, as the When this goes down card links it:
|
|
264
|
+
*
|
|
265
|
+
* - a team of the project with nobody in it who is a member, wherever it
|
|
266
|
+
* is named: the team (Open Team);
|
|
267
|
+
* - somebody who isn't a member of the project, or a team of another
|
|
268
|
+
* project, named in a monitor's criteria (Open Criteria), owning the
|
|
269
|
+
* network device a monitor watches (Open Network Device), or added by
|
|
270
|
+
* an owner rule (Open Owner Rules).
|
|
271
|
+
*
|
|
272
|
+
* The values are kept in dismissals (getSetupHealthDismissalId), so they
|
|
273
|
+
* are never renamed.
|
|
274
|
+
*/
|
|
275
|
+
var SetupHealthOwnerSubject;
|
|
276
|
+
(function (SetupHealthOwnerSubject) {
|
|
277
|
+
SetupHealthOwnerSubject["TeamHasNobody"] = "team_has_nobody";
|
|
278
|
+
SetupHealthOwnerSubject["CriteriaNotInProject"] = "criteria_not_in_project";
|
|
279
|
+
SetupHealthOwnerSubject["CriteriaTeamOfAnotherProject"] = "criteria_team_of_another_project";
|
|
280
|
+
SetupHealthOwnerSubject["NetworkDeviceNotInProject"] = "network_device_not_in_project";
|
|
281
|
+
SetupHealthOwnerSubject["NetworkDeviceTeamOfAnotherProject"] = "network_device_team_of_another_project";
|
|
282
|
+
SetupHealthOwnerSubject["OwnerRuleNotInProject"] = "owner_rule_not_in_project";
|
|
283
|
+
SetupHealthOwnerSubject["OwnerRuleTeamOfAnotherProject"] = "owner_rule_team_of_another_project";
|
|
284
|
+
})(SetupHealthOwnerSubject || (exports.SetupHealthOwnerSubject = SetupHealthOwnerSubject = {}));
|
|
232
285
|
// Which records an incident or an alert has the on-call rules of.
|
|
233
286
|
var SetupHealthEventKind;
|
|
234
287
|
(function (SetupHealthEventKind) {
|
|
@@ -257,6 +310,7 @@ exports.SETUP_HEALTH_WORDS = {
|
|
|
257
310
|
[SetupHealthResponderReason.NoRuleNoFallback]: (0, Translator_1.translationKey)("{{name}} has no on-call rule for some pages an on-call policy sends them, and this project doesn't fall back to verified methods."),
|
|
258
311
|
[SetupHealthResponderReason.OptedOut]: (0, Translator_1.translationKey)("{{name}} opted out of some pages an on-call policy sends them."),
|
|
259
312
|
},
|
|
313
|
+
responderHasNoPhone: (0, Translator_1.translationKey)("{{name}} is on call but has no verified phone method, which this project asks everyone on call to have."),
|
|
260
314
|
channelOff: (0, Translator_1.translationKey)("{{channel}} is off in this project, so pages that use it are not sent."),
|
|
261
315
|
noBalance: (0, Translator_1.translationKey)("This project has no balance left for SMS and calls, so they are not sent."),
|
|
262
316
|
serverCannotSend: {
|
|
@@ -264,6 +318,20 @@ exports.SETUP_HEALTH_WORDS = {
|
|
|
264
318
|
[WhoIsTold_1.WhoIsToldServerChannel.SMS]: (0, Translator_1.translationKey)("This server can't send SMS yet, so SMS pages are not sent."),
|
|
265
319
|
[WhoIsTold_1.WhoIsToldServerChannel.Call]: (0, Translator_1.translationKey)("This server can't make phone calls yet, so call pages are not sent."),
|
|
266
320
|
},
|
|
321
|
+
/*
|
|
322
|
+
* The card says the team's in these words, and the rest in two sentences
|
|
323
|
+
* of its own (why, then where they are named): here each is one, with
|
|
324
|
+
* the monitor or the owner rule that names them.
|
|
325
|
+
*/
|
|
326
|
+
ownerNotEmailed: {
|
|
327
|
+
[SetupHealthOwnerSubject.TeamHasNobody]: (0, Translator_1.translationKey)("Team {{team}} has nobody in it who is a member of this project, so nobody is emailed through it."),
|
|
328
|
+
[SetupHealthOwnerSubject.CriteriaNotInProject]: (0, Translator_1.translationKey)("Someone named as an owner in the criteria of {{monitor}} isn't a member of this project, so isn't emailed."),
|
|
329
|
+
[SetupHealthOwnerSubject.CriteriaTeamOfAnotherProject]: (0, Translator_1.translationKey)("A team of another project is named as an owner in the criteria of {{monitor}}, so nobody is emailed through it."),
|
|
330
|
+
[SetupHealthOwnerSubject.NetworkDeviceNotInProject]: (0, Translator_1.translationKey)("An owner of the network device {{monitor}} watches isn't a member of this project, so isn't emailed."),
|
|
331
|
+
[SetupHealthOwnerSubject.NetworkDeviceTeamOfAnotherProject]: (0, Translator_1.translationKey)("A team of another project owns the network device {{monitor}} watches, so nobody is emailed through it."),
|
|
332
|
+
[SetupHealthOwnerSubject.OwnerRuleNotInProject]: (0, Translator_1.translationKey)("Owner rule {{rule}} adds someone who isn't a member of this project as an owner, so they aren't emailed."),
|
|
333
|
+
[SetupHealthOwnerSubject.OwnerRuleTeamOfAnotherProject]: (0, Translator_1.translationKey)("Owner rule {{rule}} adds a team of another project as an owner, so nobody is emailed through it."),
|
|
334
|
+
},
|
|
267
335
|
policyNotRun: (0, Translator_1.translationKey)("On-call policy {{policy}} pages nobody: no on-call rule and no monitor runs it."),
|
|
268
336
|
scheduleHasNobodyOnCall: {
|
|
269
337
|
[SetupHealthScheduleReason.NoRotations]: (0, Translator_1.translationKey)("On-call schedule {{schedule}} has no rotations, so nobody is ever on call in it."),
|
|
@@ -429,6 +497,232 @@ function getChainFindings(facts, chain) {
|
|
|
429
497
|
}
|
|
430
498
|
return findings;
|
|
431
499
|
}
|
|
500
|
+
/*
|
|
501
|
+
* Each incident and alert a chain opens that its reader may see, and the
|
|
502
|
+
* incident an alert incident rule declares from it: one hidden from them
|
|
503
|
+
* (isHidden, getSetupHealthFactsForReader) is left out, with what it
|
|
504
|
+
* declares, as the card leaves them out.
|
|
505
|
+
*/
|
|
506
|
+
function getVisibleEvents(chain) {
|
|
507
|
+
const events = [];
|
|
508
|
+
for (const item of chain.criteria) {
|
|
509
|
+
for (const event of item.events) {
|
|
510
|
+
if (event.isHidden) {
|
|
511
|
+
continue;
|
|
512
|
+
}
|
|
513
|
+
events.push(event);
|
|
514
|
+
if (event.declares && !event.declares.incident.isHidden) {
|
|
515
|
+
events.push(event.declares.incident);
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
return events;
|
|
520
|
+
}
|
|
521
|
+
// What names an owner no email reaches, and why, as one subject.
|
|
522
|
+
function getOwnerSubject(owner) {
|
|
523
|
+
if (owner.problem === WhoIsTold_1.WhoIsToldOwnerProblem.TeamHasNobodyInProject) {
|
|
524
|
+
return SetupHealthOwnerSubject.TeamHasNobody;
|
|
525
|
+
}
|
|
526
|
+
const isPerson = owner.problem === WhoIsTold_1.WhoIsToldOwnerProblem.NotInProject;
|
|
527
|
+
switch (owner.addedBy) {
|
|
528
|
+
case WhoIsTold_1.WhoIsToldOwnerAddedBy.NetworkDevice:
|
|
529
|
+
return isPerson
|
|
530
|
+
? SetupHealthOwnerSubject.NetworkDeviceNotInProject
|
|
531
|
+
: SetupHealthOwnerSubject.NetworkDeviceTeamOfAnotherProject;
|
|
532
|
+
case WhoIsTold_1.WhoIsToldOwnerAddedBy.OwnerRule:
|
|
533
|
+
return isPerson
|
|
534
|
+
? SetupHealthOwnerSubject.OwnerRuleNotInProject
|
|
535
|
+
: SetupHealthOwnerSubject.OwnerRuleTeamOfAnotherProject;
|
|
536
|
+
default:
|
|
537
|
+
return isPerson
|
|
538
|
+
? SetupHealthOwnerSubject.CriteriaNotInProject
|
|
539
|
+
: SetupHealthOwnerSubject.CriteriaTeamOfAnotherProject;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
/*
|
|
543
|
+
* ONE OWNER NO CREATED EMAIL REACHES, AS A FINDING (#9371), about the
|
|
544
|
+
* record that puts it right - as the card links it:
|
|
545
|
+
*
|
|
546
|
+
* - a team of the project with nobody in it who is a member: the team,
|
|
547
|
+
* whose members are its fix, affecting the monitors whose records
|
|
548
|
+
* name it;
|
|
549
|
+
* - named in a monitor's criteria, or owning the network device a
|
|
550
|
+
* monitor watches: that monitor, with its criteria or the device's
|
|
551
|
+
* owners as its fix;
|
|
552
|
+
* - added by an owner rule: the rule, with the incident's or alert's
|
|
553
|
+
* owner rules as its fix, affecting the monitors whose records it
|
|
554
|
+
* adds them to.
|
|
555
|
+
*
|
|
556
|
+
* Null for an owner the card links no page for: a device's owner with no
|
|
557
|
+
* device, an owner rule's with no rule.
|
|
558
|
+
*/
|
|
559
|
+
function getOwnerNotEmailedFinding(data) {
|
|
560
|
+
var _a;
|
|
561
|
+
const { chain, event, owner } = data;
|
|
562
|
+
const monitor = monitorRecord(chain);
|
|
563
|
+
const subject = getOwnerSubject(owner);
|
|
564
|
+
const words = exports.SETUP_HEALTH_WORDS.ownerNotEmailed[subject];
|
|
565
|
+
if (subject === SetupHealthOwnerSubject.TeamHasNobody) {
|
|
566
|
+
return makeSetupHealthFinding({
|
|
567
|
+
check: SetupHealthCheck.OwnerNotEmailed,
|
|
568
|
+
level: SetupHealthLevel.WorthFixing,
|
|
569
|
+
record: {
|
|
570
|
+
kind: SetupHealthRecordKind.Team,
|
|
571
|
+
id: owner.id,
|
|
572
|
+
name: owner.name,
|
|
573
|
+
},
|
|
574
|
+
subject: subject,
|
|
575
|
+
related: [monitor],
|
|
576
|
+
fix: SetupHealthFix.TeamMembers,
|
|
577
|
+
fixRecordId: owner.id,
|
|
578
|
+
words: words,
|
|
579
|
+
values: { team: owner.name },
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
if (owner.addedBy === WhoIsTold_1.WhoIsToldOwnerAddedBy.OwnerRule) {
|
|
583
|
+
if (!((_a = owner.rule) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
584
|
+
return null;
|
|
585
|
+
}
|
|
586
|
+
const isAlert = event.kind === OnCallTestPage_1.OnCallTestPageRecordKind.Alert;
|
|
587
|
+
return makeSetupHealthFinding({
|
|
588
|
+
check: SetupHealthCheck.OwnerNotEmailed,
|
|
589
|
+
level: SetupHealthLevel.WorthFixing,
|
|
590
|
+
record: {
|
|
591
|
+
kind: isAlert
|
|
592
|
+
? SetupHealthRecordKind.AlertOwnerRule
|
|
593
|
+
: SetupHealthRecordKind.IncidentOwnerRule,
|
|
594
|
+
id: owner.rule.id,
|
|
595
|
+
name: owner.rule.name,
|
|
596
|
+
},
|
|
597
|
+
subject: subject,
|
|
598
|
+
related: [monitor],
|
|
599
|
+
fix: isAlert
|
|
600
|
+
? SetupHealthFix.AlertOwnerRules
|
|
601
|
+
: SetupHealthFix.IncidentOwnerRules,
|
|
602
|
+
words: words,
|
|
603
|
+
values: { rule: owner.rule.name },
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
if (owner.addedBy === WhoIsTold_1.WhoIsToldOwnerAddedBy.NetworkDevice) {
|
|
607
|
+
if (!owner.networkDeviceId) {
|
|
608
|
+
return null;
|
|
609
|
+
}
|
|
610
|
+
return makeSetupHealthFinding({
|
|
611
|
+
check: SetupHealthCheck.OwnerNotEmailed,
|
|
612
|
+
level: SetupHealthLevel.WorthFixing,
|
|
613
|
+
record: monitor,
|
|
614
|
+
subject: subject,
|
|
615
|
+
fix: SetupHealthFix.NetworkDeviceOwners,
|
|
616
|
+
fixRecordId: owner.networkDeviceId,
|
|
617
|
+
words: words,
|
|
618
|
+
values: { monitor: chain.monitorName },
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
return makeSetupHealthFinding({
|
|
622
|
+
check: SetupHealthCheck.OwnerNotEmailed,
|
|
623
|
+
level: SetupHealthLevel.WorthFixing,
|
|
624
|
+
record: monitor,
|
|
625
|
+
subject: subject,
|
|
626
|
+
fix: SetupHealthFix.MonitorCriteria,
|
|
627
|
+
fixRecordId: monitor.id,
|
|
628
|
+
words: words,
|
|
629
|
+
values: { monitor: chain.monitorName },
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
/*
|
|
633
|
+
* THE OWNERS NO CREATED EMAIL REACHES (#9371): every owner the chains'
|
|
634
|
+
* incidents and alerts name that their Created email can't reach
|
|
635
|
+
* (WhoIsToldOwners.notReached, the card's "Owners who aren't emailed"),
|
|
636
|
+
* each as a finding about what puts it right. Worth fixing, not a page
|
|
637
|
+
* that won't arrive: the email still goes out, to the owners it reaches or
|
|
638
|
+
* to the Project Owners. A record hidden from the reader names nobody here,
|
|
639
|
+
* as on the card. One place that names someone for many monitors is one
|
|
640
|
+
* finding, affecting each.
|
|
641
|
+
*/
|
|
642
|
+
function getOwnerNotEmailedFindings(facts) {
|
|
643
|
+
const findings = [];
|
|
644
|
+
for (const chain of facts.chains) {
|
|
645
|
+
for (const event of getVisibleEvents(chain)) {
|
|
646
|
+
for (const owner of event.owners.notReached || []) {
|
|
647
|
+
const finding = getOwnerNotEmailedFinding({
|
|
648
|
+
chain: chain,
|
|
649
|
+
event: event,
|
|
650
|
+
owner: owner,
|
|
651
|
+
});
|
|
652
|
+
if (finding) {
|
|
653
|
+
findings.push(finding);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
return findings;
|
|
659
|
+
}
|
|
660
|
+
/*
|
|
661
|
+
* THE FACTS AS ONE READER'S CARDS TELL THEM (#9370). A private incident or
|
|
662
|
+
* alert a monitor would open that is not the reader's to see once it
|
|
663
|
+
* exists (#7213) raises no break on that monitor's card for them - nothing
|
|
664
|
+
* of whom it tells - so it raises no finding here either: each chain with
|
|
665
|
+
* such a record has its breaks worked out again without it, as the card
|
|
666
|
+
* works them out (getWhoIsToldBreaksForReader). A policy's or a person's
|
|
667
|
+
* break that some other record raises stays, about that record's monitor
|
|
668
|
+
* alone. Such a record is marked hidden too (isHidden), so none of its
|
|
669
|
+
* owners no Created email reaches is listed for them (#9371): the card
|
|
670
|
+
* tells them nothing of its owners. The chains themselves are kept whole,
|
|
671
|
+
* so a policy a private record's criteria names is still run by something
|
|
672
|
+
* (getPolicyNotRunFindings). The same facts when nothing is hidden from the
|
|
673
|
+
* reader.
|
|
674
|
+
*/
|
|
675
|
+
function getSetupHealthFactsForReader(facts, isHidden) {
|
|
676
|
+
if (!facts.chains.some((chain) => {
|
|
677
|
+
return (0, WhoIsTold_1.hasWhoIsToldHiddenEvent)(chain, isHidden);
|
|
678
|
+
})) {
|
|
679
|
+
return facts;
|
|
680
|
+
}
|
|
681
|
+
// A record as the reader is told it: marked hidden when it is.
|
|
682
|
+
const marked = (event) => {
|
|
683
|
+
return isHidden(event) ? { ...event, isHidden: true } : event;
|
|
684
|
+
};
|
|
685
|
+
return {
|
|
686
|
+
...facts,
|
|
687
|
+
chains: facts.chains.map((chain) => {
|
|
688
|
+
if (!(0, WhoIsTold_1.hasWhoIsToldHiddenEvent)(chain, isHidden)) {
|
|
689
|
+
return chain;
|
|
690
|
+
}
|
|
691
|
+
return {
|
|
692
|
+
...chain,
|
|
693
|
+
breaks: (0, WhoIsTold_1.getWhoIsToldBreaksForReader)({
|
|
694
|
+
result: chain,
|
|
695
|
+
isHidden: isHidden,
|
|
696
|
+
}),
|
|
697
|
+
criteria: chain.criteria.map((item) => {
|
|
698
|
+
return {
|
|
699
|
+
...item,
|
|
700
|
+
events: item.events.map((event) => {
|
|
701
|
+
const shown = marked(event);
|
|
702
|
+
return event.declares
|
|
703
|
+
? {
|
|
704
|
+
...shown,
|
|
705
|
+
declares: {
|
|
706
|
+
...event.declares,
|
|
707
|
+
incident: marked(event.declares.incident),
|
|
708
|
+
},
|
|
709
|
+
}
|
|
710
|
+
: shown;
|
|
711
|
+
}),
|
|
712
|
+
};
|
|
713
|
+
}),
|
|
714
|
+
};
|
|
715
|
+
}),
|
|
716
|
+
};
|
|
717
|
+
}
|
|
718
|
+
// Whether some chain would open a private incident or alert.
|
|
719
|
+
function hasSetupHealthPrivateEvent(facts) {
|
|
720
|
+
return facts.chains.some((chain) => {
|
|
721
|
+
return (0, WhoIsTold_1.hasWhoIsToldHiddenEvent)(chain, (event) => {
|
|
722
|
+
return event.isPrivate === true;
|
|
723
|
+
});
|
|
724
|
+
});
|
|
725
|
+
}
|
|
432
726
|
function getBreakFinding(data) {
|
|
433
727
|
const brk = data.brk;
|
|
434
728
|
switch (brk.kind) {
|
|
@@ -584,6 +878,32 @@ function getResponderFindings(facts) {
|
|
|
584
878
|
});
|
|
585
879
|
});
|
|
586
880
|
}
|
|
881
|
+
/*
|
|
882
|
+
* The people on a policy with no verified phone method while their project
|
|
883
|
+
* asks everyone on call for one (#7449), as Readiness answers it - never
|
|
884
|
+
* worked out a second time. Somebody nothing reaches is already a finding
|
|
885
|
+
* of their own (getResponderFindings), which says more.
|
|
886
|
+
*/
|
|
887
|
+
function getResponderPhoneFindings(facts) {
|
|
888
|
+
return facts.responders
|
|
889
|
+
.filter((responder) => {
|
|
890
|
+
return (Boolean(responder.isMissingPhoneMethod) && !responder.isNotReachable);
|
|
891
|
+
})
|
|
892
|
+
.map((responder) => {
|
|
893
|
+
return makeSetupHealthFinding({
|
|
894
|
+
check: SetupHealthCheck.ResponderHasNoPhone,
|
|
895
|
+
level: SetupHealthLevel.WorthFixing,
|
|
896
|
+
record: {
|
|
897
|
+
kind: SetupHealthRecordKind.User,
|
|
898
|
+
id: responder.userId,
|
|
899
|
+
name: responder.name,
|
|
900
|
+
},
|
|
901
|
+
fix: SetupHealthFix.OnCallReadiness,
|
|
902
|
+
words: exports.SETUP_HEALTH_WORDS.responderHasNoPhone,
|
|
903
|
+
values: { name: responder.name || "Someone" },
|
|
904
|
+
});
|
|
905
|
+
});
|
|
906
|
+
}
|
|
587
907
|
// The ids of the policies a monitor's criteria names for what it opens.
|
|
588
908
|
function getPolicyIdsNamedByCriteria(chains) {
|
|
589
909
|
const named = new Set();
|
|
@@ -1075,7 +1395,9 @@ exports.SETUP_HEALTH_RULES = [
|
|
|
1075
1395
|
});
|
|
1076
1396
|
},
|
|
1077
1397
|
getResponderFindings,
|
|
1398
|
+
getResponderPhoneFindings,
|
|
1078
1399
|
getServerFindings,
|
|
1400
|
+
getOwnerNotEmailedFindings,
|
|
1079
1401
|
getPolicyNotRunFindings,
|
|
1080
1402
|
getScheduleFindings,
|
|
1081
1403
|
getLowBalanceFindings,
|
|
@@ -1200,6 +1522,7 @@ function getSetupHealthCounts(findings) {
|
|
|
1200
1522
|
};
|
|
1201
1523
|
}
|
|
1202
1524
|
function isRecordReadable(record, readable) {
|
|
1525
|
+
var _a, _b, _c;
|
|
1203
1526
|
switch (record.kind) {
|
|
1204
1527
|
case SetupHealthRecordKind.Monitor:
|
|
1205
1528
|
return readable.monitorIds.has(record.id);
|
|
@@ -1218,6 +1541,12 @@ function isRecordReadable(record, readable) {
|
|
|
1218
1541
|
return false;
|
|
1219
1542
|
case SetupHealthRecordKind.Project:
|
|
1220
1543
|
return true;
|
|
1544
|
+
case SetupHealthRecordKind.Team:
|
|
1545
|
+
return Boolean((_a = readable.teamIds) === null || _a === void 0 ? void 0 : _a.has(record.id));
|
|
1546
|
+
case SetupHealthRecordKind.IncidentOwnerRule:
|
|
1547
|
+
return Boolean((_b = readable.incidentOwnerRuleIds) === null || _b === void 0 ? void 0 : _b.has(record.id));
|
|
1548
|
+
case SetupHealthRecordKind.AlertOwnerRule:
|
|
1549
|
+
return Boolean((_c = readable.alertOwnerRuleIds) === null || _c === void 0 ? void 0 : _c.has(record.id));
|
|
1221
1550
|
}
|
|
1222
1551
|
}
|
|
1223
1552
|
function isSetupHealthFindingReadable(finding, readable) {
|
|
@@ -19,6 +19,7 @@ export const SetupHealthEventKind = commonJsModule.SetupHealthEventKind;
|
|
|
19
19
|
export const SetupHealthFix = commonJsModule.SetupHealthFix;
|
|
20
20
|
export const SetupHealthLevel = commonJsModule.SetupHealthLevel;
|
|
21
21
|
export const SetupHealthMonitorReason = commonJsModule.SetupHealthMonitorReason;
|
|
22
|
+
export const SetupHealthOwnerSubject = commonJsModule.SetupHealthOwnerSubject;
|
|
22
23
|
export const SetupHealthRecordKind = commonJsModule.SetupHealthRecordKind;
|
|
23
24
|
export const SetupHealthResponderReason = commonJsModule.SetupHealthResponderReason;
|
|
24
25
|
export const SetupHealthScheduleReason = commonJsModule.SetupHealthScheduleReason;
|
|
@@ -35,12 +36,15 @@ export const getLowBalanceFindings = commonJsModule.getLowBalanceFindings;
|
|
|
35
36
|
export const getMonitorNotCheckedFindings = commonJsModule.getMonitorNotCheckedFindings;
|
|
36
37
|
export const getMonitorOffForLongFindings = commonJsModule.getMonitorOffForLongFindings;
|
|
37
38
|
export const getOwnerFindings = commonJsModule.getOwnerFindings;
|
|
39
|
+
export const getOwnerNotEmailedFindings = commonJsModule.getOwnerNotEmailedFindings;
|
|
38
40
|
export const getPolicyNotRunFindings = commonJsModule.getPolicyNotRunFindings;
|
|
39
41
|
export const getResponderFindings = commonJsModule.getResponderFindings;
|
|
42
|
+
export const getResponderPhoneFindings = commonJsModule.getResponderPhoneFindings;
|
|
40
43
|
export const getScheduleFindings = commonJsModule.getScheduleFindings;
|
|
41
44
|
export const getServerFindings = commonJsModule.getServerFindings;
|
|
42
45
|
export const getSetupHealthCounts = commonJsModule.getSetupHealthCounts;
|
|
43
46
|
export const getSetupHealthDismissalId = commonJsModule.getSetupHealthDismissalId;
|
|
47
|
+
export const getSetupHealthFactsForReader = commonJsModule.getSetupHealthFactsForReader;
|
|
44
48
|
export const getSetupHealthFindingKey = commonJsModule.getSetupHealthFindingKey;
|
|
45
49
|
export const getSetupHealthFindings = commonJsModule.getSetupHealthFindings;
|
|
46
50
|
export const getSetupHealthFindingsForRecord = commonJsModule.getSetupHealthFindingsForRecord;
|
|
@@ -50,6 +54,7 @@ export const getStatusPageDomainFindings = commonJsModule.getStatusPageDomainFin
|
|
|
50
54
|
export const getStatusPageFindings = commonJsModule.getStatusPageFindings;
|
|
51
55
|
export const getTelemetryFindings = commonJsModule.getTelemetryFindings;
|
|
52
56
|
export const getWorkspaceFindings = commonJsModule.getWorkspaceFindings;
|
|
57
|
+
export const hasSetupHealthPrivateEvent = commonJsModule.hasSetupHealthPrivateEvent;
|
|
53
58
|
export const isIngestionKeyNeverUsed = commonJsModule.isIngestionKeyNeverUsed;
|
|
54
59
|
export const isSetupHealthFindingReadable = commonJsModule.isSetupHealthFindingReadable;
|
|
55
60
|
export const isSetupHealthRecordKindWithAPage = commonJsModule.isSetupHealthRecordKindWithAPage;
|
|
@@ -23,16 +23,19 @@
|
|
|
23
23
|
* declared without notifying stays quiet
|
|
24
24
|
* (PublicNoteSubscriberNotificationDefault).
|
|
25
25
|
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* Slack's and Microsoft Teams' Declare Incident forms ask too, their box
|
|
27
|
+
* starting the same way (Server/Utils/Workspace
|
|
28
|
+
* /WorkspaceIncidentSubscriberNotification, #7917). People also declare
|
|
29
|
+
* incidents where no box asks: OneUptime AI when someone asks it to, and a
|
|
30
|
+
* chat form opened before the chats asked. Those follow the switch, as the
|
|
31
|
+
* box would have started
|
|
29
32
|
* (Server/Utils/StatusPage/NewIncidentSubscriberNotificationDefaultReader):
|
|
30
33
|
* off, they are declared without notifying. Incidents nobody declares by
|
|
31
34
|
* hand - by monitors, the API, Terraform, workflows or a public form - keep
|
|
32
35
|
* their own value, which notifies unless they say otherwise.
|
|
33
36
|
*
|
|
34
|
-
* Shared by the dashboard, which
|
|
35
|
-
* declares the
|
|
37
|
+
* Shared by the dashboard and the chats, which start the box from it, the
|
|
38
|
+
* server, which declares the AI's incidents by it, and their tests.
|
|
36
39
|
*/
|
|
37
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
41
|
exports.NEW_INCIDENT_NOTIFY_DEFAULT_COLUMN = void 0;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* A STATUS PAGE'S NAME, AS ITS VISITORS READ IT (#7467).
|
|
4
|
+
*
|
|
5
|
+
* A status page has two names: its name, the one field Create Status Page
|
|
6
|
+
* and the guided setup ask for, and its Page Title (Branding > Title and
|
|
7
|
+
* Search Engine Description, folded under More settings), which few people
|
|
8
|
+
* ever set. The public page read the Page Title alone, so a new page - made
|
|
9
|
+
* either way, with no Page Title - named itself nowhere: its tab read
|
|
10
|
+
* "Status Page", its header was empty, and a customer landing on it could
|
|
11
|
+
* not tell whose status it was, while the guided setup's preview of the
|
|
12
|
+
* same page showed its name.
|
|
13
|
+
*
|
|
14
|
+
* A page's public name is its Page Title when it has one, else its name -
|
|
15
|
+
* the rule its page's HTML title, its subscribers' emails and its
|
|
16
|
+
* maintenance calendar already followed. The public page's header and tab,
|
|
17
|
+
* the status page server's answers and the guided setup's preview all read
|
|
18
|
+
* it here, so they say the same name. A page with a Page Title never sends
|
|
19
|
+
* its name to a visitor: the name may be one the team uses among
|
|
20
|
+
* themselves.
|
|
21
|
+
*/
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.getStatusPagePublicName = void 0;
|
|
24
|
+
const getStatusPagePublicName = (statusPage) => {
|
|
25
|
+
const pageTitle = (statusPage.pageTitle || "").trim();
|
|
26
|
+
if (pageTitle) {
|
|
27
|
+
return pageTitle;
|
|
28
|
+
}
|
|
29
|
+
return (statusPage.name || "").trim();
|
|
30
|
+
};
|
|
31
|
+
exports.getStatusPagePublicName = getStatusPagePublicName;
|
|
32
|
+
exports.default = exports.getStatusPagePublicName;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON.mjs";
|
|
2
|
+
import ObjectID from "../ObjectID.mjs";
|
|
3
|
+
export declare const INVITATION_EMAILS_NOT_SENT_ROUTE: string;
|
|
4
|
+
export declare const MAX_PEOPLE_PER_INVITATION_EMAILS_READ: number;
|
|
5
|
+
export interface InvitationEmailNotSent {
|
|
6
|
+
userId: string;
|
|
7
|
+
statusMessage: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function readInvitationEmailsNotSentRequest(body: unknown): Array<ObjectID>;
|
|
10
|
+
export declare function toInvitationEmailsNotSentRequestJSON(userIds: ReadonlyArray<string>): JSONObject;
|
|
11
|
+
export declare function toInvitationEmailsNotSentAnswerJSON(people: ReadonlyArray<InvitationEmailNotSent>): JSONObject;
|
|
12
|
+
export declare function readInvitationEmailsNotSentAnswer(data: unknown): Array<InvitationEmailNotSent>;
|
|
13
|
+
export declare const INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE: string;
|
|
14
|
+
export interface ProjectInvitee {
|
|
15
|
+
projectId: string;
|
|
16
|
+
userId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ProjectInvitationEmailNotSent extends ProjectInvitee {
|
|
19
|
+
statusMessage: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function getProjectInviteeKey(invitee: ProjectInvitee): string;
|
|
22
|
+
export declare function readInvitationEmailsNotSentInProjectsRequest(body: unknown): Array<{
|
|
23
|
+
projectId: ObjectID;
|
|
24
|
+
userId: ObjectID;
|
|
25
|
+
}>;
|
|
26
|
+
export declare function toInvitationEmailsNotSentInProjectsRequestJSON(invitees: ReadonlyArray<ProjectInvitee>): JSONObject;
|
|
27
|
+
export declare function toInvitationEmailsNotSentInProjectsAnswerJSON(invitees: ReadonlyArray<ProjectInvitationEmailNotSent>): JSONObject;
|
|
28
|
+
export declare function readInvitationEmailsNotSentInProjectsAnswer(data: unknown): Array<ProjectInvitationEmailNotSent>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON";
|
|
2
|
+
import ObjectID from "../ObjectID";
|
|
3
|
+
export declare const INVITATION_EMAILS_NOT_SENT_ROUTE: string;
|
|
4
|
+
export declare const MAX_PEOPLE_PER_INVITATION_EMAILS_READ: number;
|
|
5
|
+
export interface InvitationEmailNotSent {
|
|
6
|
+
userId: string;
|
|
7
|
+
statusMessage: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function readInvitationEmailsNotSentRequest(body: unknown): Array<ObjectID>;
|
|
10
|
+
export declare function toInvitationEmailsNotSentRequestJSON(userIds: ReadonlyArray<string>): JSONObject;
|
|
11
|
+
export declare function toInvitationEmailsNotSentAnswerJSON(people: ReadonlyArray<InvitationEmailNotSent>): JSONObject;
|
|
12
|
+
export declare function readInvitationEmailsNotSentAnswer(data: unknown): Array<InvitationEmailNotSent>;
|
|
13
|
+
export declare const INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE: string;
|
|
14
|
+
export interface ProjectInvitee {
|
|
15
|
+
projectId: string;
|
|
16
|
+
userId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ProjectInvitationEmailNotSent extends ProjectInvitee {
|
|
19
|
+
statusMessage: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function getProjectInviteeKey(invitee: ProjectInvitee): string;
|
|
22
|
+
export declare function readInvitationEmailsNotSentInProjectsRequest(body: unknown): Array<{
|
|
23
|
+
projectId: ObjectID;
|
|
24
|
+
userId: ObjectID;
|
|
25
|
+
}>;
|
|
26
|
+
export declare function toInvitationEmailsNotSentInProjectsRequestJSON(invitees: ReadonlyArray<ProjectInvitee>): JSONObject;
|
|
27
|
+
export declare function toInvitationEmailsNotSentInProjectsAnswerJSON(invitees: ReadonlyArray<ProjectInvitationEmailNotSent>): JSONObject;
|
|
28
|
+
export declare function readInvitationEmailsNotSentInProjectsAnswer(data: unknown): Array<ProjectInvitationEmailNotSent>;
|