@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
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.MonitorOverviewFamily = void 0;
|
|
7
|
+
const BadDataException_1 = __importDefault(require("../../Types/Exception/BadDataException"));
|
|
8
|
+
const MonitorType_1 = __importDefault(require("../../Types/Monitor/MonitorType"));
|
|
9
|
+
/*
|
|
10
|
+
* The monitor overview groups the 35 monitor types into eight families that
|
|
11
|
+
* behave alike on the page: where the "last checked" time comes from, which
|
|
12
|
+
* facts the hero shows, which cards appear. Everything type-specific on the
|
|
13
|
+
* overview goes through this one switch, so a new MonitorType fails to
|
|
14
|
+
* compile here until somebody decides how its overview should look.
|
|
15
|
+
*
|
|
16
|
+
* The family is a module of its own, apart from the overview's layout
|
|
17
|
+
* (MonitorOverviewFamily), because of what the layout reads: every monitor
|
|
18
|
+
* type's metrics and the database metric catalog (Utils/Monitor/
|
|
19
|
+
* MonitorMetricType), some 45 KB before gzip. The rule for a first check
|
|
20
|
+
* that is overdue (MonitorFirstCheckOverdue) needs the family alone, and a
|
|
21
|
+
* public dashboard's Monitor List widget draws its rows by that rule, so a
|
|
22
|
+
* public dashboard loads the family before it draws but not the catalogs
|
|
23
|
+
* (packages/Common/Scripts/first-load-budgets.js).
|
|
24
|
+
*/
|
|
25
|
+
var MonitorOverviewFamily;
|
|
26
|
+
(function (MonitorOverviewFamily) {
|
|
27
|
+
// Run by probes on a schedule.
|
|
28
|
+
MonitorOverviewFamily["ProbeCheck"] = "ProbeCheck";
|
|
29
|
+
// Pushed to us: heartbeat requests and inbound email.
|
|
30
|
+
MonitorOverviewFamily["Heartbeat"] = "Heartbeat";
|
|
31
|
+
// Pushed by the server agent.
|
|
32
|
+
MonitorOverviewFamily["Agent"] = "Agent";
|
|
33
|
+
// Criteria evaluated by a worker over telemetry.
|
|
34
|
+
MonitorOverviewFamily["TelemetrySignal"] = "TelemetrySignal";
|
|
35
|
+
// Criteria evaluated by a worker over infrastructure metrics.
|
|
36
|
+
MonitorOverviewFamily["Infrastructure"] = "Infrastructure";
|
|
37
|
+
// Evaluated on every device poll and matching trap.
|
|
38
|
+
MonitorOverviewFamily["NetworkDevice"] = "NetworkDevice";
|
|
39
|
+
// Evaluated every minute from the connection status of the probes it watches.
|
|
40
|
+
MonitorOverviewFamily["ProbeStatus"] = "ProbeStatus";
|
|
41
|
+
// No checks at all; people set the status.
|
|
42
|
+
MonitorOverviewFamily["Manual"] = "Manual";
|
|
43
|
+
})(MonitorOverviewFamily || (exports.MonitorOverviewFamily = MonitorOverviewFamily = {}));
|
|
44
|
+
class MonitorTypeFamily {
|
|
45
|
+
static getFamily(monitorType) {
|
|
46
|
+
switch (monitorType) {
|
|
47
|
+
case MonitorType_1.default.API:
|
|
48
|
+
case MonitorType_1.default.Website:
|
|
49
|
+
case MonitorType_1.default.IP:
|
|
50
|
+
case MonitorType_1.default.Ping:
|
|
51
|
+
case MonitorType_1.default.Port:
|
|
52
|
+
case MonitorType_1.default.SSLCertificate:
|
|
53
|
+
case MonitorType_1.default.SyntheticMonitor:
|
|
54
|
+
case MonitorType_1.default.CustomJavaScriptCode:
|
|
55
|
+
case MonitorType_1.default.DNS:
|
|
56
|
+
case MonitorType_1.default.DNSSEC:
|
|
57
|
+
case MonitorType_1.default.NTP:
|
|
58
|
+
case MonitorType_1.default.Domain:
|
|
59
|
+
case MonitorType_1.default.SQLQuery:
|
|
60
|
+
case MonitorType_1.default.Database:
|
|
61
|
+
case MonitorType_1.default.ExternalStatusPage:
|
|
62
|
+
return MonitorOverviewFamily.ProbeCheck;
|
|
63
|
+
case MonitorType_1.default.IncomingRequest:
|
|
64
|
+
case MonitorType_1.default.IncomingEmail:
|
|
65
|
+
return MonitorOverviewFamily.Heartbeat;
|
|
66
|
+
case MonitorType_1.default.Server:
|
|
67
|
+
return MonitorOverviewFamily.Agent;
|
|
68
|
+
case MonitorType_1.default.Logs:
|
|
69
|
+
case MonitorType_1.default.Metrics:
|
|
70
|
+
case MonitorType_1.default.Traces:
|
|
71
|
+
case MonitorType_1.default.Exceptions:
|
|
72
|
+
case MonitorType_1.default.Profiles:
|
|
73
|
+
case MonitorType_1.default.SecurityEvents:
|
|
74
|
+
case MonitorType_1.default.Llm:
|
|
75
|
+
return MonitorOverviewFamily.TelemetrySignal;
|
|
76
|
+
case MonitorType_1.default.Kubernetes:
|
|
77
|
+
case MonitorType_1.default.Docker:
|
|
78
|
+
case MonitorType_1.default.Host:
|
|
79
|
+
case MonitorType_1.default.Podman:
|
|
80
|
+
case MonitorType_1.default.DockerSwarm:
|
|
81
|
+
case MonitorType_1.default.Proxmox:
|
|
82
|
+
case MonitorType_1.default.OpenStack:
|
|
83
|
+
case MonitorType_1.default.VMware:
|
|
84
|
+
case MonitorType_1.default.Ceph:
|
|
85
|
+
case MonitorType_1.default.StorageArray:
|
|
86
|
+
case MonitorType_1.default.IoTDevice:
|
|
87
|
+
return MonitorOverviewFamily.Infrastructure;
|
|
88
|
+
case MonitorType_1.default.NetworkDevice:
|
|
89
|
+
return MonitorOverviewFamily.NetworkDevice;
|
|
90
|
+
case MonitorType_1.default.ProbeStatus:
|
|
91
|
+
return MonitorOverviewFamily.ProbeStatus;
|
|
92
|
+
case MonitorType_1.default.Manual:
|
|
93
|
+
return MonitorOverviewFamily.Manual;
|
|
94
|
+
default: {
|
|
95
|
+
/*
|
|
96
|
+
* Compile-time guard: a MonitorType added without a case above makes
|
|
97
|
+
* this assignment a type error.
|
|
98
|
+
*/
|
|
99
|
+
const unhandled = monitorType;
|
|
100
|
+
throw new BadDataException_1.default(`Monitor type ${String(unhandled)} has no overview family.`);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.default = MonitorTypeFamily;
|
|
@@ -60,7 +60,10 @@ var ProbeFailureCause;
|
|
|
60
60
|
ProbeFailureCause["NtpPortUnreachable"] = "NtpPortUnreachable";
|
|
61
61
|
ProbeFailureCause["NtpRequestFailedWithCode"] = "NtpRequestFailedWithCode";
|
|
62
62
|
ProbeFailureCause["NtpRequestFailed"] = "NtpRequestFailed";
|
|
63
|
-
|
|
63
|
+
/*
|
|
64
|
+
* NtpMonitor: an attempt's cause, after every attempt failed. Dataverse's
|
|
65
|
+
* client (DataverseApi) says it of a request it asked again, too.
|
|
66
|
+
*/
|
|
64
67
|
ProbeFailureCause["TriedTimes"] = "TriedTimes";
|
|
65
68
|
// ProbeNetworkFailureUtil.describe: a failure on the probe's own side.
|
|
66
69
|
ProbeFailureCause["ProbeCouldNotOpenIPv6Connection"] = "ProbeCouldNotOpenIPv6Connection";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ProbeConnectionStatus } from "../../Models/DatabaseModels/Probe.mjs";
|
|
2
|
+
import { ProbeBehindRead } from "../../Types/Probe/ProbeBehind.mjs";
|
|
2
3
|
import ObjectID from "../../Types/ObjectID.mjs";
|
|
3
4
|
import MonitorSteps from "../../Types/Monitor/MonitorSteps.mjs";
|
|
4
5
|
import ProbeStatusMonitorResponse, { ProbeStatusMonitorProbe } from "../../Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.mjs";
|
|
@@ -6,7 +7,7 @@ export interface ProbeSilence {
|
|
|
6
7
|
unit: "minute" | "hour" | "day";
|
|
7
8
|
count: number;
|
|
8
9
|
}
|
|
9
|
-
export interface ProbeStatusSource {
|
|
10
|
+
export interface ProbeStatusSource extends ProbeBehindRead {
|
|
10
11
|
id: string;
|
|
11
12
|
name?: string | undefined;
|
|
12
13
|
isGlobalProbe?: boolean | undefined;
|
|
@@ -29,7 +30,10 @@ export default class ProbeStatusMonitorUtil {
|
|
|
29
30
|
private static readDate;
|
|
30
31
|
static getConnectedProbes(response: Pick<ProbeStatusMonitorResponse, "probes">): Array<ProbeStatusMonitorProbe>;
|
|
31
32
|
static getDisconnectedProbes(response: Pick<ProbeStatusMonitorResponse, "probes">): Array<ProbeStatusMonitorProbe>;
|
|
33
|
+
static getBehindProbes(response: Pick<ProbeStatusMonitorResponse, "probes">): Array<ProbeStatusMonitorProbe>;
|
|
34
|
+
static getBehindProbeCount(response: Pick<ProbeStatusMonitorResponse, "probes" | "behindProbeCount">): number;
|
|
32
35
|
static joinProbeNames(probes: Array<ProbeStatusMonitorProbe>): string;
|
|
36
|
+
static describeBehindWork(probe: ProbeStatusMonitorProbe): string;
|
|
33
37
|
static getSilence(data: {
|
|
34
38
|
lastAliveAt?: Date | undefined;
|
|
35
39
|
checkedAt?: Date | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ProbeConnectionStatus } from "../../Models/DatabaseModels/Probe";
|
|
2
|
+
import { ProbeBehindRead } from "../../Types/Probe/ProbeBehind";
|
|
2
3
|
import ObjectID from "../../Types/ObjectID";
|
|
3
4
|
import MonitorSteps from "../../Types/Monitor/MonitorSteps";
|
|
4
5
|
import ProbeStatusMonitorResponse, { ProbeStatusMonitorProbe } from "../../Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse";
|
|
@@ -6,7 +7,7 @@ export interface ProbeSilence {
|
|
|
6
7
|
unit: "minute" | "hour" | "day";
|
|
7
8
|
count: number;
|
|
8
9
|
}
|
|
9
|
-
export interface ProbeStatusSource {
|
|
10
|
+
export interface ProbeStatusSource extends ProbeBehindRead {
|
|
10
11
|
id: string;
|
|
11
12
|
name?: string | undefined;
|
|
12
13
|
isGlobalProbe?: boolean | undefined;
|
|
@@ -29,7 +30,10 @@ export default class ProbeStatusMonitorUtil {
|
|
|
29
30
|
private static readDate;
|
|
30
31
|
static getConnectedProbes(response: Pick<ProbeStatusMonitorResponse, "probes">): Array<ProbeStatusMonitorProbe>;
|
|
31
32
|
static getDisconnectedProbes(response: Pick<ProbeStatusMonitorResponse, "probes">): Array<ProbeStatusMonitorProbe>;
|
|
33
|
+
static getBehindProbes(response: Pick<ProbeStatusMonitorResponse, "probes">): Array<ProbeStatusMonitorProbe>;
|
|
34
|
+
static getBehindProbeCount(response: Pick<ProbeStatusMonitorResponse, "probes" | "behindProbeCount">): number;
|
|
32
35
|
static joinProbeNames(probes: Array<ProbeStatusMonitorProbe>): string;
|
|
36
|
+
static describeBehindWork(probe: ProbeStatusMonitorProbe): string;
|
|
33
37
|
static getSilence(data: {
|
|
34
38
|
lastAliveAt?: Date | undefined;
|
|
35
39
|
checkedAt?: Date | undefined;
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
37
|
};
|
|
5
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
39
|
const Probe_1 = require("../../Models/DatabaseModels/Probe");
|
|
40
|
+
const ProbeBehind_1 = __importStar(require("../../Types/Probe/ProbeBehind"));
|
|
7
41
|
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
8
42
|
const MonitorStepProbeStatusMonitor_1 = require("../../Types/Monitor/MonitorStepProbeStatusMonitor");
|
|
9
43
|
const MINUTES_PER_HOUR = 60;
|
|
@@ -57,6 +91,18 @@ class ProbeStatusMonitorUtil {
|
|
|
57
91
|
if (probe.lastAlive) {
|
|
58
92
|
watchedProbe.lastAliveAt = probe.lastAlive;
|
|
59
93
|
}
|
|
94
|
+
/*
|
|
95
|
+
* Behind only while connected (#9501): a probe that is not checks
|
|
96
|
+
* nothing, and Disconnected says more.
|
|
97
|
+
*/
|
|
98
|
+
const behindSince = watchedProbe.isConnected
|
|
99
|
+
? ProbeBehind_1.default.getProbeBehindSince(probe)
|
|
100
|
+
: null;
|
|
101
|
+
if (behindSince) {
|
|
102
|
+
watchedProbe.isBehind = true;
|
|
103
|
+
watchedProbe.behindSince = behindSince;
|
|
104
|
+
watchedProbe.behindOn = ProbeBehind_1.default.getBehindWork(probe);
|
|
105
|
+
}
|
|
60
106
|
watched.push(watchedProbe);
|
|
61
107
|
}
|
|
62
108
|
const connectedProbeCount = watched.filter((probe) => {
|
|
@@ -69,6 +115,9 @@ class ProbeStatusMonitorUtil {
|
|
|
69
115
|
probes: watched,
|
|
70
116
|
connectedProbeCount: connectedProbeCount,
|
|
71
117
|
disconnectedProbeCount: watched.length - connectedProbeCount,
|
|
118
|
+
behindProbeCount: ProbeStatusMonitorUtil.getBehindProbes({
|
|
119
|
+
probes: watched,
|
|
120
|
+
}).length,
|
|
72
121
|
missingProbeIds: missingProbeIds,
|
|
73
122
|
checkedAt: data.checkedAt,
|
|
74
123
|
};
|
|
@@ -122,6 +171,22 @@ class ProbeStatusMonitorUtil {
|
|
|
122
171
|
if (lastAliveAt) {
|
|
123
172
|
probe.lastAliveAt = lastAliveAt;
|
|
124
173
|
}
|
|
174
|
+
// Behind only while connected, as buildResponse says it.
|
|
175
|
+
if (probe.isConnected && probeJson["isBehind"] === true) {
|
|
176
|
+
probe.isBehind = true;
|
|
177
|
+
const behindSince = ProbeStatusMonitorUtil.readDate(probeJson["behindSince"]);
|
|
178
|
+
if (behindSince) {
|
|
179
|
+
probe.behindSince = behindSince;
|
|
180
|
+
}
|
|
181
|
+
const behindOn = Array.isArray(probeJson["behindOn"])
|
|
182
|
+
? probeJson["behindOn"].filter((work) => {
|
|
183
|
+
return Object.values(ProbeBehind_1.ProbeBehindWork).includes(work);
|
|
184
|
+
})
|
|
185
|
+
: [];
|
|
186
|
+
if (behindOn.length > 0) {
|
|
187
|
+
probe.behindOn = behindOn;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
125
190
|
probes.push(probe);
|
|
126
191
|
}
|
|
127
192
|
const connectedProbeCount = probes.filter((probe) => {
|
|
@@ -134,6 +199,9 @@ class ProbeStatusMonitorUtil {
|
|
|
134
199
|
probes: probes,
|
|
135
200
|
connectedProbeCount: connectedProbeCount,
|
|
136
201
|
disconnectedProbeCount: probes.length - connectedProbeCount,
|
|
202
|
+
behindProbeCount: ProbeStatusMonitorUtil.getBehindProbes({
|
|
203
|
+
probes: probes,
|
|
204
|
+
}).length,
|
|
137
205
|
missingProbeIds: Array.isArray(json["missingProbeIds"])
|
|
138
206
|
? json["missingProbeIds"]
|
|
139
207
|
.map((id) => {
|
|
@@ -187,6 +255,21 @@ class ProbeStatusMonitorUtil {
|
|
|
187
255
|
return !probe.isConnected;
|
|
188
256
|
});
|
|
189
257
|
}
|
|
258
|
+
// The connected probes that are behind (#9501).
|
|
259
|
+
static getBehindProbes(response) {
|
|
260
|
+
return (response.probes || []).filter((probe) => {
|
|
261
|
+
return probe.isConnected && probe.isBehind === true;
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
/*
|
|
265
|
+
* How many of the probes are behind: the count the evaluation kept, or,
|
|
266
|
+
* for one from before #9501, read from its probes - none of them then.
|
|
267
|
+
*/
|
|
268
|
+
static getBehindProbeCount(response) {
|
|
269
|
+
return typeof response.behindProbeCount === "number"
|
|
270
|
+
? response.behindProbeCount
|
|
271
|
+
: ProbeStatusMonitorUtil.getBehindProbes(response).length;
|
|
272
|
+
}
|
|
190
273
|
// "EU Probe, US Probe", or "" for none. Plain text: escape where shown.
|
|
191
274
|
static joinProbeNames(probes) {
|
|
192
275
|
return probes
|
|
@@ -195,6 +278,21 @@ class ProbeStatusMonitorUtil {
|
|
|
195
278
|
})
|
|
196
279
|
.join(", ");
|
|
197
280
|
}
|
|
281
|
+
/*
|
|
282
|
+
* What a probe behind is behind on, as a clause: "its monitors are
|
|
283
|
+
* checked less often than set", and the same of its network devices.
|
|
284
|
+
*/
|
|
285
|
+
static describeBehindWork(probe) {
|
|
286
|
+
const work = probe.behindOn || [];
|
|
287
|
+
const isOnMonitors = work.length === 0 || work.includes(ProbeBehind_1.ProbeBehindWork.MonitorChecks);
|
|
288
|
+
const isOnDevices = work.includes(ProbeBehind_1.ProbeBehindWork.DevicePolls);
|
|
289
|
+
if (isOnMonitors && isOnDevices) {
|
|
290
|
+
return "its monitors and network devices are checked less often than set";
|
|
291
|
+
}
|
|
292
|
+
return isOnDevices
|
|
293
|
+
? "its network devices are polled less often than set"
|
|
294
|
+
: "its monitors are checked less often than set";
|
|
295
|
+
}
|
|
198
296
|
/*
|
|
199
297
|
* How long the probe had gone without a heartbeat when the evaluation
|
|
200
298
|
* ran: measured to checkedAt, never to now, so an incident's stored
|
|
@@ -239,6 +337,14 @@ class ProbeStatusMonitorUtil {
|
|
|
239
337
|
return "This monitor watches no probe that still exists.";
|
|
240
338
|
}
|
|
241
339
|
if (response.disconnectedProbeCount === 0) {
|
|
340
|
+
const behind = ProbeStatusMonitorUtil.getBehindProbes(response);
|
|
341
|
+
// Connected, but not keeping up (#9501): which, and on what.
|
|
342
|
+
if (behind.length > 0) {
|
|
343
|
+
if (total === 1) {
|
|
344
|
+
return `${ProbeStatusMonitorUtil.joinProbeNames(behind)} is connected, but behind: ${ProbeStatusMonitorUtil.describeBehindWork(behind[0])}.`;
|
|
345
|
+
}
|
|
346
|
+
return `All ${total} probes are connected; ${behind.length} ${behind.length === 1 ? "is" : "are"} behind: ${ProbeStatusMonitorUtil.joinProbeNames(behind)}.`;
|
|
347
|
+
}
|
|
242
348
|
return total === 1
|
|
243
349
|
? `${ProbeStatusMonitorUtil.joinProbeNames(response.probes)} is connected.`
|
|
244
350
|
: `All ${total} probes are connected.`;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const STORED_CHECK_MAX_SIZE_IN_BYTES: number;
|
|
2
|
+
export declare const EVIDENCE_TRUNCATED_FIELD: string;
|
|
3
|
+
export declare const EVIDENCE_SCOPE_FIELD: string;
|
|
4
|
+
export interface StoredCheckEvidenceScope {
|
|
5
|
+
seriesFingerprint: string;
|
|
6
|
+
seriesInEvaluation: number;
|
|
7
|
+
}
|
|
8
|
+
export default class StoredCheckEvidence {
|
|
9
|
+
static isTrimmed(log: unknown): boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const STORED_CHECK_MAX_SIZE_IN_BYTES: number;
|
|
2
|
+
export declare const EVIDENCE_TRUNCATED_FIELD: string;
|
|
3
|
+
export declare const EVIDENCE_SCOPE_FIELD: string;
|
|
4
|
+
export interface StoredCheckEvidenceScope {
|
|
5
|
+
seriesFingerprint: string;
|
|
6
|
+
seriesInEvaluation: number;
|
|
7
|
+
}
|
|
8
|
+
export default class StoredCheckEvidence {
|
|
9
|
+
static isTrimmed(log: unknown): boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* WHAT AN INCIDENT, AN ALERT AND A STATE CHANGE KEEP OF A CHECK, AND HOW
|
|
4
|
+
* BIG IT MAY GET (OneUptime issue #9189).
|
|
5
|
+
*
|
|
6
|
+
* The raw check an incident or an alert keeps (createdStateLog), and the
|
|
7
|
+
* check kept on its state timeline (stateChangeLog) and on the monitor's
|
|
8
|
+
* status timeline (statusChangeLog), are read as JSON text: View Logs.
|
|
9
|
+
*
|
|
10
|
+
* - An incident or an alert opened for one series of a grouped monitor
|
|
11
|
+
* keeps that series only: its seriesBreakdown entry, and its points in
|
|
12
|
+
* metricResult. The other series of the evaluation are not evidence for
|
|
13
|
+
* it. The copy says which series it kept, and how many the evaluation
|
|
14
|
+
* looked at (EVIDENCE_SCOPE_FIELD).
|
|
15
|
+
* - Whatever is left is cut to STORED_CHECK_MAX_SIZE_IN_BYTES of JSON at
|
|
16
|
+
* most, and a copy that was cut says so (EVIDENCE_TRUNCATED_FIELD).
|
|
17
|
+
*
|
|
18
|
+
* Before, every alert of a grouped fleet monitor kept the whole evaluation -
|
|
19
|
+
* every series of every query, 95 MB of JSON at 16,000 series - three times:
|
|
20
|
+
* on the alert, its Identified row and its Resolved row.
|
|
21
|
+
*/
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.EVIDENCE_SCOPE_FIELD = exports.EVIDENCE_TRUNCATED_FIELD = exports.STORED_CHECK_MAX_SIZE_IN_BYTES = void 0;
|
|
24
|
+
// The most a stored check's JSON may take, in bytes.
|
|
25
|
+
exports.STORED_CHECK_MAX_SIZE_IN_BYTES = 256 * 1024;
|
|
26
|
+
// Set (true) on a stored check that was cut to fit.
|
|
27
|
+
exports.EVIDENCE_TRUNCATED_FIELD = "isEvidenceTruncated";
|
|
28
|
+
/*
|
|
29
|
+
* Set on a stored check kept for one series:
|
|
30
|
+
* { seriesFingerprint, seriesInEvaluation }.
|
|
31
|
+
*/
|
|
32
|
+
exports.EVIDENCE_SCOPE_FIELD = "evidenceScope";
|
|
33
|
+
class StoredCheckEvidence {
|
|
34
|
+
// Was this stored check cut to fit? A log read back as JSON or as text.
|
|
35
|
+
static isTrimmed(log) {
|
|
36
|
+
if (log === null || log === undefined) {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
if (typeof log === "string") {
|
|
40
|
+
try {
|
|
41
|
+
return StoredCheckEvidence.isTrimmed(JSON.parse(log));
|
|
42
|
+
}
|
|
43
|
+
catch (_a) {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (typeof log !== "object" || Array.isArray(log)) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return log[exports.EVIDENCE_TRUNCATED_FIELD] === true;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.default = StoredCheckEvidence;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import commonJsModule from "./StoredCheckEvidence.js";
|
|
2
|
+
export default commonJsModule.default;
|
|
3
|
+
export const EVIDENCE_SCOPE_FIELD = commonJsModule.EVIDENCE_SCOPE_FIELD;
|
|
4
|
+
export const EVIDENCE_TRUNCATED_FIELD = commonJsModule.EVIDENCE_TRUNCATED_FIELD;
|
|
5
|
+
export const STORED_CHECK_MAX_SIZE_IN_BYTES = commonJsModule.STORED_CHECK_MAX_SIZE_IN_BYTES;
|
|
@@ -109,6 +109,8 @@ export interface NetworkDeviceEffectiveInputs {
|
|
|
109
109
|
controllerAddress: NetworkDeviceEffectiveInput;
|
|
110
110
|
controllerProductType: NetworkDeviceEffectiveInput;
|
|
111
111
|
controllerFirmwareVersion: NetworkDeviceEffectiveInput;
|
|
112
|
+
listVendor: NetworkDeviceEffectiveInput;
|
|
113
|
+
listClientName: NetworkDeviceEffectiveInput;
|
|
112
114
|
details: NetworkDeviceDiscoveredDetails;
|
|
113
115
|
}
|
|
114
116
|
/**
|
|
@@ -158,6 +160,7 @@ export declare function getNetworkDeviceLocation(device: NetworkDeviceAssetSourc
|
|
|
158
160
|
* discovery read when its poll has not.
|
|
159
161
|
*/
|
|
160
162
|
export declare function getNetworkDeviceSystemDescription(device: NetworkDeviceAssetSource): string | undefined;
|
|
163
|
+
export declare const NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS: ReadonlyArray<keyof NetworkDeviceAssetSource>;
|
|
161
164
|
/**
|
|
162
165
|
* Every asset fact of one network device. See the header for where each one
|
|
163
166
|
* comes from and what wins.
|
|
@@ -109,6 +109,8 @@ export interface NetworkDeviceEffectiveInputs {
|
|
|
109
109
|
controllerAddress: NetworkDeviceEffectiveInput;
|
|
110
110
|
controllerProductType: NetworkDeviceEffectiveInput;
|
|
111
111
|
controllerFirmwareVersion: NetworkDeviceEffectiveInput;
|
|
112
|
+
listVendor: NetworkDeviceEffectiveInput;
|
|
113
|
+
listClientName: NetworkDeviceEffectiveInput;
|
|
112
114
|
details: NetworkDeviceDiscoveredDetails;
|
|
113
115
|
}
|
|
114
116
|
/**
|
|
@@ -158,6 +160,7 @@ export declare function getNetworkDeviceLocation(device: NetworkDeviceAssetSourc
|
|
|
158
160
|
* discovery read when its poll has not.
|
|
159
161
|
*/
|
|
160
162
|
export declare function getNetworkDeviceSystemDescription(device: NetworkDeviceAssetSource): string | undefined;
|
|
163
|
+
export declare const NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS: ReadonlyArray<keyof NetworkDeviceAssetSource>;
|
|
161
164
|
/**
|
|
162
165
|
* Every asset fact of one network device. See the header for where each one
|
|
163
166
|
* comes from and what wins.
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS = void 0;
|
|
6
7
|
exports.readText = readText;
|
|
7
8
|
exports.toOtelMacAddress = toOtelMacAddress;
|
|
8
9
|
exports.isIpAddressLiteral = isIpAddressLiteral;
|
|
@@ -348,6 +349,8 @@ function getNetworkDeviceEffectiveInputs(device) {
|
|
|
348
349
|
controllerAddress: controllerInput(controller, NetworkDeviceDiscoveredDetails_1.NetworkDeviceControllerField.Address),
|
|
349
350
|
controllerProductType: controllerInput(controller, NetworkDeviceDiscoveredDetails_1.NetworkDeviceControllerField.ProductType),
|
|
350
351
|
controllerFirmwareVersion: controllerInput(controller, NetworkDeviceDiscoveredDetails_1.NetworkDeviceControllerField.FirmwareVersion),
|
|
352
|
+
listVendor: readDiscoveredOnly(details.values[NetworkDeviceDiscoveredDetails_1.NetworkDeviceDiscoveredField.Vendor]),
|
|
353
|
+
listClientName: readDiscoveredOnly(details.values[NetworkDeviceDiscoveredDetails_1.NetworkDeviceDiscoveredField.ClientName]),
|
|
351
354
|
details: details,
|
|
352
355
|
};
|
|
353
356
|
}
|
|
@@ -430,10 +433,14 @@ function getHostnameFact(device, inputs, dnsName) {
|
|
|
430
433
|
if (!(choice === null || choice === void 0 ? void 0 : choice.name)) {
|
|
431
434
|
/*
|
|
432
435
|
* Nothing the device says names it: the name its controller files it
|
|
433
|
-
* under (the Meraki dashboard's), when it has one
|
|
434
|
-
*
|
|
436
|
+
* under (the Meraki dashboard's), when it has one; else the name the
|
|
437
|
+
* Discovered Devices list knows it by - what a controller's client list
|
|
438
|
+
* calls it (issue #9305). Still never its address.
|
|
435
439
|
*/
|
|
436
|
-
|
|
440
|
+
if (inputs.controllerName.value) {
|
|
441
|
+
return fact(inputs.controllerName.value, inputs.controllerName);
|
|
442
|
+
}
|
|
443
|
+
return fact(inputs.listClientName.value, inputs.listClientName);
|
|
437
444
|
}
|
|
438
445
|
const from = choice.source === DeviceNameSource_1.DeviceNameSource.SystemName
|
|
439
446
|
? systemName
|
|
@@ -532,7 +539,12 @@ function getManufacturerFact(inputs, described) {
|
|
|
532
539
|
}
|
|
533
540
|
const candidate = stored || fromEnterprise;
|
|
534
541
|
if (!candidate || isSnmpAgentVendor(candidate)) {
|
|
535
|
-
|
|
542
|
+
/*
|
|
543
|
+
* Nothing the device reports or holds names its maker: the one its MAC
|
|
544
|
+
* address's prefix names, as the Discovered Devices list shows it (issue
|
|
545
|
+
* #9305) - a register or a camera that is only pinged has no other.
|
|
546
|
+
*/
|
|
547
|
+
return fact(inputs.listVendor.value, inputs.listVendor);
|
|
536
548
|
}
|
|
537
549
|
return stored
|
|
538
550
|
? fact(candidate, inputs.vendor)
|
|
@@ -720,6 +732,23 @@ function getNetworkDeviceLocation(device) {
|
|
|
720
732
|
function getNetworkDeviceSystemDescription(device) {
|
|
721
733
|
return getNetworkDeviceEffectiveInputs(device).sysDescr.value;
|
|
722
734
|
}
|
|
735
|
+
/*
|
|
736
|
+
* The columns the maker is worked out from (getNetworkDeviceManufacturer):
|
|
737
|
+
* the saved vendor, the SNMP identity, when the device's poll last read it,
|
|
738
|
+
* and what discovery and its controller read. The server keeps each device's
|
|
739
|
+
* maker in its `manufacturer` column, which the device lists' Vendor filter
|
|
740
|
+
* and sort read, and works it out again after a write of any of these
|
|
741
|
+
* (NetworkDeviceStoredManufacturer, issue #9363), so the filter and the
|
|
742
|
+
* Vendor / Model column name the same maker. A test fails when the maker
|
|
743
|
+
* starts reading another column without it being added here.
|
|
744
|
+
*/
|
|
745
|
+
exports.NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS = [
|
|
746
|
+
"vendor",
|
|
747
|
+
"sysDescr",
|
|
748
|
+
"sysObjectId",
|
|
749
|
+
"lastSnmpSeenAt",
|
|
750
|
+
"discoveredDetails",
|
|
751
|
+
];
|
|
723
752
|
/**
|
|
724
753
|
* Every asset fact of one network device. See the header for where each one
|
|
725
754
|
* comes from and what wins.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import commonJsModule from "./NetworkDeviceAssetFacts.js";
|
|
2
2
|
export default commonJsModule.default;
|
|
3
|
+
export const NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS = commonJsModule.NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS;
|
|
3
4
|
export const getNetworkDeviceAssetFacts = commonJsModule.getNetworkDeviceAssetFacts;
|
|
4
5
|
export const getNetworkDeviceDnsName = commonJsModule.getNetworkDeviceDnsName;
|
|
5
6
|
export const getNetworkDeviceEffectiveInputs = commonJsModule.getNetworkDeviceEffectiveInputs;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS, NetworkDeviceAssetSource } from "./NetworkDeviceAssetFacts.mjs";
|
|
2
|
+
export { NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS };
|
|
3
|
+
export declare const NETWORK_DEVICE_MANUFACTURER_DISCOVERED_KEYS: ReadonlyArray<string>;
|
|
4
|
+
export declare const MAX_STORED_MANUFACTURER_LENGTH: number;
|
|
5
|
+
/**
|
|
6
|
+
* The maker to keep on a device: exactly the one its Vendor / Model column,
|
|
7
|
+
* its page and its Inventory item name (getNetworkDeviceManufacturer), or
|
|
8
|
+
* null when nothing names one.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getStoredNetworkDeviceManufacturer(device: NetworkDeviceAssetSource): string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Whether a write of these columns can change the maker: one of them is a
|
|
13
|
+
* column it is worked out from.
|
|
14
|
+
*/
|
|
15
|
+
export declare function isNetworkDeviceManufacturerInputWrite(columns: Iterable<string>): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether a successful walk at `walkedAt` changes the device's maker though
|
|
18
|
+
* it reads nothing new: the walk moves its lastSnmpSeenAt on (to the later of
|
|
19
|
+
* the two, as the poll's verdict writes it), and of two automatic readings
|
|
20
|
+
* of its SNMP identity the newer wins - so a walk after a discovery scan
|
|
21
|
+
* makes the device's own reading the one its maker is read off again. A walk
|
|
22
|
+
* that read a different identity is written through the service, which works
|
|
23
|
+
* the maker out again by itself.
|
|
24
|
+
*/
|
|
25
|
+
export declare function isNetworkDeviceManufacturerChangedByWalk(device: NetworkDeviceAssetSource, walkedAt: Date): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Whether a merge into a device's discovered details can change its maker:
|
|
28
|
+
* it sets or drops one of the keys the maker reads.
|
|
29
|
+
*/
|
|
30
|
+
export declare function isNetworkDeviceManufacturerDiscoveredPatch(patch: {
|
|
31
|
+
set?: Record<string, unknown> | undefined;
|
|
32
|
+
unset?: ReadonlyArray<string> | undefined;
|
|
33
|
+
}): boolean;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS, NetworkDeviceAssetSource } from "./NetworkDeviceAssetFacts";
|
|
2
|
+
export { NETWORK_DEVICE_MANUFACTURER_INPUT_COLUMNS };
|
|
3
|
+
export declare const NETWORK_DEVICE_MANUFACTURER_DISCOVERED_KEYS: ReadonlyArray<string>;
|
|
4
|
+
export declare const MAX_STORED_MANUFACTURER_LENGTH: number;
|
|
5
|
+
/**
|
|
6
|
+
* The maker to keep on a device: exactly the one its Vendor / Model column,
|
|
7
|
+
* its page and its Inventory item name (getNetworkDeviceManufacturer), or
|
|
8
|
+
* null when nothing names one.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getStoredNetworkDeviceManufacturer(device: NetworkDeviceAssetSource): string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Whether a write of these columns can change the maker: one of them is a
|
|
13
|
+
* column it is worked out from.
|
|
14
|
+
*/
|
|
15
|
+
export declare function isNetworkDeviceManufacturerInputWrite(columns: Iterable<string>): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether a successful walk at `walkedAt` changes the device's maker though
|
|
18
|
+
* it reads nothing new: the walk moves its lastSnmpSeenAt on (to the later of
|
|
19
|
+
* the two, as the poll's verdict writes it), and of two automatic readings
|
|
20
|
+
* of its SNMP identity the newer wins - so a walk after a discovery scan
|
|
21
|
+
* makes the device's own reading the one its maker is read off again. A walk
|
|
22
|
+
* that read a different identity is written through the service, which works
|
|
23
|
+
* the maker out again by itself.
|
|
24
|
+
*/
|
|
25
|
+
export declare function isNetworkDeviceManufacturerChangedByWalk(device: NetworkDeviceAssetSource, walkedAt: Date): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Whether a merge into a device's discovered details can change its maker:
|
|
28
|
+
* it sets or drops one of the keys the maker reads.
|
|
29
|
+
*/
|
|
30
|
+
export declare function isNetworkDeviceManufacturerDiscoveredPatch(patch: {
|
|
31
|
+
set?: Record<string, unknown> | undefined;
|
|
32
|
+
unset?: ReadonlyArray<string> | undefined;
|
|
33
|
+
}): boolean;
|