@oneuptime/common 16.0.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/RumProductAnalyticsEvent.js +15 -6
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +27 -10
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +16 -4
- package/Models/AnalyticsModels/RumSession.js +12 -0
- package/Models/DatabaseModels/AlertSeverity.js +12 -3
- package/Models/DatabaseModels/DataAsset.d.mts +1 -0
- package/Models/DatabaseModels/DataAsset.d.ts +1 -0
- package/Models/DatabaseModels/DataAsset.js +23 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +2 -1
- package/Models/DatabaseModels/DataBiConnection.d.ts +2 -1
- package/Models/DatabaseModels/DataBiConnection.js +15 -0
- package/Models/DatabaseModels/DataCheck.d.mts +3 -0
- package/Models/DatabaseModels/DataCheck.d.ts +3 -0
- package/Models/DatabaseModels/DataCheck.js +49 -0
- package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
- package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
- package/Models/DatabaseModels/DataDashboard.js +15 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +1 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +1 -0
- package/Models/DatabaseModels/DataPipeline.js +25 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +23 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.js +21 -0
- package/Models/DatabaseModels/EmailLog.d.mts +1 -0
- package/Models/DatabaseModels/EmailLog.d.ts +1 -0
- package/Models/DatabaseModels/EmailLog.js +35 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +128 -0
- package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
- package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
- package/Models/DatabaseModels/GlobalOidc.js +29 -0
- package/Models/DatabaseModels/IncidentSeverity.js +12 -3
- package/Models/DatabaseModels/Index.js +6 -0
- package/Models/DatabaseModels/Monitor.js +18 -0
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +49 -0
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
- package/Models/DatabaseModels/Probe.d.mts +4 -0
- package/Models/DatabaseModels/Probe.d.ts +4 -0
- package/Models/DatabaseModels/Probe.js +100 -0
- package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
- package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
- package/Models/DatabaseModels/ProductFeedback.js +34 -2
- package/Models/DatabaseModels/Project.d.mts +4 -1
- package/Models/DatabaseModels/Project.d.ts +4 -1
- package/Models/DatabaseModels/Project.js +147 -7
- package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
- package/Models/DatabaseModels/ProjectOidc.d.mts +1 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +1 -0
- package/Models/DatabaseModels/ProjectOidc.js +46 -0
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +12 -3
- package/Models/DatabaseModels/RumApplication.d.mts +1 -0
- package/Models/DatabaseModels/RumApplication.d.ts +1 -0
- package/Models/DatabaseModels/RumApplication.js +58 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
- package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.js +206 -0
- package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
- package/Models/DatabaseModels/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.js +10 -0
- package/Models/DatabaseModels/User.d.mts +3 -0
- package/Models/DatabaseModels/User.d.ts +3 -0
- package/Models/DatabaseModels/User.js +66 -0
- package/Models/DatabaseModels/UserSession.d.mts +1 -0
- package/Models/DatabaseModels/UserSession.d.ts +1 -0
- package/Models/DatabaseModels/UserSession.js +32 -0
- package/Models/DatabaseModels/WorkspaceLiveMessage.js +21 -15
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
- package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Server/Services/DatabaseService.d.mts +6 -0
- package/Server/Services/DatabaseService.d.ts +6 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.js +1 -0
- package/Types/AI/AIChatPageContext.d.mts +1 -0
- package/Types/AI/AIChatPageContext.d.ts +1 -0
- package/Types/AI/AIChatPageContext.js +6 -0
- package/Types/AI/AIRunProducts.d.mts +14 -0
- package/Types/AI/AIRunProducts.d.ts +14 -0
- package/Types/AI/AIRunProducts.js +40 -0
- package/Types/AI/AIRunProducts.mjs +2 -0
- package/Types/AI/AskAiRatings.d.mts +31 -0
- package/Types/AI/AskAiRatings.d.ts +31 -0
- package/Types/AI/AskAiRatings.js +173 -0
- package/Types/AI/AskAiRatings.mjs +13 -0
- package/Types/Accounts/SignUpInvitation.d.mts +12 -0
- package/Types/Accounts/SignUpInvitation.d.ts +12 -0
- package/Types/Accounts/SignUpInvitation.js +84 -0
- package/Types/Accounts/SignUpInvitation.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +2 -1
- package/Types/Analytics/ActivationMilestone.d.ts +2 -1
- package/Types/Analytics/ActivationMilestone.js +11 -0
- package/Types/Analytics/ProductEvent.d.mts +11 -0
- package/Types/Analytics/ProductEvent.d.ts +11 -0
- package/Types/Analytics/ProductEvent.js +166 -13
- package/Types/Analytics/ProductEvent.mjs +3 -0
- package/Types/Backup/BackupScriptRun.d.mts +17 -0
- package/Types/Backup/BackupScriptRun.d.ts +17 -0
- package/Types/Backup/BackupScriptRun.js +96 -0
- package/Types/Backup/BackupScriptRun.mjs +6 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
- package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
- package/Types/BaseDatabase/ReadAudience.js +2 -0
- package/Types/BaseDatabase/ReadAudience.mjs +1 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
- package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +28 -1
- package/Types/Cloud/CloudKeyMetrics.d.ts +28 -1
- package/Types/Cloud/CloudKeyMetrics.js +1209 -206
- package/Types/Cloud/CloudKeyMetrics.mjs +6 -0
- package/Types/Cloud/CloudResourceCatalog.js +43 -12
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +49 -6
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
- package/Types/CloudConnection/CloudStreamTemplate.js +6 -2
- package/Types/CreateFormAddress.d.mts +3 -0
- package/Types/CreateFormAddress.d.ts +3 -0
- package/Types/CreateFormAddress.js +17 -0
- package/Types/CreateFormAddress.mjs +4 -0
- package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
- package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
- package/Types/DataObservability/DataAssetFreshness.js +28 -5
- package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
- package/Types/DataObservability/DataBiLineage.d.mts +69 -0
- package/Types/DataObservability/DataBiLineage.d.ts +69 -0
- package/Types/DataObservability/DataBiLineage.js +198 -0
- package/Types/DataObservability/DataBiLineage.mjs +13 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
- package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
- package/Types/DataObservability/DataLineageMap.d.mts +67 -1
- package/Types/DataObservability/DataLineageMap.d.ts +67 -1
- package/Types/DataObservability/DataLineageMap.js +335 -3
- package/Types/DataObservability/DataLineageMap.mjs +14 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.js +21 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.js +48 -1
- package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
- package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.js +26 -6
- package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
- package/Types/DataObservability/DataTableLineage.d.mts +6 -0
- package/Types/DataObservability/DataTableLineage.d.ts +6 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +21 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.js +112 -0
- package/Types/DataSecurity/FindingSampleRecord.mjs +6 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +6 -0
- package/Types/Database/MoveInList.d.mts +41 -0
- package/Types/Database/MoveInList.d.ts +41 -0
- package/Types/Database/MoveInList.js +177 -0
- package/Types/Database/MoveInList.mjs +4 -0
- package/Types/Email/ServerEmailLog.d.mts +41 -0
- package/Types/Email/ServerEmailLog.d.ts +41 -0
- package/Types/Email/ServerEmailLog.js +136 -0
- package/Types/Email/ServerEmailLog.mjs +11 -0
- package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
- package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
- package/Types/Exception/ProductSwitchedOffException.js +38 -0
- package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
- package/Types/Exception/UnexplainedError.d.mts +7 -0
- package/Types/Exception/UnexplainedError.d.ts +7 -0
- package/Types/Exception/UnexplainedError.js +36 -1
- package/Types/Exception/UnexplainedError.mjs +2 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
- package/Types/InstallationHealth/InstallationHealth.js +163 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +16 -0
- package/Types/Kubernetes/KubernetesHealth.d.ts +16 -0
- package/Types/Kubernetes/KubernetesHealth.js +128 -6
- package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
- package/Types/Monitor/CriteriaFilter.d.mts +2 -1
- package/Types/Monitor/CriteriaFilter.d.ts +2 -1
- package/Types/Monitor/CriteriaFilter.js +9 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
- package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
- package/Types/Monitor/MonitorMetricType.d.mts +2 -1
- package/Types/Monitor/MonitorMetricType.d.ts +2 -1
- package/Types/Monitor/MonitorMetricType.js +1 -0
- package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
- package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
- package/Types/Monitor/MonitorStepLimit.js +62 -0
- package/Types/Monitor/MonitorStepLimit.mjs +3 -0
- package/Types/Monitor/MonitorSteps.js +5 -0
- package/Types/Monitor/MonitorType.js +2 -1
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +111 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +15 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
- package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
- package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
- package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.js +61 -0
- package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
- package/Types/Monitor/TelemetryRulePreview.js +18 -6
- package/Types/Monitor/WhoIsTold.d.mts +71 -0
- package/Types/Monitor/WhoIsTold.d.ts +71 -0
- package/Types/Monitor/WhoIsTold.js +348 -121
- package/Types/Monitor/WhoIsTold.mjs +7 -0
- package/Types/NetworkAutomation/RuleRunResult.js +9 -5
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +205 -1
- package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
- package/Types/NetworkDevice/DiscoveryImport.js +8 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
- package/Types/Notification/WhoWasTold.d.mts +190 -0
- package/Types/Notification/WhoWasTold.d.ts +190 -0
- package/Types/Notification/WhoWasTold.js +662 -0
- package/Types/Notification/WhoWasTold.mjs +16 -0
- package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.js +529 -0
- package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
- package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
- package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
- package/Types/Permission.d.mts +8 -0
- package/Types/Permission.d.ts +8 -0
- package/Types/Permission.js +84 -0
- package/Types/Probe/ProbeBehind.d.mts +48 -0
- package/Types/Probe/ProbeBehind.d.ts +48 -0
- package/Types/Probe/ProbeBehind.js +196 -0
- package/Types/Probe/ProbeBehind.mjs +6 -0
- package/Types/Product/ProductRecordTables.d.mts +8 -0
- package/Types/Product/ProductRecordTables.d.ts +8 -0
- package/Types/Product/ProductRecordTables.js +847 -0
- package/Types/Product/ProductRecordTables.mjs +5 -0
- package/Types/Product/ProductUsage.d.mts +2 -0
- package/Types/Product/ProductUsage.d.ts +2 -0
- package/Types/Product/ProductUsage.js +41 -6
- package/Types/Product/ProductUsage.mjs +2 -0
- package/Types/Product/ServerProductOffReason.d.mts +4 -0
- package/Types/Product/ServerProductOffReason.d.ts +4 -0
- package/Types/Product/ServerProductOffReason.js +19 -0
- package/Types/Product/ServerProductOffReason.mjs +2 -0
- package/Types/Product/ServerProducts.d.mts +2 -4
- package/Types/Product/ServerProducts.d.ts +2 -4
- package/Types/Product/ServerProducts.js +19 -17
- package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
- package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
- package/Types/ProductFeedback/ProductFeedback.js +185 -5
- package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
- package/Types/PushNotification/PushNotificationCategory.js +17 -6
- package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +34 -1
- package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
- package/Types/Rum/ProductAnalytics.d.mts +9 -0
- package/Types/Rum/ProductAnalytics.d.ts +9 -0
- package/Types/Rum/ProductAnalytics.js +56 -8
- package/Types/Rum/ProductAnalytics.mjs +6 -0
- package/Types/Rum/ProductAnalyticsEvents.js +2 -1
- package/Types/Rum/SessionReplay.d.mts +3 -0
- package/Types/Rum/SessionReplay.d.ts +3 -0
- package/Types/Rum/SessionReplay.js +35 -1
- package/Types/Rum/SessionReplay.mjs +2 -0
- package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
- package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
- package/Types/Runbook/RunbookTriggerType.js +19 -1
- package/Types/Runbook/RunbookTriggerType.mjs +1 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +24 -0
- package/Types/SSO/IdentityProviderSignOut.d.ts +24 -0
- package/Types/SSO/IdentityProviderSignOut.js +124 -0
- package/Types/SSO/IdentityProviderSignOut.mjs +10 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +12 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.js +252 -0
- package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
- package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
- package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
- package/Types/ServerSending/ProjectCanSend.js +49 -0
- package/Types/ServerSending/ProjectCanSend.mjs +4 -0
- package/Types/ServerSending/ServerAlerts.d.mts +78 -0
- package/Types/ServerSending/ServerAlerts.d.ts +78 -0
- package/Types/ServerSending/ServerAlerts.js +393 -0
- package/Types/ServerSending/ServerAlerts.mjs +8 -0
- package/Types/ServerSending/ServerSendingStatus.d.mts +6 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +6 -0
- package/Types/ServerSending/ServerSendingStatus.js +23 -0
- package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.js +164 -0
- package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.js +270 -33
- package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
- package/Types/ServerSetup/ServerTestSend.js +60 -3
- package/Types/ServerSetup/ServerTestSend.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.js +38 -0
- package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
- package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
- package/Types/SetupHealth/SetupHealth.d.mts +31 -3
- package/Types/SetupHealth/SetupHealth.d.ts +31 -3
- package/Types/SetupHealth/SetupHealth.js +333 -4
- package/Types/SetupHealth/SetupHealth.mjs +5 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
- package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
- package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
- package/Types/StatusPage/StatusPagePublicName.js +32 -0
- package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
- package/Types/Team/InvitationEmailsNotSent.d.mts +28 -0
- package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
- package/Types/Team/InvitationEmailsNotSent.js +261 -0
- package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
- package/Types/Team/ProjectMemberSearch.d.mts +15 -0
- package/Types/Team/ProjectMemberSearch.d.ts +15 -0
- package/Types/Team/ProjectMemberSearch.js +180 -0
- package/Types/Team/ProjectMemberSearch.mjs +10 -0
- package/Types/Team/ProjectRemovalReach.d.mts +15 -0
- package/Types/Team/ProjectRemovalReach.d.ts +15 -0
- package/Types/Team/ProjectRemovalReach.js +154 -0
- package/Types/Team/ProjectRemovalReach.mjs +8 -0
- package/Types/Team/ResendInvitation.d.mts +27 -0
- package/Types/Team/ResendInvitation.d.ts +27 -0
- package/Types/Team/ResendInvitation.js +123 -0
- package/Types/Team/ResendInvitation.mjs +12 -0
- package/Types/UsedBy/UsedBy.d.mts +1 -0
- package/Types/UsedBy/UsedBy.d.ts +1 -0
- package/Types/UsedBy/UsedBy.js +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
- package/Types/Workflow/Component.d.mts +0 -1
- package/Types/Workflow/Component.d.ts +0 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
- package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
- package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.js +9 -4
- package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
- package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
- package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/FieldClassifier.js +38 -8
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +270 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +5 -0
- package/Utils/DataSecurity/TextScanner.d.mts +4 -0
- package/Utils/DataSecurity/TextScanner.d.ts +4 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.js +134 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +33 -6
- package/Utils/Monitor/MonitorMetricType.js +11 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +21 -3
- package/Utils/Monitor/ProbeFailureCauses.js +4 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
- package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
- package/Utils/Rules/RuleCriteriaMatcher.d.mts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
- package/Utils/Slo/SloBurnRateRuleState.js +3 -6
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
- package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
- package/Utils/Slo/SloFeedMarkdown.js +19 -7
- package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
- package/Utils/Slo/SloHealth.d.mts +5 -0
- package/Utils/Slo/SloHealth.d.ts +5 -0
- package/Utils/Slo/SloHealth.js +27 -0
- package/Utils/Slo/SloListWidgetFormat.js +5 -3
- package/Utils/Slo/SloMetricType.js +6 -5
- package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
- package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
- package/Utils/Slo/SloOverviewText.js +7 -0
- package/Utils/Slo/SloStatusColor.d.mts +3 -0
- package/Utils/Slo/SloStatusColor.d.ts +3 -0
- package/Utils/Slo/SloStatusColor.js +3 -0
- package/Utils/Slo/SloStatusPosts.d.mts +18 -0
- package/Utils/Slo/SloStatusPosts.d.ts +18 -0
- package/Utils/Slo/SloStatusPosts.js +95 -0
- package/Utils/Slo/SloStatusPosts.mjs +3 -0
- package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
- package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
- package/Utils/StatusPage/GridAxisValues.js +33 -0
- package/Utils/StatusPage/GridAxisValues.mjs +3 -0
- package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.js +13 -12
- package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.js +25 -5
- package/Utils/StatusPage/ResourceExplorer.d.mts +2 -2
- package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
- package/Utils/StatusPage/ResourceExplorer.js +15 -21
- package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
- package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
- package/Utils/Telemetry/MobileAppFaults.d.mts +8 -0
- package/Utils/Telemetry/MobileAppFaults.d.ts +8 -0
- package/Utils/Telemetry/MobileAppFaults.js +69 -0
- package/Utils/Telemetry/MobileAppFaults.mjs +6 -0
- package/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.js +769 -0
- package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
- package/package.json +4 -1
|
@@ -22,7 +22,10 @@
|
|
|
22
22
|
* Dashboard, so both read one set of names, limits and buckets.
|
|
23
23
|
*/
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.DEFAULT_PRODUCT_ANALYTICS_TIME_ZONE = exports.PRODUCT_ANALYTICS_VISITOR_PREFIX = exports.PRODUCT_ANALYTICS_IDENTIFIED_PREFIX = exports.PRODUCT_ANALYTICS_SESSION_LENGTH_BUCKETS = exports.PRODUCT_ANALYTICS_TABLET_MIN_SHORT_SIDE = exports.PRODUCT_ANALYTICS_DEVICE_TYPES = exports.PRODUCT_ANALYTICS_IN_RANGE_PEOPLE_FILTERS = exports.PRODUCT_ANALYTICS_PEOPLE_FILTERS = exports.ProductAnalyticsPeopleFilter = exports.PRODUCT_ANALYTICS_DIMENSIONS = exports.ProductAnalyticsDimension = exports.PRODUCT_ANALYTICS_SEARCH_MAX_LENGTH = exports.PRODUCT_ANALYTICS_BREAKDOWN_LIMIT = exports.MAX_PRODUCT_ANALYTICS_PERSON_SESSIONS_LIMIT = exports.DEFAULT_PRODUCT_ANALYTICS_PERSON_SESSIONS_LIMIT = exports.MAX_PRODUCT_ANALYTICS_OFFSET = exports.MAX_PRODUCT_ANALYTICS_PEOPLE_LIMIT = exports.DEFAULT_PRODUCT_ANALYTICS_PEOPLE_LIMIT = exports.DEFAULT_PRODUCT_ANALYTICS_DORMANT_AFTER_DAYS = exports.PRODUCT_ANALYTICS_DORMANT_AFTER_DAYS_OPTIONS = exports.PRODUCT_ANALYTICS_MONTHLY_WINDOW_DAYS = exports.PRODUCT_ANALYTICS_WEEKLY_WINDOW_DAYS = exports.PRODUCT_ANALYTICS_MAX_RANGE_DAYS = exports.PRODUCT_ANALYTICS_RETENTION_MONTHS = exports.PRODUCT_ANALYTICS_PERSON_ROUTE = exports.PRODUCT_ANALYTICS_PEOPLE_ROUTE = exports.PRODUCT_ANALYTICS_BREAKDOWN_ROUTE = exports.PRODUCT_ANALYTICS_TREND_ROUTE = exports.PRODUCT_ANALYTICS_SUMMARY_ROUTE = exports.PRODUCT_ANALYTICS_ROUTE_PREFIX = void 0;
|
|
25
|
+
exports.DEFAULT_PRODUCT_ANALYTICS_TIME_ZONE = exports.PRODUCT_ANALYTICS_VISITOR_PREFIX = exports.PRODUCT_ANALYTICS_IDENTIFIED_PREFIX = exports.PRODUCT_ANALYTICS_SESSION_LENGTH_BUCKETS = exports.PRODUCT_ANALYTICS_TABLET_MIN_SHORT_SIDE = exports.PRODUCT_ANALYTICS_DEVICE_TYPES = exports.PRODUCT_ANALYTICS_IN_RANGE_PEOPLE_FILTERS = exports.PRODUCT_ANALYTICS_PEOPLE_FILTERS = exports.ProductAnalyticsPeopleFilter = exports.PRODUCT_ANALYTICS_DIMENSIONS = exports.ProductAnalyticsDimension = exports.PRODUCT_ANALYTICS_SEARCH_MAX_LENGTH = exports.PRODUCT_ANALYTICS_BREAKDOWN_LIMIT = exports.MAX_PRODUCT_ANALYTICS_PERSON_SESSIONS_LIMIT = exports.DEFAULT_PRODUCT_ANALYTICS_PERSON_SESSIONS_LIMIT = exports.MAX_PRODUCT_ANALYTICS_OFFSET = exports.MAX_PRODUCT_ANALYTICS_PEOPLE_LIMIT = exports.DEFAULT_PRODUCT_ANALYTICS_PEOPLE_LIMIT = exports.DEFAULT_PRODUCT_ANALYTICS_DORMANT_AFTER_DAYS = exports.PRODUCT_ANALYTICS_DORMANT_AFTER_DAYS_OPTIONS = exports.PRODUCT_ANALYTICS_MONTHLY_WINDOW_DAYS = exports.PRODUCT_ANALYTICS_WEEKLY_WINDOW_DAYS = exports.PRODUCT_ANALYTICS_MAX_RANGE_DAYS = exports.MAX_PRODUCT_ANALYTICS_RETENTION_MONTHS = exports.PRODUCT_ANALYTICS_RETENTION_MONTHS = exports.DEFAULT_PRODUCT_ANALYTICS_RETENTION_MONTHS = exports.PRODUCT_ANALYTICS_RETENTION_MONTHS_OPTIONS = exports.PRODUCT_ANALYTICS_PERSON_ROUTE = exports.PRODUCT_ANALYTICS_PEOPLE_ROUTE = exports.PRODUCT_ANALYTICS_BREAKDOWN_ROUTE = exports.PRODUCT_ANALYTICS_TREND_ROUTE = exports.PRODUCT_ANALYTICS_SUMMARY_ROUTE = exports.PRODUCT_ANALYTICS_ROUTE_PREFIX = void 0;
|
|
26
|
+
exports.getProductAnalyticsRetentionMonths = getProductAnalyticsRetentionMonths;
|
|
27
|
+
exports.getProductAnalyticsRetentionCutoff = getProductAnalyticsRetentionCutoff;
|
|
28
|
+
exports.getProductAnalyticsMaxRangeDays = getProductAnalyticsMaxRangeDays;
|
|
26
29
|
exports.isProductAnalyticsPersonKey = isProductAnalyticsPersonKey;
|
|
27
30
|
exports.readProductAnalyticsPersonKind = readProductAnalyticsPersonKind;
|
|
28
31
|
exports.toProductAnalyticsPersonSegment = toProductAnalyticsPersonSegment;
|
|
@@ -37,19 +40,64 @@ exports.PRODUCT_ANALYTICS_BREAKDOWN_ROUTE = `${exports.PRODUCT_ANALYTICS_ROUTE_P
|
|
|
37
40
|
exports.PRODUCT_ANALYTICS_PEOPLE_ROUTE = `${exports.PRODUCT_ANALYTICS_ROUTE_PREFIX}/people`;
|
|
38
41
|
exports.PRODUCT_ANALYTICS_PERSON_ROUTE = `${exports.PRODUCT_ANALYTICS_ROUTE_PREFIX}/person`;
|
|
39
42
|
/*
|
|
40
|
-
* How long
|
|
41
|
-
* go on the first day of the
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
43
|
+
* How long an application keeps its product analytics, in calendar months
|
|
44
|
+
* (issue #6626): a month's rows go on the first day of the Nth month after
|
|
45
|
+
* it, so N - 1 full months are always kept beside the running one. Each
|
|
46
|
+
* application chooses one of these on Analytics Settings
|
|
47
|
+
* (RumApplication.productAnalyticsRetentionInMonths): 3 or 6 for a privacy
|
|
48
|
+
* policy that promises less, 25 to compare a year with the year before.
|
|
45
49
|
*/
|
|
46
|
-
exports.
|
|
50
|
+
exports.PRODUCT_ANALYTICS_RETENTION_MONTHS_OPTIONS = [3, 6, 13, 25];
|
|
51
|
+
/*
|
|
52
|
+
* The default: twelve full months and the running one, so a month can be
|
|
53
|
+
* compared with the same month a year earlier while it is still running.
|
|
54
|
+
*/
|
|
55
|
+
exports.DEFAULT_PRODUCT_ANALYTICS_RETENTION_MONTHS = 13;
|
|
56
|
+
/* What an application keeps unless it chose otherwise: the default. */
|
|
57
|
+
exports.PRODUCT_ANALYTICS_RETENTION_MONTHS = exports.DEFAULT_PRODUCT_ANALYTICS_RETENTION_MONTHS;
|
|
58
|
+
/*
|
|
59
|
+
* The longest choice, and what the tables' TTL keeps for everyone: every
|
|
60
|
+
* row of a monthly partition expires on the same day, so whole parts are
|
|
61
|
+
* dropped. A shorter choice is kept by Rum:EnforceProductAnalyticsRetention,
|
|
62
|
+
* which deletes an application's older rows every day.
|
|
63
|
+
*/
|
|
64
|
+
exports.MAX_PRODUCT_ANALYTICS_RETENTION_MONTHS = Math.max(...exports.PRODUCT_ANALYTICS_RETENTION_MONTHS_OPTIONS);
|
|
65
|
+
/*
|
|
66
|
+
* An application's choice as it is kept: one of the options, or the
|
|
67
|
+
* default for anything else (an unset column, a value written before the
|
|
68
|
+
* choice existed).
|
|
69
|
+
*/
|
|
70
|
+
function getProductAnalyticsRetentionMonths(value) {
|
|
71
|
+
return typeof value === "number" &&
|
|
72
|
+
exports.PRODUCT_ANALYTICS_RETENTION_MONTHS_OPTIONS.includes(value)
|
|
73
|
+
? value
|
|
74
|
+
: exports.DEFAULT_PRODUCT_ANALYTICS_RETENTION_MONTHS;
|
|
75
|
+
}
|
|
76
|
+
/*
|
|
77
|
+
* The first instant an application with this retention still keeps: the
|
|
78
|
+
* start (UTC) of the month N - 1 months before the running one. Rows of a
|
|
79
|
+
* month before it are past the retention and go.
|
|
80
|
+
*/
|
|
81
|
+
function getProductAnalyticsRetentionCutoff(months, now) {
|
|
82
|
+
return new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth() - (months - 1), 1));
|
|
83
|
+
}
|
|
47
84
|
/*
|
|
48
85
|
* The longest range one read covers. A year and a month of days, what the
|
|
49
|
-
*
|
|
86
|
+
* default keeps; the active-users trend reads 29 more days before it for the
|
|
50
87
|
* first day's monthly count.
|
|
51
88
|
*/
|
|
52
89
|
exports.PRODUCT_ANALYTICS_MAX_RANGE_DAYS = 400;
|
|
90
|
+
/*
|
|
91
|
+
* The longest range one read of an application covers: 400 days, or, for
|
|
92
|
+
* an application that keeps longer than the default, 31 days for each month
|
|
93
|
+
* it keeps - so one that keeps 25 months can read two years.
|
|
94
|
+
*/
|
|
95
|
+
function getProductAnalyticsMaxRangeDays(retentionMonths) {
|
|
96
|
+
const months = getProductAnalyticsRetentionMonths(retentionMonths);
|
|
97
|
+
return months > exports.DEFAULT_PRODUCT_ANALYTICS_RETENTION_MONTHS
|
|
98
|
+
? months * 31
|
|
99
|
+
: exports.PRODUCT_ANALYTICS_MAX_RANGE_DAYS;
|
|
100
|
+
}
|
|
53
101
|
/* The windows the active-users trend counts over, in days. */
|
|
54
102
|
exports.PRODUCT_ANALYTICS_WEEKLY_WINDOW_DAYS = 7;
|
|
55
103
|
exports.PRODUCT_ANALYTICS_MONTHLY_WINDOW_DAYS = 30;
|
|
@@ -2,10 +2,12 @@ import commonJsModule from "./ProductAnalytics.js";
|
|
|
2
2
|
export const DEFAULT_PRODUCT_ANALYTICS_DORMANT_AFTER_DAYS = commonJsModule.DEFAULT_PRODUCT_ANALYTICS_DORMANT_AFTER_DAYS;
|
|
3
3
|
export const DEFAULT_PRODUCT_ANALYTICS_PEOPLE_LIMIT = commonJsModule.DEFAULT_PRODUCT_ANALYTICS_PEOPLE_LIMIT;
|
|
4
4
|
export const DEFAULT_PRODUCT_ANALYTICS_PERSON_SESSIONS_LIMIT = commonJsModule.DEFAULT_PRODUCT_ANALYTICS_PERSON_SESSIONS_LIMIT;
|
|
5
|
+
export const DEFAULT_PRODUCT_ANALYTICS_RETENTION_MONTHS = commonJsModule.DEFAULT_PRODUCT_ANALYTICS_RETENTION_MONTHS;
|
|
5
6
|
export const DEFAULT_PRODUCT_ANALYTICS_TIME_ZONE = commonJsModule.DEFAULT_PRODUCT_ANALYTICS_TIME_ZONE;
|
|
6
7
|
export const MAX_PRODUCT_ANALYTICS_OFFSET = commonJsModule.MAX_PRODUCT_ANALYTICS_OFFSET;
|
|
7
8
|
export const MAX_PRODUCT_ANALYTICS_PEOPLE_LIMIT = commonJsModule.MAX_PRODUCT_ANALYTICS_PEOPLE_LIMIT;
|
|
8
9
|
export const MAX_PRODUCT_ANALYTICS_PERSON_SESSIONS_LIMIT = commonJsModule.MAX_PRODUCT_ANALYTICS_PERSON_SESSIONS_LIMIT;
|
|
10
|
+
export const MAX_PRODUCT_ANALYTICS_RETENTION_MONTHS = commonJsModule.MAX_PRODUCT_ANALYTICS_RETENTION_MONTHS;
|
|
9
11
|
export const PRODUCT_ANALYTICS_BREAKDOWN_LIMIT = commonJsModule.PRODUCT_ANALYTICS_BREAKDOWN_LIMIT;
|
|
10
12
|
export const PRODUCT_ANALYTICS_BREAKDOWN_ROUTE = commonJsModule.PRODUCT_ANALYTICS_BREAKDOWN_ROUTE;
|
|
11
13
|
export const PRODUCT_ANALYTICS_DEVICE_TYPES = commonJsModule.PRODUCT_ANALYTICS_DEVICE_TYPES;
|
|
@@ -19,6 +21,7 @@ export const PRODUCT_ANALYTICS_PEOPLE_FILTERS = commonJsModule.PRODUCT_ANALYTICS
|
|
|
19
21
|
export const PRODUCT_ANALYTICS_PEOPLE_ROUTE = commonJsModule.PRODUCT_ANALYTICS_PEOPLE_ROUTE;
|
|
20
22
|
export const PRODUCT_ANALYTICS_PERSON_ROUTE = commonJsModule.PRODUCT_ANALYTICS_PERSON_ROUTE;
|
|
21
23
|
export const PRODUCT_ANALYTICS_RETENTION_MONTHS = commonJsModule.PRODUCT_ANALYTICS_RETENTION_MONTHS;
|
|
24
|
+
export const PRODUCT_ANALYTICS_RETENTION_MONTHS_OPTIONS = commonJsModule.PRODUCT_ANALYTICS_RETENTION_MONTHS_OPTIONS;
|
|
22
25
|
export const PRODUCT_ANALYTICS_ROUTE_PREFIX = commonJsModule.PRODUCT_ANALYTICS_ROUTE_PREFIX;
|
|
23
26
|
export const PRODUCT_ANALYTICS_SEARCH_MAX_LENGTH = commonJsModule.PRODUCT_ANALYTICS_SEARCH_MAX_LENGTH;
|
|
24
27
|
export const PRODUCT_ANALYTICS_SESSION_LENGTH_BUCKETS = commonJsModule.PRODUCT_ANALYTICS_SESSION_LENGTH_BUCKETS;
|
|
@@ -30,6 +33,9 @@ export const PRODUCT_ANALYTICS_WEEKLY_WINDOW_DAYS = commonJsModule.PRODUCT_ANALY
|
|
|
30
33
|
export const ProductAnalyticsDimension = commonJsModule.ProductAnalyticsDimension;
|
|
31
34
|
export const ProductAnalyticsPeopleFilter = commonJsModule.ProductAnalyticsPeopleFilter;
|
|
32
35
|
export const fromProductAnalyticsPersonSegment = commonJsModule.fromProductAnalyticsPersonSegment;
|
|
36
|
+
export const getProductAnalyticsMaxRangeDays = commonJsModule.getProductAnalyticsMaxRangeDays;
|
|
37
|
+
export const getProductAnalyticsRetentionCutoff = commonJsModule.getProductAnalyticsRetentionCutoff;
|
|
38
|
+
export const getProductAnalyticsRetentionMonths = commonJsModule.getProductAnalyticsRetentionMonths;
|
|
33
39
|
export const isProductAnalyticsPersonKey = commonJsModule.isProductAnalyticsPersonKey;
|
|
34
40
|
export const readProductAnalyticsPersonKind = commonJsModule.readProductAnalyticsPersonKind;
|
|
35
41
|
export const toProductAnalyticsPersonSegment = commonJsModule.toProductAnalyticsPersonSegment;
|
|
@@ -380,7 +380,8 @@ function toProductAnalyticsContext(value) {
|
|
|
380
380
|
deviceType: DEVICE_TYPES.includes(deviceType) ? deviceType : "",
|
|
381
381
|
browserName: toContextValue(record["browserName"]),
|
|
382
382
|
osName: toContextValue(record["osName"]),
|
|
383
|
-
|
|
383
|
+
/* As the recorder keeps it: a value with a control character is dropped. */
|
|
384
|
+
appVersion: (0, SessionReplay_1.toSessionReplayAppVersion)(record["appVersion"]),
|
|
384
385
|
};
|
|
385
386
|
}
|
|
386
387
|
/*
|
|
@@ -55,6 +55,8 @@ export declare const SESSION_REPLAY_MAX_CUSTOM_EVENTS_PER_CHUNK: number;
|
|
|
55
55
|
export declare const SESSION_REPLAY_MAX_CLICK_EVENTS_PER_CHUNK: number;
|
|
56
56
|
export declare const SESSION_REPLAY_MAX_CLICK_TEXT_LENGTH: number;
|
|
57
57
|
export declare const SESSION_REPLAY_MAX_CAPTURE_REASON_LENGTH: number;
|
|
58
|
+
export declare const SESSION_REPLAY_MAX_APP_VERSION_LENGTH: number;
|
|
59
|
+
export declare function toSessionReplayAppVersion(value: unknown): string;
|
|
58
60
|
export declare const SESSION_REPLAY_IDLE_THRESHOLD_MS: number;
|
|
59
61
|
export declare const SESSION_REPLAY_ACTIVE_CHUNK_MIN_EVENTS: number;
|
|
60
62
|
export declare const SESSION_REPLAY_LIST_SEARCH_MAX_LENGTH: number;
|
|
@@ -117,6 +119,7 @@ export interface SessionReplayChunkMeta {
|
|
|
117
119
|
visitorId?: string;
|
|
118
120
|
identifiedUserTraits?: Record<string, string>;
|
|
119
121
|
tags?: Record<string, string>;
|
|
122
|
+
appVersion?: string;
|
|
120
123
|
}
|
|
121
124
|
export interface SessionReplayChunkEnvelope {
|
|
122
125
|
v: number;
|
|
@@ -55,6 +55,8 @@ export declare const SESSION_REPLAY_MAX_CUSTOM_EVENTS_PER_CHUNK: number;
|
|
|
55
55
|
export declare const SESSION_REPLAY_MAX_CLICK_EVENTS_PER_CHUNK: number;
|
|
56
56
|
export declare const SESSION_REPLAY_MAX_CLICK_TEXT_LENGTH: number;
|
|
57
57
|
export declare const SESSION_REPLAY_MAX_CAPTURE_REASON_LENGTH: number;
|
|
58
|
+
export declare const SESSION_REPLAY_MAX_APP_VERSION_LENGTH: number;
|
|
59
|
+
export declare function toSessionReplayAppVersion(value: unknown): string;
|
|
58
60
|
export declare const SESSION_REPLAY_IDLE_THRESHOLD_MS: number;
|
|
59
61
|
export declare const SESSION_REPLAY_ACTIVE_CHUNK_MIN_EVENTS: number;
|
|
60
62
|
export declare const SESSION_REPLAY_LIST_SEARCH_MAX_LENGTH: number;
|
|
@@ -117,6 +119,7 @@ export interface SessionReplayChunkMeta {
|
|
|
117
119
|
visitorId?: string;
|
|
118
120
|
identifiedUserTraits?: Record<string, string>;
|
|
119
121
|
tags?: Record<string, string>;
|
|
122
|
+
appVersion?: string;
|
|
120
123
|
}
|
|
121
124
|
export interface SessionReplayChunkEnvelope {
|
|
122
125
|
v: number;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SESSION_REPLAY_MAX_CUSTOM_EVENTS_PER_CHUNK = exports.SESSION_REPLAY_MAX_CUSTOM_EVENT_PROPERTY_KEYS = exports.SESSION_REPLAY_MAX_CUSTOM_EVENT_NAME_LENGTH = exports.SESSION_REPLAY_MAX_TAG_VALUE_LENGTH = exports.SESSION_REPLAY_MAX_TAG_KEY_LENGTH = exports.SESSION_REPLAY_MAX_TAG_KEYS = exports.SESSION_REPLAY_MAX_TRAIT_VALUE_LENGTH = exports.SESSION_REPLAY_MAX_TRAIT_KEY_LENGTH = exports.SESSION_REPLAY_MAX_TRAIT_KEYS = exports.DEFAULT_SESSION_REPLAY_RETENTION_IN_DAYS = exports.SESSION_REPLAY_ALLOWED_RETENTION_DAYS = exports.SESSION_REPLAY_USER_KEY_PATTERN = exports.SESSION_REPLAY_MAX_VISITOR_ID_LENGTH = exports.SESSION_REPLAY_VISITOR_ID_PATTERN = exports.SESSION_REPLAY_MAX_USER_REF_LENGTH = exports.SESSION_REPLAY_TARGET_TTL_SECONDS = exports.SESSION_REPLAY_USER_REF_HEADER = exports.SESSION_REPLAY_MAX_MOBILE_APP_IDENTIFIER_LENGTH = exports.SESSION_REPLAY_MOBILE_APP_IDENTIFIER_HEADER = exports.SESSION_REPLAY_RECORDER_KIND_HEADER = exports.SESSION_REPLAY_APP_IDENTIFIER_HEADER = exports.SESSION_REPLAY_LEGACY_CONTENT_TYPE = exports.SESSION_REPLAY_CONTENT_TYPE = exports.SESSION_REPLAY_MAX_OFFLINE_DELAY_MS = exports.SESSION_REPLAY_MAX_FLUSH_FAILURES = exports.SESSION_REPLAY_KEEPALIVE_MAX_BYTES = exports.SESSION_REPLAY_ENDED_TRAILING_CHUNK_TOLERANCE_MS = exports.SESSION_REPLAY_ENDED_FINALIZE_GRACE_MS = exports.SESSION_REPLAY_IDLE_FINALIZE_MS = exports.SESSION_REPLAY_IDLE_PAUSE_MS = exports.SESSION_REPLAY_MAX_SESSION_MS = exports.SESSION_REPLAY_IDLE_ROLLOVER_MS = exports.SESSION_REPLAY_ROLLING_BUFFER_BYTES = exports.SESSION_REPLAY_ROLLING_BUFFER_MS = exports.SESSION_REPLAY_INPUT_SAMPLING = exports.SESSION_REPLAY_SCROLL_SAMPLE_MS = exports.SESSION_REPLAY_LEGACY_MOUSEMOVE_SAMPLE_MS = exports.SESSION_REPLAY_MOUSEMOVE_SAMPLE_MS = exports.SESSION_REPLAY_CHECKOUT_INTERVAL_MS = exports.SESSION_REPLAY_FLUSH_BYTES = exports.SESSION_REPLAY_FLUSH_INTERVAL_MS = exports.DEFAULT_SESSION_REPLAY_MAX_BYTES_PER_PROJECT_PER_DAY = exports.MAX_SESSION_REPLAY_READ_BYTES = exports.MAX_SESSION_REPLAY_CHUNKS_PER_READ = exports.MAX_SESSION_REPLAY_CHUNKS_PER_SESSION = exports.SESSION_REPLAY_MAX_DECOMPRESSED_FRAME_BYTES = exports.MAX_SESSION_REPLAY_CHUNKS_PER_REQUEST = exports.MAX_SESSION_REPLAY_CHUNK_BYTES = exports.SESSION_REPLAY_SCHEMA_VERSION = exports.SESSION_REPLAY_WIRE_VERSION = void 0;
|
|
4
|
-
exports.SessionReplayDisabledReason = exports.SessionReplaySealedReason = exports.SessionReplayFidelityNotice = exports.SESSION_REPLAY_MOBILE_RECORDER_CAPABILITIES = exports.SESSION_REPLAY_RECORDER_CAPABILITIES = exports.SESSION_REPLAY_LIST_SEARCH_MAX_WINDOW_DAYS = exports.SESSION_REPLAY_LIST_SEARCH_MAX_LENGTH = exports.SESSION_REPLAY_ACTIVE_CHUNK_MIN_EVENTS = exports.SESSION_REPLAY_IDLE_THRESHOLD_MS = exports.SESSION_REPLAY_MAX_CAPTURE_REASON_LENGTH = exports.SESSION_REPLAY_MAX_CLICK_TEXT_LENGTH = exports.SESSION_REPLAY_MAX_CLICK_EVENTS_PER_CHUNK = void 0;
|
|
4
|
+
exports.SessionReplayDisabledReason = exports.SessionReplaySealedReason = exports.SessionReplayFidelityNotice = exports.SESSION_REPLAY_MOBILE_RECORDER_CAPABILITIES = exports.SESSION_REPLAY_RECORDER_CAPABILITIES = exports.SESSION_REPLAY_LIST_SEARCH_MAX_WINDOW_DAYS = exports.SESSION_REPLAY_LIST_SEARCH_MAX_LENGTH = exports.SESSION_REPLAY_ACTIVE_CHUNK_MIN_EVENTS = exports.SESSION_REPLAY_IDLE_THRESHOLD_MS = exports.SESSION_REPLAY_MAX_APP_VERSION_LENGTH = exports.SESSION_REPLAY_MAX_CAPTURE_REASON_LENGTH = exports.SESSION_REPLAY_MAX_CLICK_TEXT_LENGTH = exports.SESSION_REPLAY_MAX_CLICK_EVENTS_PER_CHUNK = void 0;
|
|
5
|
+
exports.toSessionReplayAppVersion = toSessionReplayAppVersion;
|
|
5
6
|
exports.parseSessionReplayRecorderKindHeader = parseSessionReplayRecorderKindHeader;
|
|
6
7
|
/*
|
|
7
8
|
* Wire contract between the browser (and later mobile) recorder and the
|
|
@@ -367,6 +368,39 @@ exports.SESSION_REPLAY_MAX_CLICK_EVENTS_PER_CHUNK = 100;
|
|
|
367
368
|
exports.SESSION_REPLAY_MAX_CLICK_TEXT_LENGTH = 40;
|
|
368
369
|
/* captureSession(reason): the reason becomes a custom event property. */
|
|
369
370
|
exports.SESSION_REPLAY_MAX_CAPTURE_REASON_LENGTH = 80;
|
|
371
|
+
/*
|
|
372
|
+
* The version of the page's own app (issue #6625): "2.3.1", "2026.11.18",
|
|
373
|
+
* a build id. The browser recorder takes it as the appVersion init option
|
|
374
|
+
* and sends it with the session's metadata and every product analytics
|
|
375
|
+
* event, so Product Analytics can break a web app's sessions and events
|
|
376
|
+
* down by release, as a mobile app's already are. 64 characters, the
|
|
377
|
+
* events' cap on every value of what a session runs on
|
|
378
|
+
* (PRODUCT_ANALYTICS_MAX_CONTEXT_VALUE_LENGTH).
|
|
379
|
+
*/
|
|
380
|
+
exports.SESSION_REPLAY_MAX_APP_VERSION_LENGTH = 64;
|
|
381
|
+
/*
|
|
382
|
+
* Any control character: a value holding one is no version. no-control-regex
|
|
383
|
+
* is disabled for it on purpose: matching control characters is exactly
|
|
384
|
+
* what it is for.
|
|
385
|
+
*/
|
|
386
|
+
// eslint-disable-next-line no-control-regex
|
|
387
|
+
const NOT_PRINTABLE_PATTERN = /[\u0000-\u001f\u007f-\u009f]/;
|
|
388
|
+
/*
|
|
389
|
+
* An app version as both sides keep it: trimmed and cut to
|
|
390
|
+
* SESSION_REPLAY_MAX_APP_VERSION_LENGTH, or "" for anything that is not a
|
|
391
|
+
* string, is empty, or holds a control character - such a value is
|
|
392
|
+
* dropped whole rather than stored as part of a version nobody typed.
|
|
393
|
+
*/
|
|
394
|
+
function toSessionReplayAppVersion(value) {
|
|
395
|
+
if (typeof value !== "string") {
|
|
396
|
+
return "";
|
|
397
|
+
}
|
|
398
|
+
const version = value
|
|
399
|
+
.trim()
|
|
400
|
+
.slice(0, exports.SESSION_REPLAY_MAX_APP_VERSION_LENGTH)
|
|
401
|
+
.trim();
|
|
402
|
+
return NOT_PRINTABLE_PATTERN.test(version) ? "" : version;
|
|
403
|
+
}
|
|
370
404
|
/*
|
|
371
405
|
* ---- Player-side activity model. ----
|
|
372
406
|
*
|
|
@@ -25,6 +25,7 @@ export const SESSION_REPLAY_LEGACY_CONTENT_TYPE = commonJsModule.SESSION_REPLAY_
|
|
|
25
25
|
export const SESSION_REPLAY_LEGACY_MOUSEMOVE_SAMPLE_MS = commonJsModule.SESSION_REPLAY_LEGACY_MOUSEMOVE_SAMPLE_MS;
|
|
26
26
|
export const SESSION_REPLAY_LIST_SEARCH_MAX_LENGTH = commonJsModule.SESSION_REPLAY_LIST_SEARCH_MAX_LENGTH;
|
|
27
27
|
export const SESSION_REPLAY_LIST_SEARCH_MAX_WINDOW_DAYS = commonJsModule.SESSION_REPLAY_LIST_SEARCH_MAX_WINDOW_DAYS;
|
|
28
|
+
export const SESSION_REPLAY_MAX_APP_VERSION_LENGTH = commonJsModule.SESSION_REPLAY_MAX_APP_VERSION_LENGTH;
|
|
28
29
|
export const SESSION_REPLAY_MAX_CAPTURE_REASON_LENGTH = commonJsModule.SESSION_REPLAY_MAX_CAPTURE_REASON_LENGTH;
|
|
29
30
|
export const SESSION_REPLAY_MAX_CLICK_EVENTS_PER_CHUNK = commonJsModule.SESSION_REPLAY_MAX_CLICK_EVENTS_PER_CHUNK;
|
|
30
31
|
export const SESSION_REPLAY_MAX_CLICK_TEXT_LENGTH = commonJsModule.SESSION_REPLAY_MAX_CLICK_TEXT_LENGTH;
|
|
@@ -62,3 +63,4 @@ export const SessionReplayDisabledReason = commonJsModule.SessionReplayDisabledR
|
|
|
62
63
|
export const SessionReplayFidelityNotice = commonJsModule.SessionReplayFidelityNotice;
|
|
63
64
|
export const SessionReplaySealedReason = commonJsModule.SessionReplaySealedReason;
|
|
64
65
|
export const parseSessionReplayRecorderKindHeader = commonJsModule.parseSessionReplayRecorderKindHeader;
|
|
66
|
+
export const toSessionReplayAppVersion = commonJsModule.toSessionReplayAppVersion;
|
|
@@ -9,5 +9,6 @@ declare enum RunbookTriggerType {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const RUNBOOK_TRIGGER_TYPES: ReadonlyArray<RunbookTriggerType>;
|
|
11
11
|
export declare const UNATTENDED_RUNBOOK_TRIGGER_TYPES: ReadonlyArray<RunbookTriggerType>;
|
|
12
|
+
export declare const RUNBOOK_TRIGGERS_WHILE_SWITCHED_OFF: ReadonlyArray<RunbookTriggerType>;
|
|
12
13
|
export declare function isRunbookTriggerType(value: unknown): value is RunbookTriggerType;
|
|
13
14
|
export default RunbookTriggerType;
|
|
@@ -9,5 +9,6 @@ declare enum RunbookTriggerType {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const RUNBOOK_TRIGGER_TYPES: ReadonlyArray<RunbookTriggerType>;
|
|
11
11
|
export declare const UNATTENDED_RUNBOOK_TRIGGER_TYPES: ReadonlyArray<RunbookTriggerType>;
|
|
12
|
+
export declare const RUNBOOK_TRIGGERS_WHILE_SWITCHED_OFF: ReadonlyArray<RunbookTriggerType>;
|
|
12
13
|
export declare function isRunbookTriggerType(value: unknown): value is RunbookTriggerType;
|
|
13
14
|
export default RunbookTriggerType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UNATTENDED_RUNBOOK_TRIGGER_TYPES = exports.RUNBOOK_TRIGGER_TYPES = void 0;
|
|
3
|
+
exports.RUNBOOK_TRIGGERS_WHILE_SWITCHED_OFF = exports.UNATTENDED_RUNBOOK_TRIGGER_TYPES = exports.RUNBOOK_TRIGGER_TYPES = void 0;
|
|
4
4
|
exports.isRunbookTriggerType = isRunbookTriggerType;
|
|
5
5
|
/*
|
|
6
6
|
* What started a runbook execution (RunbookExecution.triggerType).
|
|
@@ -52,6 +52,24 @@ exports.RUNBOOK_TRIGGER_TYPES = [
|
|
|
52
52
|
];
|
|
53
53
|
// The triggers that start a run with nobody watching: no person clicked.
|
|
54
54
|
exports.UNATTENDED_RUNBOOK_TRIGGER_TYPES = [RunbookTriggerType.Schedule, RunbookTriggerType.Webhook];
|
|
55
|
+
/*
|
|
56
|
+
* THE RUNS A RUNBOOK STILL HAS WHILE THE SERVER HAS RUNBOOKS SWITCHED OFF
|
|
57
|
+
* (#7479, #9489).
|
|
58
|
+
*
|
|
59
|
+
* What already runs keeps running: a runbook's own triggers - its schedule,
|
|
60
|
+
* its webhook, called from outside OneUptime, and its rules - start it as
|
|
61
|
+
* before, as a workflow's schedule, webhook and events do. Nothing else
|
|
62
|
+
* does: not a person (the run routes refuse first), not auto-remediation,
|
|
63
|
+
* OneUptime AI or a security playbook, which would change Runbooks' records
|
|
64
|
+
* from another product while it is off. Those are refused with
|
|
65
|
+
* RunbookStartRefusal.ProductSwitchedOff (RunbookStarter), before anything
|
|
66
|
+
* is written. The install docs say so, in every language.
|
|
67
|
+
*/
|
|
68
|
+
exports.RUNBOOK_TRIGGERS_WHILE_SWITCHED_OFF = [
|
|
69
|
+
RunbookTriggerType.Schedule,
|
|
70
|
+
RunbookTriggerType.Webhook,
|
|
71
|
+
RunbookTriggerType.Rule,
|
|
72
|
+
];
|
|
55
73
|
function isRunbookTriggerType(value) {
|
|
56
74
|
return (typeof value === "string" &&
|
|
57
75
|
exports.RUNBOOK_TRIGGER_TYPES.includes(value));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import commonJsModule from "./RunbookTriggerType.js";
|
|
2
2
|
export default commonJsModule.default;
|
|
3
|
+
export const RUNBOOK_TRIGGERS_WHILE_SWITCHED_OFF = commonJsModule.RUNBOOK_TRIGGERS_WHILE_SWITCHED_OFF;
|
|
3
4
|
export const RUNBOOK_TRIGGER_TYPES = commonJsModule.RUNBOOK_TRIGGER_TYPES;
|
|
4
5
|
export const UNATTENDED_RUNBOOK_TRIGGER_TYPES = commonJsModule.UNATTENDED_RUNBOOK_TRIGGER_TYPES;
|
|
5
6
|
export const isRunbookTriggerType = commonJsModule.isRunbookTriggerType;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import SsoProviderType from "./SsoProviderType.mjs";
|
|
2
|
+
export interface IdentityProviderSignOutRecord {
|
|
3
|
+
providerType: SsoProviderType.GlobalOIDC | SsoProviderType.ProjectOIDC;
|
|
4
|
+
providerId: string;
|
|
5
|
+
endSessionEndpoint: string;
|
|
6
|
+
idToken: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD: string;
|
|
9
|
+
export declare const IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS: Array<string>;
|
|
10
|
+
export declare const MAX_END_SESSION_ENDPOINT_LENGTH: number;
|
|
11
|
+
export declare const MAX_ID_TOKEN_LENGTH: number;
|
|
12
|
+
export declare const getPostLogoutRedirectUri: (data: {
|
|
13
|
+
httpProtocol: string;
|
|
14
|
+
host: string;
|
|
15
|
+
}) => string;
|
|
16
|
+
export declare const isUsableEndSessionEndpoint: (value: unknown) => value is string;
|
|
17
|
+
export declare const isUsableIdToken: (value: unknown) => value is string;
|
|
18
|
+
export declare const readIdentityProviderSignOutRecord: (value: unknown) => IdentityProviderSignOutRecord | null;
|
|
19
|
+
export declare const buildIdentityProviderSignOutUrl: (data: {
|
|
20
|
+
endSessionEndpoint: string;
|
|
21
|
+
idToken: string;
|
|
22
|
+
clientId: string;
|
|
23
|
+
postLogoutRedirectUri: string;
|
|
24
|
+
}) => string | null;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import SsoProviderType from "./SsoProviderType";
|
|
2
|
+
export interface IdentityProviderSignOutRecord {
|
|
3
|
+
providerType: SsoProviderType.GlobalOIDC | SsoProviderType.ProjectOIDC;
|
|
4
|
+
providerId: string;
|
|
5
|
+
endSessionEndpoint: string;
|
|
6
|
+
idToken: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD: string;
|
|
9
|
+
export declare const IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS: Array<string>;
|
|
10
|
+
export declare const MAX_END_SESSION_ENDPOINT_LENGTH: number;
|
|
11
|
+
export declare const MAX_ID_TOKEN_LENGTH: number;
|
|
12
|
+
export declare const getPostLogoutRedirectUri: (data: {
|
|
13
|
+
httpProtocol: string;
|
|
14
|
+
host: string;
|
|
15
|
+
}) => string;
|
|
16
|
+
export declare const isUsableEndSessionEndpoint: (value: unknown) => value is string;
|
|
17
|
+
export declare const isUsableIdToken: (value: unknown) => value is string;
|
|
18
|
+
export declare const readIdentityProviderSignOutRecord: (value: unknown) => IdentityProviderSignOutRecord | null;
|
|
19
|
+
export declare const buildIdentityProviderSignOutUrl: (data: {
|
|
20
|
+
endSessionEndpoint: string;
|
|
21
|
+
idToken: string;
|
|
22
|
+
clientId: string;
|
|
23
|
+
postLogoutRedirectUri: string;
|
|
24
|
+
}) => string | null;
|
|
@@ -0,0 +1,124 @@
|
|
|
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.buildIdentityProviderSignOutUrl = exports.readIdentityProviderSignOutRecord = exports.isUsableIdToken = exports.isUsableEndSessionEndpoint = exports.getPostLogoutRedirectUri = exports.MAX_ID_TOKEN_LENGTH = exports.MAX_END_SESSION_ENDPOINT_LENGTH = exports.IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS = exports.IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD = void 0;
|
|
7
|
+
const ServiceRoute_1 = require("../../ServiceRoute");
|
|
8
|
+
const SsoProviderType_1 = __importDefault(require("./SsoProviderType"));
|
|
9
|
+
/*
|
|
10
|
+
* The field of POST /identity/logout's answer that holds where the browser
|
|
11
|
+
* goes next to be signed out of the provider too. Absent when it goes to the
|
|
12
|
+
* sign-in page, as every sign-out did before.
|
|
13
|
+
*/
|
|
14
|
+
exports.IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD = "identityProviderSignOutUrl";
|
|
15
|
+
// The record's field kept encrypted at rest (UserSession.identityProviderSignOut).
|
|
16
|
+
exports.IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS = [
|
|
17
|
+
"idToken",
|
|
18
|
+
];
|
|
19
|
+
/*
|
|
20
|
+
* The longest end_session_endpoint and ID token kept: an address a browser
|
|
21
|
+
* is sent to, and a JWT, each far shorter in practice. Anything longer is no
|
|
22
|
+
* provider's, and nothing is kept.
|
|
23
|
+
*/
|
|
24
|
+
exports.MAX_END_SESSION_ENDPOINT_LENGTH = 2048;
|
|
25
|
+
exports.MAX_ID_TOKEN_LENGTH = 16 * 1024;
|
|
26
|
+
/*
|
|
27
|
+
* The page a provider sends the browser back to once it has signed the
|
|
28
|
+
* person out (post_logout_redirect_uri): OneUptime's sign-in page, where a
|
|
29
|
+
* sign-out has always ended. The provider must have it registered.
|
|
30
|
+
*/
|
|
31
|
+
const getPostLogoutRedirectUri = (data) => {
|
|
32
|
+
return `${data.httpProtocol}${data.host}${ServiceRoute_1.AccountsRoute.toString()}`;
|
|
33
|
+
};
|
|
34
|
+
exports.getPostLogoutRedirectUri = getPostLogoutRedirectUri;
|
|
35
|
+
/*
|
|
36
|
+
* Whether a provider's end_session_endpoint is one a browser may be sent to:
|
|
37
|
+
* an absolute http(s) address with a host, no user name or password in it,
|
|
38
|
+
* no fragment, and of a sane length. Anything else - a javascript: address,
|
|
39
|
+
* a relative path - is no provider's, and nobody is sent there.
|
|
40
|
+
*/
|
|
41
|
+
const isUsableEndSessionEndpoint = (value) => {
|
|
42
|
+
if (typeof value !== "string" ||
|
|
43
|
+
!value.trim() ||
|
|
44
|
+
value.length > exports.MAX_END_SESSION_ENDPOINT_LENGTH ||
|
|
45
|
+
value !== value.trim()) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
let url;
|
|
49
|
+
try {
|
|
50
|
+
url = new globalThis.URL(value);
|
|
51
|
+
}
|
|
52
|
+
catch (_a) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return ((url.protocol === "https:" || url.protocol === "http:") &&
|
|
56
|
+
Boolean(url.hostname) &&
|
|
57
|
+
!url.username &&
|
|
58
|
+
!url.password &&
|
|
59
|
+
!url.hash);
|
|
60
|
+
};
|
|
61
|
+
exports.isUsableEndSessionEndpoint = isUsableEndSessionEndpoint;
|
|
62
|
+
/*
|
|
63
|
+
* Whether an ID token is one to keep: a JWT's three dot-separated parts (a
|
|
64
|
+
* signed token), or five (an encrypted one), of a sane length.
|
|
65
|
+
*/
|
|
66
|
+
const ID_TOKEN_SHAPE = /^[A-Za-z0-9_-]+(\.[A-Za-z0-9_-]*){2}$|^[A-Za-z0-9_-]+(\.[A-Za-z0-9_-]*){4}$/;
|
|
67
|
+
const isUsableIdToken = (value) => {
|
|
68
|
+
return (typeof value === "string" &&
|
|
69
|
+
value.length > 0 &&
|
|
70
|
+
value.length <= exports.MAX_ID_TOKEN_LENGTH &&
|
|
71
|
+
ID_TOKEN_SHAPE.test(value));
|
|
72
|
+
};
|
|
73
|
+
exports.isUsableIdToken = isUsableIdToken;
|
|
74
|
+
const PROVIDER_TYPES = [
|
|
75
|
+
SsoProviderType_1.default.GlobalOIDC,
|
|
76
|
+
SsoProviderType_1.default.ProjectOIDC,
|
|
77
|
+
];
|
|
78
|
+
/*
|
|
79
|
+
* The record a session keeps, or null when what it holds is not one: never
|
|
80
|
+
* kept, or of another shape. Read field by field, so nothing else rides
|
|
81
|
+
* along.
|
|
82
|
+
*/
|
|
83
|
+
const readIdentityProviderSignOutRecord = (value) => {
|
|
84
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
const record = value;
|
|
88
|
+
if (typeof record["providerType"] !== "string" ||
|
|
89
|
+
!PROVIDER_TYPES.includes(record["providerType"]) ||
|
|
90
|
+
typeof record["providerId"] !== "string" ||
|
|
91
|
+
!record["providerId"] ||
|
|
92
|
+
!(0, exports.isUsableEndSessionEndpoint)(record["endSessionEndpoint"]) ||
|
|
93
|
+
!(0, exports.isUsableIdToken)(record["idToken"])) {
|
|
94
|
+
return null;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
providerType: record["providerType"],
|
|
98
|
+
providerId: record["providerId"],
|
|
99
|
+
endSessionEndpoint: record["endSessionEndpoint"],
|
|
100
|
+
idToken: record["idToken"],
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
exports.readIdentityProviderSignOutRecord = readIdentityProviderSignOutRecord;
|
|
104
|
+
/*
|
|
105
|
+
* Where the browser goes to be signed out of the provider (OpenID Connect
|
|
106
|
+
* RP-Initiated Logout 1.0, section 2): its end_session_endpoint, keeping any
|
|
107
|
+
* query it has (Azure AD B2C names its policy there), with the ID token as
|
|
108
|
+
* id_token_hint, OneUptime's client_id, and the page to come back to. Null
|
|
109
|
+
* when the endpoint or the token is not one to use.
|
|
110
|
+
*/
|
|
111
|
+
const buildIdentityProviderSignOutUrl = (data) => {
|
|
112
|
+
if (!(0, exports.isUsableEndSessionEndpoint)(data.endSessionEndpoint) ||
|
|
113
|
+
!(0, exports.isUsableIdToken)(data.idToken) ||
|
|
114
|
+
!data.clientId ||
|
|
115
|
+
!data.postLogoutRedirectUri) {
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
const url = new globalThis.URL(data.endSessionEndpoint);
|
|
119
|
+
url.searchParams.set("id_token_hint", data.idToken);
|
|
120
|
+
url.searchParams.set("client_id", data.clientId);
|
|
121
|
+
url.searchParams.set("post_logout_redirect_uri", data.postLogoutRedirectUri);
|
|
122
|
+
return url.toString();
|
|
123
|
+
};
|
|
124
|
+
exports.buildIdentityProviderSignOutUrl = buildIdentityProviderSignOutUrl;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import commonJsModule from "./IdentityProviderSignOut.js";
|
|
2
|
+
export const IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS = commonJsModule.IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS;
|
|
3
|
+
export const IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD = commonJsModule.IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD;
|
|
4
|
+
export const MAX_END_SESSION_ENDPOINT_LENGTH = commonJsModule.MAX_END_SESSION_ENDPOINT_LENGTH;
|
|
5
|
+
export const MAX_ID_TOKEN_LENGTH = commonJsModule.MAX_ID_TOKEN_LENGTH;
|
|
6
|
+
export const buildIdentityProviderSignOutUrl = commonJsModule.buildIdentityProviderSignOutUrl;
|
|
7
|
+
export const getPostLogoutRedirectUri = commonJsModule.getPostLogoutRedirectUri;
|
|
8
|
+
export const isUsableEndSessionEndpoint = commonJsModule.isUsableEndSessionEndpoint;
|
|
9
|
+
export const isUsableIdToken = commonJsModule.isUsableIdToken;
|
|
10
|
+
export const readIdentityProviderSignOutRecord = commonJsModule.readIdentityProviderSignOutRecord;
|
|
@@ -36,6 +36,10 @@ export interface SecurityCaseEventSnapshot {
|
|
|
36
36
|
attributes: {
|
|
37
37
|
[key: string]: string;
|
|
38
38
|
};
|
|
39
|
+
traceId: string;
|
|
40
|
+
spanId: string;
|
|
41
|
+
sessionId: string;
|
|
42
|
+
requestOutcome: string;
|
|
39
43
|
hunt: SecurityCaseEventHunt | null;
|
|
40
44
|
}
|
|
41
45
|
export interface SecurityCaseEventReference {
|
|
@@ -36,6 +36,10 @@ export interface SecurityCaseEventSnapshot {
|
|
|
36
36
|
attributes: {
|
|
37
37
|
[key: string]: string;
|
|
38
38
|
};
|
|
39
|
+
traceId: string;
|
|
40
|
+
spanId: string;
|
|
41
|
+
sessionId: string;
|
|
42
|
+
requestOutcome: string;
|
|
39
43
|
hunt: SecurityCaseEventHunt | null;
|
|
40
44
|
}
|
|
41
45
|
export interface SecurityCaseEventReference {
|
|
@@ -61,6 +61,14 @@ exports.SECURITY_CASE_EVENT_SNAPSHOT_COLUMNS = [
|
|
|
61
61
|
"mitreTactics",
|
|
62
62
|
"mitreTechniques",
|
|
63
63
|
"attributes",
|
|
64
|
+
/*
|
|
65
|
+
* The request the event happened in: its trace, span and session, and how
|
|
66
|
+
* far it got. Kept so a kept event still opens its trace (#9556).
|
|
67
|
+
*/
|
|
68
|
+
"traceId",
|
|
69
|
+
"spanId",
|
|
70
|
+
"sessionId",
|
|
71
|
+
"requestOutcome",
|
|
64
72
|
];
|
|
65
73
|
// The answer as the Dashboard reads it: each list of event ids, or none.
|
|
66
74
|
function readSecurityCaseEventsAddResult(value) {
|
|
@@ -207,6 +215,10 @@ function buildSecurityCaseEventSnapshot(data) {
|
|
|
207
215
|
mitreTactics: readList(row["mitreTactics"]),
|
|
208
216
|
mitreTechniques: readList(row["mitreTechniques"]),
|
|
209
217
|
attributes: readAttributes(row["attributes"]),
|
|
218
|
+
traceId: readText(row["traceId"], 100),
|
|
219
|
+
spanId: readText(row["spanId"], 100),
|
|
220
|
+
sessionId: readText(row["sessionId"], 200),
|
|
221
|
+
requestOutcome: readText(row["requestOutcome"], 100),
|
|
210
222
|
hunt: data.hunt ? readHunt(data.hunt) : null,
|
|
211
223
|
};
|
|
212
224
|
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { SecurityCaseEventSnapshot } from "./SecurityCaseEventEvidence.mjs";
|
|
2
|
+
import { JSONObject, JSONValue } from "../JSON.mjs";
|
|
3
|
+
export declare const SECURITY_CASE_MATCHES_API_PATH: string;
|
|
4
|
+
export declare const SECURITY_CASE_MATCHES_MAX_DETECTIONS: number;
|
|
5
|
+
export declare const SECURITY_CASE_MATCHES_MAX_EVENTS: number;
|
|
6
|
+
export declare const SECURITY_CASE_MATCHES_PADDING_IN_MINUTES: number;
|
|
7
|
+
export declare const SECURITY_CASE_MATCHES_MAX_WINDOW_IN_HOURS: number;
|
|
8
|
+
export declare const SECURITY_CASE_MATCHES_MAX_LOOK_FOR: number;
|
|
9
|
+
export declare const SECURITY_CASE_MATCHES_LOOK_FOR_MAX_LENGTH: number;
|
|
10
|
+
export declare const SECURITY_CASE_MATCHES_MAX_GUIDANCE_LINES: number;
|
|
11
|
+
export declare const SECURITY_CASE_MATCHES_GUIDANCE_MAX_LENGTH: number;
|
|
12
|
+
export declare enum SecurityCaseMatchBasis {
|
|
13
|
+
RuleCondition = "RuleCondition",
|
|
14
|
+
CorrelationSteps = "CorrelationSteps",
|
|
15
|
+
Indicator = "Indicator",
|
|
16
|
+
RecordedEvent = "RecordedEvent",
|
|
17
|
+
NamedEntities = "NamedEntities"
|
|
18
|
+
}
|
|
19
|
+
export declare const SECURITY_CASE_MATCH_BASES: ReadonlyArray<SecurityCaseMatchBasis>;
|
|
20
|
+
export declare enum SecurityCaseMatchesSource {
|
|
21
|
+
Detections = "Detections",
|
|
22
|
+
Rules = "Rules",
|
|
23
|
+
Events = "Events"
|
|
24
|
+
}
|
|
25
|
+
export declare const SECURITY_CASE_MATCHES_SOURCES: ReadonlyArray<SecurityCaseMatchesSource>;
|
|
26
|
+
export interface SecurityCaseMatchLookForJson {
|
|
27
|
+
field: string;
|
|
28
|
+
values: Array<string>;
|
|
29
|
+
}
|
|
30
|
+
export interface SecurityCaseMatchRuleJson {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
description: string;
|
|
34
|
+
isEnabled: boolean;
|
|
35
|
+
isRealTime: boolean;
|
|
36
|
+
isCorrelation: boolean;
|
|
37
|
+
threshold: number;
|
|
38
|
+
groupByField: string;
|
|
39
|
+
distinctCountField: string;
|
|
40
|
+
windowInMinutes: number;
|
|
41
|
+
sigmaRuleYaml: string;
|
|
42
|
+
falsePositives: Array<string>;
|
|
43
|
+
references: Array<string>;
|
|
44
|
+
lookFor: Array<SecurityCaseMatchLookForJson>;
|
|
45
|
+
}
|
|
46
|
+
export type SecurityCaseMatchedEventJson = SecurityCaseEventSnapshot;
|
|
47
|
+
export interface SecurityCaseMatchedDetectionJson {
|
|
48
|
+
id: string;
|
|
49
|
+
source: string;
|
|
50
|
+
title: string;
|
|
51
|
+
severity: string;
|
|
52
|
+
groupValue: string;
|
|
53
|
+
ruleName: string;
|
|
54
|
+
eventCount: number;
|
|
55
|
+
fireCount: number;
|
|
56
|
+
firstSeenAt: string | null;
|
|
57
|
+
lastSeenAt: string | null;
|
|
58
|
+
sampleMessage: string;
|
|
59
|
+
isOpening: boolean;
|
|
60
|
+
rule: SecurityCaseMatchRuleJson | null;
|
|
61
|
+
threatIntelFeedId: string;
|
|
62
|
+
securityEventConnectionId: string;
|
|
63
|
+
basis: SecurityCaseMatchBasis;
|
|
64
|
+
windowStart: string | null;
|
|
65
|
+
windowEnd: string | null;
|
|
66
|
+
events: Array<SecurityCaseMatchedEventJson>;
|
|
67
|
+
matchedEventCount: number | null;
|
|
68
|
+
outcomes: Record<string, number>;
|
|
69
|
+
}
|
|
70
|
+
export interface SecurityCaseMatchesJson {
|
|
71
|
+
detections: Array<SecurityCaseMatchedDetectionJson>;
|
|
72
|
+
detectionCount: number;
|
|
73
|
+
unreadableSources: Array<SecurityCaseMatchesSource>;
|
|
74
|
+
failedSources: Array<SecurityCaseMatchesSource>;
|
|
75
|
+
}
|
|
76
|
+
export declare function parseSecurityCaseMatchRule(value: JSONValue | undefined): SecurityCaseMatchRuleJson | null;
|
|
77
|
+
export declare function parseSecurityCaseMatches(json: JSONObject | null | undefined): SecurityCaseMatchesJson;
|
|
78
|
+
export declare function getOpeningMatchedDetection(matches: Pick<SecurityCaseMatchesJson, "detections">): SecurityCaseMatchedDetectionJson | null;
|