@oneuptime/common 17.0.0 → 17.1.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/AuditLog.d.mts +10 -0
- package/Models/AnalyticsModels/AuditLog.d.ts +10 -0
- package/Models/AnalyticsModels/AuditLog.js +110 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.mts +14 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.ts +14 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.js +169 -0
- package/Models/DatabaseModels/AIPostmortemRule.js +1 -1
- package/Models/DatabaseModels/AIRun.d.mts +3 -0
- package/Models/DatabaseModels/AIRun.d.ts +3 -0
- package/Models/DatabaseModels/AIRun.js +64 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +1 -1
- package/Models/DatabaseModels/AlertIncidentRule.js +1 -1
- package/Models/DatabaseModels/AlertMeasurement.js +1 -1
- package/Models/DatabaseModels/AlertReminderRule.js +1 -1
- package/Models/DatabaseModels/AlertSeverity.js +1 -1
- package/Models/DatabaseModels/AlertState.js +1 -1
- package/Models/DatabaseModels/CloudConnection.d.mts +1 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +1 -0
- package/Models/DatabaseModels/CloudConnection.js +20 -0
- package/Models/DatabaseModels/DataAsset.d.mts +1 -0
- package/Models/DatabaseModels/DataAsset.d.ts +1 -0
- package/Models/DatabaseModels/DataAsset.js +17 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +1 -0
- package/Models/DatabaseModels/DataBiConnection.d.ts +1 -0
- package/Models/DatabaseModels/DataBiConnection.js +23 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +5 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +5 -0
- package/Models/DatabaseModels/DataPipeline.js +88 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.d.mts +21 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.d.ts +21 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.js +635 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.mts +24 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.ts +24 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.js +454 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +24 -0
- package/Models/DatabaseModels/DetectionRule.d.mts +2 -0
- package/Models/DatabaseModels/DetectionRule.d.ts +2 -0
- package/Models/DatabaseModels/DetectionRule.js +29 -0
- package/Models/DatabaseModels/DeviceManagementConnection.d.mts +25 -0
- package/Models/DatabaseModels/DeviceManagementConnection.d.ts +25 -0
- package/Models/DatabaseModels/DeviceManagementConnection.js +438 -0
- package/Models/DatabaseModels/DeviceManagementConnection.mjs +2 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +1 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +1 -0
- package/Models/DatabaseModels/GlobalConfig.js +31 -0
- package/Models/DatabaseModels/GlobalSso.d.mts +2 -0
- package/Models/DatabaseModels/GlobalSso.d.ts +2 -0
- package/Models/DatabaseModels/GlobalSso.js +56 -0
- package/Models/DatabaseModels/HostCollectorConfig.js +1 -1
- package/Models/DatabaseModels/HostLogSession.d.mts +22 -0
- package/Models/DatabaseModels/HostLogSession.d.ts +22 -0
- package/Models/DatabaseModels/HostLogSession.js +352 -0
- package/Models/DatabaseModels/HostLogSession.mjs +2 -0
- package/Models/DatabaseModels/IncidentCustomField.js +1 -1
- package/Models/DatabaseModels/IncidentFeed.d.mts +1 -0
- package/Models/DatabaseModels/IncidentFeed.d.ts +1 -0
- package/Models/DatabaseModels/IncidentFeed.js +6 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +1 -1
- package/Models/DatabaseModels/IncidentMeasurement.js +1 -1
- package/Models/DatabaseModels/IncidentPostmortemStatus.js +1 -1
- package/Models/DatabaseModels/IncidentReminderRule.js +1 -1
- package/Models/DatabaseModels/IncidentSeverity.js +1 -1
- package/Models/DatabaseModels/IncidentSlaRule.js +1 -1
- package/Models/DatabaseModels/IncidentState.js +1 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.d.mts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.d.ts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.js +0 -35
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.d.mts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.d.ts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.js +0 -40
- package/Models/DatabaseModels/IncidentVideoCall.d.mts +3 -0
- package/Models/DatabaseModels/IncidentVideoCall.d.ts +3 -0
- package/Models/DatabaseModels/IncidentVideoCall.js +105 -0
- package/Models/DatabaseModels/IncomingCallPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/Index.js +16 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.d.mts +5 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.d.ts +5 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.js +108 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.mjs +2 -0
- package/Models/DatabaseModels/KubernetesResource.d.mts +9 -0
- package/Models/DatabaseModels/KubernetesResource.d.ts +9 -0
- package/Models/DatabaseModels/KubernetesResource.js +233 -1
- package/Models/DatabaseModels/LogDropFilter.js +1 -1
- package/Models/DatabaseModels/LogPipeline.js +1 -1
- package/Models/DatabaseModels/LogPipelineProcessor.js +1 -1
- package/Models/DatabaseModels/LogScrubRule.js +1 -1
- package/Models/DatabaseModels/ManagedDevice.d.mts +44 -0
- package/Models/DatabaseModels/ManagedDevice.d.ts +44 -0
- package/Models/DatabaseModels/ManagedDevice.js +698 -0
- package/Models/DatabaseModels/ManagedDevice.mjs +2 -0
- package/Models/DatabaseModels/ManagedDeviceApp.d.mts +20 -0
- package/Models/DatabaseModels/ManagedDeviceApp.d.ts +20 -0
- package/Models/DatabaseModels/ManagedDeviceApp.js +320 -0
- package/Models/DatabaseModels/ManagedDeviceApp.mjs +2 -0
- package/Models/DatabaseModels/MarketplaceSubscription.js +1 -1
- package/Models/DatabaseModels/MetricPipelineRule.js +1 -1
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +127 -0
- package/Models/DatabaseModels/MonitorSecret.d.mts +2 -0
- package/Models/DatabaseModels/MonitorSecret.d.ts +2 -0
- package/Models/DatabaseModels/MonitorSecret.js +51 -1
- package/Models/DatabaseModels/MonitorStatus.js +1 -1
- package/Models/DatabaseModels/NetworkDevice.js +2 -1
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDeviceNamingRule.js +1 -1
- package/Models/DatabaseModels/NetworkDeviceRole.js +1 -1
- package/Models/DatabaseModels/NetworkSiteAssignmentRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyUserOverride.js +28 -1
- package/Models/DatabaseModels/Probe.d.mts +1 -0
- package/Models/DatabaseModels/Probe.d.ts +1 -0
- package/Models/DatabaseModels/Probe.js +32 -0
- package/Models/DatabaseModels/Project.d.mts +3 -0
- package/Models/DatabaseModels/Project.d.ts +3 -0
- package/Models/DatabaseModels/Project.js +131 -0
- package/Models/DatabaseModels/ProjectOidc.d.mts +2 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +2 -0
- package/Models/DatabaseModels/ProjectOidc.js +57 -0
- package/Models/DatabaseModels/ProjectSso.d.mts +4 -0
- package/Models/DatabaseModels/ProjectSso.d.ts +4 -0
- package/Models/DatabaseModels/ProjectSso.js +147 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +1 -1
- package/Models/DatabaseModels/RumApplication.d.mts +3 -0
- package/Models/DatabaseModels/RumApplication.d.ts +3 -0
- package/Models/DatabaseModels/RumApplication.js +154 -0
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceReminderRule.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceState.js +1 -1
- package/Models/DatabaseModels/SecurityCasePriority.js +1 -1
- package/Models/DatabaseModels/SecurityCaseStatus.js +1 -1
- package/Models/DatabaseModels/SecurityDetection.d.mts +2 -1
- package/Models/DatabaseModels/SecurityDetection.d.ts +2 -1
- package/Models/DatabaseModels/SecurityDetection.js +32 -0
- package/Models/DatabaseModels/ServiceAINote.d.mts +22 -0
- package/Models/DatabaseModels/ServiceAINote.d.ts +22 -0
- package/Models/DatabaseModels/ServiceAINote.js +331 -0
- package/Models/DatabaseModels/ServiceAINote.mjs +7 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.d.mts +1 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.d.ts +1 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.js +40 -0
- package/Models/DatabaseModels/ServiceOwnerUser.d.mts +1 -0
- package/Models/DatabaseModels/ServiceOwnerUser.d.ts +1 -0
- package/Models/DatabaseModels/ServiceOwnerUser.js +40 -0
- package/Models/DatabaseModels/StatusPageFooterLink.js +1 -1
- package/Models/DatabaseModels/StatusPageHeaderLink.js +1 -1
- package/Models/DatabaseModels/StatusPageHistoryChartBarColorRule.js +1 -1
- package/Models/DatabaseModels/StorageArrayResource.js +2 -1
- package/Models/DatabaseModels/Team.d.mts +1 -0
- package/Models/DatabaseModels/Team.d.ts +1 -0
- package/Models/DatabaseModels/Team.js +42 -0
- package/Models/DatabaseModels/TeamMember.d.mts +1 -0
- package/Models/DatabaseModels/TeamMember.d.ts +1 -0
- package/Models/DatabaseModels/TeamMember.js +47 -0
- package/Models/DatabaseModels/TraceDropFilter.js +1 -1
- package/Models/DatabaseModels/TracePipeline.js +1 -1
- package/Models/DatabaseModels/TracePipelineProcessor.js +1 -1
- package/Models/DatabaseModels/TraceScrubRule.js +1 -1
- package/Models/DatabaseModels/UserSession.js +12 -8
- package/Models/DatabaseModels/Workflow.d.mts +11 -0
- package/Models/DatabaseModels/Workflow.d.ts +11 -0
- package/Models/DatabaseModels/Workflow.js +316 -0
- package/Models/DatabaseModels/WorkflowLog.d.mts +7 -0
- package/Models/DatabaseModels/WorkflowLog.d.ts +7 -0
- package/Models/DatabaseModels/WorkflowLog.js +211 -0
- package/Server/Services/DatabaseService.d.mts +26 -0
- package/Server/Services/DatabaseService.d.ts +26 -0
- package/Server/Types/Database/DeleteById.d.mts +2 -0
- package/Server/Types/Database/DeleteById.d.ts +2 -0
- package/Server/Types/Database/DeleteOneBy.d.mts +2 -0
- package/Server/Types/Database/DeleteOneBy.d.ts +2 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +6 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +6 -0
- package/Types/AI/AIActionWords.d.mts +35 -0
- package/Types/AI/AIActionWords.d.ts +35 -0
- package/Types/AI/AIActionWords.js +133 -1
- package/Types/AI/AIActionWords.mjs +2 -0
- package/Types/AI/AIAgentRunLimits.d.mts +7 -0
- package/Types/AI/AIAgentRunLimits.d.ts +7 -0
- package/Types/AI/AIAgentRunLimits.js +39 -2
- package/Types/AI/AIAgentRunLimits.mjs +3 -0
- package/Types/AI/AIChatTestPage.d.mts +11 -0
- package/Types/AI/AIChatTestPage.d.ts +11 -0
- package/Types/AI/AIChatTestPage.js +107 -0
- package/Types/AI/AIChatTestPage.mjs +6 -0
- package/Types/AI/AIChatTypes.d.mts +6 -0
- package/Types/AI/AIChatTypes.d.ts +6 -0
- package/Types/AI/AIReadTableWords.d.mts +6 -0
- package/Types/AI/AIReadTableWords.d.ts +6 -0
- package/Types/AI/AIReadTableWords.js +13 -0
- package/Types/AI/AIRunAttempt.d.mts +2 -0
- package/Types/AI/AIRunAttempt.d.ts +2 -0
- package/Types/AI/AIRunAttempt.js +14 -1
- package/Types/AI/AIRunAttempt.mjs +1 -0
- package/Types/AI/AISetupActions.d.mts +17 -0
- package/Types/AI/AISetupActions.d.ts +17 -0
- package/Types/AI/AISetupActions.js +55 -2
- package/Types/AI/AISetupActions.mjs +7 -0
- package/Types/AI/AiActivityInsights.d.mts +11 -0
- package/Types/AI/AiActivityInsights.d.ts +11 -0
- package/Types/AI/AiActivityInsights.js +7 -2
- package/Types/AI/AiActivityInsights.mjs +1 -0
- package/Types/AI/AiOutcomes.d.mts +61 -0
- package/Types/AI/AiOutcomes.d.ts +61 -0
- package/Types/AI/AiOutcomes.js +71 -2
- package/Types/AI/AiOutcomes.mjs +12 -0
- package/Types/AI/CodeAgentRunLimits.d.mts +1 -0
- package/Types/AI/CodeAgentRunLimits.d.ts +1 -0
- package/Types/AI/CodeAgentRunLimits.js +6 -1
- package/Types/AI/CodeFixTaskType.d.mts +3 -0
- package/Types/AI/CodeFixTaskType.d.ts +3 -0
- package/Types/AI/CodeFixTaskType.js +43 -0
- package/Types/AI/CodeTask.d.mts +8 -0
- package/Types/AI/CodeTask.d.ts +8 -0
- package/Types/AI/CodeTask.js +3 -1
- package/Types/AI/CodeTask.mjs +1 -0
- package/Types/AI/CodeTaskTryAgain.d.mts +9 -0
- package/Types/AI/CodeTaskTryAgain.d.ts +9 -0
- package/Types/AI/CodeTaskTryAgain.js +56 -0
- package/Types/AI/CodeTaskTryAgain.mjs +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.d.mts +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.d.ts +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.js +33 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.mjs +2 -0
- package/Types/AI/InvestigationRecording.d.mts +1 -0
- package/Types/AI/InvestigationRecording.d.ts +1 -0
- package/Types/AI/ProjectAiRunLimits.d.mts +4 -1
- package/Types/AI/ProjectAiRunLimits.d.ts +4 -1
- package/Types/AI/ProjectAiRunLimits.js +26 -5
- package/Types/AI/ProjectAiRunLimits.mjs +2 -0
- package/Types/AI/ServiceKnowledgeSummary.d.mts +27 -0
- package/Types/AI/ServiceKnowledgeSummary.d.ts +27 -0
- package/Types/AI/ServiceKnowledgeSummary.js +68 -0
- package/Types/AI/ServiceKnowledgeSummary.mjs +4 -0
- package/Types/Accounts/SecondStepEnrolment.d.mts +16 -0
- package/Types/Accounts/SecondStepEnrolment.d.ts +16 -0
- package/Types/Accounts/SecondStepEnrolment.js +96 -0
- package/Types/Accounts/SecondStepEnrolment.mjs +14 -0
- package/Types/Accounts/SecurityKeySignIn.d.mts +1 -0
- package/Types/Accounts/SecurityKeySignIn.d.ts +1 -0
- package/Types/Accounts/SecurityKeySignIn.js +33 -0
- package/Types/Accounts/SecurityKeySignIn.mjs +2 -0
- package/Types/Accounts/SignInMessages.d.mts +1 -0
- package/Types/Accounts/SignInMessages.d.ts +1 -0
- package/Types/Accounts/SignInMessages.js +14 -2
- package/Types/Accounts/SignInMessages.mjs +1 -0
- package/Types/Accounts/SignUpInvitation.d.mts +5 -0
- package/Types/Accounts/SignUpInvitation.d.ts +5 -0
- package/Types/Accounts/SignUpInvitation.js +26 -0
- package/Types/Analytics/ProductEvent.d.mts +2 -0
- package/Types/Analytics/ProductEvent.d.ts +2 -0
- package/Types/Analytics/ProductEvent.js +17 -1
- package/Types/AuditLog/AuditLogCoverage.d.mts +1 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +1 -0
- package/Types/AuditLog/AuditLogCoverage.js +14 -2
- package/Types/AuditLog/AuditLogCoverage.mjs +1 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +1 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.d.mts +17 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.d.ts +17 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.js +87 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.mjs +4 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +9 -1
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +9 -1
- package/Types/AuditLog/Export/AuditLogExportRecord.js +55 -9
- package/Types/AuditLog/Export/AuditLogExportRecord.mjs +3 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +10 -1
- package/Types/AutoRemediation/RemediationRound.d.ts +10 -1
- package/Types/AutoRemediation/RemediationRound.js +37 -6
- package/Types/AutoRemediation/RemediationRound.mjs +3 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +3 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +3 -0
- package/Types/Call/CallStatus.d.mts +2 -1
- package/Types/Call/CallStatus.d.ts +2 -1
- package/Types/Call/CallStatus.js +6 -0
- package/Types/Cloud/CloudAddedMetrics.d.mts +68 -0
- package/Types/Cloud/CloudAddedMetrics.d.ts +68 -0
- package/Types/Cloud/CloudAddedMetrics.js +402 -0
- package/Types/Cloud/CloudAddedMetrics.mjs +18 -0
- package/Types/Cloud/CloudKeyMetricCondition.d.mts +10 -0
- package/Types/Cloud/CloudKeyMetricCondition.d.ts +10 -0
- package/Types/Cloud/CloudKeyMetricCondition.js +65 -0
- package/Types/Cloud/CloudKeyMetricCondition.mjs +4 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +53 -4
- package/Types/Cloud/CloudKeyMetrics.d.ts +53 -4
- package/Types/Cloud/CloudKeyMetrics.js +781 -211
- package/Types/Cloud/CloudKeyMetrics.mjs +19 -0
- package/Types/Cloud/CloudMonitoredResource.js +16 -2
- package/Types/Cloud/CloudPublishedMetrics.d.mts +40 -0
- package/Types/Cloud/CloudPublishedMetrics.d.ts +40 -0
- package/Types/Cloud/CloudPublishedMetrics.js +165 -0
- package/Types/Cloud/CloudPublishedMetrics.mjs +6 -0
- package/Types/Cloud/CloudReadingKeys.d.mts +10 -0
- package/Types/Cloud/CloudReadingKeys.d.ts +10 -0
- package/Types/Cloud/CloudReadingKeys.js +37 -0
- package/Types/Cloud/CloudReadingKeys.mjs +3 -0
- package/Types/Cloud/CloudResourceCatalog.d.mts +1 -0
- package/Types/Cloud/CloudResourceCatalog.d.ts +1 -0
- package/Types/Cloud/CloudResourceCatalog.js +33 -2
- package/Types/Cloud/CloudResourceHealth.d.mts +93 -1
- package/Types/Cloud/CloudResourceHealth.d.ts +93 -1
- package/Types/Cloud/CloudResourceHealth.js +671 -33
- package/Types/Cloud/CloudResourceHealth.mjs +41 -0
- package/Types/Cloud/CloudRightSizing.js +9 -3
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.mts +84 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.ts +84 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.js +448 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.mjs +15 -0
- package/Types/CloudConnection/CloudConnectionCost.d.mts +18 -0
- package/Types/CloudConnection/CloudConnectionCost.d.ts +18 -0
- package/Types/CloudConnection/CloudConnectionCost.js +89 -4
- package/Types/CloudConnection/CloudConnectionCost.mjs +3 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +14 -0
- package/Types/CloudConnection/CloudStream.d.mts +5 -0
- package/Types/CloudConnection/CloudStream.d.ts +5 -0
- package/Types/CloudConnection/CloudStream.js +46 -2
- package/Types/CloudConnection/CloudStream.mjs +3 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.mts +6 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.ts +6 -0
- package/Types/CloudConnection/CloudStreamOrganization.js +36 -1
- package/Types/CloudConnection/CloudStreamOrganization.mjs +2 -0
- package/Types/CloudConnection/CloudStreamStack.d.mts +48 -0
- package/Types/CloudConnection/CloudStreamStack.d.ts +48 -0
- package/Types/CloudConnection/CloudStreamStack.js +198 -0
- package/Types/CloudConnection/CloudStreamStack.mjs +15 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +14 -1
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +14 -1
- package/Types/CloudConnection/CloudStreamTemplate.js +147 -16
- package/Types/CloudConnection/CloudStreamTemplate.mjs +10 -0
- package/Types/DataObservability/DataBiLineage.d.mts +5 -0
- package/Types/DataObservability/DataBiLineage.d.ts +5 -0
- package/Types/DataObservability/DataBiLineage.js +29 -1
- package/Types/DataObservability/DataCircuitBreaker.d.mts +78 -0
- package/Types/DataObservability/DataCircuitBreaker.d.ts +78 -0
- package/Types/DataObservability/DataCircuitBreaker.js +262 -0
- package/Types/DataObservability/DataCircuitBreaker.mjs +12 -0
- package/Types/DataObservability/DataLineageMap.d.mts +3 -0
- package/Types/DataObservability/DataLineageMap.d.ts +3 -0
- package/Types/DataObservability/DataLineageMap.js +22 -0
- package/Types/DataObservability/DataLineageMap.mjs +2 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +18 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +18 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +10 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +1 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +1 -0
- package/Types/DataObservability/DataObservabilityAttention.js +12 -6
- package/Types/DataObservability/DataPipelineMetric.d.mts +2 -1
- package/Types/DataObservability/DataPipelineMetric.d.ts +2 -1
- package/Types/DataObservability/DataPipelineMetric.js +12 -2
- package/Types/DataObservability/SkippedTables.d.mts +24 -0
- package/Types/DataObservability/SkippedTables.d.ts +24 -0
- package/Types/DataObservability/SkippedTables.js +147 -0
- package/Types/DataObservability/SkippedTables.mjs +9 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.mts +9 -2
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.ts +9 -2
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +46 -10
- package/Types/DataSecurity/ComplianceRequirementCatalog.mjs +1 -0
- package/Types/DataSecurity/ComplianceScope.d.mts +29 -0
- package/Types/DataSecurity/ComplianceScope.d.ts +29 -0
- package/Types/DataSecurity/ComplianceScope.js +120 -0
- package/Types/DataSecurity/ComplianceScope.mjs +7 -0
- package/Types/DataSecurity/ComplianceSettingFramework.d.mts +5 -0
- package/Types/DataSecurity/ComplianceSettingFramework.d.ts +5 -0
- package/Types/DataSecurity/ComplianceSettingFramework.js +10 -0
- package/Types/DataSecurity/ComplianceSettingFramework.mjs +3 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +77 -2
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +77 -2
- package/Types/DataSecurity/DataSecurityApiTypes.js +45 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +3 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +2 -2
- package/Types/DataSecurity/DataStoreKind.d.mts +2 -1
- package/Types/DataSecurity/DataStoreKind.d.ts +2 -1
- package/Types/DataSecurity/DataStoreKind.js +8 -1
- package/Types/DataSecurity/DataStoreResource.d.mts +32 -0
- package/Types/DataSecurity/DataStoreResource.d.ts +32 -0
- package/Types/DataSecurity/DataStoreResource.js +142 -0
- package/Types/DataSecurity/DataStoreResource.mjs +11 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +5 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +5 -0
- package/Types/DataSecurity/FindingSampleRecord.js +62 -11
- package/Types/DataSecurity/FindingSampleRecord.mjs +1 -0
- package/Types/DataSecurity/TelemetryScrubTarget.d.mts +28 -0
- package/Types/DataSecurity/TelemetryScrubTarget.d.ts +28 -0
- package/Types/DataSecurity/TelemetryScrubTarget.js +125 -0
- package/Types/DataSecurity/TelemetryScrubTarget.mjs +12 -0
- package/Types/Database/AccessControl/AccountDateColumns.d.mts +3 -0
- package/Types/Database/AccessControl/AccountDateColumns.d.ts +3 -0
- package/Types/Database/AccessControl/AccountDateColumns.js +32 -0
- package/Types/Database/AccessControl/AccountDateColumns.mjs +4 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +9 -0
- package/Types/Database/MoveInList.d.mts +11 -2
- package/Types/Database/MoveInList.d.ts +11 -2
- package/Types/Database/MoveInList.js +74 -23
- package/Types/Database/MoveInList.mjs +2 -0
- package/Types/Database/SharedNames.d.mts +15 -0
- package/Types/Database/SharedNames.d.ts +15 -0
- package/Types/Database/SharedNames.js +80 -0
- package/Types/Database/SharedNames.mjs +8 -0
- package/Types/Database/TableColumn.d.mts +1 -0
- package/Types/Database/TableColumn.d.ts +1 -0
- package/Types/Database/UniqueName.d.mts +41 -0
- package/Types/Database/UniqueName.d.ts +41 -0
- package/Types/Database/UniqueName.js +242 -0
- package/Types/Database/UniqueName.mjs +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.d.mts +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.d.ts +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.js +98 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.mjs +5 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.mts +27 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.ts +27 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.js +254 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.mjs +21 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.d.mts +14 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.d.ts +14 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.js +5 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.mjs +2 -0
- package/Types/DeviceManagement/DeviceManagementProvider.d.mts +7 -0
- package/Types/DeviceManagement/DeviceManagementProvider.d.ts +7 -0
- package/Types/DeviceManagement/DeviceManagementProvider.js +37 -0
- package/Types/DeviceManagement/DeviceManagementProvider.mjs +5 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.d.mts +28 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.d.ts +28 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.js +67 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.mjs +4 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.mts +43 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.ts +43 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.js +173 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.mjs +8 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.mts +23 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.ts +23 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.js +148 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.mjs +16 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.mts +45 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.ts +45 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.js +161 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.mjs +9 -0
- package/Types/DockerSwarm/DockerSwarmInventoryExtractor.js +20 -1
- package/Types/Domain.d.mts +1 -0
- package/Types/Domain.d.ts +1 -0
- package/Types/Domain.js +30 -0
- package/Types/Email/EmailTemplateType.d.mts +8 -0
- package/Types/Email/EmailTemplateType.d.ts +8 -0
- package/Types/Email/EmailTemplateType.js +27 -0
- package/Types/HeldPermissions.d.mts +10 -0
- package/Types/HeldPermissions.d.ts +10 -0
- package/Types/HeldPermissions.js +63 -0
- package/Types/Host/HostHealth.d.mts +2 -0
- package/Types/Host/HostHealth.d.ts +2 -0
- package/Types/Host/HostHealth.js +10 -1
- package/Types/Host/HostHealth.mjs +1 -0
- package/Types/Host/HostLogSession.d.mts +30 -0
- package/Types/Host/HostLogSession.d.ts +30 -0
- package/Types/Host/HostLogSession.js +117 -0
- package/Types/Host/HostLogSession.mjs +12 -0
- package/Types/HostCollector/HostCollector.js +1 -1
- package/Types/Icon/IconProp.d.mts +1 -0
- package/Types/Icon/IconProp.d.ts +1 -0
- package/Types/Icon/IconProp.js +2 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.d.mts +16 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.d.ts +16 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.js +59 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.mjs +3 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.mts +26 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.ts +26 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.js +482 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.mjs +12 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.mts +32 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.ts +32 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.js +14 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.mjs +2 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.mts +35 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.ts +35 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.js +470 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.mjs +13 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.mts +24 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.ts +24 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.js +17 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.mjs +3 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.mts +8 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.ts +8 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.js +38 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.mjs +5 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.mts +50 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.ts +50 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.js +318 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.mjs +6 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.mts +39 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.ts +39 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.js +13 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.mjs +2 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.mts +43 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.ts +43 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.js +165 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.mjs +20 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.d.mts +11 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.d.ts +11 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.js +79 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.mjs +8 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.d.mts +58 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.d.ts +58 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.js +638 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.mjs +20 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.d.mts +16 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.d.ts +16 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.js +74 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.mjs +7 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.mts +5 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.ts +5 -0
- package/Types/Kubernetes/KubernetesCostIngest.js +14 -16
- package/Types/Kubernetes/KubernetesCostIngest.mjs +3 -0
- package/Types/Kubernetes/KubernetesCostMetrics.d.mts +47 -0
- package/Types/Kubernetes/KubernetesCostMetrics.d.ts +47 -0
- package/Types/Kubernetes/KubernetesCostMetrics.js +296 -0
- package/Types/Kubernetes/KubernetesCostMetrics.mjs +19 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.mts +20 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.ts +20 -0
- package/Types/Kubernetes/KubernetesCostPricing.js +114 -0
- package/Types/Kubernetes/KubernetesCostPricing.mjs +7 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +26 -3
- package/Types/Kubernetes/KubernetesHealth.d.ts +26 -3
- package/Types/Kubernetes/KubernetesHealth.js +424 -37
- package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.js +11 -3
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +8 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +8 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +45 -0
- package/Types/Kubernetes/KubernetesObjectParser.mjs +1 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.mts +63 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.ts +63 -0
- package/Types/Kubernetes/KubernetesPodSecurity.js +399 -0
- package/Types/Kubernetes/KubernetesPodSecurity.mjs +6 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.d.mts +62 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.d.ts +62 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.js +239 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.mjs +16 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.mts +52 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.ts +52 -0
- package/Types/Kubernetes/KubernetesStorageHealth.js +353 -0
- package/Types/Kubernetes/KubernetesStorageHealth.mjs +17 -0
- package/Types/MeaningKeys.js +33 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +23 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +23 -0
- package/Types/Monitor/CloudAlertTemplates.js +575 -4
- package/Types/Monitor/CloudAlertTemplates.mjs +11 -0
- package/Types/Monitor/CriteriaFilter.d.mts +2 -0
- package/Types/Monitor/CriteriaFilter.d.ts +2 -0
- package/Types/Monitor/CriteriaFilter.js +9 -0
- package/Types/Monitor/CriteriaFilterTerms.js +2 -0
- package/Types/Monitor/DataPipelineAlertTemplates.js +34 -1
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.mts +7 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.ts +7 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.js +45 -2
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.mjs +3 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.mts +3 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.ts +3 -0
- package/Types/Monitor/HostAlertTemplates.d.mts +13 -0
- package/Types/Monitor/HostAlertTemplates.d.ts +13 -0
- package/Types/Monitor/HostAlertTemplates.js +352 -2
- package/Types/Monitor/HostAlertTemplates.mjs +4 -0
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +5 -1
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +5 -1
- package/Types/Monitor/KubernetesAlertTemplates.js +317 -27
- package/Types/Monitor/KubernetesAlertTemplates.mjs +3 -0
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +1 -1
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +1 -1
- package/Types/Monitor/KubernetesMetricCatalog.js +105 -1
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.mts +33 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.ts +33 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.js +191 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.mjs +8 -0
- package/Types/Monitor/MonitorSecretType.d.mts +11 -0
- package/Types/Monitor/MonitorSecretType.d.ts +11 -0
- package/Types/Monitor/MonitorSecretType.js +37 -0
- package/Types/Monitor/MonitorSecretType.mjs +3 -0
- package/Types/Monitor/MonitorStep.d.mts +4 -0
- package/Types/Monitor/MonitorStep.d.ts +4 -0
- package/Types/Monitor/MonitorStep.js +27 -1
- package/Types/Monitor/MonitorStepExceptionMonitor.d.mts +7 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.ts +7 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.js +82 -3
- package/Types/Monitor/MonitorStepIoTMonitor.js +4 -17
- package/Types/Monitor/MonitorStepMetricMonitor.d.mts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.ts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.js +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.d.mts +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.d.ts +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.js +50 -0
- package/Types/Monitor/MonitorSteps.d.mts +1 -0
- package/Types/Monitor/MonitorSteps.d.ts +1 -0
- package/Types/Monitor/MonitorSteps.js +22 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +70 -9
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.d.mts +38 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.d.ts +38 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.js +168 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.mjs +2 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +11 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +11 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +8 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +37 -0
- package/Types/Monitor/RumAlertTemplates.d.mts +23 -1
- package/Types/Monitor/RumAlertTemplates.d.ts +23 -1
- package/Types/Monitor/RumAlertTemplates.js +658 -12
- package/Types/Monitor/RumAlertTemplates.mjs +11 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.mts +5 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.ts +5 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.js +207 -5
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.js +32 -0
- package/Types/Monitor/TelemetryAlertRule.js +4 -3
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.mts +16 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.ts +16 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.js +2 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.mjs +1 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.mts +6 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.ts +6 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +1 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +1 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +4 -0
- package/Types/NetworkDevice/DiscoveryImport.d.mts +1 -0
- package/Types/NetworkDevice/DiscoveryImport.d.ts +1 -0
- package/Types/NetworkDevice/DiscoveryImport.js +11 -1
- package/Types/NetworkDevice/DiscoveryImport.mjs +1 -0
- package/Types/Notification/OwnerNotificationDelivery.d.mts +28 -0
- package/Types/Notification/OwnerNotificationDelivery.d.ts +28 -0
- package/Types/Notification/OwnerNotificationDelivery.js +47 -1
- package/Types/Notification/WhoWasTold.js +5 -3
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +4 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +4 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +44 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +10 -1
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +12 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +12 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +39 -0
- package/Types/NotificationSetting/RoutineEmailEvents.js +12 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.mts +2 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.ts +2 -0
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.mts +10 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.ts +10 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.js +50 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.mjs +6 -0
- package/Types/OnCallDutyPolicy/PagedFirst.d.mts +55 -0
- package/Types/OnCallDutyPolicy/PagedFirst.d.ts +55 -0
- package/Types/OnCallDutyPolicy/PagedFirst.js +205 -0
- package/Types/OnCallDutyPolicy/PagedFirst.mjs +8 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.d.mts +22 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.d.ts +22 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.js +135 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.mjs +9 -0
- package/Types/OpenStack/OpenStackBareMetal.d.mts +3 -0
- package/Types/OpenStack/OpenStackBareMetal.d.ts +3 -0
- package/Types/OpenStack/OpenStackBareMetal.js +8 -1
- package/Types/OpenStack/OpenStackBareMetal.mjs +2 -0
- package/Types/OpenStack/OpenStackHealthRules.d.mts +11 -0
- package/Types/OpenStack/OpenStackHealthRules.d.ts +11 -0
- package/Types/OpenStack/OpenStackHealthRules.js +41 -1
- package/Types/OpenStack/OpenStackHealthRules.mjs +4 -0
- package/Types/Permission.d.mts +9 -0
- package/Types/Permission.d.ts +9 -0
- package/Types/Permission.js +104 -0
- package/Types/Probe/ProbeCapability.d.mts +3 -1
- package/Types/Probe/ProbeCapability.d.ts +3 -1
- package/Types/Probe/ProbeCapability.js +21 -1
- package/Types/Probe/ProbeCapability.mjs +1 -0
- package/Types/Probe/ProbeReportedVersion.d.mts +48 -0
- package/Types/Probe/ProbeReportedVersion.d.ts +48 -0
- package/Types/Probe/ProbeReportedVersion.js +280 -0
- package/Types/Probe/ProbeReportedVersion.mjs +9 -0
- package/Types/Product/ProductRecordTables.js +14 -0
- package/Types/ProviderLogo/AllProviderLogoMarks.js +2 -0
- package/Types/ProviderLogo/Marks/android.d.mts +3 -0
- package/Types/ProviderLogo/Marks/android.d.ts +3 -0
- package/Types/ProviderLogo/Marks/android.js +15 -0
- package/Types/ProviderLogo/Marks/android.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +1 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +1 -0
- package/Types/ProviderLogo/ProviderLogo.js +3 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +1 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +2 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +1 -0
- package/Types/Rules/RuleCriteriaSubject.d.ts +1 -0
- package/Types/Rules/RuleCriteriaSubject.js +2 -0
- package/Types/Rules/RuleRun.d.mts +1 -0
- package/Types/Rules/RuleRun.d.ts +1 -0
- package/Types/Rules/RuleRun.js +2 -0
- package/Types/Rum/MobileAppTelemetry.d.mts +28 -0
- package/Types/Rum/MobileAppTelemetry.d.ts +28 -0
- package/Types/Rum/MobileAppTelemetry.js +120 -0
- package/Types/Rum/MobileAppTelemetry.mjs +21 -0
- package/Types/Rum/RumClientKind.d.mts +5 -0
- package/Types/Rum/RumClientKind.d.ts +5 -0
- package/Types/Rum/RumClientKind.js +57 -0
- package/Types/Rum/RumClientKind.mjs +5 -0
- package/Types/Rum/SessionReplay.d.mts +3 -0
- package/Types/Rum/SessionReplay.d.ts +3 -0
- package/Types/Rum/SessionReplay.js +1 -1
- package/Types/Rum/SessionReplayFrustrationSignals.d.mts +3 -1
- package/Types/Rum/SessionReplayFrustrationSignals.d.ts +3 -1
- package/Types/Rum/SessionReplayFrustrationSignals.js +32 -2
- package/Types/Rum/SessionReplayFrustrationSignals.mjs +2 -0
- package/Types/Rum/SessionReplayPageRules.d.mts +10 -0
- package/Types/Rum/SessionReplayPageRules.d.ts +10 -0
- package/Types/Rum/SessionReplayPageRules.js +115 -0
- package/Types/Rum/SessionReplayPageRules.mjs +7 -0
- package/Types/Rum/SessionReplayReadableProperties.d.mts +4 -0
- package/Types/Rum/SessionReplayReadableProperties.d.ts +4 -0
- package/Types/Rum/SessionReplayReadableProperties.js +64 -0
- package/Types/Rum/SessionReplayReadableProperties.mjs +5 -0
- package/Types/Rum/SessionReplaySignalMetric.d.mts +10 -0
- package/Types/Rum/SessionReplaySignalMetric.d.ts +10 -0
- package/Types/Rum/SessionReplaySignalMetric.js +62 -0
- package/Types/Rum/SessionReplaySignalMetric.mjs +8 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +17 -1
- package/Types/SSO/IdentityProviderSignOut.d.ts +17 -1
- package/Types/SSO/IdentityProviderSignOut.js +120 -11
- package/Types/SSO/IdentityProviderSignOut.mjs +6 -0
- package/Types/SSO/LocalSignInClearing.d.mts +35 -0
- package/Types/SSO/LocalSignInClearing.d.ts +35 -0
- package/Types/SSO/LocalSignInClearing.js +166 -0
- package/Types/SSO/LocalSignInClearing.mjs +19 -0
- package/Types/SSO/SignInMethods.d.mts +5 -0
- package/Types/SSO/SignInMethods.d.ts +5 -0
- package/Types/SSO/SignInMethods.js +29 -1
- package/Types/SSO/SignInMethods.mjs +4 -0
- package/Types/SSO/SignInSettingsClearedEmail.d.mts +33 -0
- package/Types/SSO/SignInSettingsClearedEmail.d.ts +33 -0
- package/Types/SSO/SignInSettingsClearedEmail.js +144 -0
- package/Types/SSO/SignInSettingsClearedEmail.mjs +8 -0
- package/Types/SSO/SsoManagedSignIn.d.mts +23 -0
- package/Types/SSO/SsoManagedSignIn.d.ts +23 -0
- package/Types/SSO/SsoManagedSignIn.js +205 -0
- package/Types/SSO/SsoManagedSignIn.mjs +9 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.d.mts +50 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.d.ts +50 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.js +230 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.mjs +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +6 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +6 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +17 -1
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +8 -1
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +8 -1
- package/Types/SecurityCase/SecurityCaseMatches.js +8 -1
- package/Types/SecurityCase/SecurityConnection.d.mts +7 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +7 -0
- package/Types/SecurityCase/SecurityConnection.js +45 -2
- package/Types/SecurityCase/SecurityConnection.mjs +6 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.d.mts +43 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.d.ts +43 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.js +365 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.mjs +20 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.d.mts +8 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.d.ts +8 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.js +1400 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.mjs +7 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.d.mts +26 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.d.ts +26 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.js +184 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.mjs +14 -0
- package/Types/StatusPage/AnnouncementReach.d.mts +16 -0
- package/Types/StatusPage/AnnouncementReach.d.ts +16 -0
- package/Types/StatusPage/AnnouncementReach.js +62 -0
- package/Types/StatusPage/AnnouncementReach.mjs +2 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.d.mts +15 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.d.ts +15 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.js +92 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.mjs +4 -0
- package/Types/StatusPage/PickedStatusPagesReach.d.mts +13 -0
- package/Types/StatusPage/PickedStatusPagesReach.d.ts +13 -0
- package/Types/StatusPage/PickedStatusPagesReach.js +73 -0
- package/Types/StatusPage/PickedStatusPagesReach.mjs +2 -0
- package/Types/StatusPage/PublicNoteApproval.d.mts +2 -1
- package/Types/StatusPage/PublicNoteApproval.d.ts +2 -1
- package/Types/StatusPage/PublicNoteApproval.js +11 -5
- package/Types/StatusPage/PublicNoteReach.d.mts +26 -0
- package/Types/StatusPage/PublicNoteReach.d.ts +26 -0
- package/Types/StatusPage/PublicNoteReach.js +144 -0
- package/Types/StatusPage/PublicNoteReach.mjs +4 -0
- package/Types/StatusPage/SubscriberNotificationPreview.js +9 -3
- package/Types/Team/CustomRole.d.mts +5 -0
- package/Types/Team/CustomRole.d.ts +5 -0
- package/Types/Team/CustomRole.js +19 -2
- package/Types/Team/CustomRole.mjs +1 -0
- package/Types/Team/InviteSuggestions.d.mts +36 -0
- package/Types/Team/InviteSuggestions.d.ts +36 -0
- package/Types/Team/InviteSuggestions.js +203 -0
- package/Types/Team/InviteSuggestions.mjs +13 -0
- package/Types/Telemetry/InventoryLiveness.d.mts +11 -3
- package/Types/Telemetry/InventoryLiveness.d.ts +11 -3
- package/Types/Telemetry/InventoryLiveness.js +19 -6
- package/Types/Telemetry/InventoryLiveness.mjs +1 -0
- package/Types/Telemetry/ServiceType.d.mts +1 -0
- package/Types/Telemetry/ServiceType.d.ts +1 -0
- package/Types/Telemetry/ServiceType.js +8 -0
- package/Types/Telemetry/TelemetryIngestSurface.d.mts +2 -1
- package/Types/Telemetry/TelemetryIngestSurface.d.ts +2 -1
- package/Types/Telemetry/TelemetryIngestSurface.js +9 -0
- package/Types/Timezone.d.mts +1 -0
- package/Types/Timezone.d.ts +1 -0
- package/Types/Timezone.js +1 -0
- package/Types/TimezoneAlias.js +11 -6
- package/Types/ToolImport/ToolImportNote.d.mts +1 -0
- package/Types/ToolImport/ToolImportNote.d.ts +1 -0
- package/Types/ToolImport/ToolImportNote.js +5 -0
- package/Types/TwoFactorAuthSetup.d.mts +16 -0
- package/Types/TwoFactorAuthSetup.d.ts +16 -0
- package/Types/TwoFactorAuthSetup.js +64 -0
- package/Types/TwoFactorAuthSetup.mjs +6 -0
- package/Types/UserAuthenticationStatus.d.mts +3 -0
- package/Types/UserAuthenticationStatus.d.ts +3 -0
- package/Types/UserSession/SessionEndCause.d.mts +1 -0
- package/Types/UserSession/SessionEndCause.d.ts +1 -0
- package/Types/UserSession/SessionEndCause.js +10 -2
- package/Types/VideoCall/CallSummaryPosts.d.mts +18 -0
- package/Types/VideoCall/CallSummaryPosts.d.ts +18 -0
- package/Types/VideoCall/CallSummaryPosts.js +106 -0
- package/Types/VideoCall/CallSummaryPosts.mjs +2 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.d.mts +9 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.d.ts +9 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.js +117 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.mjs +5 -0
- package/Types/Workflow/WorkflowRunAs.d.mts +99 -0
- package/Types/Workflow/WorkflowRunAs.d.ts +99 -0
- package/Types/Workflow/WorkflowRunAs.js +411 -0
- package/Types/Workflow/WorkflowRunAs.mjs +39 -0
- package/Types/Workspace/WorkspacePostedMessage.d.mts +12 -0
- package/Types/Workspace/WorkspacePostedMessage.d.ts +12 -0
- package/Types/Workspace/WorkspacePostedMessage.js +57 -0
- package/Types/Workspace/WorkspacePostedMessage.mjs +3 -0
- package/Utils/AI/MeaningMatch.d.mts +7 -0
- package/Utils/AI/MeaningMatch.d.ts +7 -0
- package/Utils/AI/MeaningMatch.js +49 -1
- package/Utils/AI/MeaningMatch.mjs +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.d.mts +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.d.ts +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.js +19 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +4 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +4 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +30 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +1 -0
- package/Utils/DeveloperDocs/AiAssistantExamples.d.mts +2 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.d.ts +2 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.js +38 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.mjs +1 -0
- package/Utils/DeveloperDocs/CliCommands.d.mts +14 -0
- package/Utils/DeveloperDocs/CliCommands.d.ts +14 -0
- package/Utils/DeveloperDocs/CliCommands.js +36 -0
- package/Utils/DeveloperDocs/CliCommands.mjs +2 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.mts +47 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.ts +47 -0
- package/Utils/DeveloperDocs/DeleteChoices.js +296 -0
- package/Utils/DeveloperDocs/DeleteChoices.mjs +10 -0
- package/Utils/DeveloperDocs/ListOrderFacts.d.mts +27 -0
- package/Utils/DeveloperDocs/ListOrderFacts.d.ts +27 -0
- package/Utils/DeveloperDocs/ListOrderFacts.js +106 -0
- package/Utils/DeveloperDocs/ListOrderFacts.mjs +4 -0
- package/Utils/DeveloperDocs/TerraformSchema.d.mts +6 -0
- package/Utils/DeveloperDocs/TerraformSchema.d.ts +6 -0
- package/Utils/DeveloperDocs/TerraformSchema.js +20 -1
- package/Utils/DeveloperDocs/TerraformSchema.mjs +1 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +36 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +36 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.js +101 -1
- package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +8 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.d.mts +58 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.d.ts +58 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.js +163 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.mjs +11 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +12 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +12 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.js +33 -1
- package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +3 -0
- package/Utils/Host/AndroidAgentLogSessions.d.mts +63 -0
- package/Utils/Host/AndroidAgentLogSessions.d.ts +63 -0
- package/Utils/Host/AndroidAgentLogSessions.js +245 -0
- package/Utils/Host/AndroidAgentLogSessions.mjs +9 -0
- package/Utils/Host/HostOperatingSystem.d.mts +29 -0
- package/Utils/Host/HostOperatingSystem.d.ts +29 -0
- package/Utils/Host/HostOperatingSystem.js +95 -0
- package/Utils/Host/HostOperatingSystem.mjs +4 -0
- package/Utils/HostCollector/HostCollectorConfigResolution.d.mts +1 -1
- package/Utils/HostCollector/HostCollectorConfigResolution.d.ts +1 -1
- package/Utils/HostCollector/HostCollectorConfigResolution.js +12 -2
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.mts +5 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +5 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.js +90 -4
- package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +5 -0
- package/Utils/Inventory/InventoryAssetDetails.d.mts +4 -3
- package/Utils/Inventory/InventoryAssetDetails.d.ts +4 -3
- package/Utils/Inventory/InventoryAssetDetails.js +16 -29
- package/Utils/ListOrder.d.mts +71 -11
- package/Utils/ListOrder.d.ts +71 -11
- package/Utils/ListOrder.js +135 -20
- package/Utils/ListOrder.mjs +3 -1
- package/Utils/Metrics/MetricLatestReading.d.mts +15 -0
- package/Utils/Metrics/MetricLatestReading.d.ts +15 -0
- package/Utils/Metrics/MetricLatestReading.js +49 -0
- package/Utils/Metrics/MetricLatestReading.mjs +2 -0
- package/Utils/Metrics/MetricQueryOverlay.d.mts +24 -0
- package/Utils/Metrics/MetricQueryOverlay.d.ts +24 -0
- package/Utils/Metrics/MetricQueryOverlay.js +169 -0
- package/Utils/Metrics/MetricQueryOverlay.mjs +3 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.mts +11 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.ts +11 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.js +337 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.mjs +5 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.mts +126 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.ts +126 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.js +681 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.mjs +26 -0
- package/Utils/Metrics/RetiredCloudMetricReads.d.mts +13 -0
- package/Utils/Metrics/RetiredCloudMetricReads.d.ts +13 -0
- package/Utils/Metrics/RetiredCloudMetricReads.js +176 -0
- package/Utils/Metrics/RetiredCloudMetricReads.mjs +12 -0
- package/Utils/ModelImportExport.js +9 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.js +22 -3
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +11 -1
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +11 -1
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +173 -44
- package/Utils/Monitor/DeviceMonitorTemplateUtil.mjs +5 -0
- package/Utils/Monitor/DeviceUrlTarget.d.mts +35 -0
- package/Utils/Monitor/DeviceUrlTarget.d.ts +35 -0
- package/Utils/Monitor/DeviceUrlTarget.js +254 -0
- package/Utils/Monitor/DeviceUrlTarget.mjs +9 -0
- package/Utils/Monitor/MonitorSecretReferences.d.mts +21 -0
- package/Utils/Monitor/MonitorSecretReferences.d.ts +21 -0
- package/Utils/Monitor/MonitorSecretReferences.js +162 -0
- package/Utils/Monitor/MonitorSecretReferences.mjs +10 -0
- package/Utils/Monitor/MonitorSecretTotp.d.mts +40 -0
- package/Utils/Monitor/MonitorSecretTotp.d.ts +40 -0
- package/Utils/Monitor/MonitorSecretTotp.js +313 -0
- package/Utils/Monitor/MonitorSecretTotp.mjs +15 -0
- package/Utils/Monitor/MonitorStatusReason.d.mts +44 -0
- package/Utils/Monitor/MonitorStatusReason.d.ts +44 -0
- package/Utils/Monitor/MonitorStatusReason.js +446 -0
- package/Utils/Monitor/MonitorStatusReason.mjs +12 -0
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +7 -6
- package/Utils/Monitor/ProbeFailureCauses.d.mts +3 -1
- package/Utils/Monitor/ProbeFailureCauses.d.ts +3 -1
- package/Utils/Monitor/ProbeFailureCauses.js +14 -3
- package/Utils/Monitor/StatusChangeCauseWording.d.mts +15 -0
- package/Utils/Monitor/StatusChangeCauseWording.d.ts +15 -0
- package/Utils/Monitor/StatusChangeCauseWording.js +129 -0
- package/Utils/Monitor/StatusChangeCauseWording.mjs +5 -0
- package/Utils/Monitor/StatusChangeNotes.d.mts +15 -0
- package/Utils/Monitor/StatusChangeNotes.d.ts +15 -0
- package/Utils/Monitor/StatusChangeNotes.js +144 -0
- package/Utils/Monitor/StatusChangeNotes.mjs +15 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.mts +71 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.ts +71 -0
- package/Utils/NetworkDevice/DeviceAddressScope.js +286 -0
- package/Utils/NetworkDevice/DeviceAddressScope.mjs +12 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.d.mts +9 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.d.ts +9 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.js +114 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.mjs +4 -0
- package/Utils/NetworkDevice/Naming/DeviceNamingPlanner.js +8 -6
- package/Utils/NetworkSite/CidrMatchUtil.js +10 -4
- package/Utils/Project/ProjectBilling.js +1 -0
- package/Utils/Rum/SessionIdentity.d.mts +0 -8
- package/Utils/Rum/SessionIdentity.d.ts +0 -8
- package/Utils/Rum/SessionIdentity.js +4 -105
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.js +15 -1
- package/Utils/Rum/SessionReplayIngestBounds.d.mts +10 -0
- package/Utils/Rum/SessionReplayIngestBounds.d.ts +10 -0
- package/Utils/Rum/SessionReplayIngestBounds.js +121 -0
- package/Utils/Rum/SessionReplayIngestBounds.mjs +2 -0
- package/Utils/Rum/SessionReplayPolicyValidation.d.mts +9 -0
- package/Utils/Rum/SessionReplayPolicyValidation.d.ts +9 -0
- package/Utils/Rum/SessionReplayPolicyValidation.js +97 -0
- package/Utils/Rum/SessionReplayPolicyValidation.mjs +6 -0
- package/Utils/Schema/ModelSchema.js +20 -4
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +1 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +1 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +5 -2
- package/Utils/SecurityCase/SecurityConnectionMatch.js +23 -8
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +7 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.mts +93 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.ts +93 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.js +1363 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.mjs +26 -0
- package/Utils/SecurityEvent/LogParsers/CloudTrailLogParser.js +3 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +7 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +5 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +5 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +79 -1
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +4 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.mts +3 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.ts +3 -0
- package/Utils/SecurityEvent/SecurityRecordReading.js +21 -0
- package/Utils/SecurityEvent/SecurityRecordReading.mjs +2 -0
- package/Utils/SecurityEvent/SecurityTemplateRecords.js +7 -1
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.mts +1 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.ts +1 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.js +31 -4
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.mjs +1 -0
- package/Utils/StateOrder.d.mts +25 -7
- package/Utils/StateOrder.d.ts +25 -7
- package/Utils/StateOrder.js +33 -19
- package/Utils/StateOrder.mjs +1 -0
- package/Utils/Storage/StorageUsage.d.mts +31 -0
- package/Utils/Storage/StorageUsage.d.ts +31 -0
- package/Utils/Storage/StorageUsage.js +179 -0
- package/Utils/Storage/StorageUsage.mjs +10 -0
- package/Utils/Suggestions/CodeFixSuggestion.js +3 -2
- package/Utils/Telemetry/CrossSignalScope.d.mts +6 -1
- package/Utils/Telemetry/CrossSignalScope.d.ts +6 -1
- package/Utils/Telemetry/CrossSignalScope.js +19 -1
- package/Utils/Telemetry/CrossSignalScope.mjs +2 -0
- package/Utils/Telemetry/MetricKitCallStack.d.mts +33 -0
- package/Utils/Telemetry/MetricKitCallStack.d.ts +33 -0
- package/Utils/Telemetry/MetricKitCallStack.js +253 -0
- package/Utils/Telemetry/MetricKitCallStack.mjs +4 -0
- package/Utils/Telemetry/MobileAppFaults.d.mts +14 -1
- package/Utils/Telemetry/MobileAppFaults.d.ts +14 -1
- package/Utils/Telemetry/MobileAppFaults.js +149 -15
- package/Utils/Telemetry/MobileAppFaults.mjs +12 -0
- package/Utils/Telemetry/OtlpAnyValue.d.mts +5 -0
- package/Utils/Telemetry/OtlpAnyValue.d.ts +5 -0
- package/Utils/Telemetry/OtlpAnyValue.js +86 -0
- package/Utils/Telemetry/OtlpAnyValue.mjs +5 -0
- package/Utils/Totp/TotpParameters.d.mts +25 -0
- package/Utils/Totp/TotpParameters.d.ts +25 -0
- package/Utils/Totp/TotpParameters.js +99 -0
- package/Utils/Totp/TotpParameters.mjs +14 -0
- package/Utils/Totp/TotpSecret.d.mts +42 -0
- package/Utils/Totp/TotpSecret.d.ts +42 -0
- package/Utils/Totp/TotpSecret.js +327 -0
- package/Utils/Totp/TotpSecret.mjs +21 -0
- package/Utils/VersionUtil.d.mts +1 -0
- package/Utils/VersionUtil.d.ts +1 -0
- package/Utils/VersionUtil.js +26 -0
- package/package.json +3 -2
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* The series that lets a RUM application alert on a signal of its own
|
|
4
|
+
* (issue #6518): how many recorded sessions hit each of its signals, minute
|
|
5
|
+
* by minute.
|
|
6
|
+
*
|
|
7
|
+
* The session replay ingest writes it (App/FeatureSet/Telemetry/Utils/
|
|
8
|
+
* SessionReplaySignalMetrics.ts): a session counts once for a signal, in
|
|
9
|
+
* the minute the chunk that first carried the signal arrived, as a Delta
|
|
10
|
+
* Sum point under the RUM application. A Metrics monitor that sums the
|
|
11
|
+
* points of a window reads how many sessions hit the signal in it - which
|
|
12
|
+
* is what the application's "Sessions hit <signal>" recommendation is.
|
|
13
|
+
*
|
|
14
|
+
* A point names the signal by its id as well as its name: the id outlives a
|
|
15
|
+
* rename on the Frustration Signals page, so the monitor a recommendation
|
|
16
|
+
* created keeps counting the signal it was created for. A session from a
|
|
17
|
+
* page that loaded before the rename still names the old name, and carries
|
|
18
|
+
* no id until the page loads again.
|
|
19
|
+
*
|
|
20
|
+
* The name sits under the session replay prefix
|
|
21
|
+
* (SESSION_REPLAY_METRIC_NAME_PREFIX): OTLP ingest drops a customer metric
|
|
22
|
+
* under it and a recording rule cannot write one, so only the ingest can.
|
|
23
|
+
* It counts sessions the project already recorded, so it is not billed
|
|
24
|
+
* (TELEMETRY_BILLING_EXCLUDED_METRIC_NAMES).
|
|
25
|
+
*/
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.SESSION_REPLAY_SIGNAL_SESSIONS_METRIC_DESCRIPTION = exports.SESSION_REPLAY_SIGNAL_METRIC_INTERVAL_MS = exports.SESSION_REPLAY_SIGNAL_NAME_ATTRIBUTE = exports.SESSION_REPLAY_SIGNAL_ID_ATTRIBUTE = exports.SESSION_REPLAY_SIGNAL_SESSIONS_METRIC = void 0;
|
|
28
|
+
exports.getSessionReplaySignalIdsByName = getSessionReplaySignalIdsByName;
|
|
29
|
+
exports.getSessionReplaySignalId = getSessionReplaySignalId;
|
|
30
|
+
exports.SESSION_REPLAY_SIGNAL_SESSIONS_METRIC = "oneuptime.rum.session.replay.signal.sessions";
|
|
31
|
+
/* The signal's id on the Frustration Signals page; absent when unknown. */
|
|
32
|
+
exports.SESSION_REPLAY_SIGNAL_ID_ATTRIBUTE = "signal.id";
|
|
33
|
+
/* The signal's name, as the session recorded it. */
|
|
34
|
+
exports.SESSION_REPLAY_SIGNAL_NAME_ATTRIBUTE = "signal.name";
|
|
35
|
+
/* The minute the series counts over, in milliseconds. */
|
|
36
|
+
exports.SESSION_REPLAY_SIGNAL_METRIC_INTERVAL_MS = 60000;
|
|
37
|
+
exports.SESSION_REPLAY_SIGNAL_SESSIONS_METRIC_DESCRIPTION = "Recorded sessions in which one of the application's own signals first fired, counted per minute, by signal.id and signal.name.";
|
|
38
|
+
/*
|
|
39
|
+
* The id of each signal of the application's own, by its name in lower
|
|
40
|
+
* case, from the stored settings: how a hit the recorders report by name is
|
|
41
|
+
* filed under the signal it belongs to. A name the settings no longer hold
|
|
42
|
+
* (renamed or deleted since the page loaded) has none.
|
|
43
|
+
*/
|
|
44
|
+
function getSessionReplaySignalIdsByName(customSignals) {
|
|
45
|
+
// No prototype: a signal may be called "constructor" or "__proto__".
|
|
46
|
+
const ids = Object.create(null);
|
|
47
|
+
for (const signal of customSignals) {
|
|
48
|
+
const key = signal.name.trim().toLowerCase();
|
|
49
|
+
if (key && signal.id && !Object.prototype.hasOwnProperty.call(ids, key)) {
|
|
50
|
+
ids[key] = signal.id;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return ids;
|
|
54
|
+
}
|
|
55
|
+
function getSessionReplaySignalId(idsByName, name) {
|
|
56
|
+
const key = name.trim().toLowerCase();
|
|
57
|
+
if (!idsByName || !Object.prototype.hasOwnProperty.call(idsByName, key)) {
|
|
58
|
+
return "";
|
|
59
|
+
}
|
|
60
|
+
const id = idsByName[key];
|
|
61
|
+
return typeof id === "string" ? id : "";
|
|
62
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import commonJsModule from "./SessionReplaySignalMetric.js";
|
|
2
|
+
export const SESSION_REPLAY_SIGNAL_ID_ATTRIBUTE = commonJsModule.SESSION_REPLAY_SIGNAL_ID_ATTRIBUTE;
|
|
3
|
+
export const SESSION_REPLAY_SIGNAL_METRIC_INTERVAL_MS = commonJsModule.SESSION_REPLAY_SIGNAL_METRIC_INTERVAL_MS;
|
|
4
|
+
export const SESSION_REPLAY_SIGNAL_NAME_ATTRIBUTE = commonJsModule.SESSION_REPLAY_SIGNAL_NAME_ATTRIBUTE;
|
|
5
|
+
export const SESSION_REPLAY_SIGNAL_SESSIONS_METRIC = commonJsModule.SESSION_REPLAY_SIGNAL_SESSIONS_METRIC;
|
|
6
|
+
export const SESSION_REPLAY_SIGNAL_SESSIONS_METRIC_DESCRIPTION = commonJsModule.SESSION_REPLAY_SIGNAL_SESSIONS_METRIC_DESCRIPTION;
|
|
7
|
+
export const getSessionReplaySignalId = commonJsModule.getSessionReplaySignalId;
|
|
8
|
+
export const getSessionReplaySignalIdsByName = commonJsModule.getSessionReplaySignalIdsByName;
|
|
@@ -1,20 +1,36 @@
|
|
|
1
1
|
import SsoProviderType from "./SsoProviderType.mjs";
|
|
2
|
-
export interface
|
|
2
|
+
export interface OidcIdentityProviderSignOutRecord {
|
|
3
3
|
providerType: SsoProviderType.GlobalOIDC | SsoProviderType.ProjectOIDC;
|
|
4
4
|
providerId: string;
|
|
5
5
|
endSessionEndpoint: string;
|
|
6
6
|
idToken: string;
|
|
7
7
|
}
|
|
8
|
+
export interface SamlIdentityProviderSignOutRecord {
|
|
9
|
+
providerType: SsoProviderType.GlobalSSO | SsoProviderType.ProjectSSO;
|
|
10
|
+
providerId: string;
|
|
11
|
+
nameId: string;
|
|
12
|
+
nameIdFormat?: string | undefined;
|
|
13
|
+
nameIdNameQualifier?: string | undefined;
|
|
14
|
+
nameIdSpNameQualifier?: string | undefined;
|
|
15
|
+
sessionIndex?: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
export type IdentityProviderSignOutRecord = OidcIdentityProviderSignOutRecord | SamlIdentityProviderSignOutRecord;
|
|
8
18
|
export declare const IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD: string;
|
|
9
19
|
export declare const IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS: Array<string>;
|
|
10
20
|
export declare const MAX_END_SESSION_ENDPOINT_LENGTH: number;
|
|
11
21
|
export declare const MAX_ID_TOKEN_LENGTH: number;
|
|
22
|
+
export declare const MAX_SAML_SIGN_OUT_VALUE_LENGTH: number;
|
|
23
|
+
export declare const MAX_IDENTITY_PROVIDER_SIGN_OUT_URL_LENGTH: number;
|
|
12
24
|
export declare const getPostLogoutRedirectUri: (data: {
|
|
13
25
|
httpProtocol: string;
|
|
14
26
|
host: string;
|
|
15
27
|
}) => string;
|
|
16
28
|
export declare const isUsableEndSessionEndpoint: (value: unknown) => value is string;
|
|
29
|
+
export declare const isUsableSingleLogoutUrl: (value: unknown) => value is string;
|
|
30
|
+
export declare const isUsableIdentityProviderSignOutUrl: (value: unknown) => value is string;
|
|
17
31
|
export declare const isUsableIdToken: (value: unknown) => value is string;
|
|
32
|
+
export declare const isUsableSamlSignOutValue: (value: unknown) => value is string;
|
|
33
|
+
export declare const isSamlIdentityProviderSignOutRecord: (record: IdentityProviderSignOutRecord) => record is SamlIdentityProviderSignOutRecord;
|
|
18
34
|
export declare const readIdentityProviderSignOutRecord: (value: unknown) => IdentityProviderSignOutRecord | null;
|
|
19
35
|
export declare const buildIdentityProviderSignOutUrl: (data: {
|
|
20
36
|
endSessionEndpoint: string;
|
|
@@ -1,20 +1,36 @@
|
|
|
1
1
|
import SsoProviderType from "./SsoProviderType";
|
|
2
|
-
export interface
|
|
2
|
+
export interface OidcIdentityProviderSignOutRecord {
|
|
3
3
|
providerType: SsoProviderType.GlobalOIDC | SsoProviderType.ProjectOIDC;
|
|
4
4
|
providerId: string;
|
|
5
5
|
endSessionEndpoint: string;
|
|
6
6
|
idToken: string;
|
|
7
7
|
}
|
|
8
|
+
export interface SamlIdentityProviderSignOutRecord {
|
|
9
|
+
providerType: SsoProviderType.GlobalSSO | SsoProviderType.ProjectSSO;
|
|
10
|
+
providerId: string;
|
|
11
|
+
nameId: string;
|
|
12
|
+
nameIdFormat?: string | undefined;
|
|
13
|
+
nameIdNameQualifier?: string | undefined;
|
|
14
|
+
nameIdSpNameQualifier?: string | undefined;
|
|
15
|
+
sessionIndex?: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
export type IdentityProviderSignOutRecord = OidcIdentityProviderSignOutRecord | SamlIdentityProviderSignOutRecord;
|
|
8
18
|
export declare const IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD: string;
|
|
9
19
|
export declare const IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS: Array<string>;
|
|
10
20
|
export declare const MAX_END_SESSION_ENDPOINT_LENGTH: number;
|
|
11
21
|
export declare const MAX_ID_TOKEN_LENGTH: number;
|
|
22
|
+
export declare const MAX_SAML_SIGN_OUT_VALUE_LENGTH: number;
|
|
23
|
+
export declare const MAX_IDENTITY_PROVIDER_SIGN_OUT_URL_LENGTH: number;
|
|
12
24
|
export declare const getPostLogoutRedirectUri: (data: {
|
|
13
25
|
httpProtocol: string;
|
|
14
26
|
host: string;
|
|
15
27
|
}) => string;
|
|
16
28
|
export declare const isUsableEndSessionEndpoint: (value: unknown) => value is string;
|
|
29
|
+
export declare const isUsableSingleLogoutUrl: (value: unknown) => value is string;
|
|
30
|
+
export declare const isUsableIdentityProviderSignOutUrl: (value: unknown) => value is string;
|
|
17
31
|
export declare const isUsableIdToken: (value: unknown) => value is string;
|
|
32
|
+
export declare const isUsableSamlSignOutValue: (value: unknown) => value is string;
|
|
33
|
+
export declare const isSamlIdentityProviderSignOutRecord: (record: IdentityProviderSignOutRecord) => record is SamlIdentityProviderSignOutRecord;
|
|
18
34
|
export declare const readIdentityProviderSignOutRecord: (value: unknown) => IdentityProviderSignOutRecord | null;
|
|
19
35
|
export declare const buildIdentityProviderSignOutUrl: (data: {
|
|
20
36
|
endSessionEndpoint: string;
|
|
@@ -3,7 +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.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;
|
|
6
|
+
exports.buildIdentityProviderSignOutUrl = exports.readIdentityProviderSignOutRecord = exports.isSamlIdentityProviderSignOutRecord = exports.isUsableSamlSignOutValue = exports.isUsableIdToken = exports.isUsableIdentityProviderSignOutUrl = exports.isUsableSingleLogoutUrl = exports.isUsableEndSessionEndpoint = exports.getPostLogoutRedirectUri = exports.MAX_IDENTITY_PROVIDER_SIGN_OUT_URL_LENGTH = exports.MAX_SAML_SIGN_OUT_VALUE_LENGTH = 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
7
|
const ServiceRoute_1 = require("../../ServiceRoute");
|
|
8
8
|
const SsoProviderType_1 = __importDefault(require("./SsoProviderType"));
|
|
9
9
|
/*
|
|
@@ -12,9 +12,16 @@ const SsoProviderType_1 = __importDefault(require("./SsoProviderType"));
|
|
|
12
12
|
* sign-in page, as every sign-out did before.
|
|
13
13
|
*/
|
|
14
14
|
exports.IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD = "identityProviderSignOutUrl";
|
|
15
|
-
|
|
15
|
+
/*
|
|
16
|
+
* The record's fields kept encrypted at rest (UserSession.
|
|
17
|
+
* identityProviderSignOut): an OIDC sign-in's ID token, and the person and
|
|
18
|
+
* the session a SAML sign-in names. A field the record has not is left
|
|
19
|
+
* alone, so each kind encrypts its own.
|
|
20
|
+
*/
|
|
16
21
|
exports.IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS = [
|
|
17
22
|
"idToken",
|
|
23
|
+
"nameId",
|
|
24
|
+
"sessionIndex",
|
|
18
25
|
];
|
|
19
26
|
/*
|
|
20
27
|
* The longest end_session_endpoint and ID token kept: an address a browser
|
|
@@ -23,6 +30,20 @@ exports.IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS = [
|
|
|
23
30
|
*/
|
|
24
31
|
exports.MAX_END_SESSION_ENDPOINT_LENGTH = 2048;
|
|
25
32
|
exports.MAX_ID_TOKEN_LENGTH = 16 * 1024;
|
|
33
|
+
/*
|
|
34
|
+
* The longest of a SAML assertion's values a session keeps: a Name ID, its
|
|
35
|
+
* Format and qualifiers, a SessionIndex. Each is an address, a URN or an
|
|
36
|
+
* identifier, far shorter in practice.
|
|
37
|
+
*/
|
|
38
|
+
exports.MAX_SAML_SIGN_OUT_VALUE_LENGTH = 1024;
|
|
39
|
+
/*
|
|
40
|
+
* The longest address the browser is sent to, to sign out at the provider:
|
|
41
|
+
* an end_session_endpoint with an ID token as its id_token_hint, or a SAML
|
|
42
|
+
* provider's sign-out with its signed LogoutRequest. Either is longer than
|
|
43
|
+
* the endpoint alone - a provider whose ID tokens carry many claims makes
|
|
44
|
+
* one of several kilobytes - and far shorter than this.
|
|
45
|
+
*/
|
|
46
|
+
exports.MAX_IDENTITY_PROVIDER_SIGN_OUT_URL_LENGTH = 32 * 1024;
|
|
26
47
|
/*
|
|
27
48
|
* The page a provider sends the browser back to once it has signed the
|
|
28
49
|
* person out (post_logout_redirect_uri): OneUptime's sign-in page, where a
|
|
@@ -33,15 +54,15 @@ const getPostLogoutRedirectUri = (data) => {
|
|
|
33
54
|
};
|
|
34
55
|
exports.getPostLogoutRedirectUri = getPostLogoutRedirectUri;
|
|
35
56
|
/*
|
|
36
|
-
* Whether
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
57
|
+
* Whether `value` is an absolute http(s) address with a host, no user name
|
|
58
|
+
* or password in it, no fragment, no space around it, and no longer than
|
|
59
|
+
* `maxLength`. Anything else - a javascript: address, a relative path - is
|
|
60
|
+
* no provider's, and nobody is sent there.
|
|
40
61
|
*/
|
|
41
|
-
const
|
|
62
|
+
const isHttpAddress = (value, maxLength) => {
|
|
42
63
|
if (typeof value !== "string" ||
|
|
43
64
|
!value.trim() ||
|
|
44
|
-
value.length >
|
|
65
|
+
value.length > maxLength ||
|
|
45
66
|
value !== value.trim()) {
|
|
46
67
|
return false;
|
|
47
68
|
}
|
|
@@ -58,7 +79,33 @@ const isUsableEndSessionEndpoint = (value) => {
|
|
|
58
79
|
!url.password &&
|
|
59
80
|
!url.hash);
|
|
60
81
|
};
|
|
82
|
+
/*
|
|
83
|
+
* Whether a provider's end_session_endpoint is one a browser may be sent to:
|
|
84
|
+
* an absolute http(s) address with a host, no user name or password in it,
|
|
85
|
+
* no fragment, and of a sane length.
|
|
86
|
+
*/
|
|
87
|
+
const isUsableEndSessionEndpoint = (value) => {
|
|
88
|
+
return isHttpAddress(value, exports.MAX_END_SESSION_ENDPOINT_LENGTH);
|
|
89
|
+
};
|
|
61
90
|
exports.isUsableEndSessionEndpoint = isUsableEndSessionEndpoint;
|
|
91
|
+
/*
|
|
92
|
+
* Whether a SAML provider's Sign Out URL (its SingleLogoutService) is one a
|
|
93
|
+
* browser may be sent to, by the same rules as an end_session_endpoint. A
|
|
94
|
+
* query it has is kept: the signed LogoutRequest is added to it.
|
|
95
|
+
*/
|
|
96
|
+
const isUsableSingleLogoutUrl = (value) => {
|
|
97
|
+
return isHttpAddress(value, exports.MAX_END_SESSION_ENDPOINT_LENGTH);
|
|
98
|
+
};
|
|
99
|
+
exports.isUsableSingleLogoutUrl = isUsableSingleLogoutUrl;
|
|
100
|
+
/*
|
|
101
|
+
* Whether the address POST /identity/logout answers is one the sign-out
|
|
102
|
+
* page may send the browser to: an http(s) address as above, as long as an
|
|
103
|
+
* ID token or a signed LogoutRequest makes it, and no longer.
|
|
104
|
+
*/
|
|
105
|
+
const isUsableIdentityProviderSignOutUrl = (value) => {
|
|
106
|
+
return isHttpAddress(value, exports.MAX_IDENTITY_PROVIDER_SIGN_OUT_URL_LENGTH);
|
|
107
|
+
};
|
|
108
|
+
exports.isUsableIdentityProviderSignOutUrl = isUsableIdentityProviderSignOutUrl;
|
|
62
109
|
/*
|
|
63
110
|
* Whether an ID token is one to keep: a JWT's three dot-separated parts (a
|
|
64
111
|
* signed token), or five (an encrypted one), of a sane length.
|
|
@@ -71,10 +118,67 @@ const isUsableIdToken = (value) => {
|
|
|
71
118
|
ID_TOKEN_SHAPE.test(value));
|
|
72
119
|
};
|
|
73
120
|
exports.isUsableIdToken = isUsableIdToken;
|
|
74
|
-
|
|
121
|
+
/*
|
|
122
|
+
* Characters XML 1.0 cannot carry at all (C0 controls other than tab, line
|
|
123
|
+
* feed and carriage return), and the two noncharacters at the end of the
|
|
124
|
+
* Basic Multilingual Plane. A value that holds one is no assertion's.
|
|
125
|
+
*/
|
|
126
|
+
// eslint-disable-next-line no-control-regex
|
|
127
|
+
const NOT_IN_XML = /[\u0000-\u0008\u000B\u000C\u000E-\u001F]/;
|
|
128
|
+
/*
|
|
129
|
+
* Whether a SAML value a session keeps - a Name ID, its Format or a
|
|
130
|
+
* qualifier, a SessionIndex - is one to keep: text, not empty, with no space
|
|
131
|
+
* around it, of a sane length, that XML can carry back to the provider.
|
|
132
|
+
*/
|
|
133
|
+
const isUsableSamlSignOutValue = (value) => {
|
|
134
|
+
return (typeof value === "string" &&
|
|
135
|
+
value.length > 0 &&
|
|
136
|
+
value.length <= exports.MAX_SAML_SIGN_OUT_VALUE_LENGTH &&
|
|
137
|
+
value === value.trim() &&
|
|
138
|
+
!NOT_IN_XML.test(value));
|
|
139
|
+
};
|
|
140
|
+
exports.isUsableSamlSignOutValue = isUsableSamlSignOutValue;
|
|
141
|
+
const OIDC_PROVIDER_TYPES = [
|
|
75
142
|
SsoProviderType_1.default.GlobalOIDC,
|
|
76
143
|
SsoProviderType_1.default.ProjectOIDC,
|
|
77
144
|
];
|
|
145
|
+
const SAML_PROVIDER_TYPES = [
|
|
146
|
+
SsoProviderType_1.default.GlobalSSO,
|
|
147
|
+
SsoProviderType_1.default.ProjectSSO,
|
|
148
|
+
];
|
|
149
|
+
// Whether a record is a SAML sign-in's.
|
|
150
|
+
const isSamlIdentityProviderSignOutRecord = (record) => {
|
|
151
|
+
return SAML_PROVIDER_TYPES.includes(record.providerType);
|
|
152
|
+
};
|
|
153
|
+
exports.isSamlIdentityProviderSignOutRecord = isSamlIdentityProviderSignOutRecord;
|
|
154
|
+
// The SAML record's optional values, read as kept: absent, or one to keep.
|
|
155
|
+
const SAML_OPTIONAL_FIELDS = [
|
|
156
|
+
"nameIdFormat",
|
|
157
|
+
"nameIdNameQualifier",
|
|
158
|
+
"nameIdSpNameQualifier",
|
|
159
|
+
"sessionIndex",
|
|
160
|
+
];
|
|
161
|
+
const readSamlRecord = (record) => {
|
|
162
|
+
if (!(0, exports.isUsableSamlSignOutValue)(record["nameId"])) {
|
|
163
|
+
return null;
|
|
164
|
+
}
|
|
165
|
+
const read = {
|
|
166
|
+
providerType: record["providerType"],
|
|
167
|
+
providerId: record["providerId"],
|
|
168
|
+
nameId: record["nameId"],
|
|
169
|
+
};
|
|
170
|
+
for (const field of SAML_OPTIONAL_FIELDS) {
|
|
171
|
+
const value = record[field];
|
|
172
|
+
if (value === undefined || value === null) {
|
|
173
|
+
continue;
|
|
174
|
+
}
|
|
175
|
+
if (!(0, exports.isUsableSamlSignOutValue)(value)) {
|
|
176
|
+
return null;
|
|
177
|
+
}
|
|
178
|
+
read[field] = value;
|
|
179
|
+
}
|
|
180
|
+
return read;
|
|
181
|
+
};
|
|
78
182
|
/*
|
|
79
183
|
* The record a session keeps, or null when what it holds is not one: never
|
|
80
184
|
* kept, or of another shape. Read field by field, so nothing else rides
|
|
@@ -86,9 +190,14 @@ const readIdentityProviderSignOutRecord = (value) => {
|
|
|
86
190
|
}
|
|
87
191
|
const record = value;
|
|
88
192
|
if (typeof record["providerType"] !== "string" ||
|
|
89
|
-
!PROVIDER_TYPES.includes(record["providerType"]) ||
|
|
90
193
|
typeof record["providerId"] !== "string" ||
|
|
91
|
-
!record["providerId"]
|
|
194
|
+
!record["providerId"]) {
|
|
195
|
+
return null;
|
|
196
|
+
}
|
|
197
|
+
if (SAML_PROVIDER_TYPES.includes(record["providerType"])) {
|
|
198
|
+
return readSamlRecord(record);
|
|
199
|
+
}
|
|
200
|
+
if (!OIDC_PROVIDER_TYPES.includes(record["providerType"]) ||
|
|
92
201
|
!(0, exports.isUsableEndSessionEndpoint)(record["endSessionEndpoint"]) ||
|
|
93
202
|
!(0, exports.isUsableIdToken)(record["idToken"])) {
|
|
94
203
|
return null;
|
|
@@ -2,9 +2,15 @@ import commonJsModule from "./IdentityProviderSignOut.js";
|
|
|
2
2
|
export const IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS = commonJsModule.IDENTITY_PROVIDER_SIGN_OUT_ENCRYPTED_FIELDS;
|
|
3
3
|
export const IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD = commonJsModule.IDENTITY_PROVIDER_SIGN_OUT_URL_FIELD;
|
|
4
4
|
export const MAX_END_SESSION_ENDPOINT_LENGTH = commonJsModule.MAX_END_SESSION_ENDPOINT_LENGTH;
|
|
5
|
+
export const MAX_IDENTITY_PROVIDER_SIGN_OUT_URL_LENGTH = commonJsModule.MAX_IDENTITY_PROVIDER_SIGN_OUT_URL_LENGTH;
|
|
5
6
|
export const MAX_ID_TOKEN_LENGTH = commonJsModule.MAX_ID_TOKEN_LENGTH;
|
|
7
|
+
export const MAX_SAML_SIGN_OUT_VALUE_LENGTH = commonJsModule.MAX_SAML_SIGN_OUT_VALUE_LENGTH;
|
|
6
8
|
export const buildIdentityProviderSignOutUrl = commonJsModule.buildIdentityProviderSignOutUrl;
|
|
7
9
|
export const getPostLogoutRedirectUri = commonJsModule.getPostLogoutRedirectUri;
|
|
10
|
+
export const isSamlIdentityProviderSignOutRecord = commonJsModule.isSamlIdentityProviderSignOutRecord;
|
|
8
11
|
export const isUsableEndSessionEndpoint = commonJsModule.isUsableEndSessionEndpoint;
|
|
9
12
|
export const isUsableIdToken = commonJsModule.isUsableIdToken;
|
|
13
|
+
export const isUsableIdentityProviderSignOutUrl = commonJsModule.isUsableIdentityProviderSignOutUrl;
|
|
14
|
+
export const isUsableSamlSignOutValue = commonJsModule.isUsableSamlSignOutValue;
|
|
15
|
+
export const isUsableSingleLogoutUrl = commonJsModule.isUsableSingleLogoutUrl;
|
|
10
16
|
export const readIdentityProviderSignOutRecord = commonJsModule.readIdentityProviderSignOutRecord;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const CLEAR_LOCAL_SIGN_IN_ACTION: string;
|
|
2
|
+
export declare const SAVED_SIGN_IN_SETTINGS_ROUTE: string;
|
|
3
|
+
export declare const CLEAR_SAVED_SIGN_IN_SETTINGS_ROUTE: string;
|
|
4
|
+
export declare const PROJECT_SAVED_SIGN_IN_SETTINGS_ACTION: string;
|
|
5
|
+
export declare const PROJECT_CLEAR_SAVED_SIGN_IN_SETTINGS_ACTION: string;
|
|
6
|
+
export declare const getProjectSavedSignInSettingsRoute: (projectId: string) => string;
|
|
7
|
+
export declare const getProjectClearSavedSignInSettingsRoute: (projectId: string) => string;
|
|
8
|
+
export declare const CLEAR_PROJECT_SIGN_IN_NEEDS_MANAGED_SSO_MESSAGE: string;
|
|
9
|
+
export declare const CLEAR_PROJECT_SIGN_IN_OWNERS_ONLY_MESSAGE: string;
|
|
10
|
+
export interface LocalSignInSettings {
|
|
11
|
+
hasPassword: boolean;
|
|
12
|
+
isTwoFactorAuthEnabled: boolean;
|
|
13
|
+
authenticatorAppCount: number;
|
|
14
|
+
passkeyAndSecurityKeyCount: number;
|
|
15
|
+
backupCodeCount: number;
|
|
16
|
+
}
|
|
17
|
+
export interface ClearLocalSignInAnswer {
|
|
18
|
+
cleared: LocalSignInSettings;
|
|
19
|
+
sessionsEnded: number;
|
|
20
|
+
}
|
|
21
|
+
export interface SavedSignInSettingsAnswer {
|
|
22
|
+
peopleCount: number;
|
|
23
|
+
}
|
|
24
|
+
export interface ClearSavedSignInSettingsAnswer {
|
|
25
|
+
peopleCleared: number;
|
|
26
|
+
}
|
|
27
|
+
export declare const CLEAR_SAVED_SIGN_IN_SETTINGS_NEEDS_SSO_REQUIRED_MESSAGE: string;
|
|
28
|
+
export declare const CLEAR_MASTER_ADMIN_SIGN_IN_NOT_CONFIRMED_MESSAGE: string;
|
|
29
|
+
export declare const CLEAR_OWN_SIGN_IN_MESSAGE: string;
|
|
30
|
+
export declare const NO_LOCAL_SIGN_IN_SETTINGS: LocalSignInSettings;
|
|
31
|
+
export declare const hasLocalSignInSettings: (settings: LocalSignInSettings) => boolean;
|
|
32
|
+
export declare const readLocalSignInSettings: (value: unknown) => LocalSignInSettings | null;
|
|
33
|
+
export declare const readClearLocalSignInAnswer: (value: unknown) => ClearLocalSignInAnswer | null;
|
|
34
|
+
export declare const readSavedSignInSettingsAnswer: (value: unknown) => SavedSignInSettingsAnswer | null;
|
|
35
|
+
export declare const readClearSavedSignInSettingsAnswer: (value: unknown) => ClearSavedSignInSettingsAnswer | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const CLEAR_LOCAL_SIGN_IN_ACTION: string;
|
|
2
|
+
export declare const SAVED_SIGN_IN_SETTINGS_ROUTE: string;
|
|
3
|
+
export declare const CLEAR_SAVED_SIGN_IN_SETTINGS_ROUTE: string;
|
|
4
|
+
export declare const PROJECT_SAVED_SIGN_IN_SETTINGS_ACTION: string;
|
|
5
|
+
export declare const PROJECT_CLEAR_SAVED_SIGN_IN_SETTINGS_ACTION: string;
|
|
6
|
+
export declare const getProjectSavedSignInSettingsRoute: (projectId: string) => string;
|
|
7
|
+
export declare const getProjectClearSavedSignInSettingsRoute: (projectId: string) => string;
|
|
8
|
+
export declare const CLEAR_PROJECT_SIGN_IN_NEEDS_MANAGED_SSO_MESSAGE: string;
|
|
9
|
+
export declare const CLEAR_PROJECT_SIGN_IN_OWNERS_ONLY_MESSAGE: string;
|
|
10
|
+
export interface LocalSignInSettings {
|
|
11
|
+
hasPassword: boolean;
|
|
12
|
+
isTwoFactorAuthEnabled: boolean;
|
|
13
|
+
authenticatorAppCount: number;
|
|
14
|
+
passkeyAndSecurityKeyCount: number;
|
|
15
|
+
backupCodeCount: number;
|
|
16
|
+
}
|
|
17
|
+
export interface ClearLocalSignInAnswer {
|
|
18
|
+
cleared: LocalSignInSettings;
|
|
19
|
+
sessionsEnded: number;
|
|
20
|
+
}
|
|
21
|
+
export interface SavedSignInSettingsAnswer {
|
|
22
|
+
peopleCount: number;
|
|
23
|
+
}
|
|
24
|
+
export interface ClearSavedSignInSettingsAnswer {
|
|
25
|
+
peopleCleared: number;
|
|
26
|
+
}
|
|
27
|
+
export declare const CLEAR_SAVED_SIGN_IN_SETTINGS_NEEDS_SSO_REQUIRED_MESSAGE: string;
|
|
28
|
+
export declare const CLEAR_MASTER_ADMIN_SIGN_IN_NOT_CONFIRMED_MESSAGE: string;
|
|
29
|
+
export declare const CLEAR_OWN_SIGN_IN_MESSAGE: string;
|
|
30
|
+
export declare const NO_LOCAL_SIGN_IN_SETTINGS: LocalSignInSettings;
|
|
31
|
+
export declare const hasLocalSignInSettings: (settings: LocalSignInSettings) => boolean;
|
|
32
|
+
export declare const readLocalSignInSettings: (value: unknown) => LocalSignInSettings | null;
|
|
33
|
+
export declare const readClearLocalSignInAnswer: (value: unknown) => ClearLocalSignInAnswer | null;
|
|
34
|
+
export declare const readSavedSignInSettingsAnswer: (value: unknown) => SavedSignInSettingsAnswer | null;
|
|
35
|
+
export declare const readClearSavedSignInSettingsAnswer: (value: unknown) => ClearSavedSignInSettingsAnswer | null;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readClearSavedSignInSettingsAnswer = exports.readSavedSignInSettingsAnswer = exports.readClearLocalSignInAnswer = exports.readLocalSignInSettings = exports.hasLocalSignInSettings = exports.NO_LOCAL_SIGN_IN_SETTINGS = exports.CLEAR_OWN_SIGN_IN_MESSAGE = exports.CLEAR_MASTER_ADMIN_SIGN_IN_NOT_CONFIRMED_MESSAGE = exports.CLEAR_SAVED_SIGN_IN_SETTINGS_NEEDS_SSO_REQUIRED_MESSAGE = exports.CLEAR_PROJECT_SIGN_IN_OWNERS_ONLY_MESSAGE = exports.CLEAR_PROJECT_SIGN_IN_NEEDS_MANAGED_SSO_MESSAGE = exports.getProjectClearSavedSignInSettingsRoute = exports.getProjectSavedSignInSettingsRoute = exports.PROJECT_CLEAR_SAVED_SIGN_IN_SETTINGS_ACTION = exports.PROJECT_SAVED_SIGN_IN_SETTINGS_ACTION = exports.CLEAR_SAVED_SIGN_IN_SETTINGS_ROUTE = exports.SAVED_SIGN_IN_SETTINGS_ROUTE = exports.CLEAR_LOCAL_SIGN_IN_ACTION = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* CLEARING THE SIGN-IN SETTINGS PEOPLE SAVED IN ONEUPTIME (issue #9762).
|
|
6
|
+
*
|
|
7
|
+
* While single sign-on manages someone's sign-in (Types/SSO/SsoManagedSignIn),
|
|
8
|
+
* OneUptime refuses them a new password, passkey, security key, authenticator
|
|
9
|
+
* app, backup codes or two-factor authentication - but keeps what they saved
|
|
10
|
+
* before: it signs nobody in while the requirement is on, and works again if
|
|
11
|
+
* it is turned off. #9726 deleted nothing on purpose: removing credentials on
|
|
12
|
+
* upgrade, or as a side effect of flipping a switch, cannot be undone.
|
|
13
|
+
*
|
|
14
|
+
* A master admin can clear them when they decide to, in the Admin Dashboard
|
|
15
|
+
* (and an organization can clear its own people's, below: #9820). Each
|
|
16
|
+
* person cleared is emailed what was removed and how they sign in now
|
|
17
|
+
* (#9818, Types/SSO/SignInSettingsClearedEmail):
|
|
18
|
+
*
|
|
19
|
+
* - for one person, on the user's Authentication page (Clear Sign-In
|
|
20
|
+
* Settings): POST /user/:userId/clear-local-sign-in. Never their own
|
|
21
|
+
* account - their own settings are in User Profile, and clearing them
|
|
22
|
+
* here could leave a server that requires SSO with no master admin who
|
|
23
|
+
* can sign in with a password. A master admin's is cleared only when the
|
|
24
|
+
* request says so for that person (isMasterAdminConfirmed), after the
|
|
25
|
+
* dialog names them as one;
|
|
26
|
+
* - for everyone the server's requirement covers, on the Require SSO card
|
|
27
|
+
* while it is on: GET /global-config/saved-sign-in-settings counts the
|
|
28
|
+
* people - never master admins - who still have any, and POST
|
|
29
|
+
* /global-config/saved-sign-in-settings/clear clears all of theirs.
|
|
30
|
+
* Refused while the server does not require SSO: these settings still
|
|
31
|
+
* sign people in then. Master admins are never among them, whatever
|
|
32
|
+
* they are when the clear reaches them.
|
|
33
|
+
*
|
|
34
|
+
* WHAT IS CLEARED: the password, with any password reset link or sign-in
|
|
35
|
+
* link already sent; every passkey and security key; every authenticator
|
|
36
|
+
* app, set up or not; every backup code; and two-factor authentication,
|
|
37
|
+
* turned off - with nothing behind it, it would only send them through
|
|
38
|
+
* setting up a second step again. The sessions they signed in to without
|
|
39
|
+
* single sign-on end, since what they were signed in with is gone; a
|
|
40
|
+
* session signed in with SSO stays. Each person cleared gets an entry in
|
|
41
|
+
* the audit log of every project they are a member of: an Update of the
|
|
42
|
+
* User, by the master admin, naming what was removed
|
|
43
|
+
* (Types/AuditLog/AuditLogSignInSettingsCleared).
|
|
44
|
+
*
|
|
45
|
+
* It cannot be undone, and it locks nobody out: someone who needs a
|
|
46
|
+
* password again - the server stopped requiring SSO - sets one with Forgot
|
|
47
|
+
* password? (an account with no password is mailed the link to set its
|
|
48
|
+
* first), as for an account made by an invitation.
|
|
49
|
+
*/
|
|
50
|
+
// POST /user/:userId/<this>, under the API's address (APP_API_URL).
|
|
51
|
+
exports.CLEAR_LOCAL_SIGN_IN_ACTION = "clear-local-sign-in";
|
|
52
|
+
// The Require SSO card's count, and its clear, under the API's address.
|
|
53
|
+
exports.SAVED_SIGN_IN_SETTINGS_ROUTE = "/global-config/saved-sign-in-settings";
|
|
54
|
+
exports.CLEAR_SAVED_SIGN_IN_SETTINGS_ROUTE = "/global-config/saved-sign-in-settings/clear";
|
|
55
|
+
/*
|
|
56
|
+
* AN ORGANIZATION'S OWN CLEAR (#9820). A project that requires SSO and
|
|
57
|
+
* manages its people's sign-in with it (Project.manageSignInWithSso) can
|
|
58
|
+
* clear what its people saved before, from Project Settings > Security >
|
|
59
|
+
* SSO - but only for people whose every project, an invitation not yet
|
|
60
|
+
* accepted included, manages sign-in with SSO and is one the clearing
|
|
61
|
+
* person owns: "the same organization" is the projects an owner owns
|
|
62
|
+
* (Server/Utils/ProjectSignInClearing says why, and what else it holds
|
|
63
|
+
* to). Under the API's address, the project's id in the path:
|
|
64
|
+
*
|
|
65
|
+
* GET /project/:projectId/saved-sign-in-settings - how many
|
|
66
|
+
* POST /project/:projectId/saved-sign-in-settings/clear - clear them
|
|
67
|
+
*
|
|
68
|
+
* Answered as the server's own are: SavedSignInSettingsAnswer and
|
|
69
|
+
* ClearSavedSignInSettingsAnswer below.
|
|
70
|
+
*/
|
|
71
|
+
exports.PROJECT_SAVED_SIGN_IN_SETTINGS_ACTION = "saved-sign-in-settings";
|
|
72
|
+
exports.PROJECT_CLEAR_SAVED_SIGN_IN_SETTINGS_ACTION = "saved-sign-in-settings/clear";
|
|
73
|
+
// The two routes for one project, under the API's address.
|
|
74
|
+
const getProjectSavedSignInSettingsRoute = (projectId) => {
|
|
75
|
+
return `/project/${projectId}/${exports.PROJECT_SAVED_SIGN_IN_SETTINGS_ACTION}`;
|
|
76
|
+
};
|
|
77
|
+
exports.getProjectSavedSignInSettingsRoute = getProjectSavedSignInSettingsRoute;
|
|
78
|
+
const getProjectClearSavedSignInSettingsRoute = (projectId) => {
|
|
79
|
+
return `/project/${projectId}/${exports.PROJECT_CLEAR_SAVED_SIGN_IN_SETTINGS_ACTION}`;
|
|
80
|
+
};
|
|
81
|
+
exports.getProjectClearSavedSignInSettingsRoute = getProjectClearSavedSignInSettingsRoute;
|
|
82
|
+
exports.CLEAR_PROJECT_SIGN_IN_NEEDS_MANAGED_SSO_MESSAGE = "This project does not manage its people's sign-in with SSO, so their passwords and second steps still sign them in. Turn on Require SSO to Sign In and Manage Sign-In with SSO first.";
|
|
83
|
+
exports.CLEAR_PROJECT_SIGN_IN_OWNERS_ONLY_MESSAGE = "Only Project Owners can clear the sign-in settings this project's people saved.";
|
|
84
|
+
exports.CLEAR_SAVED_SIGN_IN_SETTINGS_NEEDS_SSO_REQUIRED_MESSAGE = "Single sign-on is not required, so these passwords and second steps still sign people in. Turn on Require SSO to Sign In first.";
|
|
85
|
+
exports.CLEAR_MASTER_ADMIN_SIGN_IN_NOT_CONFIRMED_MESSAGE = "This person is a master admin. Confirm that you mean to clear a master admin's sign-in settings, then try again.";
|
|
86
|
+
exports.CLEAR_OWN_SIGN_IN_MESSAGE = "You cannot clear your own sign-in settings here. Change them in User Profile, under Security.";
|
|
87
|
+
// Nothing saved: the person has nothing to clear.
|
|
88
|
+
exports.NO_LOCAL_SIGN_IN_SETTINGS = {
|
|
89
|
+
hasPassword: false,
|
|
90
|
+
isTwoFactorAuthEnabled: false,
|
|
91
|
+
authenticatorAppCount: 0,
|
|
92
|
+
passkeyAndSecurityKeyCount: 0,
|
|
93
|
+
backupCodeCount: 0,
|
|
94
|
+
};
|
|
95
|
+
// Whether a person has anything saved to clear.
|
|
96
|
+
const hasLocalSignInSettings = (settings) => {
|
|
97
|
+
return (settings.hasPassword ||
|
|
98
|
+
settings.isTwoFactorAuthEnabled ||
|
|
99
|
+
settings.authenticatorAppCount > 0 ||
|
|
100
|
+
settings.passkeyAndSecurityKeyCount > 0 ||
|
|
101
|
+
settings.backupCodeCount > 0);
|
|
102
|
+
};
|
|
103
|
+
exports.hasLocalSignInSettings = hasLocalSignInSettings;
|
|
104
|
+
const readCount = (value) => {
|
|
105
|
+
return typeof value === "number" && Number.isInteger(value) && value >= 0
|
|
106
|
+
? value
|
|
107
|
+
: null;
|
|
108
|
+
};
|
|
109
|
+
const readObject = (value) => {
|
|
110
|
+
return value && typeof value === "object" && !Array.isArray(value)
|
|
111
|
+
? value
|
|
112
|
+
: null;
|
|
113
|
+
};
|
|
114
|
+
// What a person had, as an answer carries it, or null for anything else.
|
|
115
|
+
const readLocalSignInSettings = (value) => {
|
|
116
|
+
const settings = readObject(value);
|
|
117
|
+
if (!settings) {
|
|
118
|
+
return null;
|
|
119
|
+
}
|
|
120
|
+
const authenticatorAppCount = readCount(settings["authenticatorAppCount"]);
|
|
121
|
+
const passkeyAndSecurityKeyCount = readCount(settings["passkeyAndSecurityKeyCount"]);
|
|
122
|
+
const backupCodeCount = readCount(settings["backupCodeCount"]);
|
|
123
|
+
if (typeof settings["hasPassword"] !== "boolean" ||
|
|
124
|
+
typeof settings["isTwoFactorAuthEnabled"] !== "boolean" ||
|
|
125
|
+
authenticatorAppCount === null ||
|
|
126
|
+
passkeyAndSecurityKeyCount === null ||
|
|
127
|
+
backupCodeCount === null) {
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
hasPassword: settings["hasPassword"],
|
|
132
|
+
isTwoFactorAuthEnabled: settings["isTwoFactorAuthEnabled"],
|
|
133
|
+
authenticatorAppCount: authenticatorAppCount,
|
|
134
|
+
passkeyAndSecurityKeyCount: passkeyAndSecurityKeyCount,
|
|
135
|
+
backupCodeCount: backupCodeCount,
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
exports.readLocalSignInSettings = readLocalSignInSettings;
|
|
139
|
+
// The clear's answer, or null for anything it would not answer.
|
|
140
|
+
const readClearLocalSignInAnswer = (value) => {
|
|
141
|
+
const answer = readObject(value);
|
|
142
|
+
if (!answer) {
|
|
143
|
+
return null;
|
|
144
|
+
}
|
|
145
|
+
const cleared = (0, exports.readLocalSignInSettings)(answer["cleared"]);
|
|
146
|
+
const sessionsEnded = readCount(answer["sessionsEnded"]);
|
|
147
|
+
if (!cleared || sessionsEnded === null) {
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
150
|
+
return { cleared: cleared, sessionsEnded: sessionsEnded };
|
|
151
|
+
};
|
|
152
|
+
exports.readClearLocalSignInAnswer = readClearLocalSignInAnswer;
|
|
153
|
+
// The Require SSO card's count, or null for anything it would not answer.
|
|
154
|
+
const readSavedSignInSettingsAnswer = (value) => {
|
|
155
|
+
var _a;
|
|
156
|
+
const peopleCount = readCount((_a = readObject(value)) === null || _a === void 0 ? void 0 : _a["peopleCount"]);
|
|
157
|
+
return peopleCount === null ? null : { peopleCount: peopleCount };
|
|
158
|
+
};
|
|
159
|
+
exports.readSavedSignInSettingsAnswer = readSavedSignInSettingsAnswer;
|
|
160
|
+
// The Require SSO card's clear, or null for anything it would not answer.
|
|
161
|
+
const readClearSavedSignInSettingsAnswer = (value) => {
|
|
162
|
+
var _a;
|
|
163
|
+
const peopleCleared = readCount((_a = readObject(value)) === null || _a === void 0 ? void 0 : _a["peopleCleared"]);
|
|
164
|
+
return peopleCleared === null ? null : { peopleCleared: peopleCleared };
|
|
165
|
+
};
|
|
166
|
+
exports.readClearSavedSignInSettingsAnswer = readClearSavedSignInSettingsAnswer;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import commonJsModule from "./LocalSignInClearing.js";
|
|
2
|
+
export const CLEAR_LOCAL_SIGN_IN_ACTION = commonJsModule.CLEAR_LOCAL_SIGN_IN_ACTION;
|
|
3
|
+
export const CLEAR_MASTER_ADMIN_SIGN_IN_NOT_CONFIRMED_MESSAGE = commonJsModule.CLEAR_MASTER_ADMIN_SIGN_IN_NOT_CONFIRMED_MESSAGE;
|
|
4
|
+
export const CLEAR_OWN_SIGN_IN_MESSAGE = commonJsModule.CLEAR_OWN_SIGN_IN_MESSAGE;
|
|
5
|
+
export const CLEAR_PROJECT_SIGN_IN_NEEDS_MANAGED_SSO_MESSAGE = commonJsModule.CLEAR_PROJECT_SIGN_IN_NEEDS_MANAGED_SSO_MESSAGE;
|
|
6
|
+
export const CLEAR_PROJECT_SIGN_IN_OWNERS_ONLY_MESSAGE = commonJsModule.CLEAR_PROJECT_SIGN_IN_OWNERS_ONLY_MESSAGE;
|
|
7
|
+
export const CLEAR_SAVED_SIGN_IN_SETTINGS_NEEDS_SSO_REQUIRED_MESSAGE = commonJsModule.CLEAR_SAVED_SIGN_IN_SETTINGS_NEEDS_SSO_REQUIRED_MESSAGE;
|
|
8
|
+
export const CLEAR_SAVED_SIGN_IN_SETTINGS_ROUTE = commonJsModule.CLEAR_SAVED_SIGN_IN_SETTINGS_ROUTE;
|
|
9
|
+
export const NO_LOCAL_SIGN_IN_SETTINGS = commonJsModule.NO_LOCAL_SIGN_IN_SETTINGS;
|
|
10
|
+
export const PROJECT_CLEAR_SAVED_SIGN_IN_SETTINGS_ACTION = commonJsModule.PROJECT_CLEAR_SAVED_SIGN_IN_SETTINGS_ACTION;
|
|
11
|
+
export const PROJECT_SAVED_SIGN_IN_SETTINGS_ACTION = commonJsModule.PROJECT_SAVED_SIGN_IN_SETTINGS_ACTION;
|
|
12
|
+
export const SAVED_SIGN_IN_SETTINGS_ROUTE = commonJsModule.SAVED_SIGN_IN_SETTINGS_ROUTE;
|
|
13
|
+
export const getProjectClearSavedSignInSettingsRoute = commonJsModule.getProjectClearSavedSignInSettingsRoute;
|
|
14
|
+
export const getProjectSavedSignInSettingsRoute = commonJsModule.getProjectSavedSignInSettingsRoute;
|
|
15
|
+
export const hasLocalSignInSettings = commonJsModule.hasLocalSignInSettings;
|
|
16
|
+
export const readClearLocalSignInAnswer = commonJsModule.readClearLocalSignInAnswer;
|
|
17
|
+
export const readClearSavedSignInSettingsAnswer = commonJsModule.readClearSavedSignInSettingsAnswer;
|
|
18
|
+
export const readLocalSignInSettings = commonJsModule.readLocalSignInSettings;
|
|
19
|
+
export const readSavedSignInSettingsAnswer = commonJsModule.readSavedSignInSettingsAnswer;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import ObjectID from "../ObjectID.mjs";
|
|
1
2
|
import SsoProviderType from "./SsoProviderType.mjs";
|
|
2
3
|
export interface SsoSignInProvider {
|
|
3
4
|
type: SsoProviderType;
|
|
@@ -18,6 +19,10 @@ export declare const SSO_REQUIRED_SIGN_IN_MESSAGE: string;
|
|
|
18
19
|
export declare const SSO_REQUIRED_SIGN_UP_MESSAGE: string;
|
|
19
20
|
export declare const MASTER_ADMIN_SIGN_IN_ROUTE: string;
|
|
20
21
|
export declare const MASTER_ADMIN_SIGN_IN_PATH: string;
|
|
22
|
+
export declare const PROJECT_SIGN_IN_METHODS_ROUTE: string;
|
|
23
|
+
export declare const getProjectSignInMethodsRoute: (projectId: ObjectID | string) => string;
|
|
24
|
+
export declare const PROJECT_SSO_SIGN_IN_PATH: string;
|
|
25
|
+
export declare const getProjectSsoSignInRoute: (projectId: ObjectID | string) => string;
|
|
21
26
|
export declare const GLOBAL_SSO_PROVIDER_TYPES: ReadonlyArray<SsoProviderType>;
|
|
22
27
|
export declare const PROJECT_SSO_PROVIDER_TYPES: ReadonlyArray<SsoProviderType>;
|
|
23
28
|
export default class SignInMethodsUtil {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import ObjectID from "../ObjectID";
|
|
1
2
|
import SsoProviderType from "./SsoProviderType";
|
|
2
3
|
export interface SsoSignInProvider {
|
|
3
4
|
type: SsoProviderType;
|
|
@@ -18,6 +19,10 @@ export declare const SSO_REQUIRED_SIGN_IN_MESSAGE: string;
|
|
|
18
19
|
export declare const SSO_REQUIRED_SIGN_UP_MESSAGE: string;
|
|
19
20
|
export declare const MASTER_ADMIN_SIGN_IN_ROUTE: string;
|
|
20
21
|
export declare const MASTER_ADMIN_SIGN_IN_PATH: string;
|
|
22
|
+
export declare const PROJECT_SIGN_IN_METHODS_ROUTE: string;
|
|
23
|
+
export declare const getProjectSignInMethodsRoute: (projectId: ObjectID | string) => string;
|
|
24
|
+
export declare const PROJECT_SSO_SIGN_IN_PATH: string;
|
|
25
|
+
export declare const getProjectSsoSignInRoute: (projectId: ObjectID | string) => string;
|
|
21
26
|
export declare const GLOBAL_SSO_PROVIDER_TYPES: ReadonlyArray<SsoProviderType>;
|
|
22
27
|
export declare const PROJECT_SSO_PROVIDER_TYPES: ReadonlyArray<SsoProviderType>;
|
|
23
28
|
export default class SignInMethodsUtil {
|