@oneuptime/common 14.0.104 → 14.0.106
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/CloudCost.d.mts +2 -0
- package/Models/AnalyticsModels/CloudCost.d.ts +2 -0
- package/Models/AnalyticsModels/CloudCost.js +27 -0
- package/Models/AnalyticsModels/Index.js +8 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.mts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.ts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +410 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.mjs +11 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.mts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.ts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +210 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.mjs +2 -0
- package/Models/AnalyticsModels/RumSession.js +66 -12
- package/Models/AnalyticsModels/RumSessionChunk.js +30 -2
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +24 -9
- package/Models/DatabaseModels/AIRun.d.mts +4 -0
- package/Models/DatabaseModels/AIRun.d.ts +4 -0
- package/Models/DatabaseModels/AIRun.js +107 -0
- package/Models/DatabaseModels/Alert.d.mts +2 -0
- package/Models/DatabaseModels/Alert.d.ts +2 -0
- package/Models/DatabaseModels/Alert.js +70 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +85 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AuditLogExport.d.mts +1 -0
- package/Models/DatabaseModels/AuditLogExport.d.ts +1 -0
- package/Models/DatabaseModels/AuditLogExport.js +32 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.mts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.ts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.js +109 -0
- package/Models/DatabaseModels/CephCluster.d.mts +1 -0
- package/Models/DatabaseModels/CephCluster.d.ts +1 -0
- package/Models/DatabaseModels/CephCluster.js +36 -0
- package/Models/DatabaseModels/CloudAccount.d.mts +2 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +2 -0
- package/Models/DatabaseModels/CloudAccount.js +48 -0
- package/Models/DatabaseModels/CloudBudget.d.mts +1 -0
- package/Models/DatabaseModels/CloudBudget.d.ts +1 -0
- package/Models/DatabaseModels/CloudBudget.js +38 -3
- package/Models/DatabaseModels/CloudConnection.d.mts +1 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +1 -0
- package/Models/DatabaseModels/CloudConnection.js +27 -6
- package/Models/DatabaseModels/CloudCostRecommendation.d.mts +2 -0
- package/Models/DatabaseModels/CloudCostRecommendation.d.ts +2 -0
- package/Models/DatabaseModels/CloudCostRecommendation.js +30 -2
- package/Models/DatabaseModels/CodeRepository.js +23 -6
- package/Models/DatabaseModels/DataStoreFinding.js +8 -2
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +21 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.js +35 -1
- package/Models/DatabaseModels/DatabaseServer.d.mts +1 -0
- package/Models/DatabaseModels/DatabaseServer.d.ts +1 -0
- package/Models/DatabaseModels/DatabaseServer.js +36 -0
- package/Models/DatabaseModels/DetectionRule.js +8 -7
- package/Models/DatabaseModels/DockerHost.d.mts +1 -0
- package/Models/DatabaseModels/DockerHost.d.ts +1 -0
- package/Models/DatabaseModels/DockerHost.js +36 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.mts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.ts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.js +36 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +36 -1
- package/Models/DatabaseModels/GlobalConfig.d.ts +36 -1
- package/Models/DatabaseModels/GlobalConfig.js +635 -2
- package/Models/DatabaseModels/Host.d.mts +1 -0
- package/Models/DatabaseModels/Host.d.ts +1 -0
- package/Models/DatabaseModels/Host.js +36 -0
- package/Models/DatabaseModels/Incident.d.mts +2 -0
- package/Models/DatabaseModels/Incident.d.ts +2 -0
- package/Models/DatabaseModels/Incident.js +70 -0
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.js +7 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.js +185 -0
- package/Models/DatabaseModels/IncidentFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentFeed.js +7 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +85 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.js +185 -0
- package/Models/DatabaseModels/Index.js +24 -0
- package/Models/DatabaseModels/KubernetesCluster.d.mts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.d.ts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.js +36 -0
- package/Models/DatabaseModels/LlmProvider.d.mts +1 -0
- package/Models/DatabaseModels/LlmProvider.d.ts +1 -0
- package/Models/DatabaseModels/LlmProvider.js +39 -0
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +98 -2
- package/Models/DatabaseModels/NetworkDeviceDiscoveryImport.js +11 -6
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +48 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +54 -0
- package/Models/DatabaseModels/OpenStackCloud.d.mts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.d.ts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.js +27 -0
- package/Models/DatabaseModels/PacketCapture.js +3 -1
- package/Models/DatabaseModels/PodmanHost.d.mts +1 -0
- package/Models/DatabaseModels/PodmanHost.d.ts +1 -0
- package/Models/DatabaseModels/PodmanHost.js +36 -0
- package/Models/DatabaseModels/Project.d.mts +19 -0
- package/Models/DatabaseModels/Project.d.ts +19 -0
- package/Models/DatabaseModels/Project.js +541 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.mts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.ts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.js +335 -1
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +36 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.mts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.ts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.js +460 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.mjs +3 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.mts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.ts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +363 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.mjs +2 -0
- package/Models/DatabaseModels/RumApplication.d.mts +6 -0
- package/Models/DatabaseModels/RumApplication.d.ts +6 -0
- package/Models/DatabaseModels/RumApplication.js +202 -2
- package/Models/DatabaseModels/ScheduledMaintenance.d.mts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.d.ts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +63 -0
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.mts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.ts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.js +7 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +185 -0
- package/Models/DatabaseModels/ServerlessFunction.js +10 -2
- package/Models/DatabaseModels/ServiceLevelObjective.d.mts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.d.ts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.js +174 -3
- package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +1 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.mts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.ts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +1674 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.mjs +2 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.mts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.ts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.js +14 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +199 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.mts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.ts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +297 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.mjs +2 -0
- package/Models/DatabaseModels/TelemetryUsageBilling.js +35 -122
- package/Models/DatabaseModels/User.d.mts +1 -0
- package/Models/DatabaseModels/User.d.ts +1 -0
- package/Models/DatabaseModels/User.js +29 -0
- package/Models/DatabaseModels/UserSession.js +10 -4
- package/Models/DatabaseModels/VMwareVCenter.d.mts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.d.ts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.js +36 -0
- package/Models/DatabaseModels/Workflow.d.mts +1 -0
- package/Models/DatabaseModels/Workflow.d.ts +1 -0
- package/Models/DatabaseModels/Workflow.js +45 -0
- package/Models/DatabaseModels/WorkflowVersion.d.mts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.d.ts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.js +529 -0
- package/Models/DatabaseModels/WorkflowVersion.mjs +2 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.js +499 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.mts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.ts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.js +537 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.mjs +2 -0
- package/Server/Services/DatabaseService.d.mts +4 -0
- package/Server/Services/DatabaseService.d.ts +4 -0
- package/Server/Types/Database/UpdateByID.d.mts +1 -0
- package/Server/Types/Database/UpdateByID.d.ts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.mts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.ts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +7 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +7 -1
- package/Types/AI/AIActionWords.d.mts +16 -0
- package/Types/AI/AIActionWords.d.ts +16 -0
- package/Types/AI/AIActionWords.js +105 -1
- package/Types/AI/AIActionWords.mjs +3 -0
- package/Types/AI/AIAgentRunLimits.d.mts +76 -13
- package/Types/AI/AIAgentRunLimits.d.ts +76 -13
- package/Types/AI/AIAgentRunLimits.js +434 -51
- package/Types/AI/AIAgentRunLimits.mjs +10 -2
- package/Types/AI/AIChatRecordSeen.d.mts +49 -0
- package/Types/AI/AIChatRecordSeen.d.ts +49 -0
- package/Types/AI/AIChatRecordSeen.js +337 -0
- package/Types/AI/AIChatRecordSeen.mjs +12 -0
- package/Types/AI/AIChatTypes.d.mts +7 -0
- package/Types/AI/AIChatTypes.d.ts +7 -0
- package/Types/AI/AIChatTypes.js +15 -1
- package/Types/AI/AIChatTypes.mjs +1 -0
- package/Types/AI/AIRunAttempt.d.mts +30 -0
- package/Types/AI/AIRunAttempt.d.ts +30 -0
- package/Types/AI/AIRunAttempt.js +175 -0
- package/Types/AI/AIRunAttempt.mjs +5 -0
- package/Types/AI/AIRunEventType.d.mts +3 -0
- package/Types/AI/AIRunEventType.d.ts +3 -0
- package/Types/AI/AIRunEventType.js +28 -0
- package/Types/AI/AIRunStatus.d.mts +2 -0
- package/Types/AI/AIRunStatus.d.ts +2 -0
- package/Types/AI/AIRunStatus.js +12 -0
- package/Types/AI/AgentLoopDetector.d.mts +29 -0
- package/Types/AI/AgentLoopDetector.d.ts +29 -0
- package/Types/AI/AgentLoopDetector.js +196 -0
- package/Types/AI/AgentLoopDetector.mjs +9 -0
- package/Types/AI/CodeAgentRunLimits.d.mts +28 -0
- package/Types/AI/CodeAgentRunLimits.d.ts +28 -0
- package/Types/AI/CodeAgentRunLimits.js +163 -0
- package/Types/AI/CodeAgentRunLimits.mjs +2 -0
- package/Types/AI/CodeFixTaskContext.d.mts +2 -0
- package/Types/AI/CodeFixTaskContext.d.ts +2 -0
- package/Types/AI/CodeTask.d.mts +20 -0
- package/Types/AI/CodeTask.d.ts +20 -0
- package/Types/AI/CodeTask.js +23 -1
- package/Types/AI/CodeTask.mjs +4 -0
- package/Types/AI/CodeTaskRetry.d.mts +21 -0
- package/Types/AI/CodeTaskRetry.d.ts +21 -0
- package/Types/AI/CodeTaskRetry.js +61 -0
- package/Types/AI/CodeTaskRetry.mjs +4 -0
- package/Types/AI/CodeTaskStage.d.mts +19 -0
- package/Types/AI/CodeTaskStage.d.ts +19 -0
- package/Types/AI/CodeTaskStage.js +78 -0
- package/Types/AI/CodeTaskStage.mjs +3 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.mts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.ts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.js +6 -4
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.mjs +0 -1
- package/Types/AI/ProjectAiRunLimits.d.mts +24 -0
- package/Types/AI/ProjectAiRunLimits.d.ts +24 -0
- package/Types/AI/ProjectAiRunLimits.js +137 -0
- package/Types/AI/ProjectAiRunLimits.mjs +9 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +1 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +1 -0
- package/Types/AI/ResourceAiAccessApi.js +6 -1
- package/Types/AI/ResourceAiAccessApi.mjs +1 -0
- package/Types/AI/ResourceAiAccessPermissions.d.mts +2 -0
- package/Types/AI/ResourceAiAccessPermissions.d.ts +2 -0
- package/Types/AI/ResourceAiAccessPermissions.js +13 -0
- package/Types/AI/ResourceAiAccessPermissions.mjs +2 -0
- package/Types/AI/TransientAIFailure.d.mts +16 -0
- package/Types/AI/TransientAIFailure.d.ts +16 -0
- package/Types/AI/TransientAIFailure.js +228 -0
- package/Types/AI/TransientAIFailure.mjs +4 -0
- package/Types/Accounts/AccountsLanguage.js +1 -0
- package/Types/AdminDashboard/AdminDashboardLanguage.js +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.mts +3 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.ts +3 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.js +16 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +40 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +40 -0
- package/Types/AuditLog/AuditLogCoverage.js +804 -0
- package/Types/AuditLog/AuditLogCoverage.mjs +17 -0
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.mts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.ts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.js +92 -8
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.mjs +5 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.js +86 -29
- package/Types/AuditLog/Export/AuditLogExportRecord.mjs +7 -0
- package/Types/AutoRemediation/RemediationApprovals.d.mts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.d.ts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.js +92 -0
- package/Types/AutoRemediation/RemediationApprovals.mjs +7 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +56 -0
- package/Types/AutoRemediation/RemediationRound.d.ts +56 -0
- package/Types/AutoRemediation/RemediationRound.js +242 -0
- package/Types/AutoRemediation/RemediationRound.mjs +22 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.mts +1 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.ts +1 -0
- package/Types/BaseDatabase/WriteSource.d.mts +6 -0
- package/Types/BaseDatabase/WriteSource.d.ts +6 -0
- package/Types/BaseDatabase/WriteSource.js +25 -0
- package/Types/BaseDatabase/WriteSource.mjs +4 -0
- package/Types/Cloud/CloudCommitments.d.mts +74 -0
- package/Types/Cloud/CloudCommitments.d.ts +74 -0
- package/Types/Cloud/CloudCommitments.js +294 -0
- package/Types/Cloud/CloudCommitments.mjs +17 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.mts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.ts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.js +28 -0
- package/Types/Cloud/CloudConnectionTelemetry.mjs +3 -0
- package/Types/Cloud/CloudCost.d.mts +30 -0
- package/Types/Cloud/CloudCost.d.ts +30 -0
- package/Types/Cloud/CloudCost.js +163 -1
- package/Types/Cloud/CloudCost.mjs +8 -0
- package/Types/Cloud/CloudCostAnomaly.d.mts +34 -0
- package/Types/Cloud/CloudCostAnomaly.d.ts +34 -0
- package/Types/Cloud/CloudCostAnomaly.js +236 -0
- package/Types/Cloud/CloudCostAnomaly.mjs +18 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +13 -0
- package/Types/Cloud/CloudKeyMetrics.d.ts +13 -0
- package/Types/Cloud/CloudKeyMetrics.js +174 -1
- package/Types/Cloud/CloudKeyMetrics.mjs +10 -0
- package/Types/Cloud/CloudLogGroups.d.mts +33 -2
- package/Types/Cloud/CloudLogGroups.d.ts +33 -2
- package/Types/Cloud/CloudLogGroups.js +245 -8
- package/Types/Cloud/CloudLogGroups.mjs +12 -0
- package/Types/Cloud/CloudMonitoredResource.d.mts +1 -0
- package/Types/Cloud/CloudMonitoredResource.d.ts +1 -0
- package/Types/Cloud/CloudMonitoredResource.js +23 -0
- package/Types/Cloud/CloudMonitoredResource.mjs +1 -0
- package/Types/Cloud/CloudPlatform.js +9 -8
- package/Types/Cloud/CloudPlatformCosts.d.mts +54 -0
- package/Types/Cloud/CloudPlatformCosts.d.ts +54 -0
- package/Types/Cloud/CloudPlatformCosts.js +249 -0
- package/Types/Cloud/CloudPlatformCosts.mjs +7 -0
- package/Types/Cloud/CloudResourceCatalog.js +10 -0
- package/Types/Cloud/CloudResourceHealth.d.mts +1 -0
- package/Types/Cloud/CloudResourceHealth.d.ts +1 -0
- package/Types/Cloud/CloudResourceHealth.js +4 -1
- package/Types/Cloud/CloudResourceMetricAggregation.d.mts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.d.ts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.js +140 -0
- package/Types/Cloud/CloudResourceMetricAggregation.mjs +4 -0
- package/Types/Cloud/CloudRightSizing.d.mts +140 -0
- package/Types/Cloud/CloudRightSizing.d.ts +140 -0
- package/Types/Cloud/CloudRightSizing.js +867 -0
- package/Types/Cloud/CloudRightSizing.mjs +53 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.mts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.ts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.js +182 -0
- package/Types/Cloud/CloudWatchLogSeverity.mjs +4 -0
- package/Types/Cloud/RdsConnectionLimits.d.mts +53 -0
- package/Types/Cloud/RdsConnectionLimits.d.ts +53 -0
- package/Types/Cloud/RdsConnectionLimits.js +404 -0
- package/Types/Cloud/RdsConnectionLimits.mjs +24 -0
- package/Types/CloudConnection/AwsStackSets.d.mts +51 -0
- package/Types/CloudConnection/AwsStackSets.d.ts +51 -0
- package/Types/CloudConnection/AwsStackSets.js +188 -0
- package/Types/CloudConnection/AwsStackSets.mjs +15 -0
- package/Types/CloudConnection/CloudAiAgentKey.d.mts +65 -0
- package/Types/CloudConnection/CloudAiAgentKey.d.ts +65 -0
- package/Types/CloudConnection/CloudAiAgentKey.js +289 -0
- package/Types/CloudConnection/CloudAiAgentKey.mjs +18 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +38 -2
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +38 -2
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +580 -94
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +20 -1
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +31 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +2 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +24 -7
- package/Types/CloudConnection/CloudOrganizationAgents.d.mts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.d.ts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.js +182 -0
- package/Types/CloudConnection/CloudOrganizationAgents.mjs +12 -0
- package/Types/CloudConnection/CloudStream.d.mts +50 -1
- package/Types/CloudConnection/CloudStream.d.ts +50 -1
- package/Types/CloudConnection/CloudStream.js +333 -23
- package/Types/CloudConnection/CloudStream.mjs +35 -0
- package/Types/CloudConnection/CloudStreamAzure.d.mts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.d.ts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.js +418 -0
- package/Types/CloudConnection/CloudStreamAzure.mjs +35 -0
- package/Types/CloudConnection/CloudStreamGcp.d.mts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.d.ts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.js +247 -0
- package/Types/CloudConnection/CloudStreamGcp.mjs +25 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.mts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.ts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.js +176 -0
- package/Types/CloudConnection/CloudStreamOrganization.mjs +9 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +5 -5
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +5 -5
- package/Types/CloudConnection/CloudStreamTemplate.js +99 -26
- package/Types/CloudConnection/CloudStreamTemplate.mjs +2 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.mts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.ts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.js +12 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.mjs +2 -0
- package/Types/CodeRepository/CodeFileSeen.d.mts +106 -0
- package/Types/CodeRepository/CodeFileSeen.d.ts +106 -0
- package/Types/CodeRepository/CodeFileSeen.js +523 -0
- package/Types/CodeRepository/CodeFileSeen.mjs +17 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.mts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.ts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.js +135 -0
- package/Types/CodeRepository/CodeFileValuesHidden.mjs +6 -0
- package/Types/CodeRepository/CodeHost.d.mts +15 -0
- package/Types/CodeRepository/CodeHost.d.ts +15 -0
- package/Types/CodeRepository/CodeHost.js +195 -6
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +3 -0
- package/Types/Dashboard/DashboardComponentType.d.mts +2 -0
- package/Types/Dashboard/DashboardComponentType.d.ts +2 -0
- package/Types/Dashboard/DashboardComponentType.js +24 -1
- package/Types/Dashboard/DashboardComponentType.mjs +2 -0
- package/Types/Dashboard/DashboardLanguage.js +1 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.mts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.ts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.js +501 -0
- package/Types/Dashboard/PublicDashboardServedSettings.mjs +12 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +17 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +17 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +5 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +1 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.js +163 -0
- package/Types/DataObservability/DataObservabilityAttention.mjs +12 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +4 -0
- package/Types/Database/EnableAuditLog.js +3 -0
- package/Types/Date.d.mts +9 -0
- package/Types/Date.d.ts +9 -0
- package/Types/Date.js +57 -8
- package/Types/DateLanguage.d.mts +3 -0
- package/Types/DateLanguage.d.ts +3 -0
- package/Types/DateLanguage.js +59 -10
- package/Types/DateLanguage.mjs +3 -0
- package/Types/Email/EmailServer.d.mts +7 -0
- package/Types/Email/EmailServer.d.ts +7 -0
- package/Types/Email/EmailTemplateType.d.mts +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +3 -0
- package/Types/Email/MailTransportType.d.mts +29 -9
- package/Types/Email/MailTransportType.d.ts +29 -9
- package/Types/Email/MailTransportType.js +56 -8
- package/Types/Email/MailTransportType.mjs +4 -0
- package/Types/Email/MailgunDomain.d.mts +2 -0
- package/Types/Email/MailgunDomain.d.ts +2 -0
- package/Types/Email/MailgunDomain.js +57 -0
- package/Types/Email/MailgunDomain.mjs +3 -0
- package/Types/Email/MailgunRegion.d.mts +8 -0
- package/Types/Email/MailgunRegion.d.ts +8 -0
- package/Types/Email/MailgunRegion.js +32 -0
- package/Types/Email/MailgunRegion.mjs +5 -0
- package/Types/Exception/ConflictException.d.mts +6 -0
- package/Types/Exception/ConflictException.d.ts +6 -0
- package/Types/Exception/ConflictException.js +30 -0
- package/Types/Exception/ConflictException.mjs +2 -0
- package/Types/Exception/ExceptionCode.d.mts +1 -0
- package/Types/Exception/ExceptionCode.d.ts +1 -0
- package/Types/Exception/ExceptionCode.js +2 -0
- package/Types/InstallScripts/InstallScripts.js +1 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.mts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.ts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.js +7 -6
- package/Types/Kubernetes/KubernetesClusterAiAccess.mjs +0 -1
- package/Types/Kubernetes/KubernetesEvent.js +5 -4
- package/Types/LlmObservability/LlmConnectionCatalog.d.mts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.d.ts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.js +35 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.ts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.js +4 -2
- package/Types/LlmObservability/LlmConnectionRecords.d.mts +7 -0
- package/Types/LlmObservability/LlmConnectionRecords.d.ts +7 -0
- package/Types/LlmObservability/LlmConnectionTest.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionTest.d.ts +1 -0
- package/Types/Log/LogEventName.d.mts +6 -0
- package/Types/Log/LogEventName.d.ts +6 -0
- package/Types/Log/LogEventName.js +59 -0
- package/Types/Log/LogEventName.mjs +4 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.mts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.ts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.js +51 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.mjs +4 -0
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.mts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.ts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.js +64 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.mts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.ts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.js +326 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.mjs +22 -0
- package/Types/MessageQueue/MessageQueueTopology.d.mts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.d.ts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.js +211 -0
- package/Types/MessageQueue/MessageQueueTopology.mjs +8 -0
- package/Types/MessageQueue/MessagingSystem.js +6 -2
- package/Types/Metrics/MetricsQuery.d.mts +1 -0
- package/Types/Metrics/MetricsQuery.d.ts +1 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +122 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +122 -0
- package/Types/Monitor/CloudAlertTemplates.js +2003 -0
- package/Types/Monitor/CloudAlertTemplates.mjs +26 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.js +331 -0
- package/Types/Monitor/CloudAppAlertTemplates.mjs +8 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.mts +1 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.ts +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +3 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +1 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MonitorEvaluationDetails.d.mts +80 -0
- package/Types/Monitor/MonitorEvaluationDetails.d.ts +80 -0
- package/Types/Monitor/MonitorEvaluationDetails.js +41 -0
- package/Types/Monitor/MonitorEvaluationDetails.mjs +3 -0
- 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/MonitorSummarySnapshot.d.mts +1 -0
- package/Types/Monitor/MonitorSummarySnapshot.d.ts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +113 -13
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +18 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.mts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.ts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +54 -1
- package/Types/Monitor/TelemetryAlertRule.js +19 -1
- package/Types/NetFlow/NetworkTrafficUsage.d.mts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.d.ts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.js +171 -1
- package/Types/NetFlow/NetworkTrafficUsage.mjs +11 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.mts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.ts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.js +107 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.mjs +8 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +105 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +105 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +407 -0
- package/Types/NetworkDevice/DiscoveredDevice.mjs +23 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.mts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.ts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.js +93 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.mjs +11 -0
- package/Types/NetworkDevice/DiscoveryImport.d.mts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.d.ts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.js +53 -1
- package/Types/NetworkDevice/DiscoveryImport.mjs +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.mts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.ts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.js +19 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.mjs +3 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +8 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +7 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +9 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.mts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.ts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.js +98 -11
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.mts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.ts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.js +331 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.mts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.ts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.js +21 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.mts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.ts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.mts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.ts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.js +388 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.mts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.js +172 -37
- package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +2 -0
- package/Types/Permission.d.mts +28 -0
- package/Types/Permission.d.ts +28 -0
- package/Types/Permission.js +288 -0
- package/Types/ProviderLogo/AllProviderLogoMarks.js +2 -0
- package/Types/ProviderLogo/Marks/cursor.d.mts +3 -0
- package/Types/ProviderLogo/Marks/cursor.d.ts +3 -0
- package/Types/ProviderLogo/Marks/cursor.js +12 -0
- package/Types/ProviderLogo/Marks/cursor.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +1 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +1 -0
- package/Types/ProviderLogo/ProviderLogo.js +2 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +4 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +4 -0
- package/Types/PushNotification/PushNotificationCategory.js +36 -12
- package/Types/PushNotification/PushNotificationCategory.mjs +2 -0
- package/Types/ReadingDirection.js +2 -2
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +10 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +10 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +42 -3
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +7 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +4 -2
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +4 -2
- package/Types/ResourceAiAgent/ResourceAiAccess.js +25 -7
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +3 -1
- package/Types/Rum/ProductAnalytics.d.mts +153 -0
- package/Types/Rum/ProductAnalytics.d.ts +153 -0
- package/Types/Rum/ProductAnalytics.js +204 -0
- package/Types/Rum/ProductAnalytics.mjs +36 -0
- package/Types/Rum/RumApplicationStatus.d.mts +30 -0
- package/Types/Rum/RumApplicationStatus.d.ts +30 -0
- package/Types/Rum/RumApplicationStatus.js +147 -0
- package/Types/Rum/RumApplicationStatus.mjs +14 -0
- package/Types/Rum/RumTelemetrySignal.d.mts +7 -0
- package/Types/Rum/RumTelemetrySignal.d.ts +7 -0
- package/Types/Rum/RumTelemetrySignal.js +30 -0
- package/Types/Rum/RumTelemetrySignal.mjs +3 -0
- package/Types/Rum/SessionReplay.d.mts +6 -0
- package/Types/Rum/SessionReplay.d.ts +6 -0
- package/Types/Rum/SessionReplayApi.d.mts +7 -0
- package/Types/Rum/SessionReplayApi.d.ts +7 -0
- package/Types/Rum/SessionReplayCustomEvents.d.mts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.d.ts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.js +11 -0
- package/Types/Rum/SessionReplayCustomEvents.mjs +1 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.mts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.ts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.js +349 -0
- package/Types/Rum/SessionReplayFrustrationSignals.mjs +22 -0
- package/Types/SecurityCase/SecurityCaseContext.d.mts +2 -1
- package/Types/SecurityCase/SecurityCaseContext.d.ts +2 -1
- package/Types/SecurityCase/SecurityConnection.d.mts +11 -1
- package/Types/SecurityCase/SecurityConnection.d.ts +11 -1
- package/Types/SecurityEvent/RealTimeDetection.d.mts +14 -5
- package/Types/SecurityEvent/RealTimeDetection.d.ts +14 -5
- package/Types/SecurityEvent/RealTimeDetection.js +75 -25
- package/Types/SecurityEvent/RealTimeDetection.mjs +3 -3
- package/Types/SecurityEvent/SecurityEventScope.d.mts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.d.ts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.js +109 -0
- package/Types/SecurityEvent/SecurityEventScope.mjs +8 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +4 -2
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +4 -2
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +22 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +7 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +7 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +96 -39
- package/Types/SecurityPlaybook/SecurityPlaybookStep.mjs +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.mts +17 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.ts +17 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.js +174 -33
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.mjs +7 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.mts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.ts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.js +153 -0
- package/Types/Serverless/ServerlessFunctionStatus.mjs +14 -0
- package/Types/Service/ServiceTelemetryStatus.d.mts +32 -0
- package/Types/Service/ServiceTelemetryStatus.d.ts +32 -0
- package/Types/Service/ServiceTelemetryStatus.js +138 -0
- package/Types/Service/ServiceTelemetryStatus.mjs +15 -0
- package/Types/StatusPage/PublicNoteApproval.d.mts +146 -0
- package/Types/StatusPage/PublicNoteApproval.d.ts +146 -0
- package/Types/StatusPage/PublicNoteApproval.js +473 -0
- package/Types/StatusPage/PublicNoteApproval.mjs +8 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.mts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.ts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.js +16 -0
- package/Types/StatusPage/StatusPageLanguage.js +1 -0
- package/Types/StatusPage/StatusPageReport.d.mts +3 -0
- package/Types/StatusPage/StatusPageReport.d.ts +3 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.mts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.ts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.js +2 -0
- package/Types/Table/DefaultTableColumns.d.mts +22 -0
- package/Types/Table/DefaultTableColumns.d.ts +22 -0
- package/Types/Table/DefaultTableColumns.js +166 -0
- package/Types/Table/DefaultTableColumns.mjs +6 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.mts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.ts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.js +96 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.mjs +2 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.mts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.ts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.js +72 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.mjs +4 -0
- package/Types/Telemetry/LlmConventions.d.mts +5 -0
- package/Types/Telemetry/LlmConventions.d.ts +5 -0
- package/Types/Telemetry/LlmConventions.js +51 -3
- package/Types/Telemetry/LlmConventions.mjs +5 -0
- package/Types/Telemetry/LlmConversationApi.d.mts +7 -0
- package/Types/Telemetry/LlmConversationApi.d.ts +7 -0
- package/Types/Telemetry/LlmConversationApi.js +37 -1
- package/Types/Telemetry/LlmConversationApi.mjs +2 -0
- package/Types/Telemetry/LlmMetricConventions.d.mts +10 -0
- package/Types/Telemetry/LlmMetricConventions.d.ts +10 -0
- package/Types/Telemetry/LlmMetricConventions.js +84 -14
- package/Types/Telemetry/LlmMetricConventions.mjs +3 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.mts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.ts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.js +73 -0
- package/Types/Telemetry/LlmMetricUsageApi.mjs +7 -0
- package/Types/Telemetry/LlmProviders.d.mts +23 -0
- package/Types/Telemetry/LlmProviders.d.ts +23 -0
- package/Types/Telemetry/LlmProviders.js +288 -0
- package/Types/Telemetry/LlmProviders.mjs +16 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.mts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.ts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.js +269 -0
- package/Types/Telemetry/LlmSetupCheckApi.mjs +11 -0
- package/Types/Telemetry/LlmUsageApi.d.mts +49 -0
- package/Types/Telemetry/LlmUsageApi.d.ts +49 -0
- package/Types/Telemetry/LlmUsageApi.js +131 -0
- package/Types/Telemetry/LlmUsageApi.mjs +10 -0
- package/Types/Telemetry/ScrubRule.js +2 -1
- package/Types/Telemetry/TelemetryIngestRefusal.d.mts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.d.ts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.js +81 -0
- package/Types/Telemetry/TelemetryIngestRefusal.mjs +7 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.js +600 -0
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +52 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.js +50 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.mjs +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.mts +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.ts +2 -0
- package/Types/Telemetry/TelemetryQuery.d.mts +3 -0
- package/Types/Telemetry/TelemetryQuery.d.ts +3 -0
- package/Types/Telemetry/TelemetryUsage.d.mts +79 -0
- package/Types/Telemetry/TelemetryUsage.d.ts +79 -0
- package/Types/Telemetry/TelemetryUsage.js +176 -0
- package/Types/Telemetry/TelemetryUsage.mjs +22 -0
- package/Types/Trace/TraceScrubPatternType.js +2 -1
- package/Types/Translator.d.mts +6 -0
- package/Types/Translator.d.ts +6 -0
- package/Types/Translator.js +113 -12
- package/Types/Translator.mjs +6 -0
- package/Types/UserLanguage.d.mts +7 -0
- package/Types/UserLanguage.d.ts +7 -0
- package/Types/UserLanguage.js +78 -0
- package/Types/UserLanguage.mjs +5 -0
- package/Types/Workflow/Components/OnCall.js +28 -1
- package/Types/Workflow/Components/OnCallPageSettings.d.mts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.d.ts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.js +25 -0
- package/Types/Workflow/Components/OnCallPageSettings.mjs +1 -0
- package/Types/Workflow/WorkflowDraft.d.mts +2 -0
- package/Types/Workflow/WorkflowDraft.d.ts +2 -0
- package/Types/Workflow/WorkflowDraft.js +32 -23
- package/Types/Workflow/WorkflowDraft.mjs +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.mts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.ts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.js +11 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.mjs +2 -0
- package/Types/Workflow/WorkflowDraftRebase.d.mts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.d.ts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.js +447 -0
- package/Types/Workflow/WorkflowDraftRebase.mjs +9 -0
- package/Types/Workflow/WorkflowDraftSeen.d.mts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.d.ts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.js +161 -0
- package/Types/Workflow/WorkflowDraftSeen.mjs +6 -0
- package/Types/Workflow/WorkflowGraphRevision.d.mts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.d.ts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.js +45 -0
- package/Types/Workflow/WorkflowGraphRevision.mjs +3 -0
- package/Types/Workflow/WorkflowVersion.d.mts +11 -0
- package/Types/Workflow/WorkflowVersion.d.ts +11 -0
- package/Types/Workflow/WorkflowVersion.js +63 -0
- package/Types/Workflow/WorkflowVersion.mjs +7 -0
- package/Utils/AI/InvestigationImpactNumbers.d.mts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.d.ts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.js +307 -0
- package/Utils/AI/InvestigationImpactNumbers.mjs +9 -0
- package/Utils/AI/InvestigationReport.d.mts +14 -0
- package/Utils/AI/InvestigationReport.d.ts +14 -0
- package/Utils/AI/InvestigationReport.js +136 -3
- package/Utils/AI/InvestigationReport.mjs +4 -0
- package/Utils/AiRemediation/CloudChangeWords.js +6 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.mts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.js +451 -0
- package/Utils/AiRemediation/DeclaredCodeChange.mjs +16 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +4 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +144 -11
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +1 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.mts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.ts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.js +331 -0
- package/Utils/AuditLog/AuditLogTypedValues.mjs +8 -0
- package/Utils/AuditLog/AuditLogValues.d.mts +25 -0
- package/Utils/AuditLog/AuditLogValues.d.ts +25 -0
- package/Utils/AuditLog/AuditLogValues.js +398 -0
- package/Utils/AuditLog/AuditLogValues.mjs +15 -0
- package/Utils/CronScheduleText.js +2 -2
- package/Utils/Dashboard/DashboardWidgetIds.d.mts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.d.ts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.js +136 -0
- package/Utils/Dashboard/DashboardWidgetIds.mjs +4 -0
- package/Utils/Dashboard/DashboardWidgetSorts.js +7 -1
- package/Utils/Dashboard/LabelVariable.js +12 -2
- package/Utils/Dashboard/SloWidgetSource.d.mts +2 -2
- package/Utils/Dashboard/SloWidgetSource.d.ts +2 -2
- package/Utils/Dashboard/SloWidgetSource.js +14 -3
- package/Utils/Dashboard/StoredDashboardViewConfig.d.mts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.d.ts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.js +124 -22
- package/Utils/Episode/EpisodeOpeningThreshold.d.mts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.d.ts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.js +64 -0
- package/Utils/Episode/EpisodeOpeningThreshold.mjs +7 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.mts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.ts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.js +24 -0
- package/Utils/LLM/LlmProviderResponseTimeout.mjs +4 -0
- package/Utils/LinearRegExp/PatternWork.d.mts +1 -0
- package/Utils/LinearRegExp/PatternWork.d.ts +1 -0
- package/Utils/LinearRegExp/PatternWork.js +10 -4
- package/Utils/LinearRegExp/PatternWork.mjs +1 -0
- package/Utils/Markdown/Base64Data.d.mts +8 -0
- package/Utils/Markdown/Base64Data.d.ts +8 -0
- package/Utils/Markdown/Base64Data.js +130 -0
- package/Utils/Markdown/Base64Data.mjs +4 -0
- package/Utils/Metrics/MetricExplorerUrl.d.mts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.d.ts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.js +14 -3
- package/Utils/Metrics/MetricFormulaEvaluator.d.mts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.d.ts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.js +112 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.mts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.ts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.js +335 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.mjs +2 -0
- package/Utils/Metrics/MetricQueryServices.d.mts +14 -0
- package/Utils/Metrics/MetricQueryServices.d.ts +14 -0
- package/Utils/Metrics/MetricQueryServices.js +121 -0
- package/Utils/Metrics/MetricQueryServices.mjs +2 -0
- package/Utils/Metrics/MetricWholeWindow.d.mts +11 -0
- package/Utils/Metrics/MetricWholeWindow.d.ts +11 -0
- package/Utils/Metrics/MetricWholeWindow.js +50 -0
- package/Utils/Metrics/MetricWholeWindow.mjs +2 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.mts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.ts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.js +154 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.mjs +2 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.mts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.ts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.js +59 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.mjs +2 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.mts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.ts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.js +81 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.mjs +2 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.mts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.ts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.js +78 -0
- package/Utils/Monitor/MonitorGroupMonitoring.mjs +3 -0
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.js +35 -3
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +5 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.mts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.ts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.js +616 -0
- package/Utils/Monitor/MonitorStepMetricQueries.mjs +6 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.mts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.ts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.js +415 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.mjs +4 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.mts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.ts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.js +27 -7
- package/Utils/Monitor/NetworkTopologyUtil.mjs +1 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.mts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.ts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.js +37 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.mjs +2 -0
- package/Utils/NameBreaks.js +44 -12
- package/Utils/NetworkDevice/DeviceNameLikeness.d.mts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.d.ts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.js +279 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.mjs +14 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.mts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.ts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.js +104 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.mjs +6 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +92 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.mjs +3 -0
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +27 -3
- package/Utils/Project/ProjectBilling.mjs +1 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.mts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.ts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.js +337 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.mjs +5 -0
- package/Utils/Rum/UserFlow.js +6 -2
- package/Utils/Runbook/RunbookStepExecutionChanges.d.mts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.d.ts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.js +264 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.mjs +11 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +5 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +5 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +10 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.mjs +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.mts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.ts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.js +33 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.mts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.ts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.js +458 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.mjs +6 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +30 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +9 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.mts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.ts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.js +223 -33
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.mjs +3 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.mts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.ts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.js +122 -0
- package/Utils/SecurityEvent/SecurityScanWords.mjs +3 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.mts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.ts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.js +207 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.mjs +10 -0
- package/Utils/Slo/SloBurnRateTemplate.d.mts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.d.ts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.js +96 -17
- package/Utils/Slo/SloBurnRateTemplate.mjs +6 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +99 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +99 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +398 -0
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +25 -0
- package/Utils/Slo/SloEvaluation.d.mts +22 -0
- package/Utils/Slo/SloEvaluation.d.ts +22 -0
- package/Utils/Slo/SloEvaluation.js +43 -1
- package/Utils/Slo/SloEvaluation.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +27 -0
- package/Utils/Slo/SloFeedMarkdown.d.ts +27 -0
- package/Utils/Slo/SloFeedMarkdown.js +118 -3
- package/Utils/Slo/SloFeedMarkdown.mjs +2 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.mts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.ts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.js +348 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.mjs +28 -0
- package/Utils/Slo/SloRecordOutputColumns.d.mts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.d.ts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.js +87 -0
- package/Utils/Slo/SloRecordOutputColumns.mjs +9 -0
- package/Utils/Slo/SloStatusColor.d.mts +6 -0
- package/Utils/Slo/SloStatusColor.d.ts +6 -0
- package/Utils/Slo/SloStatusColor.js +23 -1
- package/Utils/Slo/SloStatusColor.mjs +2 -0
- package/Utils/Slo/SloUtil.d.mts +4 -0
- package/Utils/Slo/SloUtil.d.ts +4 -0
- package/Utils/Slo/SloUtil.js +8 -2
- package/Utils/Sms/OnCallPageSms.d.mts +18 -0
- package/Utils/Sms/OnCallPageSms.d.ts +18 -0
- package/Utils/Sms/OnCallPageSms.js +88 -6
- package/Utils/StatusPage/Report.js +2 -0
- package/Utils/StatusPage/ReportPeriod.d.mts +4 -4
- package/Utils/StatusPage/ReportPeriod.d.ts +4 -4
- package/Utils/StatusPage/ReportPeriod.js +23 -47
- package/Utils/StatusPage/ReportText.d.mts +33 -0
- package/Utils/StatusPage/ReportText.d.ts +33 -0
- package/Utils/StatusPage/ReportText.js +266 -0
- package/Utils/StatusPage/ReportText.mjs +3 -0
- package/Utils/Telemetry/CloudChangeTitle.d.mts +37 -0
- package/Utils/Telemetry/CloudChangeTitle.d.ts +37 -0
- package/Utils/Telemetry/CloudChangeTitle.js +315 -3
- package/Utils/Telemetry/CloudChangeTitle.mjs +13 -0
- package/Utils/Telemetry/CloudHealthDescription.d.mts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.d.ts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.js +310 -0
- package/Utils/Telemetry/CloudHealthDescription.mjs +13 -0
- package/Utils/Telemetry/LlmCallCounting.d.mts +30 -0
- package/Utils/Telemetry/LlmCallCounting.d.ts +30 -0
- package/Utils/Telemetry/LlmCallCounting.js +109 -0
- package/Utils/Telemetry/LlmCallCounting.mjs +2 -0
- package/Utils/Telemetry/LlmConversationTranscript.js +12 -6
- package/Utils/Telemetry/LlmLogEvents.d.mts +45 -0
- package/Utils/Telemetry/LlmLogEvents.d.ts +45 -0
- package/Utils/Telemetry/LlmLogEvents.js +613 -0
- package/Utils/Telemetry/LlmLogEvents.mjs +4 -0
- package/Utils/Telemetry/LlmMessageParser.d.mts +1 -0
- package/Utils/Telemetry/LlmMessageParser.d.ts +1 -0
- package/Utils/Telemetry/LlmMessageParser.js +60 -2
- package/Utils/Telemetry/LlmMetricUsage.d.mts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.d.ts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.js +189 -0
- package/Utils/Telemetry/LlmMetricUsage.mjs +2 -0
- package/Utils/Telemetry/LlmUsage.d.mts +51 -0
- package/Utils/Telemetry/LlmUsage.d.ts +51 -0
- package/Utils/Telemetry/LlmUsage.js +266 -0
- package/Utils/Telemetry/LlmUsage.mjs +3 -0
- package/Utils/Telemetry/ScrubNestedValues.d.mts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.d.ts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.js +302 -0
- package/Utils/Telemetry/ScrubNestedValues.mjs +4 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.js +141 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.mjs +9 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.mts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.ts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.js +530 -0
- package/Utils/Workflow/WorkflowGraphChanges.mjs +8 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.mts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.ts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.js +214 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.mjs +6 -0
- package/package.json +1 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
import { CloudProvider } from "../Cloud/CloudPlatform";
|
|
1
2
|
export declare const CLOUD_STREAM_URL_PREFIX: string;
|
|
2
3
|
export declare const CLOUD_STREAM_METRICS_PATH: string;
|
|
3
4
|
export declare const CLOUD_STREAM_LOGS_PATH: string;
|
|
5
|
+
export declare const CLOUD_STREAM_PUBSUB_LOGS_PATH: string;
|
|
6
|
+
export declare const CLOUD_STREAM_PATHS: ReadonlyArray<string>;
|
|
7
|
+
export declare const CLOUD_STREAM_PROVIDERS: ReadonlyArray<CloudProvider>;
|
|
8
|
+
export declare function canCloudStream(provider: string | null | undefined): boolean;
|
|
9
|
+
export declare function isCloudStreamPushed(provider: string | null | undefined): boolean;
|
|
10
|
+
export declare function doesCloudStreamCarryMetrics(provider: string | null | undefined): boolean;
|
|
4
11
|
export declare const FIREHOSE_ACCESS_KEY_HEADER: string;
|
|
5
12
|
export declare const FIREHOSE_REQUEST_ID_HEADER: string;
|
|
6
13
|
export declare const FIREHOSE_SOURCE_ARN_HEADER: string;
|
|
@@ -11,6 +18,25 @@ export declare const CLOUD_STREAM_MAX_REQUEST_BYTES: number;
|
|
|
11
18
|
export declare const CLOUD_STREAM_MAX_DECODED_BYTES: number;
|
|
12
19
|
export declare const CLOUD_STREAM_MAX_RECORD_DECODED_BYTES: number;
|
|
13
20
|
export declare const CLOUD_STREAM_REQUESTS_PER_MINUTE: number;
|
|
21
|
+
export declare const CLOUD_STREAM_PUBSUB_REQUESTS_PER_MINUTE: number;
|
|
22
|
+
export declare const CLOUD_STREAM_PUBSUB_MAX_REQUEST_BYTES: number;
|
|
23
|
+
export declare const CLOUD_STREAM_PUBSUB_MAX_MESSAGE_BYTES: number;
|
|
24
|
+
export declare const CLOUD_STREAM_PUBSUB_RETENTION_SECONDS: number;
|
|
25
|
+
export declare const CLOUD_STREAM_PUBSUB_ACK_DEADLINE_SECONDS: number;
|
|
26
|
+
export declare const PUBSUB_ACKNOWLEDGING_STATUSES: ReadonlyArray<number>;
|
|
27
|
+
export declare const CLOUD_STREAM_PUBSUB_MIN_RETRY_SECONDS: number;
|
|
28
|
+
export declare const CLOUD_STREAM_PUBSUB_MAX_RETRY_SECONDS: number;
|
|
29
|
+
export declare const PUBSUB_AUTHORIZATION_HEADER: string;
|
|
30
|
+
export declare const CLOUD_STREAM_MAX_BEARER_TOKEN_LENGTH: number;
|
|
31
|
+
export declare const GOOGLE_OIDC_ISSUERS: ReadonlyArray<string>;
|
|
32
|
+
export declare const GOOGLE_OIDC_CERTS_URL: string;
|
|
33
|
+
export declare const CLOUD_STREAM_EVENT_HUB_READ_INTERVAL_MS: number;
|
|
34
|
+
export declare const CLOUD_STREAM_EVENT_HUB_MAX_BYTES_PER_READ: number;
|
|
35
|
+
export declare const CLOUD_STREAM_EVENT_HUB_MAX_FETCH_BYTES: number;
|
|
36
|
+
export declare const CLOUD_STREAM_EVENT_HUB_MAX_EVENT_BYTES: number;
|
|
37
|
+
export declare const CLOUD_STREAM_KEYED_CONNECTIONS_REFRESH_MS: number;
|
|
38
|
+
export declare const CLOUD_STREAM_KEYED_CONNECTIONS_MISS_REFRESH_MS: number;
|
|
39
|
+
export declare const CLOUD_STREAM_MAX_KEYED_CONNECTIONS: number;
|
|
14
40
|
export declare const CLOUD_STREAM_BUFFER_SIZE_MIB: number;
|
|
15
41
|
export declare const CLOUD_STREAM_BUFFER_INTERVAL_SECONDS: number;
|
|
16
42
|
export declare const CLOUD_STREAM_RETRY_DURATION_SECONDS: number;
|
|
@@ -37,14 +63,24 @@ export declare function getCloudStreamEndpoints(oneuptimeUrl: string): {
|
|
|
37
63
|
metricsUrl: string;
|
|
38
64
|
logsUrl: string;
|
|
39
65
|
};
|
|
66
|
+
export declare function getCloudStreamPubSubEndpoint(oneuptimeUrl: string): string;
|
|
40
67
|
export declare function canFirehoseDeliverTo(url: string): boolean;
|
|
68
|
+
export declare function canPubSubPushTo(url: string): boolean;
|
|
69
|
+
export interface CloudStreamProblem {
|
|
70
|
+
text: string;
|
|
71
|
+
values: Record<string, string>;
|
|
72
|
+
}
|
|
73
|
+
export declare function quoteForShell(value: string): string;
|
|
41
74
|
export declare enum CloudStreamRefusalReason {
|
|
42
75
|
WrongKey = "wrong-key",
|
|
43
76
|
TurnedOff = "turned-off",
|
|
44
77
|
NotAllowed = "not-allowed",
|
|
45
78
|
TooLarge = "too-large",
|
|
46
79
|
Malformed = "malformed",
|
|
47
|
-
Throttled = "throttled"
|
|
80
|
+
Throttled = "throttled",
|
|
81
|
+
WrongToken = "wrong-token",
|
|
82
|
+
NoAccess = "no-access",
|
|
83
|
+
Unreachable = "unreachable"
|
|
48
84
|
}
|
|
49
85
|
export declare const CLOUD_STREAM_REFUSAL_REASONS: ReadonlyArray<CloudStreamRefusalReason>;
|
|
50
86
|
export interface CloudStreamMetricSource {
|
|
@@ -65,6 +101,7 @@ export interface CloudStreamRefusal {
|
|
|
65
101
|
}
|
|
66
102
|
export interface CloudStreamSummary {
|
|
67
103
|
lastDeliveryAt?: string | undefined;
|
|
104
|
+
lastReadAt?: string | undefined;
|
|
68
105
|
metricSources: Array<CloudStreamMetricSource>;
|
|
69
106
|
logSources: Array<CloudStreamLogSource>;
|
|
70
107
|
lastRefusal?: CloudStreamRefusal | undefined;
|
|
@@ -100,8 +137,10 @@ export interface CloudStreamKeyHashes {
|
|
|
100
137
|
createdAt: string;
|
|
101
138
|
} | undefined;
|
|
102
139
|
previous?: Array<CloudStreamPreviousKeyHash> | undefined;
|
|
140
|
+
pushServiceAccount?: string | undefined;
|
|
103
141
|
}
|
|
104
142
|
export declare const CLOUD_STREAM_MAX_PREVIOUS_KEYS: number;
|
|
143
|
+
export declare const CLOUD_STREAM_KEY_WRITE_ATTEMPTS: number;
|
|
105
144
|
export declare function readCloudStreamKeyHashes(value: unknown): CloudStreamKeyHashes;
|
|
106
145
|
export declare function getLiveCloudStreamKeyHashes(data: {
|
|
107
146
|
hashes: CloudStreamKeyHashes;
|
|
@@ -111,4 +150,14 @@ export declare function rotateCloudStreamKeyHashes(data: {
|
|
|
111
150
|
hashes: CloudStreamKeyHashes;
|
|
112
151
|
newHash: string;
|
|
113
152
|
now: Date;
|
|
153
|
+
pushServiceAccount?: string | undefined;
|
|
114
154
|
}): CloudStreamKeyHashes;
|
|
155
|
+
export declare const CLOUD_STREAM_PUSH_SERVICE_ACCOUNT_PREFIX: string;
|
|
156
|
+
export declare function isGcpProjectId(value: string): boolean;
|
|
157
|
+
export declare function isServiceAccountEmail(value: string): boolean;
|
|
158
|
+
export declare function getCloudStreamPushServiceAccountEmail(data: {
|
|
159
|
+
connectionId: string;
|
|
160
|
+
projectId: string;
|
|
161
|
+
}): string | null;
|
|
162
|
+
export declare function getCloudStreamPushServiceAccountId(connectionId: string): string;
|
|
163
|
+
export declare function getCloudStreamSuffix(connectionId: string): string;
|
|
@@ -3,11 +3,18 @@ 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.
|
|
6
|
+
exports.CloudStreamRefusalReason = exports.CLOUD_STREAM_MAX_KEY_LENGTH = exports.CLOUD_STREAM_KEY_SECRET_LENGTH = exports.CLOUD_STREAM_KEY_PREFIX = exports.CLOUD_STREAM_MAX_NAME_LENGTH = exports.CLOUD_STREAM_MAX_LOG_GROUPS_PER_SOURCE = exports.CLOUD_STREAM_MAX_NAMESPACES_PER_SOURCE = exports.CLOUD_STREAM_MAX_SOURCES = exports.CLOUD_STREAM_SOURCE_RETENTION_MS = exports.CLOUD_STREAM_ACTIVE_WINDOW_MS = exports.CLOUD_STREAM_PREVIOUS_KEY_GRACE_MS = exports.CLOUD_STREAM_FAILED_DELIVERY_DAYS = exports.CLOUD_STREAM_RETRY_DURATION_SECONDS = exports.CLOUD_STREAM_BUFFER_INTERVAL_SECONDS = exports.CLOUD_STREAM_BUFFER_SIZE_MIB = exports.CLOUD_STREAM_MAX_KEYED_CONNECTIONS = exports.CLOUD_STREAM_KEYED_CONNECTIONS_MISS_REFRESH_MS = exports.CLOUD_STREAM_KEYED_CONNECTIONS_REFRESH_MS = exports.CLOUD_STREAM_EVENT_HUB_MAX_EVENT_BYTES = exports.CLOUD_STREAM_EVENT_HUB_MAX_FETCH_BYTES = exports.CLOUD_STREAM_EVENT_HUB_MAX_BYTES_PER_READ = exports.CLOUD_STREAM_EVENT_HUB_READ_INTERVAL_MS = exports.GOOGLE_OIDC_CERTS_URL = exports.GOOGLE_OIDC_ISSUERS = exports.CLOUD_STREAM_MAX_BEARER_TOKEN_LENGTH = exports.PUBSUB_AUTHORIZATION_HEADER = exports.CLOUD_STREAM_PUBSUB_MAX_RETRY_SECONDS = exports.CLOUD_STREAM_PUBSUB_MIN_RETRY_SECONDS = exports.PUBSUB_ACKNOWLEDGING_STATUSES = exports.CLOUD_STREAM_PUBSUB_ACK_DEADLINE_SECONDS = exports.CLOUD_STREAM_PUBSUB_RETENTION_SECONDS = exports.CLOUD_STREAM_PUBSUB_MAX_MESSAGE_BYTES = exports.CLOUD_STREAM_PUBSUB_MAX_REQUEST_BYTES = exports.CLOUD_STREAM_PUBSUB_REQUESTS_PER_MINUTE = exports.CLOUD_STREAM_REQUESTS_PER_MINUTE = exports.CLOUD_STREAM_MAX_RECORD_DECODED_BYTES = exports.CLOUD_STREAM_MAX_DECODED_BYTES = exports.CLOUD_STREAM_MAX_REQUEST_BYTES = exports.FIREHOSE_MAX_RECORD_DATA_LENGTH = exports.FIREHOSE_MAX_RECORDS = exports.FIREHOSE_PROTOCOL_VERSION_HEADER = exports.FIREHOSE_SOURCE_ARN_HEADER = exports.FIREHOSE_REQUEST_ID_HEADER = exports.FIREHOSE_ACCESS_KEY_HEADER = exports.CLOUD_STREAM_PROVIDERS = exports.CLOUD_STREAM_PATHS = exports.CLOUD_STREAM_PUBSUB_LOGS_PATH = exports.CLOUD_STREAM_LOGS_PATH = exports.CLOUD_STREAM_METRICS_PATH = exports.CLOUD_STREAM_URL_PREFIX = void 0;
|
|
7
|
+
exports.CLOUD_STREAM_PUSH_SERVICE_ACCOUNT_PREFIX = exports.CLOUD_STREAM_KEY_WRITE_ATTEMPTS = exports.CLOUD_STREAM_MAX_PREVIOUS_KEYS = exports.CLOUD_STREAM_REFUSAL_REASONS = void 0;
|
|
8
|
+
exports.canCloudStream = canCloudStream;
|
|
9
|
+
exports.isCloudStreamPushed = isCloudStreamPushed;
|
|
10
|
+
exports.doesCloudStreamCarryMetrics = doesCloudStreamCarryMetrics;
|
|
7
11
|
exports.buildCloudStreamKey = buildCloudStreamKey;
|
|
8
12
|
exports.parseCloudStreamKey = parseCloudStreamKey;
|
|
9
13
|
exports.getCloudStreamEndpoints = getCloudStreamEndpoints;
|
|
14
|
+
exports.getCloudStreamPubSubEndpoint = getCloudStreamPubSubEndpoint;
|
|
10
15
|
exports.canFirehoseDeliverTo = canFirehoseDeliverTo;
|
|
16
|
+
exports.canPubSubPushTo = canPubSubPushTo;
|
|
17
|
+
exports.quoteForShell = quoteForShell;
|
|
11
18
|
exports.readCloudStreamSummary = readCloudStreamSummary;
|
|
12
19
|
exports.mergeCloudStreamSummary = mergeCloudStreamSummary;
|
|
13
20
|
exports.getStreamedMetricKey = getStreamedMetricKey;
|
|
@@ -16,28 +23,55 @@ exports.getCloudStreamState = getCloudStreamState;
|
|
|
16
23
|
exports.readCloudStreamKeyHashes = readCloudStreamKeyHashes;
|
|
17
24
|
exports.getLiveCloudStreamKeyHashes = getLiveCloudStreamKeyHashes;
|
|
18
25
|
exports.rotateCloudStreamKeyHashes = rotateCloudStreamKeyHashes;
|
|
26
|
+
exports.isGcpProjectId = isGcpProjectId;
|
|
27
|
+
exports.isServiceAccountEmail = isServiceAccountEmail;
|
|
28
|
+
exports.getCloudStreamPushServiceAccountEmail = getCloudStreamPushServiceAccountEmail;
|
|
29
|
+
exports.getCloudStreamPushServiceAccountId = getCloudStreamPushServiceAccountId;
|
|
30
|
+
exports.getCloudStreamSuffix = getCloudStreamSuffix;
|
|
31
|
+
const CloudPlatform_1 = require("../Cloud/CloudPlatform");
|
|
19
32
|
const ObjectID_1 = __importDefault(require("../ObjectID"));
|
|
20
33
|
/*
|
|
21
|
-
* STREAMING
|
|
34
|
+
* STREAMING A CLOUD ACCOUNT'S METRICS AND LOGS INTO ONEUPTIME.
|
|
22
35
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* filters deliver into Amazon Data Firehose streams whose destination is
|
|
29
|
-
* OneUptime's own HTTP endpoint (CloudStreamTemplate makes all of it in one
|
|
30
|
-
* CloudFormation stack).
|
|
36
|
+
* A connection reads its cloud on a schedule: a few key metrics of each
|
|
37
|
+
* resource, every few minutes, minutes behind. A stream adds what a
|
|
38
|
+
* schedule cannot - metrics a minute or two after the cloud has them, and
|
|
39
|
+
* the cloud's logs - without anything to run in the customer's account.
|
|
40
|
+
* Each cloud streams the way it can without code of ours there:
|
|
31
41
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
42
|
+
* - AWS pushes. In each Region, a CloudWatch metric stream and CloudWatch
|
|
43
|
+
* Logs subscription filters deliver into Amazon Data Firehose streams
|
|
44
|
+
* whose destination is OneUptime's own HTTP endpoint
|
|
45
|
+
* (CloudStreamTemplate makes all of it in one CloudFormation stack):
|
|
34
46
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
47
|
+
* POST <OneUptime>/telemetry/aws-firehose/v1/metrics
|
|
48
|
+
* POST <OneUptime>/telemetry/aws-firehose/v1/logs
|
|
49
|
+
*
|
|
50
|
+
* - Google Cloud pushes. Log sinks route Cloud Logging into a Pub/Sub
|
|
51
|
+
* topic whose push subscription delivers each entry to OneUptime with an
|
|
52
|
+
* OIDC token Google signs for a push service account
|
|
53
|
+
* (CloudStreamGcp):
|
|
54
|
+
*
|
|
55
|
+
* POST <OneUptime>/telemetry/gcp-pubsub/v1/logs
|
|
56
|
+
*
|
|
57
|
+
* Cloud Monitoring has no export that pushes metrics: the connection
|
|
58
|
+
* keeps reading them.
|
|
59
|
+
*
|
|
60
|
+
* - Azure has no managed service that pushes to an HTTPS endpoint, so
|
|
61
|
+
* OneUptime reads. Diagnostic settings send each resource's platform
|
|
62
|
+
* metrics and resource logs to Event Hubs in its region, and OneUptime
|
|
63
|
+
* reads those event hubs with the connection's own app registration,
|
|
64
|
+
* given only Azure Event Hubs Data Receiver on them (CloudStreamAzure).
|
|
65
|
+
* There is no endpoint, and no key, for Azure.
|
|
66
|
+
*
|
|
67
|
+
* A pushing cloud sends the connection's stream key: Firehose in
|
|
68
|
+
* X-Amz-Firehose-Access-Key, Pub/Sub as its token's audience. The key
|
|
69
|
+
* names its connection, which names the project: nothing a record says
|
|
70
|
+
* decides where it is written. Only the key's SHA-256 is stored
|
|
38
71
|
* (CloudConnection.streamKeyHashes); a new key replaces it, and the key it
|
|
39
72
|
* replaced keeps working for CLOUD_STREAM_PREVIOUS_KEY_GRACE_MS so the
|
|
40
|
-
*
|
|
73
|
+
* streams can be updated without losing a delivery. For Azure,
|
|
74
|
+
* streamKeyCreatedAt says when reading was turned on.
|
|
41
75
|
*
|
|
42
76
|
* What arrived is kept on the connection (CloudConnection.streamSummary,
|
|
43
77
|
* CloudStreamSummary below): when the last delivery came, which accounts,
|
|
@@ -46,14 +80,44 @@ const ObjectID_1 = __importDefault(require("../ObjectID"));
|
|
|
46
80
|
* it too: a namespace a stream delivers is no longer written from the
|
|
47
81
|
* schedule (getStreamedMetricKeys), so no datapoint is counted twice.
|
|
48
82
|
*
|
|
49
|
-
* Shared by the server (the ingest
|
|
83
|
+
* Shared by the server (the ingest endpoints, the reads, the key routes),
|
|
50
84
|
* the dashboard (the streaming dialog and the connections list) and the
|
|
51
85
|
* docs tests. React-free and Node-free.
|
|
52
86
|
*/
|
|
53
|
-
// The
|
|
87
|
+
// The endpoints, under the prefix every OneUptime's ingress sends to the App.
|
|
54
88
|
exports.CLOUD_STREAM_URL_PREFIX = "/telemetry";
|
|
55
89
|
exports.CLOUD_STREAM_METRICS_PATH = "/aws-firehose/v1/metrics";
|
|
56
90
|
exports.CLOUD_STREAM_LOGS_PATH = "/aws-firehose/v1/logs";
|
|
91
|
+
// Google Cloud's Pub/Sub push subscription delivers here: logs only.
|
|
92
|
+
exports.CLOUD_STREAM_PUBSUB_LOGS_PATH = "/gcp-pubsub/v1/logs";
|
|
93
|
+
// Every path a stream delivers to, without the /telemetry prefix.
|
|
94
|
+
exports.CLOUD_STREAM_PATHS = [
|
|
95
|
+
exports.CLOUD_STREAM_METRICS_PATH,
|
|
96
|
+
exports.CLOUD_STREAM_LOGS_PATH,
|
|
97
|
+
exports.CLOUD_STREAM_PUBSUB_LOGS_PATH,
|
|
98
|
+
];
|
|
99
|
+
/*
|
|
100
|
+
* The clouds a connection can stream from, and how. AWS and Google Cloud
|
|
101
|
+
* push to an endpoint with the connection's stream key; Azure is read.
|
|
102
|
+
*/
|
|
103
|
+
exports.CLOUD_STREAM_PROVIDERS = [
|
|
104
|
+
CloudPlatform_1.CloudProvider.AWS,
|
|
105
|
+
CloudPlatform_1.CloudProvider.Azure,
|
|
106
|
+
CloudPlatform_1.CloudProvider.GCP,
|
|
107
|
+
];
|
|
108
|
+
function canCloudStream(provider) {
|
|
109
|
+
return exports.CLOUD_STREAM_PROVIDERS.includes((provider || "").toLowerCase());
|
|
110
|
+
}
|
|
111
|
+
// Whether the cloud pushes to OneUptime with a stream key (else OneUptime reads it).
|
|
112
|
+
function isCloudStreamPushed(provider) {
|
|
113
|
+
const value = (provider || "").toLowerCase();
|
|
114
|
+
return value === CloudPlatform_1.CloudProvider.AWS || value === CloudPlatform_1.CloudProvider.GCP;
|
|
115
|
+
}
|
|
116
|
+
// Whether the cloud's stream carries metrics: Google Cloud's carries logs only.
|
|
117
|
+
function doesCloudStreamCarryMetrics(provider) {
|
|
118
|
+
const value = (provider || "").toLowerCase();
|
|
119
|
+
return value === CloudPlatform_1.CloudProvider.AWS || value === CloudPlatform_1.CloudProvider.Azure;
|
|
120
|
+
}
|
|
57
121
|
/*
|
|
58
122
|
* The headers Firehose sends, as Node reads them (lower case). Firehose
|
|
59
123
|
* copies the access key it was configured with into its header verbatim.
|
|
@@ -85,6 +149,65 @@ exports.CLOUD_STREAM_MAX_RECORD_DECODED_BYTES = 8 * 1024 * 1024;
|
|
|
85
149
|
* batch again later.
|
|
86
150
|
*/
|
|
87
151
|
exports.CLOUD_STREAM_REQUESTS_PER_MINUTE = 600;
|
|
152
|
+
/*
|
|
153
|
+
* PUB/SUB PUSH. A push subscription sends one message a request - one log
|
|
154
|
+
* entry each, as Cloud Logging publishes them - so a project's logs come as
|
|
155
|
+
* many small requests: at most CLOUD_STREAM_PUBSUB_REQUESTS_PER_MINUTE for
|
|
156
|
+
* one connection, past which Pub/Sub is answered 429, backs off and pushes
|
|
157
|
+
* the message again; the subscription keeps what it could not deliver for
|
|
158
|
+
* CLOUD_STREAM_PUBSUB_RETENTION_SECONDS. A request is at most
|
|
159
|
+
* CLOUD_STREAM_PUBSUB_MAX_REQUEST_BYTES as sent - a log entry is at most
|
|
160
|
+
* 256 KiB, a little more in base64 - and its message's data at most
|
|
161
|
+
* CLOUD_STREAM_PUBSUB_MAX_MESSAGE_BYTES decoded.
|
|
162
|
+
*/
|
|
163
|
+
exports.CLOUD_STREAM_PUBSUB_REQUESTS_PER_MINUTE = 12000;
|
|
164
|
+
exports.CLOUD_STREAM_PUBSUB_MAX_REQUEST_BYTES = 1024 * 1024;
|
|
165
|
+
exports.CLOUD_STREAM_PUBSUB_MAX_MESSAGE_BYTES = 512 * 1024;
|
|
166
|
+
exports.CLOUD_STREAM_PUBSUB_RETENTION_SECONDS = 24 * 60 * 60;
|
|
167
|
+
exports.CLOUD_STREAM_PUBSUB_ACK_DEADLINE_SECONDS = 60;
|
|
168
|
+
/*
|
|
169
|
+
* The statuses Pub/Sub takes as delivered: any other is not, and the
|
|
170
|
+
* message is pushed again, backing off from CLOUD_STREAM_PUBSUB_MIN_RETRY
|
|
171
|
+
* to CLOUD_STREAM_PUBSUB_MAX_RETRY seconds.
|
|
172
|
+
*/
|
|
173
|
+
exports.PUBSUB_ACKNOWLEDGING_STATUSES = [
|
|
174
|
+
102, 200, 201, 202, 204,
|
|
175
|
+
];
|
|
176
|
+
exports.CLOUD_STREAM_PUBSUB_MIN_RETRY_SECONDS = 10;
|
|
177
|
+
exports.CLOUD_STREAM_PUBSUB_MAX_RETRY_SECONDS = 600;
|
|
178
|
+
// The header Pub/Sub sends its OIDC token in, as Node reads it.
|
|
179
|
+
exports.PUBSUB_AUTHORIZATION_HEADER = "authorization";
|
|
180
|
+
// A bearer token longer than this is not one Google signed.
|
|
181
|
+
exports.CLOUD_STREAM_MAX_BEARER_TOKEN_LENGTH = 8192;
|
|
182
|
+
// What Google writes as the issuer of the OIDC tokens it signs.
|
|
183
|
+
exports.GOOGLE_OIDC_ISSUERS = [
|
|
184
|
+
"https://accounts.google.com",
|
|
185
|
+
"accounts.google.com",
|
|
186
|
+
];
|
|
187
|
+
// Where Google publishes the keys its OIDC tokens are signed with.
|
|
188
|
+
exports.GOOGLE_OIDC_CERTS_URL = "https://www.googleapis.com/oauth2/v3/certs";
|
|
189
|
+
/*
|
|
190
|
+
* AZURE EVENT HUBS, READ. Each read of a connection's event hubs takes at
|
|
191
|
+
* most CLOUD_STREAM_EVENT_HUB_MAX_BYTES_PER_READ of events, all its event
|
|
192
|
+
* hubs together, CLOUD_STREAM_EVENT_HUB_MAX_FETCH_BYTES at a time; what is
|
|
193
|
+
* left is read the minute after, and Event Hubs keeps it until then.
|
|
194
|
+
*/
|
|
195
|
+
exports.CLOUD_STREAM_EVENT_HUB_READ_INTERVAL_MS = 60 * 1000;
|
|
196
|
+
exports.CLOUD_STREAM_EVENT_HUB_MAX_BYTES_PER_READ = 64 * 1024 * 1024;
|
|
197
|
+
exports.CLOUD_STREAM_EVENT_HUB_MAX_FETCH_BYTES = 4 * 1024 * 1024;
|
|
198
|
+
// One event: Event Hubs Standard takes events of at most 1 MB.
|
|
199
|
+
exports.CLOUD_STREAM_EVENT_HUB_MAX_EVENT_BYTES = 1024 * 1024;
|
|
200
|
+
/*
|
|
201
|
+
* Which connections hold a stream key, as each server knows them
|
|
202
|
+
* (CloudStreamKeyedConnections): read all at once, again at most once a
|
|
203
|
+
* minute - and at most every 10 seconds when a delivery names one it does
|
|
204
|
+
* not know, so a key made on another server is known within seconds. A
|
|
205
|
+
* delivery naming any other connection is refused without a read. Past the
|
|
206
|
+
* most kept, each delivery's connection is read instead.
|
|
207
|
+
*/
|
|
208
|
+
exports.CLOUD_STREAM_KEYED_CONNECTIONS_REFRESH_MS = 60 * 1000;
|
|
209
|
+
exports.CLOUD_STREAM_KEYED_CONNECTIONS_MISS_REFRESH_MS = 10 * 1000;
|
|
210
|
+
exports.CLOUD_STREAM_MAX_KEYED_CONNECTIONS = 50000;
|
|
88
211
|
// What the template sets each Firehose stream to.
|
|
89
212
|
exports.CLOUD_STREAM_BUFFER_SIZE_MIB = 1;
|
|
90
213
|
exports.CLOUD_STREAM_BUFFER_INTERVAL_SECONDS = 60;
|
|
@@ -160,20 +283,38 @@ function parseCloudStreamKey(value) {
|
|
|
160
283
|
* The two URLs a connection's Firehose streams deliver to, for this
|
|
161
284
|
* OneUptime's address (https://oneuptime.com, a self-hosted install's own).
|
|
162
285
|
*/
|
|
163
|
-
function
|
|
164
|
-
let base =
|
|
286
|
+
function withoutTrailingSlashes(url) {
|
|
287
|
+
let base = url.trim();
|
|
165
288
|
while (base.endsWith("/")) {
|
|
166
289
|
base = base.slice(0, -1);
|
|
167
290
|
}
|
|
291
|
+
return base;
|
|
292
|
+
}
|
|
293
|
+
function getCloudStreamEndpoints(oneuptimeUrl) {
|
|
294
|
+
const base = withoutTrailingSlashes(oneuptimeUrl);
|
|
168
295
|
return {
|
|
169
296
|
metricsUrl: `${base}${exports.CLOUD_STREAM_URL_PREFIX}${exports.CLOUD_STREAM_METRICS_PATH}`,
|
|
170
297
|
logsUrl: `${base}${exports.CLOUD_STREAM_URL_PREFIX}${exports.CLOUD_STREAM_LOGS_PATH}`,
|
|
171
298
|
};
|
|
172
299
|
}
|
|
173
|
-
//
|
|
300
|
+
// The URL a Google Cloud connection's push subscription delivers to.
|
|
301
|
+
function getCloudStreamPubSubEndpoint(oneuptimeUrl) {
|
|
302
|
+
return `${withoutTrailingSlashes(oneuptimeUrl)}${exports.CLOUD_STREAM_URL_PREFIX}${exports.CLOUD_STREAM_PUBSUB_LOGS_PATH}`;
|
|
303
|
+
}
|
|
304
|
+
/*
|
|
305
|
+
* Firehose delivers to https:// addresses only, on port 443, and Pub/Sub
|
|
306
|
+
* pushes to https:// endpoints only.
|
|
307
|
+
*/
|
|
174
308
|
function canFirehoseDeliverTo(url) {
|
|
175
309
|
return url.trim().toLowerCase().startsWith("https://");
|
|
176
310
|
}
|
|
311
|
+
function canPubSubPushTo(url) {
|
|
312
|
+
return canFirehoseDeliverTo(url);
|
|
313
|
+
}
|
|
314
|
+
// A value in single quotes for the shell: what it holds is never read by it.
|
|
315
|
+
function quoteForShell(value) {
|
|
316
|
+
return `'${value.split("'").join("'\\''")}'`;
|
|
317
|
+
}
|
|
177
318
|
/*
|
|
178
319
|
* Why OneUptime refused a delivery, kept on the connection so the person
|
|
179
320
|
* setting a stream up sees it. A refusal is answered in Firehose's own
|
|
@@ -195,6 +336,18 @@ var CloudStreamRefusalReason;
|
|
|
195
336
|
CloudStreamRefusalReason["Malformed"] = "malformed";
|
|
196
337
|
// More deliveries a minute than a connection may make.
|
|
197
338
|
CloudStreamRefusalReason["Throttled"] = "throttled";
|
|
339
|
+
/*
|
|
340
|
+
* Google Cloud: the push came with the key, but its token is not one
|
|
341
|
+
* Google signed for the connection's push service account.
|
|
342
|
+
*/
|
|
343
|
+
CloudStreamRefusalReason["WrongToken"] = "wrong-token";
|
|
344
|
+
/*
|
|
345
|
+
* Azure: OneUptime may not read an event hub - the role on it is
|
|
346
|
+
* missing, or not in force yet.
|
|
347
|
+
*/
|
|
348
|
+
CloudStreamRefusalReason["NoAccess"] = "no-access";
|
|
349
|
+
// Azure: an event hub the command made could not be reached.
|
|
350
|
+
CloudStreamRefusalReason["Unreachable"] = "unreachable";
|
|
198
351
|
})(CloudStreamRefusalReason || (exports.CloudStreamRefusalReason = CloudStreamRefusalReason = {}));
|
|
199
352
|
exports.CLOUD_STREAM_REFUSAL_REASONS = Object.values(CloudStreamRefusalReason);
|
|
200
353
|
function readTime(value) {
|
|
@@ -246,6 +399,10 @@ function readCloudStreamSummary(value) {
|
|
|
246
399
|
}
|
|
247
400
|
const stored = value;
|
|
248
401
|
summary.lastDeliveryAt = readTime(stored["lastDeliveryAt"]);
|
|
402
|
+
const lastReadAt = readTime(stored["lastReadAt"]);
|
|
403
|
+
if (lastReadAt) {
|
|
404
|
+
summary.lastReadAt = lastReadAt;
|
|
405
|
+
}
|
|
249
406
|
for (const item of readObjects(stored["metricSources"])) {
|
|
250
407
|
const lastAt = readTime(item["lastAt"]);
|
|
251
408
|
const accountId = readName(item["accountId"]);
|
|
@@ -350,6 +507,7 @@ function mergeSources(data) {
|
|
|
350
507
|
*/
|
|
351
508
|
function mergeCloudStreamSummary(data) {
|
|
352
509
|
const lastDeliveryAt = newer(data.stored.lastDeliveryAt, data.seen.lastDeliveryAt);
|
|
510
|
+
const lastReadAt = newer(data.stored.lastReadAt, data.seen.lastReadAt);
|
|
353
511
|
const refusals = [
|
|
354
512
|
data.stored.lastRefusal,
|
|
355
513
|
data.seen.lastRefusal,
|
|
@@ -359,7 +517,7 @@ function mergeCloudStreamSummary(data) {
|
|
|
359
517
|
const lastRefusal = refusals.sort((a, b) => {
|
|
360
518
|
return Date.parse(b.at) - Date.parse(a.at);
|
|
361
519
|
})[0];
|
|
362
|
-
return Object.assign(Object.assign(Object.assign({}, (lastDeliveryAt ? { lastDeliveryAt } : {})), { metricSources: mergeSources({
|
|
520
|
+
return Object.assign(Object.assign(Object.assign(Object.assign({}, (lastDeliveryAt ? { lastDeliveryAt } : {})), (lastReadAt ? { lastReadAt } : {})), { metricSources: mergeSources({
|
|
363
521
|
stored: data.stored.metricSources,
|
|
364
522
|
seen: data.seen.metricSources,
|
|
365
523
|
now: data.now,
|
|
@@ -429,8 +587,12 @@ function getCloudStreamState(data) {
|
|
|
429
587
|
const lastRefusal = data.summary.lastRefusal
|
|
430
588
|
? Date.parse(data.summary.lastRefusal.at)
|
|
431
589
|
: NaN;
|
|
590
|
+
const lastRead = data.summary.lastReadAt
|
|
591
|
+
? Date.parse(data.summary.lastReadAt)
|
|
592
|
+
: NaN;
|
|
432
593
|
if (Number.isFinite(lastRefusal) &&
|
|
433
594
|
(!Number.isFinite(lastDelivery) || lastRefusal > lastDelivery) &&
|
|
595
|
+
(!Number.isFinite(lastRead) || lastRefusal > lastRead) &&
|
|
434
596
|
data.now.getTime() - lastRefusal <= exports.CLOUD_STREAM_ACTIVE_WINDOW_MS) {
|
|
435
597
|
return "refused";
|
|
436
598
|
}
|
|
@@ -447,6 +609,12 @@ function getCloudStreamState(data) {
|
|
|
447
609
|
* stop the key the streams deliver with.
|
|
448
610
|
*/
|
|
449
611
|
exports.CLOUD_STREAM_MAX_PREVIOUS_KEYS = 3;
|
|
612
|
+
/*
|
|
613
|
+
* How many times a new key is written when other keys of the connection are
|
|
614
|
+
* written at the same moment: each try reads the hashes again and rotates
|
|
615
|
+
* the newer ones, so two admins making a key at once both keep theirs.
|
|
616
|
+
*/
|
|
617
|
+
exports.CLOUD_STREAM_KEY_WRITE_ATTEMPTS = 5;
|
|
450
618
|
function isSha256Hex(value) {
|
|
451
619
|
return typeof value === "string" && value.length === 64 && isLowerHex(value);
|
|
452
620
|
}
|
|
@@ -481,6 +649,11 @@ function readCloudStreamKeyHashes(value) {
|
|
|
481
649
|
hashes.previous = read;
|
|
482
650
|
}
|
|
483
651
|
}
|
|
652
|
+
const pushServiceAccount = stored["pushServiceAccount"];
|
|
653
|
+
if (typeof pushServiceAccount === "string" &&
|
|
654
|
+
isServiceAccountEmail(pushServiceAccount)) {
|
|
655
|
+
hashes.pushServiceAccount = pushServiceAccount;
|
|
656
|
+
}
|
|
484
657
|
return hashes;
|
|
485
658
|
}
|
|
486
659
|
function isStillWorking(previous, now) {
|
|
@@ -510,6 +683,7 @@ function getLiveCloudStreamKeyHashes(data) {
|
|
|
510
683
|
* stopping first.
|
|
511
684
|
*/
|
|
512
685
|
function rotateCloudStreamKeyHashes(data) {
|
|
686
|
+
const pushServiceAccount = data.pushServiceAccount || data.hashes.pushServiceAccount;
|
|
513
687
|
const previous = [
|
|
514
688
|
...(data.hashes.current
|
|
515
689
|
? [
|
|
@@ -523,5 +697,141 @@ function rotateCloudStreamKeyHashes(data) {
|
|
|
523
697
|
return isStillWorking(item, data.now);
|
|
524
698
|
}),
|
|
525
699
|
].slice(0, exports.CLOUD_STREAM_MAX_PREVIOUS_KEYS);
|
|
526
|
-
return Object.assign({ current: { hash: data.newHash, createdAt: data.now.toISOString() } }, (previous.length > 0 ? { previous } : {}));
|
|
700
|
+
return Object.assign(Object.assign({ current: { hash: data.newHash, createdAt: data.now.toISOString() } }, (previous.length > 0 ? { previous } : {})), (pushServiceAccount ? { pushServiceAccount } : {}));
|
|
701
|
+
}
|
|
702
|
+
/*
|
|
703
|
+
* ---- Google Cloud: the push service account ------------------------------
|
|
704
|
+
*
|
|
705
|
+
* The push subscription signs each push with an OIDC token for a service
|
|
706
|
+
* account made for this alone: it holds no role, so a token for it opens
|
|
707
|
+
* nothing. It lives in the project the connection's own service account
|
|
708
|
+
* is from (CloudConnection config keyProjectId), named after the
|
|
709
|
+
* connection: oneuptime-push-<8 hex>@<project>.iam.gserviceaccount.com.
|
|
710
|
+
* OneUptime takes a push only with a token Google signed for it.
|
|
711
|
+
*/
|
|
712
|
+
exports.CLOUD_STREAM_PUSH_SERVICE_ACCOUNT_PREFIX = "oneuptime-push";
|
|
713
|
+
/*
|
|
714
|
+
* A Google Cloud project id: 6 to 30 lowercase letters, digits and
|
|
715
|
+
* hyphens, starting with a letter, not ending with a hyphen - or a
|
|
716
|
+
* domain-scoped one, "example.com:my-project". Read character by
|
|
717
|
+
* character.
|
|
718
|
+
*/
|
|
719
|
+
function isGcpProjectId(value) {
|
|
720
|
+
const colon = value.lastIndexOf(":");
|
|
721
|
+
const domain = colon >= 0 ? value.slice(0, colon) : "";
|
|
722
|
+
const id = colon >= 0 ? value.slice(colon + 1) : value;
|
|
723
|
+
if (colon >= 0 && !isDomainName(domain)) {
|
|
724
|
+
return false;
|
|
725
|
+
}
|
|
726
|
+
if (id.length < 6 || id.length > 30) {
|
|
727
|
+
return false;
|
|
728
|
+
}
|
|
729
|
+
for (let index = 0; index < id.length; index++) {
|
|
730
|
+
const character = id[index];
|
|
731
|
+
const isLetter = character >= "a" && character <= "z";
|
|
732
|
+
const isDigit = character >= "0" && character <= "9";
|
|
733
|
+
if (index === 0 && !isLetter) {
|
|
734
|
+
return false;
|
|
735
|
+
}
|
|
736
|
+
if (!isLetter && !isDigit && character !== "-") {
|
|
737
|
+
return false;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
return !id.endsWith("-");
|
|
741
|
+
}
|
|
742
|
+
// Dot-separated labels of lowercase letters, digits and inner hyphens.
|
|
743
|
+
function isDomainName(value, minimumLabels = 2) {
|
|
744
|
+
if (value.length === 0 || value.length > 253) {
|
|
745
|
+
return false;
|
|
746
|
+
}
|
|
747
|
+
const labels = value.split(".");
|
|
748
|
+
if (labels.length < minimumLabels) {
|
|
749
|
+
return false;
|
|
750
|
+
}
|
|
751
|
+
for (const label of labels) {
|
|
752
|
+
if (label.length === 0 || label.length > 63) {
|
|
753
|
+
return false;
|
|
754
|
+
}
|
|
755
|
+
for (const character of label) {
|
|
756
|
+
const isAllowed = (character >= "a" && character <= "z") ||
|
|
757
|
+
(character >= "0" && character <= "9") ||
|
|
758
|
+
character === "-";
|
|
759
|
+
if (!isAllowed) {
|
|
760
|
+
return false;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
if (label.startsWith("-") || label.endsWith("-")) {
|
|
764
|
+
return false;
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
return true;
|
|
768
|
+
}
|
|
769
|
+
// A service account's email as Google writes it: name@<project domain>.iam.gserviceaccount.com.
|
|
770
|
+
function isServiceAccountEmail(value) {
|
|
771
|
+
const suffix = ".iam.gserviceaccount.com";
|
|
772
|
+
const at = value.indexOf("@");
|
|
773
|
+
if (value.length > 254 ||
|
|
774
|
+
at <= 0 ||
|
|
775
|
+
value.indexOf("@", at + 1) !== -1 ||
|
|
776
|
+
!value.endsWith(suffix)) {
|
|
777
|
+
return false;
|
|
778
|
+
}
|
|
779
|
+
const name = value.slice(0, at);
|
|
780
|
+
const domain = value.slice(at + 1, value.length - suffix.length);
|
|
781
|
+
if (name.length < 6 || name.length > 30) {
|
|
782
|
+
return false;
|
|
783
|
+
}
|
|
784
|
+
for (const character of name) {
|
|
785
|
+
const isAllowed = (character >= "a" && character <= "z") ||
|
|
786
|
+
(character >= "0" && character <= "9") ||
|
|
787
|
+
character === "-";
|
|
788
|
+
if (!isAllowed) {
|
|
789
|
+
return false;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
return isDomainName(domain, 1);
|
|
793
|
+
}
|
|
794
|
+
/*
|
|
795
|
+
* A project's service account domain: "my-project" -> my-project; a
|
|
796
|
+
* domain-scoped "example.com:my-project" -> my-project.example.com.
|
|
797
|
+
*/
|
|
798
|
+
function getServiceAccountDomain(projectId) {
|
|
799
|
+
const colon = projectId.lastIndexOf(":");
|
|
800
|
+
return colon >= 0
|
|
801
|
+
? `${projectId.slice(colon + 1)}.${projectId.slice(0, colon)}`
|
|
802
|
+
: projectId;
|
|
803
|
+
}
|
|
804
|
+
/*
|
|
805
|
+
* The push service account of a connection, in a project - or null for a
|
|
806
|
+
* project that is not one.
|
|
807
|
+
*/
|
|
808
|
+
function getCloudStreamPushServiceAccountEmail(data) {
|
|
809
|
+
const projectId = data.projectId.trim().toLowerCase();
|
|
810
|
+
const suffix = getCloudStreamSuffix(data.connectionId);
|
|
811
|
+
if (!isGcpProjectId(projectId) || suffix.length !== 8) {
|
|
812
|
+
return null;
|
|
813
|
+
}
|
|
814
|
+
return `${getCloudStreamPushServiceAccountId(data.connectionId)}@${getServiceAccountDomain(projectId)}.iam.gserviceaccount.com`;
|
|
815
|
+
}
|
|
816
|
+
// The push service account's id, the part of its email before the @.
|
|
817
|
+
function getCloudStreamPushServiceAccountId(connectionId) {
|
|
818
|
+
return `${exports.CLOUD_STREAM_PUSH_SERVICE_ACCOUNT_PREFIX}-${getCloudStreamSuffix(connectionId)}`;
|
|
819
|
+
}
|
|
820
|
+
/*
|
|
821
|
+
* The first 8 hex characters of the connection: what the names a stream's
|
|
822
|
+
* setup makes in a cloud end in, so two connections - two projects -
|
|
823
|
+
* stream the same account side by side.
|
|
824
|
+
*/
|
|
825
|
+
function getCloudStreamSuffix(connectionId) {
|
|
826
|
+
let suffix = "";
|
|
827
|
+
for (const character of connectionId.toLowerCase()) {
|
|
828
|
+
if ((character >= "0" && character <= "9") ||
|
|
829
|
+
(character >= "a" && character <= "f")) {
|
|
830
|
+
suffix += character;
|
|
831
|
+
}
|
|
832
|
+
if (suffix.length === 8) {
|
|
833
|
+
break;
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
return suffix;
|
|
527
837
|
}
|
|
@@ -2,11 +2,20 @@ import commonJsModule from "./CloudStream.js";
|
|
|
2
2
|
export const CLOUD_STREAM_ACTIVE_WINDOW_MS = commonJsModule.CLOUD_STREAM_ACTIVE_WINDOW_MS;
|
|
3
3
|
export const CLOUD_STREAM_BUFFER_INTERVAL_SECONDS = commonJsModule.CLOUD_STREAM_BUFFER_INTERVAL_SECONDS;
|
|
4
4
|
export const CLOUD_STREAM_BUFFER_SIZE_MIB = commonJsModule.CLOUD_STREAM_BUFFER_SIZE_MIB;
|
|
5
|
+
export const CLOUD_STREAM_EVENT_HUB_MAX_BYTES_PER_READ = commonJsModule.CLOUD_STREAM_EVENT_HUB_MAX_BYTES_PER_READ;
|
|
6
|
+
export const CLOUD_STREAM_EVENT_HUB_MAX_EVENT_BYTES = commonJsModule.CLOUD_STREAM_EVENT_HUB_MAX_EVENT_BYTES;
|
|
7
|
+
export const CLOUD_STREAM_EVENT_HUB_MAX_FETCH_BYTES = commonJsModule.CLOUD_STREAM_EVENT_HUB_MAX_FETCH_BYTES;
|
|
8
|
+
export const CLOUD_STREAM_EVENT_HUB_READ_INTERVAL_MS = commonJsModule.CLOUD_STREAM_EVENT_HUB_READ_INTERVAL_MS;
|
|
5
9
|
export const CLOUD_STREAM_FAILED_DELIVERY_DAYS = commonJsModule.CLOUD_STREAM_FAILED_DELIVERY_DAYS;
|
|
10
|
+
export const CLOUD_STREAM_KEYED_CONNECTIONS_MISS_REFRESH_MS = commonJsModule.CLOUD_STREAM_KEYED_CONNECTIONS_MISS_REFRESH_MS;
|
|
11
|
+
export const CLOUD_STREAM_KEYED_CONNECTIONS_REFRESH_MS = commonJsModule.CLOUD_STREAM_KEYED_CONNECTIONS_REFRESH_MS;
|
|
6
12
|
export const CLOUD_STREAM_KEY_PREFIX = commonJsModule.CLOUD_STREAM_KEY_PREFIX;
|
|
7
13
|
export const CLOUD_STREAM_KEY_SECRET_LENGTH = commonJsModule.CLOUD_STREAM_KEY_SECRET_LENGTH;
|
|
14
|
+
export const CLOUD_STREAM_KEY_WRITE_ATTEMPTS = commonJsModule.CLOUD_STREAM_KEY_WRITE_ATTEMPTS;
|
|
8
15
|
export const CLOUD_STREAM_LOGS_PATH = commonJsModule.CLOUD_STREAM_LOGS_PATH;
|
|
16
|
+
export const CLOUD_STREAM_MAX_BEARER_TOKEN_LENGTH = commonJsModule.CLOUD_STREAM_MAX_BEARER_TOKEN_LENGTH;
|
|
9
17
|
export const CLOUD_STREAM_MAX_DECODED_BYTES = commonJsModule.CLOUD_STREAM_MAX_DECODED_BYTES;
|
|
18
|
+
export const CLOUD_STREAM_MAX_KEYED_CONNECTIONS = commonJsModule.CLOUD_STREAM_MAX_KEYED_CONNECTIONS;
|
|
10
19
|
export const CLOUD_STREAM_MAX_KEY_LENGTH = commonJsModule.CLOUD_STREAM_MAX_KEY_LENGTH;
|
|
11
20
|
export const CLOUD_STREAM_MAX_LOG_GROUPS_PER_SOURCE = commonJsModule.CLOUD_STREAM_MAX_LOG_GROUPS_PER_SOURCE;
|
|
12
21
|
export const CLOUD_STREAM_MAX_NAMESPACES_PER_SOURCE = commonJsModule.CLOUD_STREAM_MAX_NAMESPACES_PER_SOURCE;
|
|
@@ -16,7 +25,18 @@ export const CLOUD_STREAM_MAX_RECORD_DECODED_BYTES = commonJsModule.CLOUD_STREAM
|
|
|
16
25
|
export const CLOUD_STREAM_MAX_REQUEST_BYTES = commonJsModule.CLOUD_STREAM_MAX_REQUEST_BYTES;
|
|
17
26
|
export const CLOUD_STREAM_MAX_SOURCES = commonJsModule.CLOUD_STREAM_MAX_SOURCES;
|
|
18
27
|
export const CLOUD_STREAM_METRICS_PATH = commonJsModule.CLOUD_STREAM_METRICS_PATH;
|
|
28
|
+
export const CLOUD_STREAM_PATHS = commonJsModule.CLOUD_STREAM_PATHS;
|
|
19
29
|
export const CLOUD_STREAM_PREVIOUS_KEY_GRACE_MS = commonJsModule.CLOUD_STREAM_PREVIOUS_KEY_GRACE_MS;
|
|
30
|
+
export const CLOUD_STREAM_PROVIDERS = commonJsModule.CLOUD_STREAM_PROVIDERS;
|
|
31
|
+
export const CLOUD_STREAM_PUBSUB_ACK_DEADLINE_SECONDS = commonJsModule.CLOUD_STREAM_PUBSUB_ACK_DEADLINE_SECONDS;
|
|
32
|
+
export const CLOUD_STREAM_PUBSUB_LOGS_PATH = commonJsModule.CLOUD_STREAM_PUBSUB_LOGS_PATH;
|
|
33
|
+
export const CLOUD_STREAM_PUBSUB_MAX_MESSAGE_BYTES = commonJsModule.CLOUD_STREAM_PUBSUB_MAX_MESSAGE_BYTES;
|
|
34
|
+
export const CLOUD_STREAM_PUBSUB_MAX_REQUEST_BYTES = commonJsModule.CLOUD_STREAM_PUBSUB_MAX_REQUEST_BYTES;
|
|
35
|
+
export const CLOUD_STREAM_PUBSUB_MAX_RETRY_SECONDS = commonJsModule.CLOUD_STREAM_PUBSUB_MAX_RETRY_SECONDS;
|
|
36
|
+
export const CLOUD_STREAM_PUBSUB_MIN_RETRY_SECONDS = commonJsModule.CLOUD_STREAM_PUBSUB_MIN_RETRY_SECONDS;
|
|
37
|
+
export const CLOUD_STREAM_PUBSUB_REQUESTS_PER_MINUTE = commonJsModule.CLOUD_STREAM_PUBSUB_REQUESTS_PER_MINUTE;
|
|
38
|
+
export const CLOUD_STREAM_PUBSUB_RETENTION_SECONDS = commonJsModule.CLOUD_STREAM_PUBSUB_RETENTION_SECONDS;
|
|
39
|
+
export const CLOUD_STREAM_PUSH_SERVICE_ACCOUNT_PREFIX = commonJsModule.CLOUD_STREAM_PUSH_SERVICE_ACCOUNT_PREFIX;
|
|
20
40
|
export const CLOUD_STREAM_REFUSAL_REASONS = commonJsModule.CLOUD_STREAM_REFUSAL_REASONS;
|
|
21
41
|
export const CLOUD_STREAM_REQUESTS_PER_MINUTE = commonJsModule.CLOUD_STREAM_REQUESTS_PER_MINUTE;
|
|
22
42
|
export const CLOUD_STREAM_RETRY_DURATION_SECONDS = commonJsModule.CLOUD_STREAM_RETRY_DURATION_SECONDS;
|
|
@@ -29,15 +49,30 @@ export const FIREHOSE_MAX_RECORD_DATA_LENGTH = commonJsModule.FIREHOSE_MAX_RECOR
|
|
|
29
49
|
export const FIREHOSE_PROTOCOL_VERSION_HEADER = commonJsModule.FIREHOSE_PROTOCOL_VERSION_HEADER;
|
|
30
50
|
export const FIREHOSE_REQUEST_ID_HEADER = commonJsModule.FIREHOSE_REQUEST_ID_HEADER;
|
|
31
51
|
export const FIREHOSE_SOURCE_ARN_HEADER = commonJsModule.FIREHOSE_SOURCE_ARN_HEADER;
|
|
52
|
+
export const GOOGLE_OIDC_CERTS_URL = commonJsModule.GOOGLE_OIDC_CERTS_URL;
|
|
53
|
+
export const GOOGLE_OIDC_ISSUERS = commonJsModule.GOOGLE_OIDC_ISSUERS;
|
|
54
|
+
export const PUBSUB_ACKNOWLEDGING_STATUSES = commonJsModule.PUBSUB_ACKNOWLEDGING_STATUSES;
|
|
55
|
+
export const PUBSUB_AUTHORIZATION_HEADER = commonJsModule.PUBSUB_AUTHORIZATION_HEADER;
|
|
32
56
|
export const buildCloudStreamKey = commonJsModule.buildCloudStreamKey;
|
|
57
|
+
export const canCloudStream = commonJsModule.canCloudStream;
|
|
33
58
|
export const canFirehoseDeliverTo = commonJsModule.canFirehoseDeliverTo;
|
|
59
|
+
export const canPubSubPushTo = commonJsModule.canPubSubPushTo;
|
|
60
|
+
export const doesCloudStreamCarryMetrics = commonJsModule.doesCloudStreamCarryMetrics;
|
|
34
61
|
export const getCloudStreamEndpoints = commonJsModule.getCloudStreamEndpoints;
|
|
62
|
+
export const getCloudStreamPubSubEndpoint = commonJsModule.getCloudStreamPubSubEndpoint;
|
|
63
|
+
export const getCloudStreamPushServiceAccountEmail = commonJsModule.getCloudStreamPushServiceAccountEmail;
|
|
64
|
+
export const getCloudStreamPushServiceAccountId = commonJsModule.getCloudStreamPushServiceAccountId;
|
|
35
65
|
export const getCloudStreamState = commonJsModule.getCloudStreamState;
|
|
66
|
+
export const getCloudStreamSuffix = commonJsModule.getCloudStreamSuffix;
|
|
36
67
|
export const getLiveCloudStreamKeyHashes = commonJsModule.getLiveCloudStreamKeyHashes;
|
|
37
68
|
export const getStreamedMetricKey = commonJsModule.getStreamedMetricKey;
|
|
38
69
|
export const getStreamedMetricKeys = commonJsModule.getStreamedMetricKeys;
|
|
70
|
+
export const isCloudStreamPushed = commonJsModule.isCloudStreamPushed;
|
|
71
|
+
export const isGcpProjectId = commonJsModule.isGcpProjectId;
|
|
72
|
+
export const isServiceAccountEmail = commonJsModule.isServiceAccountEmail;
|
|
39
73
|
export const mergeCloudStreamSummary = commonJsModule.mergeCloudStreamSummary;
|
|
40
74
|
export const parseCloudStreamKey = commonJsModule.parseCloudStreamKey;
|
|
75
|
+
export const quoteForShell = commonJsModule.quoteForShell;
|
|
41
76
|
export const readCloudStreamKeyHashes = commonJsModule.readCloudStreamKeyHashes;
|
|
42
77
|
export const readCloudStreamSummary = commonJsModule.readCloudStreamSummary;
|
|
43
78
|
export const rotateCloudStreamKeyHashes = commonJsModule.rotateCloudStreamKeyHashes;
|