@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WhoIsToldPagingState = exports.WHO_IS_TOLD_CACHE_TTL_IN_MS = exports.WhoIsToldServerChannel = exports.WhoIsToldFix = exports.WhoIsToldBreakKind = exports.WhoIsToldPersonProblem = exports.WhoIsToldOwnersSource = void 0;
|
|
3
|
+
exports.WhoIsToldPagingState = exports.WHO_IS_TOLD_PERSON_PROBLEM_CLAUSES = exports.WHO_IS_TOLD_CACHE_TTL_IN_MS = exports.WhoIsToldServerChannel = exports.WhoIsToldFix = exports.WhoIsToldBreakKind = exports.WhoIsToldPersonProblem = exports.WhoIsToldOwnerAddedBy = exports.WhoIsToldOwnerProblem = exports.WhoIsToldOwnerKind = exports.WhoIsToldOwnersSource = void 0;
|
|
4
4
|
exports.getChannelsSwitchedOff = getChannelsSwitchedOff;
|
|
5
5
|
exports.getWhoIsToldPersonReach = getWhoIsToldPersonReach;
|
|
6
6
|
exports.getWhoIsToldBreakMessage = getWhoIsToldBreakMessage;
|
|
@@ -9,6 +9,9 @@ exports.getWhoIsToldBreaks = getWhoIsToldBreaks;
|
|
|
9
9
|
exports.canWhoIsToldChannelSendNow = canWhoIsToldChannelSendNow;
|
|
10
10
|
exports.isWhoIsToldPersonPagedAtOnce = isWhoIsToldPersonPagedAtOnce;
|
|
11
11
|
exports.getWhoIsToldOwnersAsTold = getWhoIsToldOwnersAsTold;
|
|
12
|
+
exports.isWhoIsToldEventHidden = isWhoIsToldEventHidden;
|
|
13
|
+
exports.getWhoIsToldBreaksForReader = getWhoIsToldBreaksForReader;
|
|
14
|
+
exports.hasWhoIsToldHiddenEvent = hasWhoIsToldHiddenEvent;
|
|
12
15
|
exports.redactWhoIsTold = redactWhoIsTold;
|
|
13
16
|
exports.getWhoIsToldHeadline = getWhoIsToldHeadline;
|
|
14
17
|
exports.getReachablePeople = getReachablePeople;
|
|
@@ -67,6 +70,29 @@ var WhoIsToldOwnersSource;
|
|
|
67
70
|
// Status only: the monitor's own owners are emailed of the change.
|
|
68
71
|
WhoIsToldOwnersSource["MonitorOwners"] = "MonitorOwners";
|
|
69
72
|
})(WhoIsToldOwnersSource || (exports.WhoIsToldOwnersSource = WhoIsToldOwnersSource = {}));
|
|
73
|
+
// Whom an owner is: a person or a team.
|
|
74
|
+
var WhoIsToldOwnerKind;
|
|
75
|
+
(function (WhoIsToldOwnerKind) {
|
|
76
|
+
WhoIsToldOwnerKind["User"] = "User";
|
|
77
|
+
WhoIsToldOwnerKind["Team"] = "Team";
|
|
78
|
+
})(WhoIsToldOwnerKind || (exports.WhoIsToldOwnerKind = WhoIsToldOwnerKind = {}));
|
|
79
|
+
// Why the Created email never reaches an owner (#7572).
|
|
80
|
+
var WhoIsToldOwnerProblem;
|
|
81
|
+
(function (WhoIsToldOwnerProblem) {
|
|
82
|
+
// A person who left the project, or never accepted its invitation.
|
|
83
|
+
WhoIsToldOwnerProblem["NotInProject"] = "NotInProject";
|
|
84
|
+
// A team of the project with nobody in it who is a member of the project.
|
|
85
|
+
WhoIsToldOwnerProblem["TeamHasNobodyInProject"] = "TeamHasNobodyInProject";
|
|
86
|
+
// A team of another project: it reaches nobody here.
|
|
87
|
+
WhoIsToldOwnerProblem["TeamOfAnotherProject"] = "TeamOfAnotherProject";
|
|
88
|
+
})(WhoIsToldOwnerProblem || (exports.WhoIsToldOwnerProblem = WhoIsToldOwnerProblem = {}));
|
|
89
|
+
// What named an owner: the place to change it.
|
|
90
|
+
var WhoIsToldOwnerAddedBy;
|
|
91
|
+
(function (WhoIsToldOwnerAddedBy) {
|
|
92
|
+
WhoIsToldOwnerAddedBy["Criteria"] = "Criteria";
|
|
93
|
+
WhoIsToldOwnerAddedBy["NetworkDevice"] = "NetworkDevice";
|
|
94
|
+
WhoIsToldOwnerAddedBy["OwnerRule"] = "OwnerRule";
|
|
95
|
+
})(WhoIsToldOwnerAddedBy || (exports.WhoIsToldOwnerAddedBy = WhoIsToldOwnerAddedBy = {}));
|
|
70
96
|
// Why a person a policy reaches cannot be told by a page of this severity.
|
|
71
97
|
var WhoIsToldPersonProblem;
|
|
72
98
|
(function (WhoIsToldPersonProblem) {
|
|
@@ -263,12 +289,20 @@ function eachOnce(channels) {
|
|
|
263
289
|
function recordsWord(kind) {
|
|
264
290
|
return kind === OnCallTestPage_1.OnCallTestPageRecordKind.Alert ? "alerts" : "incidents";
|
|
265
291
|
}
|
|
266
|
-
|
|
267
|
-
|
|
292
|
+
/*
|
|
293
|
+
* WHY A PERSON CAN'T BE PAGED, in a clause after their name: "Ana Lopez has
|
|
294
|
+
* no verified notification method". The words the monitor's "When this goes
|
|
295
|
+
* down" card says it in (the Dashboard's WhoIsToldWords, "{{name}} has no
|
|
296
|
+
* verified notification method."), so the server's break sentence, Ask AI's
|
|
297
|
+
* who_is_told (#7525) and the card say each reason alike -
|
|
298
|
+
* MonitorWhoIsToldAskAiAgreement holds the three to it. A Record, so a new
|
|
299
|
+
* problem does not compile until it is worded here.
|
|
300
|
+
*/
|
|
301
|
+
exports.WHO_IS_TOLD_PERSON_PROBLEM_CLAUSES = {
|
|
268
302
|
[WhoIsToldPersonProblem.OptedOut]: "opted out of pages of this severity",
|
|
269
|
-
[WhoIsToldPersonProblem.NoRuleNoFallback]: "has no on-call rule for this severity, and this project
|
|
303
|
+
[WhoIsToldPersonProblem.NoRuleNoFallback]: "has no on-call rule for this severity, and this project doesn't fall back to verified methods",
|
|
270
304
|
[WhoIsToldPersonProblem.NoVerifiedMethod]: "has no verified notification method",
|
|
271
|
-
[WhoIsToldPersonProblem.ChannelsOff]: "is reached only by channels
|
|
305
|
+
[WhoIsToldPersonProblem.ChannelsOff]: "is reached only by channels that are off in this project",
|
|
272
306
|
};
|
|
273
307
|
/*
|
|
274
308
|
* A break's sentence, from what it is about. A name the caller may not read
|
|
@@ -293,7 +327,7 @@ function getWhoIsToldBreakMessage(brk) {
|
|
|
293
327
|
case WhoIsToldBreakKind.PolicyReachesNobody:
|
|
294
328
|
return `${policy} reaches nobody right now: its first escalation rule has nobody on call. Add people to it, or put someone on its schedule.`;
|
|
295
329
|
case WhoIsToldBreakKind.PersonUnreachable:
|
|
296
|
-
return `${brk.userName || "Someone this policy pages"} ${
|
|
330
|
+
return `${brk.userName || "Someone this policy pages"} ${exports.WHO_IS_TOLD_PERSON_PROBLEM_CLAUSES[brk.problem || WhoIsToldPersonProblem.NoVerifiedMethod]}, so a page won't reach them.`;
|
|
297
331
|
case WhoIsToldBreakKind.ChannelOff: {
|
|
298
332
|
/*
|
|
299
333
|
* A channel costs money, so its switch is billing: a Project Owner, a
|
|
@@ -337,16 +371,37 @@ function getBreakKey(brk) {
|
|
|
337
371
|
brk.channel || "",
|
|
338
372
|
].join("|");
|
|
339
373
|
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
374
|
+
/*
|
|
375
|
+
* Every incident and alert of the chain, in the order a reader meets them:
|
|
376
|
+
* each criteria's, and after an alert the incident an alert incident rule
|
|
377
|
+
* declares from it (#7216). One a reader may not see (skip) is left out,
|
|
378
|
+
* and so is what it declares.
|
|
379
|
+
*/
|
|
380
|
+
function getChainEvents(criteria, skip) {
|
|
381
|
+
var _a;
|
|
382
|
+
const events = [];
|
|
343
383
|
for (const item of criteria) {
|
|
344
384
|
for (const event of item.events) {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
385
|
+
if (skip && skip(event)) {
|
|
386
|
+
continue;
|
|
387
|
+
}
|
|
388
|
+
events.push(event);
|
|
389
|
+
const declared = (_a = event.declares) === null || _a === void 0 ? void 0 : _a.incident;
|
|
390
|
+
if (declared && !(skip && skip(declared))) {
|
|
391
|
+
events.push(declared);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
return events;
|
|
396
|
+
}
|
|
397
|
+
// Every channel some person's page would use.
|
|
398
|
+
function getChannelsInUse(events) {
|
|
399
|
+
const used = new Set();
|
|
400
|
+
for (const event of events) {
|
|
401
|
+
for (const policy of event.policies) {
|
|
402
|
+
for (const person of policy.people) {
|
|
403
|
+
for (const channel of person.channels) {
|
|
404
|
+
used.add(channel);
|
|
350
405
|
}
|
|
351
406
|
}
|
|
352
407
|
}
|
|
@@ -364,6 +419,18 @@ function getChannelsInUse(criteria) {
|
|
|
364
419
|
* no on-call policy yet - whose fix is the on-call guided setup, which
|
|
365
420
|
* makes the first one with the rules that run it - from one whose rules
|
|
366
421
|
* leave this monitor out (#7369): an on-call rule needs a policy to page.
|
|
422
|
+
*
|
|
423
|
+
* An alert an alert incident rule turns into an incident that pages
|
|
424
|
+
* somebody is no break, though it pages nobody itself: the project meant
|
|
425
|
+
* its alerts to become incidents (#7216); the incident's own policies and
|
|
426
|
+
* people are its breaks. `isHidden` leaves out what a reader may not see -
|
|
427
|
+
* a private record that is not theirs (#7213): nothing it would page is
|
|
428
|
+
* their break. It still counts as something the monitor does.
|
|
429
|
+
*
|
|
430
|
+
* An owner no Created email reaches (WhoIsToldOwners.notReached, #7572) is
|
|
431
|
+
* no break: the email still goes out, to the owners it reaches or to the
|
|
432
|
+
* Project Owners, so nothing stops who is told. The card says it with who
|
|
433
|
+
* is emailed, and Setup health lists it as worth fixing (#9371).
|
|
367
434
|
*/
|
|
368
435
|
function getWhoIsToldBreaks(data) {
|
|
369
436
|
const breaks = [];
|
|
@@ -385,98 +452,110 @@ function getWhoIsToldBreaks(data) {
|
|
|
385
452
|
fix: WhoIsToldFix.MonitorCriteria,
|
|
386
453
|
});
|
|
387
454
|
}
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
!data.projectHasAlertOnCallRules) {
|
|
405
|
-
add({
|
|
406
|
-
kind: WhoIsToldBreakKind.OnlyIncidentsHaveRules,
|
|
407
|
-
fix: WhoIsToldFix.AlertOnCallRules,
|
|
408
|
-
recordKind: event.kind,
|
|
409
|
-
});
|
|
410
|
-
}
|
|
411
|
-
else {
|
|
412
|
-
add({
|
|
413
|
-
kind: WhoIsToldBreakKind.NobodyPaged,
|
|
414
|
-
fix: event.kind === OnCallTestPage_1.OnCallTestPageRecordKind.Alert
|
|
415
|
-
? WhoIsToldFix.AlertOnCallRules
|
|
416
|
-
: WhoIsToldFix.IncidentOnCallRules,
|
|
417
|
-
recordKind: event.kind,
|
|
418
|
-
});
|
|
419
|
-
}
|
|
455
|
+
const events = getChainEvents(data.criteria, data.isHidden);
|
|
456
|
+
for (const event of events) {
|
|
457
|
+
/*
|
|
458
|
+
* The incident an alert becomes: its own policies are its breaks, and
|
|
459
|
+
* an alert whose incident pages somebody is not "nobody is paged".
|
|
460
|
+
*/
|
|
461
|
+
const declaredIncidentPages = Boolean(event.declares &&
|
|
462
|
+
event.declares.incident.policies.length > 0 &&
|
|
463
|
+
!(data.isHidden && data.isHidden(event.declares.incident)));
|
|
464
|
+
if (event.policies.length === 0) {
|
|
465
|
+
// Declared from an alert: the alert's break says nobody is paged.
|
|
466
|
+
const isDeclaredIncident = events.some((other) => {
|
|
467
|
+
var _a;
|
|
468
|
+
return ((_a = other.declares) === null || _a === void 0 ? void 0 : _a.incident) === event;
|
|
469
|
+
});
|
|
470
|
+
if (isDeclaredIncident || declaredIncidentPages) {
|
|
420
471
|
continue;
|
|
421
472
|
}
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
473
|
+
if (!data.projectHasOnCallPolicies) {
|
|
474
|
+
/*
|
|
475
|
+
* No policy at all: whatever rules the project has page nothing,
|
|
476
|
+
* so the first policy is what is missing (#7369).
|
|
477
|
+
*/
|
|
478
|
+
add({
|
|
479
|
+
kind: WhoIsToldBreakKind.NobodyPaged,
|
|
480
|
+
fix: WhoIsToldFix.OnCallGuidedSetup,
|
|
481
|
+
recordKind: event.kind,
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
else if (event.kind === OnCallTestPage_1.OnCallTestPageRecordKind.Alert &&
|
|
485
|
+
data.projectHasIncidentOnCallRules &&
|
|
486
|
+
!data.projectHasAlertOnCallRules) {
|
|
487
|
+
add({
|
|
488
|
+
kind: WhoIsToldBreakKind.OnlyIncidentsHaveRules,
|
|
489
|
+
fix: WhoIsToldFix.AlertOnCallRules,
|
|
490
|
+
recordKind: event.kind,
|
|
491
|
+
});
|
|
492
|
+
}
|
|
493
|
+
else {
|
|
494
|
+
add({
|
|
495
|
+
kind: WhoIsToldBreakKind.NobodyPaged,
|
|
496
|
+
fix: event.kind === OnCallTestPage_1.OnCallTestPageRecordKind.Alert
|
|
497
|
+
? WhoIsToldFix.AlertOnCallRules
|
|
498
|
+
: WhoIsToldFix.IncidentOnCallRules,
|
|
499
|
+
recordKind: event.kind,
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
continue;
|
|
503
|
+
}
|
|
504
|
+
for (const policy of event.policies) {
|
|
505
|
+
// What the caller may not read, they are not told the inside of.
|
|
506
|
+
if (policy.isHidden) {
|
|
507
|
+
continue;
|
|
508
|
+
}
|
|
509
|
+
if (policy.levelCount === 0) {
|
|
510
|
+
add({
|
|
511
|
+
kind: WhoIsToldBreakKind.PolicyHasNoLevels,
|
|
512
|
+
fix: WhoIsToldFix.OnCallPolicy,
|
|
513
|
+
policyId: policy.id,
|
|
514
|
+
policyName: policy.name || undefined,
|
|
515
|
+
});
|
|
516
|
+
continue;
|
|
517
|
+
}
|
|
518
|
+
if (policy.people.length === 0) {
|
|
519
|
+
add({
|
|
520
|
+
kind: WhoIsToldBreakKind.PolicyReachesNobody,
|
|
521
|
+
fix: WhoIsToldFix.OnCallPolicy,
|
|
522
|
+
policyId: policy.id,
|
|
523
|
+
policyName: policy.name || undefined,
|
|
524
|
+
});
|
|
525
|
+
continue;
|
|
526
|
+
}
|
|
527
|
+
for (const person of policy.people) {
|
|
528
|
+
if (person.isReachable) {
|
|
434
529
|
continue;
|
|
435
530
|
}
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
policyName: policy.name || undefined,
|
|
442
|
-
});
|
|
531
|
+
/*
|
|
532
|
+
* A person whose only channels are off is the switch's break,
|
|
533
|
+
* told once below, not theirs.
|
|
534
|
+
*/
|
|
535
|
+
if (person.problem === WhoIsToldPersonProblem.ChannelsOff) {
|
|
443
536
|
continue;
|
|
444
537
|
}
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
continue;
|
|
455
|
-
}
|
|
456
|
-
add({
|
|
457
|
-
kind: WhoIsToldBreakKind.PersonUnreachable,
|
|
458
|
-
fix: WhoIsToldFix.OnCallReadiness,
|
|
459
|
-
policyId: policy.id,
|
|
460
|
-
policyName: policy.name || undefined,
|
|
461
|
-
userId: person.userId,
|
|
462
|
-
userName: person.name || undefined,
|
|
463
|
-
problem: person.problem,
|
|
464
|
-
});
|
|
465
|
-
}
|
|
538
|
+
add({
|
|
539
|
+
kind: WhoIsToldBreakKind.PersonUnreachable,
|
|
540
|
+
fix: WhoIsToldFix.OnCallReadiness,
|
|
541
|
+
policyId: policy.id,
|
|
542
|
+
policyName: policy.name || undefined,
|
|
543
|
+
userId: person.userId,
|
|
544
|
+
userName: person.name || undefined,
|
|
545
|
+
problem: person.problem,
|
|
546
|
+
});
|
|
466
547
|
}
|
|
467
548
|
}
|
|
468
549
|
}
|
|
469
550
|
// The project's switches, for a channel some page would use.
|
|
470
551
|
const offChannels = getChannelsSwitchedOff(data.channels);
|
|
471
552
|
const wanted = new Set();
|
|
472
|
-
for (const
|
|
473
|
-
for (const
|
|
474
|
-
for (const
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
wanted.add(channel);
|
|
479
|
-
}
|
|
553
|
+
for (const event of events) {
|
|
554
|
+
for (const policy of event.policies) {
|
|
555
|
+
for (const person of policy.people) {
|
|
556
|
+
if (person.problem === WhoIsToldPersonProblem.ChannelsOff) {
|
|
557
|
+
for (const channel of person.channels) {
|
|
558
|
+
wanted.add(channel);
|
|
480
559
|
}
|
|
481
560
|
}
|
|
482
561
|
}
|
|
@@ -491,7 +570,7 @@ function getWhoIsToldBreaks(data) {
|
|
|
491
570
|
});
|
|
492
571
|
}
|
|
493
572
|
}
|
|
494
|
-
const used = getChannelsInUse(
|
|
573
|
+
const used = getChannelsInUse(events);
|
|
495
574
|
// OneUptime Cloud: SMS and calls paid from an empty balance.
|
|
496
575
|
if (data.channels.isBillingEnabled) {
|
|
497
576
|
const paysForSms = used.has(OnCallPageChannel_1.OnCallPageChannel.SMS) && !data.channels.hasOwnTwilioForSms;
|
|
@@ -666,23 +745,110 @@ function getWhoIsToldOwnersAsTold(data) {
|
|
|
666
745
|
pagedOwners: pagedOwners,
|
|
667
746
|
};
|
|
668
747
|
}
|
|
748
|
+
/*
|
|
749
|
+
* Whether a record the criteria would open is hidden from a reader (#7213):
|
|
750
|
+
* it is private, and not theirs to see once it exists (canReadPrivateEvent:
|
|
751
|
+
* one of its owners, in a team of them, or a Project Owner or Project
|
|
752
|
+
* Admin). Without canReadPrivateEvent no private record is theirs. The card
|
|
753
|
+
* (redactWhoIsTold) and Setup health (#9370) ask it the same way.
|
|
754
|
+
*/
|
|
755
|
+
function isWhoIsToldEventHidden(event, canReadPrivateEvent) {
|
|
756
|
+
return (event.isPrivate === true &&
|
|
757
|
+
!(canReadPrivateEvent ? canReadPrivateEvent(event) : false));
|
|
758
|
+
}
|
|
759
|
+
/*
|
|
760
|
+
* A CHAIN'S BREAKS AS ONE READER IS TOLD THEM: worked out again without the
|
|
761
|
+
* records hidden from them - a private record that is not theirs raises no
|
|
762
|
+
* break of theirs (#7213) - from the resolver's own facts
|
|
763
|
+
* (WhoIsToldProjectFacts); the resolver's own breaks when it kept none.
|
|
764
|
+
* What a monitor's card says (redactWhoIsTold), and what Setup health lists
|
|
765
|
+
* for the same reader (#9370), so the two never disagree.
|
|
766
|
+
*/
|
|
767
|
+
function getWhoIsToldBreaksForReader(data) {
|
|
768
|
+
const facts = data.result.facts;
|
|
769
|
+
if (!facts) {
|
|
770
|
+
return data.result.breaks;
|
|
771
|
+
}
|
|
772
|
+
return getWhoIsToldBreaks({
|
|
773
|
+
criteria: data.result.criteria,
|
|
774
|
+
channels: data.result.channels,
|
|
775
|
+
projectHasIncidentOnCallRules: facts.projectHasIncidentOnCallRules,
|
|
776
|
+
projectHasAlertOnCallRules: facts.projectHasAlertOnCallRules,
|
|
777
|
+
projectHasOnCallPolicies: facts.projectHasOnCallPolicies,
|
|
778
|
+
isHidden: data.isHidden,
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
// Whether any record a chain would open is hidden from the reader.
|
|
782
|
+
function hasWhoIsToldHiddenEvent(result, isHidden) {
|
|
783
|
+
return result.criteria.some((item) => {
|
|
784
|
+
return item.events.some((event) => {
|
|
785
|
+
return (isHidden(event) ||
|
|
786
|
+
Boolean(event.declares && isHidden(event.declares.incident)));
|
|
787
|
+
});
|
|
788
|
+
});
|
|
789
|
+
}
|
|
669
790
|
// A rule or status page as it is, when the caller may read it; else nameless.
|
|
670
791
|
function withNameIfReadable(item, readableIds) {
|
|
671
792
|
return readableIds.has(item.id) ? item : { ...item, name: "" };
|
|
672
793
|
}
|
|
794
|
+
/*
|
|
795
|
+
* What a reader is told of a private record that is not theirs to see
|
|
796
|
+
* (#7213): what opens - its kind and severity, which the criteria they may
|
|
797
|
+
* read says - and that it is private, by the privacy rules that make it so
|
|
798
|
+
* as far as they may read them. Nothing of whom it tells, nor its title.
|
|
799
|
+
*/
|
|
800
|
+
function getHiddenEvent(data) {
|
|
801
|
+
return {
|
|
802
|
+
kind: data.event.kind,
|
|
803
|
+
title: "",
|
|
804
|
+
severityName: data.event.severityName,
|
|
805
|
+
owners: {
|
|
806
|
+
source: WhoIsToldOwnersSource.Named,
|
|
807
|
+
userNames: [],
|
|
808
|
+
teamNames: [],
|
|
809
|
+
},
|
|
810
|
+
ownerRules: [],
|
|
811
|
+
rules: [],
|
|
812
|
+
policies: [],
|
|
813
|
+
statusPages: [],
|
|
814
|
+
isPrivate: true,
|
|
815
|
+
privacyRules: (data.event.privacyRules || []).map((rule) => {
|
|
816
|
+
return withNameIfReadable(rule, data.readablePrivacyRuleIds);
|
|
817
|
+
}),
|
|
818
|
+
isHidden: true,
|
|
819
|
+
};
|
|
820
|
+
}
|
|
673
821
|
/*
|
|
674
822
|
* THE ANSWER AS ONE CALLER MAY SEE IT. Somebody who may read the monitor
|
|
675
823
|
* but not a policy is told paging is set up, and nothing of who: the
|
|
676
824
|
* policy's name, people and gaps are taken away, and so are the names in
|
|
677
|
-
* its breaks. An on-call rule, an owner rule
|
|
678
|
-
*
|
|
679
|
-
*
|
|
825
|
+
* its breaks. An on-call rule, an owner rule, a privacy, label or alert
|
|
826
|
+
* incident rule, a status page or a monitor group they may not read keeps
|
|
827
|
+
* its place without its name. Who an incident's or an alert's Created
|
|
828
|
+
* email tells is worked out from the policies as they read them
|
|
680
829
|
* (getWhoIsToldOwnersAsTold, #8860).
|
|
830
|
+
*
|
|
831
|
+
* A PRIVATE RECORD THAT IS NOT THEIRS TO SEE (#7213) - canReadPrivateEvent
|
|
832
|
+
* says whether they will be able to read it once it exists: one of its
|
|
833
|
+
* owners, in a team of them, or a Project Owner or Project Admin - says
|
|
834
|
+
* only that it opens, and that it is private; nothing it would tell, and
|
|
835
|
+
* no break it would raise. Without canReadPrivateEvent no private record
|
|
836
|
+
* is theirs. The breaks are worked out again without such records, from
|
|
837
|
+
* the resolver's own facts (WhoIsToldProjectFacts), which, with every
|
|
838
|
+
* record's owner ids, never leave the server.
|
|
681
839
|
*/
|
|
682
840
|
function redactWhoIsTold(data) {
|
|
841
|
+
const none = new Set();
|
|
842
|
+
const readableMonitorGroupIds = data.readableMonitorGroupIds || none;
|
|
843
|
+
const readablePrivacyRuleIds = data.readablePrivacyRuleIds || none;
|
|
844
|
+
const readableLabelRuleIds = data.readableLabelRuleIds || none;
|
|
845
|
+
const readableAlertIncidentRuleIds = data.readableAlertIncidentRuleIds || none;
|
|
683
846
|
const isReadable = (policyId) => {
|
|
684
847
|
return !policyId || data.readablePolicyIds.has(policyId);
|
|
685
848
|
};
|
|
849
|
+
const isHidden = (event) => {
|
|
850
|
+
return isWhoIsToldEventHidden(event, data.canReadPrivateEvent);
|
|
851
|
+
};
|
|
686
852
|
const redactPolicy = (policy) => {
|
|
687
853
|
if (isReadable(policy.id)) {
|
|
688
854
|
return policy;
|
|
@@ -699,35 +865,96 @@ function redactWhoIsTold(data) {
|
|
|
699
865
|
notPagedCodes: [],
|
|
700
866
|
};
|
|
701
867
|
};
|
|
868
|
+
const redactRules = (rules, readableIds) => {
|
|
869
|
+
return rules
|
|
870
|
+
? rules.map((rule) => {
|
|
871
|
+
return withNameIfReadable(rule, readableIds);
|
|
872
|
+
})
|
|
873
|
+
: undefined;
|
|
874
|
+
};
|
|
875
|
+
const redactEvent = (event) => {
|
|
876
|
+
if (isHidden(event)) {
|
|
877
|
+
return getHiddenEvent({
|
|
878
|
+
event: event,
|
|
879
|
+
readablePrivacyRuleIds: readablePrivacyRuleIds,
|
|
880
|
+
});
|
|
881
|
+
}
|
|
882
|
+
// Who will own it is the resolver's to know, never sent.
|
|
883
|
+
const { declares, ...shown } = event;
|
|
884
|
+
delete shown.ownerIds;
|
|
885
|
+
const policies = event.policies.map(redactPolicy);
|
|
886
|
+
const owners = getWhoIsToldOwnersAsTold({
|
|
887
|
+
owners: event.owners,
|
|
888
|
+
policies: policies,
|
|
889
|
+
channels: data.result.channels,
|
|
890
|
+
});
|
|
891
|
+
if (owners.notReached) {
|
|
892
|
+
owners.notReached = owners.notReached.map((owner) => {
|
|
893
|
+
return owner.rule
|
|
894
|
+
? {
|
|
895
|
+
...owner,
|
|
896
|
+
rule: withNameIfReadable(owner.rule, data.readableOwnerRuleIds),
|
|
897
|
+
}
|
|
898
|
+
: owner;
|
|
899
|
+
});
|
|
900
|
+
}
|
|
901
|
+
const redacted = {
|
|
902
|
+
...shown,
|
|
903
|
+
owners: owners,
|
|
904
|
+
ownerRules: event.ownerRules.map((rule) => {
|
|
905
|
+
return withNameIfReadable(rule, data.readableOwnerRuleIds);
|
|
906
|
+
}),
|
|
907
|
+
rules: event.rules.map((rule) => {
|
|
908
|
+
return withNameIfReadable(rule, data.readableRuleIds);
|
|
909
|
+
}),
|
|
910
|
+
statusPages: event.statusPages.map((page) => {
|
|
911
|
+
const named = withNameIfReadable(page, data.readableStatusPageIds);
|
|
912
|
+
return page.groups
|
|
913
|
+
? {
|
|
914
|
+
...named,
|
|
915
|
+
groups: page.groups.map((group) => {
|
|
916
|
+
return withNameIfReadable(group, readableMonitorGroupIds);
|
|
917
|
+
}),
|
|
918
|
+
}
|
|
919
|
+
: named;
|
|
920
|
+
}),
|
|
921
|
+
policies: policies,
|
|
922
|
+
};
|
|
923
|
+
const privacyRules = redactRules(event.privacyRules, readablePrivacyRuleIds);
|
|
924
|
+
if (privacyRules) {
|
|
925
|
+
redacted.privacyRules = privacyRules;
|
|
926
|
+
}
|
|
927
|
+
const labelRules = redactRules(event.labelRules, readableLabelRuleIds);
|
|
928
|
+
if (labelRules) {
|
|
929
|
+
redacted.labelRules = labelRules;
|
|
930
|
+
}
|
|
931
|
+
if (declares) {
|
|
932
|
+
redacted.declares = {
|
|
933
|
+
rule: withNameIfReadable(declares.rule, readableAlertIncidentRuleIds),
|
|
934
|
+
waitInMinutes: declares.waitInMinutes,
|
|
935
|
+
incident: redactEvent(declares.incident),
|
|
936
|
+
};
|
|
937
|
+
}
|
|
938
|
+
return redacted;
|
|
939
|
+
};
|
|
940
|
+
/*
|
|
941
|
+
* The reader's breaks: worked out again without what is hidden from them,
|
|
942
|
+
* when the resolver kept what that needs; else the resolver's own.
|
|
943
|
+
*/
|
|
944
|
+
const { facts, ...result } = data.result;
|
|
945
|
+
const breaks = getWhoIsToldBreaksForReader({
|
|
946
|
+
result: { ...result, facts: facts },
|
|
947
|
+
isHidden: isHidden,
|
|
948
|
+
});
|
|
702
949
|
return {
|
|
703
|
-
...
|
|
950
|
+
...result,
|
|
704
951
|
criteria: data.result.criteria.map((item) => {
|
|
705
952
|
return {
|
|
706
953
|
...item,
|
|
707
|
-
events: item.events.map(
|
|
708
|
-
const policies = event.policies.map(redactPolicy);
|
|
709
|
-
return {
|
|
710
|
-
...event,
|
|
711
|
-
owners: getWhoIsToldOwnersAsTold({
|
|
712
|
-
owners: event.owners,
|
|
713
|
-
policies: policies,
|
|
714
|
-
channels: data.result.channels,
|
|
715
|
-
}),
|
|
716
|
-
ownerRules: event.ownerRules.map((rule) => {
|
|
717
|
-
return withNameIfReadable(rule, data.readableOwnerRuleIds);
|
|
718
|
-
}),
|
|
719
|
-
rules: event.rules.map((rule) => {
|
|
720
|
-
return withNameIfReadable(rule, data.readableRuleIds);
|
|
721
|
-
}),
|
|
722
|
-
statusPages: event.statusPages.map((page) => {
|
|
723
|
-
return withNameIfReadable(page, data.readableStatusPageIds);
|
|
724
|
-
}),
|
|
725
|
-
policies: policies,
|
|
726
|
-
};
|
|
727
|
-
}),
|
|
954
|
+
events: item.events.map(redactEvent),
|
|
728
955
|
};
|
|
729
956
|
}),
|
|
730
|
-
breaks:
|
|
957
|
+
breaks: breaks
|
|
731
958
|
.filter((brk) => {
|
|
732
959
|
// Who a hidden policy pages is not the caller's to read.
|
|
733
960
|
return !(brk.kind === WhoIsToldBreakKind.PersonUnreachable &&
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import commonJsModule from "./WhoIsTold.js";
|
|
2
2
|
export const WHO_IS_TOLD_CACHE_TTL_IN_MS = commonJsModule.WHO_IS_TOLD_CACHE_TTL_IN_MS;
|
|
3
|
+
export const WHO_IS_TOLD_PERSON_PROBLEM_CLAUSES = commonJsModule.WHO_IS_TOLD_PERSON_PROBLEM_CLAUSES;
|
|
3
4
|
export const WhoIsToldBreakKind = commonJsModule.WhoIsToldBreakKind;
|
|
4
5
|
export const WhoIsToldFix = commonJsModule.WhoIsToldFix;
|
|
6
|
+
export const WhoIsToldOwnerAddedBy = commonJsModule.WhoIsToldOwnerAddedBy;
|
|
7
|
+
export const WhoIsToldOwnerKind = commonJsModule.WhoIsToldOwnerKind;
|
|
8
|
+
export const WhoIsToldOwnerProblem = commonJsModule.WhoIsToldOwnerProblem;
|
|
5
9
|
export const WhoIsToldOwnersSource = commonJsModule.WhoIsToldOwnersSource;
|
|
6
10
|
export const WhoIsToldPagingState = commonJsModule.WhoIsToldPagingState;
|
|
7
11
|
export const WhoIsToldPersonProblem = commonJsModule.WhoIsToldPersonProblem;
|
|
@@ -11,10 +15,13 @@ export const getChannelsSwitchedOff = commonJsModule.getChannelsSwitchedOff;
|
|
|
11
15
|
export const getReachablePeople = commonJsModule.getReachablePeople;
|
|
12
16
|
export const getWhoIsToldBreakMessage = commonJsModule.getWhoIsToldBreakMessage;
|
|
13
17
|
export const getWhoIsToldBreaks = commonJsModule.getWhoIsToldBreaks;
|
|
18
|
+
export const getWhoIsToldBreaksForReader = commonJsModule.getWhoIsToldBreaksForReader;
|
|
14
19
|
export const getWhoIsToldHeadline = commonJsModule.getWhoIsToldHeadline;
|
|
15
20
|
export const getWhoIsToldOwnersAsTold = commonJsModule.getWhoIsToldOwnersAsTold;
|
|
16
21
|
export const getWhoIsToldPagingState = commonJsModule.getWhoIsToldPagingState;
|
|
17
22
|
export const getWhoIsToldPersonReach = commonJsModule.getWhoIsToldPersonReach;
|
|
23
|
+
export const hasWhoIsToldHiddenEvent = commonJsModule.hasWhoIsToldHiddenEvent;
|
|
24
|
+
export const isWhoIsToldEventHidden = commonJsModule.isWhoIsToldEventHidden;
|
|
18
25
|
export const isWhoIsToldPersonPagedAtOnce = commonJsModule.isWhoIsToldPersonPagedAtOnce;
|
|
19
26
|
export const makeWhoIsToldBreak = commonJsModule.makeWhoIsToldBreak;
|
|
20
27
|
export const redactWhoIsTold = commonJsModule.redactWhoIsTold;
|
|
@@ -56,8 +56,12 @@ function hosts(count) {
|
|
|
56
56
|
function discoveredHosts(count) {
|
|
57
57
|
return `${count} discovered ${count === 1 ? "host" : "hosts"}`;
|
|
58
58
|
}
|
|
59
|
+
/*
|
|
60
|
+
* Monitors of any kind a rule's template makes: a Network Device template's,
|
|
61
|
+
* or a Ping, IP, Port or NTP template's (issue #9510).
|
|
62
|
+
*/
|
|
59
63
|
function activeMonitors(count) {
|
|
60
|
-
return `${count} active
|
|
64
|
+
return `${count} active ${count === 1 ? "monitor" : "monitors"}`;
|
|
61
65
|
}
|
|
62
66
|
/*
|
|
63
67
|
* Reasons off the wire. Anything that is not a non-empty string is dropped
|
|
@@ -119,7 +123,7 @@ function mergeReasons(lists) {
|
|
|
119
123
|
}
|
|
120
124
|
/*
|
|
121
125
|
* What a capped run left behind, as a phrase — "409 hosts still to import",
|
|
122
|
-
* "409 active
|
|
126
|
+
* "409 active monitors still to create", or both.
|
|
123
127
|
*
|
|
124
128
|
* The two halves of the work have separate caps, so either can be the only
|
|
125
129
|
* thing left over: an estate that is fully imported but unmonitored hits the
|
|
@@ -179,7 +183,7 @@ class RuleRunResultUtil {
|
|
|
179
183
|
/*
|
|
180
184
|
* A backfill run over an estate that is ALREADY imported creates no
|
|
181
185
|
* devices at all, and the flat "No devices were imported" read as a
|
|
182
|
-
* failure right above "Created 500 active
|
|
186
|
+
* failure right above "Created 500 active monitors".
|
|
183
187
|
* Name what did not happen precisely instead.
|
|
184
188
|
*/
|
|
185
189
|
lines.push(`No new network devices were imported. This rule matched ${hosts(result.hostsMatched)} out of the ${discoveredHosts(result.hostsEvaluated)} it looked at.`);
|
|
@@ -199,8 +203,8 @@ class RuleRunResultUtil {
|
|
|
199
203
|
lines.push(`Created ${activeMonitors(result.monitorsCreated)} from the selected Monitor Template.`);
|
|
200
204
|
}
|
|
201
205
|
if (result.monitorsSkippedAlreadyExisting > 0) {
|
|
202
|
-
const skippedRequestedMonitors = `${result.monitorsSkippedAlreadyExisting} requested active
|
|
203
|
-
lines.push(`${skippedRequestedMonitors} ${result.monitorsSkippedAlreadyExisting === 1 ? "was" : "were"} skipped because the device already had the
|
|
206
|
+
const skippedRequestedMonitors = `${result.monitorsSkippedAlreadyExisting} requested active ${result.monitorsSkippedAlreadyExisting === 1 ? "monitor" : "monitors"}`;
|
|
207
|
+
lines.push(`${skippedRequestedMonitors} ${result.monitorsSkippedAlreadyExisting === 1 ? "was" : "were"} skipped because the device already had one: from the same template, a monitor of the same kind that checks the same thing, or a Network Device monitor configured by hand.`);
|
|
204
208
|
}
|
|
205
209
|
if (result.monitorsSkippedUnsupportedHost > 0) {
|
|
206
210
|
lines.push(`${activeMonitors(result.monitorsSkippedUnsupportedHost)} could not be provisioned because the discovery result was not SNMP-capable (for example, a ping-only host).`);
|