@oneuptime/common 17.0.0 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/AnalyticsBaseModel/AnalyticsBaseModel.d.mts +2 -1
- package/Models/AnalyticsModels/AnalyticsBaseModel/AnalyticsBaseModel.d.ts +2 -1
- package/Models/AnalyticsModels/AnalyticsBaseModel/AnalyticsBaseModel.js +33 -1
- package/Models/AnalyticsModels/AuditLog.d.mts +10 -0
- package/Models/AnalyticsModels/AuditLog.d.ts +10 -0
- package/Models/AnalyticsModels/AuditLog.js +118 -0
- package/Models/AnalyticsModels/ExceptionInstance.d.mts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.d.ts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.js +27 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.mts +18 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.ts +18 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.js +226 -1
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +15 -8
- package/Models/AnalyticsModels/SecurityAddressVault.d.mts +16 -0
- package/Models/AnalyticsModels/SecurityAddressVault.d.ts +16 -0
- package/Models/AnalyticsModels/SecurityAddressVault.js +179 -0
- package/Models/AnalyticsModels/SecurityAddressVault.mjs +3 -0
- package/Models/AnalyticsModels/SecurityEvent.d.mts +2 -0
- package/Models/AnalyticsModels/SecurityEvent.d.ts +2 -0
- package/Models/AnalyticsModels/SecurityEvent.js +28 -0
- package/Models/AnalyticsModels/SecurityEvent.mjs +2 -0
- package/Models/DatabaseModels/AIAgent.js +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +2 -0
- package/Models/DatabaseModels/AIPostmortemRule.js +1 -1
- package/Models/DatabaseModels/AIRun.d.mts +3 -0
- package/Models/DatabaseModels/AIRun.d.ts +3 -0
- package/Models/DatabaseModels/AIRun.js +64 -0
- package/Models/DatabaseModels/Alert.js +6 -0
- package/Models/DatabaseModels/AlertEpisode.js +16 -0
- package/Models/DatabaseModels/AlertEpisodeInternalNote.js +2 -0
- package/Models/DatabaseModels/AlertEpisodeMember.js +3 -0
- package/Models/DatabaseModels/AlertEpisodeStateTimeline.js +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +1 -1
- package/Models/DatabaseModels/AlertIncidentRule.js +1 -1
- package/Models/DatabaseModels/AlertInternalNote.js +2 -0
- package/Models/DatabaseModels/AlertMeasurement.js +1 -1
- package/Models/DatabaseModels/AlertReminderRule.js +1 -1
- package/Models/DatabaseModels/AlertSeverity.js +1 -1
- package/Models/DatabaseModels/AlertState.js +1 -1
- package/Models/DatabaseModels/AlertStateTimeline.js +2 -0
- package/Models/DatabaseModels/ApiKeyPermission.js +5 -1
- package/Models/DatabaseModels/CephCluster.js +16 -0
- package/Models/DatabaseModels/CloudAccount.js +19 -0
- package/Models/DatabaseModels/CloudConnection.d.mts +1 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +1 -0
- package/Models/DatabaseModels/CloudConnection.js +50 -1
- package/Models/DatabaseModels/CloudResource.js +25 -1
- package/Models/DatabaseModels/Dashboard.d.mts +2 -0
- package/Models/DatabaseModels/Dashboard.d.ts +2 -0
- package/Models/DatabaseModels/Dashboard.js +112 -0
- package/Models/DatabaseModels/DashboardOidc.d.mts +28 -0
- package/Models/DatabaseModels/DashboardOidc.d.ts +28 -0
- package/Models/DatabaseModels/DashboardOidc.js +737 -0
- package/Models/DatabaseModels/DashboardOidc.mjs +2 -0
- package/Models/DatabaseModels/DashboardPrivateUser.d.mts +25 -0
- package/Models/DatabaseModels/DashboardPrivateUser.d.ts +25 -0
- package/Models/DatabaseModels/DashboardPrivateUser.js +503 -0
- package/Models/DatabaseModels/DashboardPrivateUser.mjs +2 -0
- package/Models/DatabaseModels/DashboardPrivateUserSession.d.mts +30 -0
- package/Models/DatabaseModels/DashboardPrivateUserSession.d.ts +30 -0
- package/Models/DatabaseModels/DashboardPrivateUserSession.js +514 -0
- package/Models/DatabaseModels/DashboardPrivateUserSession.mjs +2 -0
- package/Models/DatabaseModels/DashboardSso.d.mts +28 -0
- package/Models/DatabaseModels/DashboardSso.d.ts +28 -0
- package/Models/DatabaseModels/DashboardSso.js +679 -0
- package/Models/DatabaseModels/DashboardSso.mjs +2 -0
- package/Models/DatabaseModels/DataAsset.d.mts +1 -0
- package/Models/DatabaseModels/DataAsset.d.ts +1 -0
- package/Models/DatabaseModels/DataAsset.js +21 -1
- package/Models/DatabaseModels/DataBiConnection.d.mts +1 -0
- package/Models/DatabaseModels/DataBiConnection.d.ts +1 -0
- package/Models/DatabaseModels/DataBiConnection.js +23 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +5 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +5 -0
- package/Models/DatabaseModels/DataPipeline.js +100 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.d.mts +21 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.d.ts +21 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.js +635 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.mts +27 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.ts +27 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.js +533 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityIssue.js +4 -0
- package/Models/DatabaseModels/DataSecurityScan.js +22 -0
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +94 -4
- package/Models/DatabaseModels/DatabaseServer.js +7 -0
- package/Models/DatabaseModels/DatabaseServerEndpoint.js +3 -0
- package/Models/DatabaseModels/DetectionRule.d.mts +2 -0
- package/Models/DatabaseModels/DetectionRule.d.ts +2 -0
- package/Models/DatabaseModels/DetectionRule.js +29 -0
- package/Models/DatabaseModels/DeviceManagementConnection.d.mts +25 -0
- package/Models/DatabaseModels/DeviceManagementConnection.d.ts +25 -0
- package/Models/DatabaseModels/DeviceManagementConnection.js +443 -0
- package/Models/DatabaseModels/DeviceManagementConnection.mjs +2 -0
- package/Models/DatabaseModels/DockerHost.js +13 -0
- package/Models/DatabaseModels/DockerSwarmCluster.js +16 -0
- package/Models/DatabaseModels/Domain.js +29 -1
- package/Models/DatabaseModels/Form.d.mts +2 -0
- package/Models/DatabaseModels/Form.d.ts +2 -0
- package/Models/DatabaseModels/Form.js +64 -0
- package/Models/DatabaseModels/FormOidc.d.mts +28 -0
- package/Models/DatabaseModels/FormOidc.d.ts +28 -0
- package/Models/DatabaseModels/FormOidc.js +735 -0
- package/Models/DatabaseModels/FormOidc.mjs +2 -0
- package/Models/DatabaseModels/FormPrivateUser.d.mts +25 -0
- package/Models/DatabaseModels/FormPrivateUser.d.ts +25 -0
- package/Models/DatabaseModels/FormPrivateUser.js +503 -0
- package/Models/DatabaseModels/FormPrivateUser.mjs +2 -0
- package/Models/DatabaseModels/FormPrivateUserSession.d.mts +30 -0
- package/Models/DatabaseModels/FormPrivateUserSession.d.ts +30 -0
- package/Models/DatabaseModels/FormPrivateUserSession.js +514 -0
- package/Models/DatabaseModels/FormPrivateUserSession.mjs +2 -0
- package/Models/DatabaseModels/FormSso.d.mts +28 -0
- package/Models/DatabaseModels/FormSso.d.ts +28 -0
- package/Models/DatabaseModels/FormSso.js +677 -0
- package/Models/DatabaseModels/FormSso.mjs +2 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +1 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +1 -0
- package/Models/DatabaseModels/GlobalConfig.js +31 -0
- package/Models/DatabaseModels/GlobalSso.d.mts +2 -0
- package/Models/DatabaseModels/GlobalSso.d.ts +2 -0
- package/Models/DatabaseModels/GlobalSso.js +56 -0
- package/Models/DatabaseModels/GuidedSetupRun.d.mts +15 -0
- package/Models/DatabaseModels/GuidedSetupRun.d.ts +15 -0
- package/Models/DatabaseModels/GuidedSetupRun.js +254 -0
- package/Models/DatabaseModels/GuidedSetupRun.mjs +2 -0
- package/Models/DatabaseModels/Host.js +22 -0
- package/Models/DatabaseModels/HostCollectorConfig.js +1 -1
- package/Models/DatabaseModels/HostLogSession.d.mts +23 -0
- package/Models/DatabaseModels/HostLogSession.d.ts +23 -0
- package/Models/DatabaseModels/HostLogSession.js +373 -0
- package/Models/DatabaseModels/HostLogSession.mjs +2 -0
- package/Models/DatabaseModels/Incident.js +8 -0
- package/Models/DatabaseModels/IncidentCustomField.js +1 -1
- package/Models/DatabaseModels/IncidentEpisode.js +16 -0
- package/Models/DatabaseModels/IncidentEpisodeInternalNote.js +2 -0
- package/Models/DatabaseModels/IncidentEpisodeMember.js +3 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.js +2 -0
- package/Models/DatabaseModels/IncidentEpisodeRoleMember.js +23 -2
- package/Models/DatabaseModels/IncidentEpisodeStateTimeline.js +2 -0
- package/Models/DatabaseModels/IncidentFeed.d.mts +1 -0
- package/Models/DatabaseModels/IncidentFeed.d.ts +1 -0
- package/Models/DatabaseModels/IncidentFeed.js +6 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +1 -1
- package/Models/DatabaseModels/IncidentInternalNote.js +2 -0
- package/Models/DatabaseModels/IncidentMeasurement.js +1 -1
- package/Models/DatabaseModels/IncidentMember.js +25 -2
- package/Models/DatabaseModels/IncidentPostmortemStatus.js +1 -1
- package/Models/DatabaseModels/IncidentPublicNote.js +2 -0
- package/Models/DatabaseModels/IncidentReminderRule.js +1 -1
- package/Models/DatabaseModels/IncidentSeverity.js +1 -1
- package/Models/DatabaseModels/IncidentSla.js +18 -1
- package/Models/DatabaseModels/IncidentSlaRule.js +1 -1
- package/Models/DatabaseModels/IncidentState.js +1 -1
- package/Models/DatabaseModels/IncidentStateTimeline.js +2 -0
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.d.mts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.d.ts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.js +0 -35
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.d.mts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.d.ts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.js +0 -40
- package/Models/DatabaseModels/IncidentVideoCall.d.mts +3 -0
- package/Models/DatabaseModels/IncidentVideoCall.d.ts +3 -0
- package/Models/DatabaseModels/IncidentVideoCall.js +105 -0
- package/Models/DatabaseModels/IncomingCallLogItem.js +6 -0
- package/Models/DatabaseModels/IncomingCallPolicy.js +2 -0
- package/Models/DatabaseModels/IncomingCallPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/Index.js +46 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.d.mts +5 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.d.ts +5 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.js +108 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.mjs +2 -0
- package/Models/DatabaseModels/InventoryItem.d.mts +4 -0
- package/Models/DatabaseModels/InventoryItem.d.ts +4 -0
- package/Models/DatabaseModels/InventoryItem.js +97 -0
- package/Models/DatabaseModels/InventoryItemRelationship.js +6 -0
- package/Models/DatabaseModels/IoTFleet.js +7 -0
- package/Models/DatabaseModels/KubernetesCluster.d.mts +3 -0
- package/Models/DatabaseModels/KubernetesCluster.d.ts +3 -0
- package/Models/DatabaseModels/KubernetesCluster.js +79 -0
- package/Models/DatabaseModels/KubernetesResource.d.mts +9 -0
- package/Models/DatabaseModels/KubernetesResource.d.ts +9 -0
- package/Models/DatabaseModels/KubernetesResource.js +233 -1
- package/Models/DatabaseModels/LogDropFilter.js +1 -1
- package/Models/DatabaseModels/LogPipeline.js +1 -1
- package/Models/DatabaseModels/LogPipelineProcessor.js +1 -1
- package/Models/DatabaseModels/LogScrubRule.js +1 -1
- package/Models/DatabaseModels/ManagedDevice.d.mts +46 -0
- package/Models/DatabaseModels/ManagedDevice.d.ts +46 -0
- package/Models/DatabaseModels/ManagedDevice.js +724 -0
- package/Models/DatabaseModels/ManagedDevice.mjs +2 -0
- package/Models/DatabaseModels/ManagedDeviceApp.d.mts +20 -0
- package/Models/DatabaseModels/ManagedDeviceApp.d.ts +20 -0
- package/Models/DatabaseModels/ManagedDeviceApp.js +320 -0
- package/Models/DatabaseModels/ManagedDeviceApp.mjs +2 -0
- package/Models/DatabaseModels/MarketplaceSubscription.js +1 -1
- package/Models/DatabaseModels/MessageQueue.js +6 -0
- package/Models/DatabaseModels/MetricPipelineRule.js +1 -1
- package/Models/DatabaseModels/MetricType.js +6 -0
- package/Models/DatabaseModels/Monitor.d.mts +4 -0
- package/Models/DatabaseModels/Monitor.d.ts +4 -0
- package/Models/DatabaseModels/Monitor.js +208 -1
- package/Models/DatabaseModels/MonitorProbe.js +3 -0
- package/Models/DatabaseModels/MonitorSecret.d.mts +2 -0
- package/Models/DatabaseModels/MonitorSecret.d.ts +2 -0
- package/Models/DatabaseModels/MonitorSecret.js +51 -1
- package/Models/DatabaseModels/MonitorStatus.js +1 -1
- package/Models/DatabaseModels/MonitorStatusTimeline.js +2 -0
- package/Models/DatabaseModels/NetworkDevice.js +36 -1
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.mts +9 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.ts +9 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +1 -1
- package/Models/DatabaseModels/NetworkDeviceNamingRule.js +1 -1
- package/Models/DatabaseModels/NetworkDeviceRole.js +1 -1
- package/Models/DatabaseModels/NetworkEndpoint.js +3 -0
- package/Models/DatabaseModels/NetworkSite.d.mts +2 -0
- package/Models/DatabaseModels/NetworkSite.d.ts +2 -0
- package/Models/DatabaseModels/NetworkSite.js +67 -0
- package/Models/DatabaseModels/NetworkSiteAssignmentRule.js +1 -1
- package/Models/DatabaseModels/NetworkSiteOwnerTeam.d.mts +18 -0
- package/Models/DatabaseModels/NetworkSiteOwnerTeam.d.ts +18 -0
- package/Models/DatabaseModels/NetworkSiteOwnerTeam.js +478 -0
- package/Models/DatabaseModels/NetworkSiteOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/NetworkSiteOwnerUser.d.mts +17 -0
- package/Models/DatabaseModels/NetworkSiteOwnerUser.d.ts +17 -0
- package/Models/DatabaseModels/NetworkSiteOwnerUser.js +477 -0
- package/Models/DatabaseModels/NetworkSiteOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/NetworkSiteStatusTimeline.js +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicy.js +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +22 -0
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +14 -0
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +17 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +9 -0
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyUserOverride.js +28 -1
- package/Models/DatabaseModels/OpenStackCloud.js +25 -0
- package/Models/DatabaseModels/PodmanHost.js +13 -0
- package/Models/DatabaseModels/Probe.d.mts +2 -0
- package/Models/DatabaseModels/Probe.d.ts +2 -0
- package/Models/DatabaseModels/Probe.js +67 -0
- package/Models/DatabaseModels/Project.d.mts +4 -0
- package/Models/DatabaseModels/Project.d.ts +4 -0
- package/Models/DatabaseModels/Project.js +183 -2
- package/Models/DatabaseModels/ProjectOidc.d.mts +2 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +2 -0
- package/Models/DatabaseModels/ProjectOidc.js +57 -0
- package/Models/DatabaseModels/ProjectSCIM.js +3 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.mts +3 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.ts +3 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.js +89 -0
- package/Models/DatabaseModels/ProjectSso.d.mts +4 -0
- package/Models/DatabaseModels/ProjectSso.d.ts +4 -0
- package/Models/DatabaseModels/ProjectSso.js +147 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +13 -0
- package/Models/DatabaseModels/ProxmoxResource.d.mts +5 -0
- package/Models/DatabaseModels/ProxmoxResource.d.ts +5 -0
- package/Models/DatabaseModels/ProxmoxResource.js +112 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +1 -1
- package/Models/DatabaseModels/ResourceAiAgent.js +38 -20
- package/Models/DatabaseModels/RumApplication.d.mts +3 -0
- package/Models/DatabaseModels/RumApplication.d.ts +3 -0
- package/Models/DatabaseModels/RumApplication.js +156 -0
- package/Models/DatabaseModels/Runbook.js +3 -1
- package/Models/DatabaseModels/RunbookExecution.js +6 -0
- package/Models/DatabaseModels/Runner.js +3 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +5 -0
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +2 -0
- package/Models/DatabaseModels/ScheduledMaintenanceReminderRule.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceState.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +2 -0
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.d.mts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.d.ts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.js +56 -0
- package/Models/DatabaseModels/SecurityBlock.d.mts +28 -0
- package/Models/DatabaseModels/SecurityBlock.d.ts +28 -0
- package/Models/DatabaseModels/SecurityBlock.js +529 -0
- package/Models/DatabaseModels/SecurityBlock.mjs +2 -0
- package/Models/DatabaseModels/SecurityBlockEnforcement.d.mts +22 -0
- package/Models/DatabaseModels/SecurityBlockEnforcement.d.ts +22 -0
- package/Models/DatabaseModels/SecurityBlockEnforcement.js +368 -0
- package/Models/DatabaseModels/SecurityBlockEnforcement.mjs +2 -0
- package/Models/DatabaseModels/SecurityCase.js +29 -0
- package/Models/DatabaseModels/SecurityCasePriority.js +1 -1
- package/Models/DatabaseModels/SecurityCaseStatus.js +1 -1
- package/Models/DatabaseModels/SecurityDetection.d.mts +2 -1
- package/Models/DatabaseModels/SecurityDetection.d.ts +2 -1
- package/Models/DatabaseModels/SecurityDetection.js +32 -0
- package/Models/DatabaseModels/SecurityEventConnection.js +18 -0
- package/Models/DatabaseModels/SecurityPlaybookRun.js +15 -0
- package/Models/DatabaseModels/SecurityProtectedEntity.js +10 -8
- package/Models/DatabaseModels/ServerlessFunction.js +2 -0
- package/Models/DatabaseModels/Service.js +2 -0
- package/Models/DatabaseModels/ServiceAINote.d.mts +22 -0
- package/Models/DatabaseModels/ServiceAINote.d.ts +22 -0
- package/Models/DatabaseModels/ServiceAINote.js +331 -0
- package/Models/DatabaseModels/ServiceAINote.mjs +7 -0
- package/Models/DatabaseModels/ServiceLevelObjective.js +3 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.d.mts +1 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.d.ts +1 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.js +40 -0
- package/Models/DatabaseModels/ServiceOwnerUser.d.mts +1 -0
- package/Models/DatabaseModels/ServiceOwnerUser.d.ts +1 -0
- package/Models/DatabaseModels/ServiceOwnerUser.js +40 -0
- package/Models/DatabaseModels/StatusPage.js +3 -0
- package/Models/DatabaseModels/StatusPageFooterLink.js +1 -1
- package/Models/DatabaseModels/StatusPageHeaderLink.js +1 -1
- package/Models/DatabaseModels/StatusPageHistoryChartBarColorRule.js +1 -1
- package/Models/DatabaseModels/StatusPageSCIM.js +3 -0
- package/Models/DatabaseModels/StatusPageSubscriber.js +4 -0
- package/Models/DatabaseModels/StorageArray.js +25 -0
- package/Models/DatabaseModels/StorageArrayResource.js +2 -1
- package/Models/DatabaseModels/Team.d.mts +1 -0
- package/Models/DatabaseModels/Team.d.ts +1 -0
- package/Models/DatabaseModels/Team.js +42 -0
- package/Models/DatabaseModels/TeamMember.d.mts +3 -0
- package/Models/DatabaseModels/TeamMember.d.ts +3 -0
- package/Models/DatabaseModels/TeamMember.js +94 -0
- package/Models/DatabaseModels/TeamPermission.js +5 -1
- package/Models/DatabaseModels/TelemetryDsym.d.mts +19 -0
- package/Models/DatabaseModels/TelemetryDsym.d.ts +19 -0
- package/Models/DatabaseModels/TelemetryDsym.js +545 -0
- package/Models/DatabaseModels/TelemetryDsym.mjs +2 -0
- package/Models/DatabaseModels/TelemetryException.js +24 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +3 -0
- package/Models/DatabaseModels/TelemetryIngestionTeamLabelBudget.d.mts +22 -0
- package/Models/DatabaseModels/TelemetryIngestionTeamLabelBudget.d.ts +22 -0
- package/Models/DatabaseModels/TelemetryIngestionTeamLabelBudget.js +385 -0
- package/Models/DatabaseModels/TelemetryIngestionTeamLabelBudget.mjs +2 -0
- package/Models/DatabaseModels/TelemetrySourceMap.js +2 -0
- package/Models/DatabaseModels/TelemetryUsageBilling.js +7 -5
- package/Models/DatabaseModels/ThreatIntelFeed.js +31 -0
- package/Models/DatabaseModels/TraceDropFilter.js +1 -1
- package/Models/DatabaseModels/TracePipeline.js +1 -1
- package/Models/DatabaseModels/TracePipelineProcessor.js +1 -1
- package/Models/DatabaseModels/TraceScrubRule.js +1 -1
- package/Models/DatabaseModels/User.d.mts +1 -0
- package/Models/DatabaseModels/User.d.ts +1 -0
- package/Models/DatabaseModels/User.js +27 -0
- package/Models/DatabaseModels/UserProjectSsoConsent.js +6 -4
- package/Models/DatabaseModels/UserSession.js +12 -8
- package/Models/DatabaseModels/VMwareVCenter.js +16 -0
- package/Models/DatabaseModels/Workflow.d.mts +11 -0
- package/Models/DatabaseModels/Workflow.d.ts +11 -0
- package/Models/DatabaseModels/Workflow.js +318 -0
- package/Models/DatabaseModels/WorkflowLog.d.mts +7 -0
- package/Models/DatabaseModels/WorkflowLog.d.ts +7 -0
- package/Models/DatabaseModels/WorkflowLog.js +211 -0
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +3 -0
- package/Models/DatabaseModels/WorkspaceUserGroup.js +4 -0
- package/Server/Services/DatabaseService.d.mts +59 -1
- package/Server/Services/DatabaseService.d.ts +59 -1
- package/Server/Types/Database/CreateBy.d.mts +1 -0
- package/Server/Types/Database/CreateBy.d.ts +1 -0
- package/Server/Types/Database/DeleteById.d.mts +2 -0
- package/Server/Types/Database/DeleteById.d.ts +2 -0
- package/Server/Types/Database/DeleteOneBy.d.mts +2 -0
- package/Server/Types/Database/DeleteOneBy.d.ts +2 -0
- package/Server/Types/Database/UpdateByID.d.mts +2 -0
- package/Server/Types/Database/UpdateByID.d.ts +2 -0
- package/Server/Types/Database/UpdateOneBy.d.mts +2 -0
- package/Server/Types/Database/UpdateOneBy.d.ts +2 -0
- package/Server/Utils/Database/ListEntries.d.mts +45 -0
- package/Server/Utils/Database/ListEntries.d.ts +45 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +6 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +6 -0
- package/Types/AI/AIActionWords.d.mts +57 -0
- package/Types/AI/AIActionWords.d.ts +57 -0
- package/Types/AI/AIActionWords.js +175 -1
- package/Types/AI/AIActionWords.mjs +3 -0
- package/Types/AI/AIAgentRunLimits.d.mts +7 -0
- package/Types/AI/AIAgentRunLimits.d.ts +7 -0
- package/Types/AI/AIAgentRunLimits.js +39 -2
- package/Types/AI/AIAgentRunLimits.mjs +3 -0
- package/Types/AI/AIChatPageContext.d.mts +20 -1
- package/Types/AI/AIChatPageContext.d.ts +20 -1
- package/Types/AI/AIChatPageContext.js +83 -2
- package/Types/AI/AIChatTestPage.d.mts +11 -0
- package/Types/AI/AIChatTestPage.d.ts +11 -0
- package/Types/AI/AIChatTestPage.js +107 -0
- package/Types/AI/AIChatTestPage.mjs +6 -0
- package/Types/AI/AIChatTypes.d.mts +6 -0
- package/Types/AI/AIChatTypes.d.ts +6 -0
- package/Types/AI/AIReadTableWords.d.mts +6 -0
- package/Types/AI/AIReadTableWords.d.ts +6 -0
- package/Types/AI/AIReadTableWords.js +13 -0
- package/Types/AI/AIRunAttempt.d.mts +2 -0
- package/Types/AI/AIRunAttempt.d.ts +2 -0
- package/Types/AI/AIRunAttempt.js +14 -1
- package/Types/AI/AIRunAttempt.mjs +1 -0
- package/Types/AI/AISetupActions.d.mts +18 -0
- package/Types/AI/AISetupActions.d.ts +18 -0
- package/Types/AI/AISetupActions.js +85 -2
- package/Types/AI/AISetupActions.mjs +8 -0
- package/Types/AI/AiActivityInsights.d.mts +11 -0
- package/Types/AI/AiActivityInsights.d.ts +11 -0
- package/Types/AI/AiActivityInsights.js +7 -2
- package/Types/AI/AiActivityInsights.mjs +1 -0
- package/Types/AI/AiOutcomes.d.mts +61 -0
- package/Types/AI/AiOutcomes.d.ts +61 -0
- package/Types/AI/AiOutcomes.js +71 -2
- package/Types/AI/AiOutcomes.mjs +12 -0
- package/Types/AI/AskAiAnswers.d.mts +23 -0
- package/Types/AI/AskAiAnswers.d.ts +23 -0
- package/Types/AI/AskAiAnswers.js +150 -0
- package/Types/AI/AskAiAnswers.mjs +9 -0
- package/Types/AI/AskAiDocsTools.d.mts +4 -0
- package/Types/AI/AskAiDocsTools.d.ts +4 -0
- package/Types/AI/AskAiDocsTools.js +25 -0
- package/Types/AI/AskAiDocsTools.mjs +5 -0
- package/Types/AI/AskAiRatings.js +2 -5
- package/Types/AI/AskAiRecordPages.d.mts +33 -0
- package/Types/AI/AskAiRecordPages.d.ts +33 -0
- package/Types/AI/AskAiRecordPages.js +58 -0
- package/Types/AI/AskAiRecordPages.mjs +5 -0
- package/Types/AI/CodeAgentRunLimits.d.mts +1 -0
- package/Types/AI/CodeAgentRunLimits.d.ts +1 -0
- package/Types/AI/CodeAgentRunLimits.js +6 -1
- package/Types/AI/CodeFixTaskType.d.mts +3 -0
- package/Types/AI/CodeFixTaskType.d.ts +3 -0
- package/Types/AI/CodeFixTaskType.js +43 -0
- package/Types/AI/CodeTask.d.mts +8 -0
- package/Types/AI/CodeTask.d.ts +8 -0
- package/Types/AI/CodeTask.js +3 -1
- package/Types/AI/CodeTask.mjs +1 -0
- package/Types/AI/CodeTaskTryAgain.d.mts +9 -0
- package/Types/AI/CodeTaskTryAgain.d.ts +9 -0
- package/Types/AI/CodeTaskTryAgain.js +56 -0
- package/Types/AI/CodeTaskTryAgain.mjs +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.d.mts +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.d.ts +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.js +33 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.mjs +2 -0
- package/Types/AI/InvestigationRecording.d.mts +1 -0
- package/Types/AI/InvestigationRecording.d.ts +1 -0
- package/Types/AI/ProjectAiRunLimits.d.mts +4 -1
- package/Types/AI/ProjectAiRunLimits.d.ts +4 -1
- package/Types/AI/ProjectAiRunLimits.js +26 -5
- package/Types/AI/ProjectAiRunLimits.mjs +2 -0
- package/Types/AI/ServiceKnowledgeSummary.d.mts +27 -0
- package/Types/AI/ServiceKnowledgeSummary.d.ts +27 -0
- package/Types/AI/ServiceKnowledgeSummary.js +68 -0
- package/Types/AI/ServiceKnowledgeSummary.mjs +4 -0
- package/Types/API/FieldsLeftOut.d.mts +8 -0
- package/Types/API/FieldsLeftOut.d.ts +8 -0
- package/Types/API/FieldsLeftOut.js +98 -0
- package/Types/API/FieldsLeftOut.mjs +3 -0
- package/Types/API/Route.js +18 -6
- package/Types/Accounts/EmailAddressChangedEmail.d.mts +35 -0
- package/Types/Accounts/EmailAddressChangedEmail.d.ts +35 -0
- package/Types/Accounts/EmailAddressChangedEmail.js +201 -0
- package/Types/Accounts/EmailAddressChangedEmail.mjs +10 -0
- package/Types/Accounts/InvitationSsoSignIn.d.mts +8 -0
- package/Types/Accounts/InvitationSsoSignIn.d.ts +8 -0
- package/Types/Accounts/InvitationSsoSignIn.js +55 -0
- package/Types/Accounts/InvitationSsoSignIn.mjs +5 -0
- package/Types/Accounts/Reauthentication.d.mts +99 -0
- package/Types/Accounts/Reauthentication.d.ts +99 -0
- package/Types/Accounts/Reauthentication.js +341 -0
- package/Types/Accounts/Reauthentication.mjs +21 -0
- package/Types/Accounts/RememberedSsoProvider.d.mts +17 -0
- package/Types/Accounts/RememberedSsoProvider.d.ts +17 -0
- package/Types/Accounts/RememberedSsoProvider.js +114 -0
- package/Types/Accounts/RememberedSsoProvider.mjs +3 -0
- package/Types/Accounts/SecondStepEnrolment.d.mts +16 -0
- package/Types/Accounts/SecondStepEnrolment.d.ts +16 -0
- package/Types/Accounts/SecondStepEnrolment.js +96 -0
- package/Types/Accounts/SecondStepEnrolment.mjs +14 -0
- package/Types/Accounts/SecurityKeySignIn.d.mts +1 -0
- package/Types/Accounts/SecurityKeySignIn.d.ts +1 -0
- package/Types/Accounts/SecurityKeySignIn.js +33 -0
- package/Types/Accounts/SecurityKeySignIn.mjs +2 -0
- package/Types/Accounts/SignInMessages.d.mts +1 -0
- package/Types/Accounts/SignInMessages.d.ts +1 -0
- package/Types/Accounts/SignInMessages.js +14 -2
- package/Types/Accounts/SignInMessages.mjs +1 -0
- package/Types/Accounts/SignUpInvitation.d.mts +6 -0
- package/Types/Accounts/SignUpInvitation.d.ts +6 -0
- package/Types/Accounts/SignUpInvitation.js +40 -1
- package/Types/Accounts/SignUpInvitation.mjs +1 -0
- package/Types/Accounts/SsoSignInLinks.d.mts +20 -0
- package/Types/Accounts/SsoSignInLinks.d.ts +20 -0
- package/Types/Accounts/SsoSignInLinks.js +97 -0
- package/Types/Accounts/SsoSignInLinks.mjs +6 -0
- package/Types/Analytics/ProductEvent.d.mts +3 -0
- package/Types/Analytics/ProductEvent.d.ts +3 -0
- package/Types/Analytics/ProductEvent.js +37 -4
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.mts +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.ts +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.js +8 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +1 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +1 -0
- package/Types/AuditLog/AuditLogCoverage.js +16 -2
- package/Types/AuditLog/AuditLogCoverage.mjs +1 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +2 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.d.mts +17 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.d.ts +17 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.js +87 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.mjs +4 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +9 -1
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +9 -1
- package/Types/AuditLog/Export/AuditLogExportRecord.js +55 -9
- package/Types/AuditLog/Export/AuditLogExportRecord.mjs +3 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +10 -1
- package/Types/AutoRemediation/RemediationRound.d.ts +10 -1
- package/Types/AutoRemediation/RemediationRound.js +37 -6
- package/Types/AutoRemediation/RemediationRound.mjs +3 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +4 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +4 -0
- package/Types/Billing/PayAsYouGoPricing.d.mts +5 -0
- package/Types/Billing/PayAsYouGoPricing.d.ts +5 -0
- package/Types/Billing/PayAsYouGoPricing.js +24 -6
- package/Types/Billing/PayAsYouGoPricing.mjs +1 -0
- package/Types/Call/CallStatus.d.mts +2 -1
- package/Types/Call/CallStatus.d.ts +2 -1
- package/Types/Call/CallStatus.js +6 -0
- package/Types/Cloud/AppServiceSiteActivity.d.mts +55 -0
- package/Types/Cloud/AppServiceSiteActivity.d.ts +55 -0
- package/Types/Cloud/AppServiceSiteActivity.js +321 -0
- package/Types/Cloud/AppServiceSiteActivity.mjs +16 -0
- package/Types/Cloud/AwsDocumentedMetricUnits.d.mts +6 -0
- package/Types/Cloud/AwsDocumentedMetricUnits.d.ts +6 -0
- package/Types/Cloud/AwsDocumentedMetricUnits.js +1603 -0
- package/Types/Cloud/AwsDocumentedMetricUnits.mjs +3 -0
- package/Types/Cloud/AwsMetricUnits.d.mts +1 -0
- package/Types/Cloud/AwsMetricUnits.d.ts +1 -0
- package/Types/Cloud/AwsMetricUnits.js +38 -0
- package/Types/Cloud/AwsMetricUnits.mjs +2 -0
- package/Types/Cloud/AwsRoleArn.d.mts +2 -0
- package/Types/Cloud/AwsRoleArn.d.ts +2 -0
- package/Types/Cloud/AwsRoleArn.js +58 -0
- package/Types/Cloud/AwsRoleArn.mjs +3 -0
- package/Types/Cloud/CloudAddedMetricReaders.d.mts +43 -0
- package/Types/Cloud/CloudAddedMetricReaders.d.ts +43 -0
- package/Types/Cloud/CloudAddedMetricReaders.js +202 -0
- package/Types/Cloud/CloudAddedMetricReaders.mjs +5 -0
- package/Types/Cloud/CloudAddedMetrics.d.mts +82 -0
- package/Types/Cloud/CloudAddedMetrics.d.ts +82 -0
- package/Types/Cloud/CloudAddedMetrics.js +603 -0
- package/Types/Cloud/CloudAddedMetrics.mjs +25 -0
- package/Types/Cloud/CloudCost.d.mts +4 -1
- package/Types/Cloud/CloudCost.d.ts +4 -1
- package/Types/Cloud/CloudCost.js +15 -1
- package/Types/Cloud/CloudKeyMetricCondition.d.mts +10 -0
- package/Types/Cloud/CloudKeyMetricCondition.d.ts +10 -0
- package/Types/Cloud/CloudKeyMetricCondition.js +65 -0
- package/Types/Cloud/CloudKeyMetricCondition.mjs +4 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +68 -4
- package/Types/Cloud/CloudKeyMetrics.d.ts +68 -4
- package/Types/Cloud/CloudKeyMetrics.js +891 -213
- package/Types/Cloud/CloudKeyMetrics.mjs +24 -0
- package/Types/Cloud/CloudLogGroups.js +4 -4
- package/Types/Cloud/CloudMonitoredResource.js +16 -2
- package/Types/Cloud/CloudPublishedMetrics.d.mts +51 -0
- package/Types/Cloud/CloudPublishedMetrics.d.ts +51 -0
- package/Types/Cloud/CloudPublishedMetrics.js +215 -0
- package/Types/Cloud/CloudPublishedMetrics.mjs +7 -0
- package/Types/Cloud/CloudReadingKeys.d.mts +10 -0
- package/Types/Cloud/CloudReadingKeys.d.ts +10 -0
- package/Types/Cloud/CloudReadingKeys.js +37 -0
- package/Types/Cloud/CloudReadingKeys.mjs +3 -0
- package/Types/Cloud/CloudResourceCatalog.d.mts +1 -0
- package/Types/Cloud/CloudResourceCatalog.d.ts +1 -0
- package/Types/Cloud/CloudResourceCatalog.js +33 -2
- package/Types/Cloud/CloudResourceHealth.d.mts +95 -1
- package/Types/Cloud/CloudResourceHealth.d.ts +95 -1
- package/Types/Cloud/CloudResourceHealth.js +703 -33
- package/Types/Cloud/CloudResourceHealth.mjs +43 -0
- package/Types/Cloud/CloudResourceMetricCollection.d.mts +41 -0
- package/Types/Cloud/CloudResourceMetricCollection.d.ts +41 -0
- package/Types/Cloud/CloudResourceMetricCollection.js +167 -0
- package/Types/Cloud/CloudResourceMetricCollection.mjs +9 -0
- package/Types/Cloud/CloudRightSizing.js +9 -3
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.mts +118 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.ts +118 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.js +637 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.mjs +20 -0
- package/Types/CloudConnection/AwsRoleExternalIdRefusal.d.mts +9 -0
- package/Types/CloudConnection/AwsRoleExternalIdRefusal.d.ts +9 -0
- package/Types/CloudConnection/AwsRoleExternalIdRefusal.js +70 -0
- package/Types/CloudConnection/AwsRoleExternalIdRefusal.mjs +6 -0
- package/Types/CloudConnection/AwsRoleSignInFailures.d.mts +15 -0
- package/Types/CloudConnection/AwsRoleSignInFailures.d.ts +15 -0
- package/Types/CloudConnection/AwsRoleSignInFailures.js +27 -0
- package/Types/CloudConnection/AwsRoleSignInFailures.mjs +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +6 -3
- package/Types/CloudConnection/CloudConnectionCost.d.mts +23 -0
- package/Types/CloudConnection/CloudConnectionCost.d.ts +23 -0
- package/Types/CloudConnection/CloudConnectionCost.js +111 -4
- package/Types/CloudConnection/CloudConnectionCost.mjs +4 -0
- package/Types/CloudConnection/CloudConnectionPaste.d.mts +2 -1
- package/Types/CloudConnection/CloudConnectionPaste.d.ts +2 -1
- package/Types/CloudConnection/CloudConnectionPaste.js +4 -42
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +23 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +23 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +110 -8
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +7 -0
- package/Types/CloudConnection/CloudStream.d.mts +5 -0
- package/Types/CloudConnection/CloudStream.d.ts +5 -0
- package/Types/CloudConnection/CloudStream.js +46 -2
- package/Types/CloudConnection/CloudStream.mjs +3 -0
- package/Types/CloudConnection/CloudStreamAzure.d.mts +16 -0
- package/Types/CloudConnection/CloudStreamAzure.d.ts +16 -0
- package/Types/CloudConnection/CloudStreamAzure.js +245 -41
- package/Types/CloudConnection/CloudStreamAzure.mjs +12 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.mts +6 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.ts +6 -0
- package/Types/CloudConnection/CloudStreamOrganization.js +36 -1
- package/Types/CloudConnection/CloudStreamOrganization.mjs +2 -0
- package/Types/CloudConnection/CloudStreamStack.d.mts +48 -0
- package/Types/CloudConnection/CloudStreamStack.d.ts +48 -0
- package/Types/CloudConnection/CloudStreamStack.js +198 -0
- package/Types/CloudConnection/CloudStreamStack.mjs +15 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +14 -1
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +14 -1
- package/Types/CloudConnection/CloudStreamTemplate.js +147 -16
- package/Types/CloudConnection/CloudStreamTemplate.mjs +10 -0
- package/Types/CookieName.d.mts +7 -1
- package/Types/CookieName.d.ts +7 -1
- package/Types/CookieName.js +18 -0
- package/Types/Dashboard/DashboardAccess.d.mts +6 -1
- package/Types/Dashboard/DashboardAccess.d.ts +6 -1
- package/Types/Dashboard/DashboardAccess.js +79 -19
- package/Types/Dashboard/DashboardAccess.mjs +2 -0
- package/Types/Dashboard/DashboardComponents/DashboardDataSourceChartComponent.d.mts +1 -0
- package/Types/Dashboard/DashboardComponents/DashboardDataSourceChartComponent.d.ts +1 -0
- package/Types/Dashboard/DashboardPrivateUserSignIn.d.mts +27 -0
- package/Types/Dashboard/DashboardPrivateUserSignIn.d.ts +27 -0
- package/Types/Dashboard/DashboardPrivateUserSignIn.js +56 -0
- package/Types/Dashboard/DashboardPrivateUserSignIn.mjs +10 -0
- package/Types/Dashboard/PublicDashboardPromQL.d.mts +1 -0
- package/Types/Dashboard/PublicDashboardPromQL.d.ts +1 -0
- package/Types/Dashboard/PublicDashboardPromQL.js +13 -0
- package/Types/Dashboard/PublicDashboardPromQL.mjs +2 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.mts +3 -1
- package/Types/Dashboard/PublicDashboardServedSettings.d.ts +3 -1
- package/Types/Dashboard/PublicDashboardServedSettings.js +98 -10
- package/Types/DataObservability/DataBiLineage.d.mts +5 -0
- package/Types/DataObservability/DataBiLineage.d.ts +5 -0
- package/Types/DataObservability/DataBiLineage.js +29 -1
- package/Types/DataObservability/DataCircuitBreaker.d.mts +78 -0
- package/Types/DataObservability/DataCircuitBreaker.d.ts +78 -0
- package/Types/DataObservability/DataCircuitBreaker.js +262 -0
- package/Types/DataObservability/DataCircuitBreaker.mjs +12 -0
- package/Types/DataObservability/DataLineageMap.d.mts +3 -0
- package/Types/DataObservability/DataLineageMap.d.ts +3 -0
- package/Types/DataObservability/DataLineageMap.js +22 -0
- package/Types/DataObservability/DataLineageMap.mjs +2 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +18 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +18 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +10 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +1 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +1 -0
- package/Types/DataObservability/DataObservabilityAttention.js +12 -6
- package/Types/DataObservability/DataPipelineMetric.d.mts +2 -1
- package/Types/DataObservability/DataPipelineMetric.d.ts +2 -1
- package/Types/DataObservability/DataPipelineMetric.js +12 -2
- package/Types/DataObservability/SkippedTables.d.mts +24 -0
- package/Types/DataObservability/SkippedTables.d.ts +24 -0
- package/Types/DataObservability/SkippedTables.js +147 -0
- package/Types/DataObservability/SkippedTables.mjs +9 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.mts +9 -2
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.ts +9 -2
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +46 -10
- package/Types/DataSecurity/ComplianceRequirementCatalog.mjs +1 -0
- package/Types/DataSecurity/ComplianceScope.d.mts +29 -0
- package/Types/DataSecurity/ComplianceScope.d.ts +29 -0
- package/Types/DataSecurity/ComplianceScope.js +120 -0
- package/Types/DataSecurity/ComplianceScope.mjs +7 -0
- package/Types/DataSecurity/ComplianceSettingFramework.d.mts +5 -0
- package/Types/DataSecurity/ComplianceSettingFramework.d.ts +5 -0
- package/Types/DataSecurity/ComplianceSettingFramework.js +10 -0
- package/Types/DataSecurity/ComplianceSettingFramework.mjs +3 -0
- package/Types/DataSecurity/CustomDataTypeId.d.mts +3 -0
- package/Types/DataSecurity/CustomDataTypeId.d.ts +3 -0
- package/Types/DataSecurity/CustomDataTypeId.js +22 -0
- package/Types/DataSecurity/CustomDataTypeId.mjs +4 -0
- package/Types/DataSecurity/DataSecurityAiFeatures.d.mts +27 -0
- package/Types/DataSecurity/DataSecurityAiFeatures.d.ts +27 -0
- package/Types/DataSecurity/DataSecurityAiFeatures.js +153 -0
- package/Types/DataSecurity/DataSecurityAiFeatures.mjs +8 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +129 -2
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +129 -2
- package/Types/DataSecurity/DataSecurityApiTypes.js +60 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +4 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +7 -10
- package/Types/DataSecurity/DataStoreKind.d.mts +2 -1
- package/Types/DataSecurity/DataStoreKind.d.ts +2 -1
- package/Types/DataSecurity/DataStoreKind.js +8 -1
- package/Types/DataSecurity/DataStoreResource.d.mts +32 -0
- package/Types/DataSecurity/DataStoreResource.d.ts +32 -0
- package/Types/DataSecurity/DataStoreResource.js +142 -0
- package/Types/DataSecurity/DataStoreResource.mjs +11 -0
- package/Types/DataSecurity/DataTypeNamer.d.mts +15 -0
- package/Types/DataSecurity/DataTypeNamer.d.ts +15 -0
- package/Types/DataSecurity/DataTypeNamer.js +148 -0
- package/Types/DataSecurity/DataTypeNamer.mjs +4 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +5 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +5 -0
- package/Types/DataSecurity/FindingSampleRecord.js +62 -11
- package/Types/DataSecurity/FindingSampleRecord.mjs +1 -0
- package/Types/DataSecurity/TelemetryScrubTarget.d.mts +28 -0
- package/Types/DataSecurity/TelemetryScrubTarget.d.ts +28 -0
- package/Types/DataSecurity/TelemetryScrubTarget.js +125 -0
- package/Types/DataSecurity/TelemetryScrubTarget.mjs +12 -0
- package/Types/DataSource/ProjectMetricsDataSource.d.mts +4 -0
- package/Types/DataSource/ProjectMetricsDataSource.d.ts +4 -0
- package/Types/DataSource/ProjectMetricsDataSource.js +27 -0
- package/Types/DataSource/ProjectMetricsDataSource.mjs +3 -0
- package/Types/Database/AccessControl/AccountDateColumns.d.mts +3 -0
- package/Types/Database/AccessControl/AccountDateColumns.d.ts +3 -0
- package/Types/Database/AccessControl/AccountDateColumns.js +32 -0
- package/Types/Database/AccessControl/AccountDateColumns.mjs +4 -0
- package/Types/Database/AccessControl/ColumnAccessControl.js +36 -2
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +118 -4
- package/Types/Database/AccessControl/TableAccessControl.js +39 -11
- package/Types/Database/ListChanges.d.mts +21 -0
- package/Types/Database/ListChanges.d.ts +21 -0
- package/Types/Database/ListChanges.js +198 -0
- package/Types/Database/ListChanges.mjs +4 -0
- package/Types/Database/MoveInList.d.mts +11 -2
- package/Types/Database/MoveInList.d.ts +11 -2
- package/Types/Database/MoveInList.js +74 -23
- package/Types/Database/MoveInList.mjs +2 -0
- package/Types/Database/RelationReaders.d.mts +5 -0
- package/Types/Database/RelationReaders.d.ts +5 -0
- package/Types/Database/RelationReaders.js +44 -0
- package/Types/Database/RelationReaders.mjs +2 -0
- package/Types/Database/RelationReadersUtil.d.mts +29 -0
- package/Types/Database/RelationReadersUtil.d.ts +29 -0
- package/Types/Database/RelationReadersUtil.js +178 -0
- package/Types/Database/RelationReadersUtil.mjs +2 -0
- package/Types/Database/ServerOwned.d.mts +6 -0
- package/Types/Database/ServerOwned.d.ts +6 -0
- package/Types/Database/ServerOwned.js +76 -0
- package/Types/Database/ServerOwned.mjs +2 -0
- package/Types/Database/SharedNameMarks.d.mts +39 -0
- package/Types/Database/SharedNameMarks.d.ts +39 -0
- package/Types/Database/SharedNameMarks.js +208 -0
- package/Types/Database/SharedNameMarks.mjs +11 -0
- package/Types/Database/SharedNames.d.mts +16 -0
- package/Types/Database/SharedNames.d.ts +16 -0
- package/Types/Database/SharedNames.js +82 -0
- package/Types/Database/SharedNames.mjs +8 -0
- package/Types/Database/TableColumn.d.mts +5 -0
- package/Types/Database/TableColumn.d.ts +5 -0
- package/Types/Database/UniqueName.d.mts +41 -0
- package/Types/Database/UniqueName.d.ts +41 -0
- package/Types/Database/UniqueName.js +242 -0
- package/Types/Database/UniqueName.mjs +25 -0
- package/Types/Date.d.mts +41 -1
- package/Types/Date.d.ts +41 -1
- package/Types/Date.js +377 -155
- package/Types/DateLanguage.d.mts +18 -2
- package/Types/DateLanguage.d.ts +18 -2
- package/Types/DateLanguage.js +311 -49
- package/Types/DateLanguage.mjs +6 -1
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.d.mts +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.d.ts +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.js +98 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.mjs +5 -0
- package/Types/DeviceManagement/DeviceManagementConnectionReading.d.mts +50 -0
- package/Types/DeviceManagement/DeviceManagementConnectionReading.d.ts +50 -0
- package/Types/DeviceManagement/DeviceManagementConnectionReading.js +192 -0
- package/Types/DeviceManagement/DeviceManagementConnectionReading.mjs +12 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.mts +99 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.ts +99 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.js +1053 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.mjs +73 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.d.mts +14 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.d.ts +14 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.js +5 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.mjs +2 -0
- package/Types/DeviceManagement/DeviceManagementProvider.d.mts +12 -0
- package/Types/DeviceManagement/DeviceManagementProvider.d.ts +12 -0
- package/Types/DeviceManagement/DeviceManagementProvider.js +80 -0
- package/Types/DeviceManagement/DeviceManagementProvider.mjs +7 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.d.mts +28 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.d.ts +28 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.js +67 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.mjs +4 -0
- package/Types/DeviceManagement/ManagedDeviceAlertScope.d.mts +19 -0
- package/Types/DeviceManagement/ManagedDeviceAlertScope.d.ts +19 -0
- package/Types/DeviceManagement/ManagedDeviceAlertScope.js +150 -0
- package/Types/DeviceManagement/ManagedDeviceAlertScope.mjs +6 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.mts +106 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.ts +106 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.js +490 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.mjs +32 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.mts +46 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.ts +46 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.js +268 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.mjs +24 -0
- package/Types/DeviceManagement/ManagedDevicePlatform.d.mts +20 -0
- package/Types/DeviceManagement/ManagedDevicePlatform.d.ts +20 -0
- package/Types/DeviceManagement/ManagedDevicePlatform.js +143 -0
- package/Types/DeviceManagement/ManagedDevicePlatform.mjs +9 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.mts +62 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.ts +62 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.js +226 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.mjs +13 -0
- package/Types/DockerSwarm/DockerSwarmInventoryExtractor.js +20 -1
- package/Types/Domain.d.mts +1 -0
- package/Types/Domain.d.ts +1 -0
- package/Types/Domain.js +30 -0
- package/Types/Email/AmazonSesRoleExternalId.d.mts +5 -0
- package/Types/Email/AmazonSesRoleExternalId.d.ts +5 -0
- package/Types/Email/AmazonSesRoleExternalId.js +50 -0
- package/Types/Email/AmazonSesRoleExternalId.mjs +3 -0
- package/Types/Email/AmazonSesRoleSetup.d.mts +8 -0
- package/Types/Email/AmazonSesRoleSetup.d.ts +8 -0
- package/Types/Email/AmazonSesRoleSetup.js +60 -0
- package/Types/Email/AmazonSesRoleSetup.mjs +3 -0
- package/Types/Email/AmazonSesRoleWords.d.mts +11 -0
- package/Types/Email/AmazonSesRoleWords.d.ts +11 -0
- package/Types/Email/AmazonSesRoleWords.js +75 -0
- package/Types/Email/AmazonSesRoleWords.mjs +11 -0
- package/Types/Email/EmailMessage.d.mts +1 -0
- package/Types/Email/EmailMessage.d.ts +1 -0
- package/Types/Email/EmailServer.d.mts +2 -0
- package/Types/Email/EmailServer.d.ts +2 -0
- package/Types/Email/EmailTemplateType.d.mts +15 -0
- package/Types/Email/EmailTemplateType.d.ts +15 -0
- package/Types/Email/EmailTemplateType.js +60 -0
- package/Types/Email/ProjectAmazonSesAuthenticationType.d.mts +28 -0
- package/Types/Email/ProjectAmazonSesAuthenticationType.d.ts +28 -0
- package/Types/Email/ProjectAmazonSesAuthenticationType.js +47 -0
- package/Types/Email/ProjectAmazonSesAuthenticationType.mjs +4 -0
- package/Types/Email/ServerAwsIdentity.d.mts +19 -0
- package/Types/Email/ServerAwsIdentity.d.ts +19 -0
- package/Types/Email/ServerAwsIdentity.js +75 -0
- package/Types/Email/ServerAwsIdentity.mjs +4 -0
- package/Types/Events/Recurring.d.mts +52 -8
- package/Types/Events/Recurring.d.ts +52 -8
- package/Types/Events/Recurring.js +117 -58
- package/Types/Exception/BadDataExceptionWithDetails.d.mts +1 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.ts +1 -0
- package/Types/Exception/BadDataExceptionWithDetails.js +18 -5
- package/Types/Exception/BadDataExceptionWithDetails.mjs +1 -0
- package/Types/Exception/NameTakenException.d.mts +13 -0
- package/Types/Exception/NameTakenException.d.ts +13 -0
- package/Types/Exception/NameTakenException.js +81 -0
- package/Types/Exception/NameTakenException.mjs +7 -0
- package/Types/Exception/ReauthenticationRequiredException.d.mts +7 -0
- package/Types/Exception/ReauthenticationRequiredException.d.ts +7 -0
- package/Types/Exception/ReauthenticationRequiredException.js +60 -0
- package/Types/Exception/ReauthenticationRequiredException.mjs +2 -0
- package/Types/Exception/ValueTakenException.d.mts +15 -0
- package/Types/Exception/ValueTakenException.d.ts +15 -0
- package/Types/Exception/ValueTakenException.js +79 -0
- package/Types/Exception/ValueTakenException.mjs +7 -0
- package/Types/Form/FormIpAllowlist.d.mts +2 -1
- package/Types/Form/FormIpAllowlist.d.ts +2 -1
- package/Types/Form/FormIpAllowlist.js +3 -19
- package/Types/Form/FormPrivateUserSignIn.d.mts +21 -0
- package/Types/Form/FormPrivateUserSignIn.d.ts +21 -0
- package/Types/Form/FormPrivateUserSignIn.js +73 -0
- package/Types/Form/FormPrivateUserSignIn.mjs +13 -0
- package/Types/GuidedSetup/GuidedSetupRun.d.mts +74 -0
- package/Types/GuidedSetup/GuidedSetupRun.d.ts +74 -0
- package/Types/GuidedSetup/GuidedSetupRun.js +358 -0
- package/Types/GuidedSetup/GuidedSetupRun.mjs +17 -0
- package/Types/HeldPermissions.d.mts +10 -0
- package/Types/HeldPermissions.d.ts +10 -0
- package/Types/HeldPermissions.js +63 -0
- package/Types/Host/AndroidAgentPermissions.d.mts +17 -0
- package/Types/Host/AndroidAgentPermissions.d.ts +17 -0
- package/Types/Host/AndroidAgentPermissions.js +92 -0
- package/Types/Host/AndroidAgentPermissions.mjs +7 -0
- package/Types/Host/AndroidSecurityPatch.d.mts +13 -0
- package/Types/Host/AndroidSecurityPatch.d.ts +13 -0
- package/Types/Host/AndroidSecurityPatch.js +114 -0
- package/Types/Host/AndroidSecurityPatch.mjs +5 -0
- package/Types/Host/HostHealth.d.mts +2 -0
- package/Types/Host/HostHealth.d.ts +2 -0
- package/Types/Host/HostHealth.js +10 -1
- package/Types/Host/HostHealth.mjs +1 -0
- package/Types/Host/HostLogSession.d.mts +33 -0
- package/Types/Host/HostLogSession.d.ts +33 -0
- package/Types/Host/HostLogSession.js +133 -0
- package/Types/Host/HostLogSession.mjs +15 -0
- package/Types/HostCollector/HostCollector.js +1 -1
- package/Types/HostCollector/HostCollectorRoutes.d.mts +1 -0
- package/Types/HostCollector/HostCollectorRoutes.d.ts +1 -0
- package/Types/HostCollector/HostCollectorRoutes.js +9 -0
- package/Types/HostCollector/HostCollectorRoutes.mjs +2 -0
- package/Types/Icon/IconProp.d.mts +2 -0
- package/Types/Icon/IconProp.d.ts +2 -0
- package/Types/Icon/IconProp.js +3 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.d.mts +16 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.d.ts +16 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.js +59 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.mjs +3 -0
- package/Types/JsonWebTokenPurpose.d.mts +5 -1
- package/Types/JsonWebTokenPurpose.d.ts +5 -1
- package/Types/JsonWebTokenPurpose.js +38 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.mts +28 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.ts +28 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.js +487 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.mjs +14 -0
- package/Types/Kubernetes/Compliance/KubernetesAgentWorkloads.d.mts +22 -0
- package/Types/Kubernetes/Compliance/KubernetesAgentWorkloads.d.ts +22 -0
- package/Types/Kubernetes/Compliance/KubernetesAgentWorkloads.js +105 -0
- package/Types/Kubernetes/Compliance/KubernetesAgentWorkloads.mjs +7 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.mts +63 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.ts +63 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.js +14 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.mjs +2 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.mts +41 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.ts +41 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.js +521 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.mjs +15 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.mts +31 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.ts +31 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.js +17 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.mjs +3 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.mts +16 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.ts +16 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.js +124 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.mjs +12 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.mts +66 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.ts +66 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.js +684 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.mjs +7 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.mts +58 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.ts +58 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.js +35 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.mjs +3 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSummary.d.mts +52 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSummary.d.ts +52 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSummary.js +243 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSummary.mjs +12 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkCatalog.d.mts +29 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkCatalog.d.ts +29 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkCatalog.js +444 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkCatalog.mjs +7 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkScoring.d.mts +22 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkScoring.d.ts +22 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkScoring.js +157 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkScoring.mjs +7 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.mts +49 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.ts +49 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.js +187 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.mjs +23 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.d.mts +11 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.d.ts +11 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.js +79 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.mjs +8 -0
- package/Types/Kubernetes/Compliance/NsaCisaHardening.d.mts +56 -0
- package/Types/Kubernetes/Compliance/NsaCisaHardening.d.ts +56 -0
- package/Types/Kubernetes/Compliance/NsaCisaHardening.js +594 -0
- package/Types/Kubernetes/Compliance/NsaCisaHardening.mjs +14 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.d.mts +58 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.d.ts +58 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.js +638 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.mjs +20 -0
- package/Types/Kubernetes/KubernetesCostCorrection.d.mts +26 -0
- package/Types/Kubernetes/KubernetesCostCorrection.d.ts +26 -0
- package/Types/Kubernetes/KubernetesCostCorrection.js +42 -0
- package/Types/Kubernetes/KubernetesCostCorrection.mjs +3 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.d.mts +16 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.d.ts +16 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.js +74 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.mjs +7 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.mts +6 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.ts +6 -0
- package/Types/Kubernetes/KubernetesCostIngest.js +14 -16
- package/Types/Kubernetes/KubernetesCostIngest.mjs +3 -0
- package/Types/Kubernetes/KubernetesCostMetrics.d.mts +47 -0
- package/Types/Kubernetes/KubernetesCostMetrics.d.ts +47 -0
- package/Types/Kubernetes/KubernetesCostMetrics.js +296 -0
- package/Types/Kubernetes/KubernetesCostMetrics.mjs +19 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.mts +28 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.ts +28 -0
- package/Types/Kubernetes/KubernetesCostPricing.js +144 -0
- package/Types/Kubernetes/KubernetesCostPricing.mjs +9 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +26 -3
- package/Types/Kubernetes/KubernetesHealth.d.ts +26 -3
- package/Types/Kubernetes/KubernetesHealth.js +424 -37
- package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.js +20 -3
- package/Types/Kubernetes/KubernetesNodeBenchmark.d.mts +46 -0
- package/Types/Kubernetes/KubernetesNodeBenchmark.d.ts +46 -0
- package/Types/Kubernetes/KubernetesNodeBenchmark.js +321 -0
- package/Types/Kubernetes/KubernetesNodeBenchmark.mjs +23 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +32 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +32 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +198 -4
- package/Types/Kubernetes/KubernetesObjectParser.mjs +5 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.mts +65 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.ts +65 -0
- package/Types/Kubernetes/KubernetesPodSecurity.js +409 -0
- package/Types/Kubernetes/KubernetesPodSecurity.mjs +6 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.d.mts +62 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.d.ts +62 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.js +239 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.mjs +16 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.mts +56 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.ts +56 -0
- package/Types/Kubernetes/KubernetesStorageHealth.js +413 -0
- package/Types/Kubernetes/KubernetesStorageHealth.mjs +21 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.mts +2 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.ts +2 -0
- package/Types/Kubernetes/OpenShiftObjectParser.js +6 -0
- package/Types/Log/LogAnalyticsAggregation.d.mts +9 -0
- package/Types/Log/LogAnalyticsAggregation.d.ts +9 -0
- package/Types/Log/LogAnalyticsAggregation.js +63 -0
- package/Types/Log/LogAnalyticsAggregation.mjs +8 -0
- package/Types/MeaningKeys.js +47 -0
- package/Types/MessageQueue/MessagingTelemetryResolver.js +4 -2
- package/Types/Metrics/MetricOutputReaders.d.mts +31 -0
- package/Types/Metrics/MetricOutputReaders.d.ts +31 -0
- package/Types/Metrics/MetricOutputReaders.js +179 -0
- package/Types/Metrics/MetricOutputReaders.mjs +7 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +46 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +46 -0
- package/Types/Monitor/CloudAlertTemplates.js +835 -6
- package/Types/Monitor/CloudAlertTemplates.mjs +18 -0
- package/Types/Monitor/CriteriaFilter.d.mts +4 -0
- package/Types/Monitor/CriteriaFilter.d.ts +4 -0
- package/Types/Monitor/CriteriaFilter.js +19 -0
- package/Types/Monitor/CriteriaFilterTerms.js +4 -0
- package/Types/Monitor/DataPipelineAlertTemplates.js +34 -1
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.mts +14 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.ts +14 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.js +89 -2
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.mjs +6 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.mts +6 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.ts +6 -0
- package/Types/Monitor/HostAlertTemplates.d.mts +15 -0
- package/Types/Monitor/HostAlertTemplates.d.ts +15 -0
- package/Types/Monitor/HostAlertTemplates.js +426 -8
- package/Types/Monitor/HostAlertTemplates.mjs +5 -0
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +5 -1
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +5 -1
- package/Types/Monitor/KubernetesAlertTemplates.js +419 -27
- package/Types/Monitor/KubernetesAlertTemplates.mjs +3 -0
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +1 -1
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +1 -1
- package/Types/Monitor/KubernetesMetricCatalog.js +133 -1
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.mts +75 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.ts +75 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.js +1177 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.mjs +23 -0
- package/Types/Monitor/MonitorSecretType.d.mts +11 -0
- package/Types/Monitor/MonitorSecretType.d.ts +11 -0
- package/Types/Monitor/MonitorSecretType.js +37 -0
- package/Types/Monitor/MonitorSecretType.mjs +3 -0
- package/Types/Monitor/MonitorStep.d.mts +5 -0
- package/Types/Monitor/MonitorStep.d.ts +5 -0
- package/Types/Monitor/MonitorStep.js +58 -1
- package/Types/Monitor/MonitorStepExceptionMonitor.d.mts +7 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.ts +7 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.js +82 -3
- package/Types/Monitor/MonitorStepIoTMonitor.js +4 -17
- package/Types/Monitor/MonitorStepMetricMonitor.d.mts +15 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.ts +15 -0
- package/Types/Monitor/MonitorStepMetricMonitor.js +107 -1
- package/Types/Monitor/MonitorStepMetricMonitor.mjs +3 -0
- package/Types/Monitor/MonitorStepTraceMonitor.d.mts +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.d.ts +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.js +50 -0
- package/Types/Monitor/MonitorSteps.d.mts +1 -0
- package/Types/Monitor/MonitorSteps.d.ts +1 -0
- package/Types/Monitor/MonitorSteps.js +22 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +2 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +2 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +160 -31
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.mjs +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.d.mts +38 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.d.ts +38 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.js +168 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.mjs +2 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +17 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +17 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +8 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.mts +2 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.ts +2 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +85 -16
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.mts +2 -1
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.ts +2 -1
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.js +4 -3
- package/Types/Monitor/RumAlertTemplates.d.mts +25 -1
- package/Types/Monitor/RumAlertTemplates.d.ts +25 -1
- package/Types/Monitor/RumAlertTemplates.js +724 -12
- package/Types/Monitor/RumAlertTemplates.mjs +13 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.mts +13 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.ts +13 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.js +341 -5
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.d.mts +15 -11
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.d.ts +15 -11
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.js +117 -4
- package/Types/Monitor/TelemetryAlertRule.d.mts +1 -0
- package/Types/Monitor/TelemetryAlertRule.d.ts +1 -0
- package/Types/Monitor/TelemetryAlertRule.js +14 -6
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.mts +17 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.ts +17 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.js +2 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.mjs +1 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.mts +6 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.ts +6 -0
- package/Types/NetworkController/NetworkControllerDeviceAdd.d.mts +13 -2
- package/Types/NetworkController/NetworkControllerDeviceAdd.d.ts +13 -2
- package/Types/NetworkController/NetworkControllerDeviceAdd.js +119 -18
- package/Types/NetworkController/NetworkControllerDeviceAdd.mjs +4 -1
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +1 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +1 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +4 -0
- package/Types/NetworkDevice/DiscoveryImport.d.mts +1 -0
- package/Types/NetworkDevice/DiscoveryImport.d.ts +1 -0
- package/Types/NetworkDevice/DiscoveryImport.js +11 -1
- package/Types/NetworkDevice/DiscoveryImport.mjs +1 -0
- package/Types/NetworkDevice/NetworkDeviceTieSource.d.mts +10 -0
- package/Types/NetworkDevice/NetworkDeviceTieSource.d.ts +10 -0
- package/Types/NetworkDevice/NetworkDeviceTieSource.js +54 -0
- package/Types/NetworkDevice/NetworkDeviceTieSource.mjs +4 -0
- package/Types/Notification/OwnerNotificationDelivery.d.mts +28 -0
- package/Types/Notification/OwnerNotificationDelivery.d.ts +28 -0
- package/Types/Notification/OwnerNotificationDelivery.js +47 -1
- package/Types/Notification/WhoWasTold.js +5 -3
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +4 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +4 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +44 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +10 -1
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +12 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +12 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +39 -0
- package/Types/NotificationSetting/RoutineEmailEvents.js +12 -0
- package/Types/ObservabilityImport/ObservabilityImport.d.mts +114 -0
- package/Types/ObservabilityImport/ObservabilityImport.d.ts +114 -0
- package/Types/ObservabilityImport/ObservabilityImport.js +105 -0
- package/Types/ObservabilityImport/ObservabilityImport.mjs +10 -0
- package/Types/OnCallDutyPolicy/EscalationRuleResponderOnce.d.mts +20 -0
- package/Types/OnCallDutyPolicy/EscalationRuleResponderOnce.d.ts +20 -0
- package/Types/OnCallDutyPolicy/EscalationRuleResponderOnce.js +79 -0
- package/Types/OnCallDutyPolicy/EscalationRuleResponderOnce.mjs +7 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.js +20 -1
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.mts +2 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.ts +2 -0
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.mts +10 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.ts +10 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.js +50 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.mjs +6 -0
- package/Types/OnCallDutyPolicy/PagedFirst.d.mts +55 -0
- package/Types/OnCallDutyPolicy/PagedFirst.d.ts +55 -0
- package/Types/OnCallDutyPolicy/PagedFirst.js +205 -0
- package/Types/OnCallDutyPolicy/PagedFirst.mjs +8 -0
- package/Types/OnCallDutyPolicy/ScheduleTimeline.d.mts +1 -0
- package/Types/OnCallDutyPolicy/ScheduleTimeline.d.ts +1 -0
- package/Types/OnCallDutyPolicy/ScheduleTimeline.js +2 -0
- package/Types/OnCallDutyPolicy/ScheduleTimelineLayout.d.mts +0 -3
- package/Types/OnCallDutyPolicy/ScheduleTimelineLayout.d.ts +0 -3
- package/Types/OnCallDutyPolicy/ScheduleTimelineLayout.js +36 -21
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.d.mts +22 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.d.ts +22 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.js +135 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.mjs +9 -0
- package/Types/OpenStack/OpenStackBareMetal.d.mts +3 -0
- package/Types/OpenStack/OpenStackBareMetal.d.ts +3 -0
- package/Types/OpenStack/OpenStackBareMetal.js +8 -1
- package/Types/OpenStack/OpenStackBareMetal.mjs +2 -0
- package/Types/OpenStack/OpenStackHealthRules.d.mts +11 -0
- package/Types/OpenStack/OpenStackHealthRules.d.ts +11 -0
- package/Types/OpenStack/OpenStackHealthRules.js +41 -1
- package/Types/OpenStack/OpenStackHealthRules.mjs +4 -0
- package/Types/PacketCapture/PacketCapturePermissions.js +24 -12
- package/Types/Permission.d.mts +134 -1
- package/Types/Permission.d.ts +134 -1
- package/Types/Permission.js +848 -5
- package/Types/Permission.mjs +1 -0
- package/Types/Probe/ProbeApiIngestResponse.d.mts +1 -0
- package/Types/Probe/ProbeApiIngestResponse.d.ts +1 -0
- package/Types/Probe/ProbeCapability.d.mts +3 -1
- package/Types/Probe/ProbeCapability.d.ts +3 -1
- package/Types/Probe/ProbeCapability.js +21 -1
- package/Types/Probe/ProbeCapability.mjs +1 -0
- package/Types/Probe/ProbeKeyHeaders.d.mts +17 -0
- package/Types/Probe/ProbeKeyHeaders.d.ts +17 -0
- package/Types/Probe/ProbeKeyHeaders.js +74 -0
- package/Types/Probe/ProbeKeyHeaders.mjs +4 -0
- package/Types/Probe/ProbeReportedVersion.d.mts +48 -0
- package/Types/Probe/ProbeReportedVersion.d.ts +48 -0
- package/Types/Probe/ProbeReportedVersion.js +280 -0
- package/Types/Probe/ProbeReportedVersion.mjs +9 -0
- package/Types/Product/ProductLevels.d.mts +54 -0
- package/Types/Product/ProductLevels.d.ts +54 -0
- package/Types/Product/ProductLevels.js +502 -0
- package/Types/Product/ProductLevels.mjs +20 -0
- package/Types/Product/ProductRecordTables.d.mts +0 -1
- package/Types/Product/ProductRecordTables.d.ts +0 -1
- package/Types/Product/ProductRecordTables.js +38 -166
- package/Types/Product/ProductRecordTables.mjs +0 -1
- package/Types/Product/TablesOfNoProduct.d.mts +1 -0
- package/Types/Product/TablesOfNoProduct.d.ts +1 -0
- package/Types/Product/TablesOfNoProduct.js +187 -0
- package/Types/Product/TablesOfNoProduct.mjs +2 -0
- package/Types/ProviderLogo/AllProviderLogoMarks.js +4 -0
- package/Types/ProviderLogo/Marks/android.d.mts +3 -0
- package/Types/ProviderLogo/Marks/android.d.ts +3 -0
- package/Types/ProviderLogo/Marks/android.js +15 -0
- package/Types/ProviderLogo/Marks/android.mjs +2 -0
- package/Types/ProviderLogo/Marks/crossplane.d.mts +3 -0
- package/Types/ProviderLogo/Marks/crossplane.d.ts +3 -0
- package/Types/ProviderLogo/Marks/crossplane.js +22 -0
- package/Types/ProviderLogo/Marks/crossplane.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +2 -0
- package/Types/ProviderLogo/ProviderLogo.js +5 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +2 -0
- package/Types/RecordAccess/RecordAccess.d.mts +50 -0
- package/Types/RecordAccess/RecordAccess.d.ts +50 -0
- package/Types/RecordAccess/RecordAccess.js +290 -0
- package/Types/RecordAccess/RecordAccess.mjs +6 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +2 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +1 -0
- package/Types/Rules/RuleCriteriaSubject.d.ts +1 -0
- package/Types/Rules/RuleCriteriaSubject.js +2 -0
- package/Types/Rules/RuleRun.d.mts +1 -0
- package/Types/Rules/RuleRun.d.ts +1 -0
- package/Types/Rules/RuleRun.js +2 -0
- package/Types/Rum/MobileAppTelemetry.d.mts +33 -0
- package/Types/Rum/MobileAppTelemetry.d.ts +33 -0
- package/Types/Rum/MobileAppTelemetry.js +177 -0
- package/Types/Rum/MobileAppTelemetry.mjs +26 -0
- package/Types/Rum/RumClientKind.d.mts +5 -0
- package/Types/Rum/RumClientKind.d.ts +5 -0
- package/Types/Rum/RumClientKind.js +57 -0
- package/Types/Rum/RumClientKind.mjs +5 -0
- package/Types/Rum/SessionReplay.d.mts +3 -0
- package/Types/Rum/SessionReplay.d.ts +3 -0
- package/Types/Rum/SessionReplay.js +1 -1
- package/Types/Rum/SessionReplayFrustrationSignals.d.mts +3 -1
- package/Types/Rum/SessionReplayFrustrationSignals.d.ts +3 -1
- package/Types/Rum/SessionReplayFrustrationSignals.js +32 -2
- package/Types/Rum/SessionReplayFrustrationSignals.mjs +2 -0
- package/Types/Rum/SessionReplayPageRules.d.mts +10 -0
- package/Types/Rum/SessionReplayPageRules.d.ts +10 -0
- package/Types/Rum/SessionReplayPageRules.js +115 -0
- package/Types/Rum/SessionReplayPageRules.mjs +7 -0
- package/Types/Rum/SessionReplayReadableProperties.d.mts +4 -0
- package/Types/Rum/SessionReplayReadableProperties.d.ts +4 -0
- package/Types/Rum/SessionReplayReadableProperties.js +64 -0
- package/Types/Rum/SessionReplayReadableProperties.mjs +5 -0
- package/Types/Rum/SessionReplaySignalMetric.d.mts +10 -0
- package/Types/Rum/SessionReplaySignalMetric.d.ts +10 -0
- package/Types/Rum/SessionReplaySignalMetric.js +62 -0
- package/Types/Rum/SessionReplaySignalMetric.mjs +8 -0
- package/Types/Runbook/HttpStepCertificates.d.mts +30 -0
- package/Types/Runbook/HttpStepCertificates.d.ts +30 -0
- package/Types/Runbook/HttpStepCertificates.js +166 -0
- package/Types/Runbook/HttpStepCertificates.mjs +18 -0
- package/Types/Runbook/RunbookStep.d.mts +2 -0
- package/Types/Runbook/RunbookStep.d.ts +2 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +17 -1
- package/Types/SSO/IdentityProviderSignOut.d.ts +17 -1
- package/Types/SSO/IdentityProviderSignOut.js +120 -11
- package/Types/SSO/IdentityProviderSignOut.mjs +6 -0
- package/Types/SSO/LocalSignInClearing.d.mts +35 -0
- package/Types/SSO/LocalSignInClearing.d.ts +35 -0
- package/Types/SSO/LocalSignInClearing.js +166 -0
- package/Types/SSO/LocalSignInClearing.mjs +19 -0
- package/Types/SSO/MobileSsoHandOff.d.mts +17 -0
- package/Types/SSO/MobileSsoHandOff.d.ts +17 -0
- package/Types/SSO/MobileSsoHandOff.js +39 -0
- package/Types/SSO/MobileSsoHandOff.mjs +6 -0
- package/Types/SSO/SignInMethods.d.mts +5 -0
- package/Types/SSO/SignInMethods.d.ts +5 -0
- package/Types/SSO/SignInMethods.js +29 -1
- package/Types/SSO/SignInMethods.mjs +4 -0
- package/Types/SSO/SignInSettingsClearedEmail.d.mts +33 -0
- package/Types/SSO/SignInSettingsClearedEmail.d.ts +33 -0
- package/Types/SSO/SignInSettingsClearedEmail.js +144 -0
- package/Types/SSO/SignInSettingsClearedEmail.mjs +8 -0
- package/Types/SSO/SsoManagedSignIn.d.mts +23 -0
- package/Types/SSO/SsoManagedSignIn.d.ts +23 -0
- package/Types/SSO/SsoManagedSignIn.js +205 -0
- package/Types/SSO/SsoManagedSignIn.mjs +9 -0
- package/Types/ScheduledMaintenance/MaintenanceTemplateSchedule.d.mts +50 -0
- package/Types/ScheduledMaintenance/MaintenanceTemplateSchedule.d.ts +50 -0
- package/Types/ScheduledMaintenance/MaintenanceTemplateSchedule.js +269 -0
- package/Types/ScheduledMaintenance/MaintenanceTemplateSchedule.mjs +2 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.d.mts +50 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.d.ts +50 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.js +230 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.mjs +4 -0
- package/Types/SecurityBlocklist/SecurityBlock.d.mts +130 -0
- package/Types/SecurityBlocklist/SecurityBlock.d.ts +130 -0
- package/Types/SecurityBlocklist/SecurityBlock.js +428 -0
- package/Types/SecurityBlocklist/SecurityBlock.mjs +40 -0
- package/Types/SecurityBlocklist/SecurityBlockEnforcement.d.mts +40 -0
- package/Types/SecurityBlocklist/SecurityBlockEnforcement.d.ts +40 -0
- package/Types/SecurityBlocklist/SecurityBlockEnforcement.js +153 -0
- package/Types/SecurityBlocklist/SecurityBlockEnforcement.mjs +11 -0
- package/Types/SecurityBlocklist/SecurityProtectedAddress.d.mts +50 -0
- package/Types/SecurityBlocklist/SecurityProtectedAddress.d.ts +50 -0
- package/Types/SecurityBlocklist/SecurityProtectedAddress.js +248 -0
- package/Types/SecurityBlocklist/SecurityProtectedAddress.mjs +16 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +6 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +6 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +17 -1
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +8 -1
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +8 -1
- package/Types/SecurityCase/SecurityCaseMatches.js +12 -2
- package/Types/SecurityCase/SecurityConnection.d.mts +14 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +14 -0
- package/Types/SecurityCase/SecurityConnection.js +54 -2
- package/Types/SecurityCase/SecurityConnection.mjs +9 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.d.mts +43 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.d.ts +43 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.js +365 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.mjs +20 -0
- package/Types/SecurityCase/SecurityDetectionText.d.mts +3 -0
- package/Types/SecurityCase/SecurityDetectionText.d.ts +3 -0
- package/Types/SecurityCase/SecurityDetectionText.js +37 -0
- package/Types/SecurityCase/SecurityDetectionText.mjs +4 -0
- package/Types/SecurityEvent/DetectionFindingConstants.d.mts +2 -0
- package/Types/SecurityEvent/DetectionFindingConstants.d.ts +2 -0
- package/Types/SecurityEvent/DetectionFindingConstants.js +29 -7
- package/Types/SecurityEvent/DetectionFindingConstants.mjs +2 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.d.mts +8 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.d.ts +8 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.js +1400 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.mjs +7 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.d.mts +26 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.d.ts +26 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.js +184 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.mjs +14 -0
- package/Types/SecurityEvent/NormalizedSecurityEvent.d.mts +1 -0
- package/Types/SecurityEvent/NormalizedSecurityEvent.d.ts +1 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.d.mts +2 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.d.ts +2 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.js +13 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.mjs +1 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.d.mts +5 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.d.ts +5 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.js +12 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.mts +1 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.ts +1 -0
- package/Types/SecurityEvent/SecurityLogFormat.js +10 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.d.mts +2 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.d.ts +2 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.js +56 -15
- package/Types/SecurityPlaybook/SecurityProtectedEntity.mjs +2 -0
- package/Types/ServiceLevelObjective/SliType.js +3 -2
- package/Types/StatusPage/AnnouncementReach.d.mts +16 -0
- package/Types/StatusPage/AnnouncementReach.d.ts +16 -0
- package/Types/StatusPage/AnnouncementReach.js +62 -0
- package/Types/StatusPage/AnnouncementReach.mjs +2 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.d.mts +15 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.d.ts +15 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.js +92 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.mjs +4 -0
- package/Types/StatusPage/PickedStatusPagesReach.d.mts +13 -0
- package/Types/StatusPage/PickedStatusPagesReach.d.ts +13 -0
- package/Types/StatusPage/PickedStatusPagesReach.js +73 -0
- package/Types/StatusPage/PickedStatusPagesReach.mjs +2 -0
- package/Types/StatusPage/PrivateUserEmailAddressChangedEmail.d.mts +21 -0
- package/Types/StatusPage/PrivateUserEmailAddressChangedEmail.d.ts +21 -0
- package/Types/StatusPage/PrivateUserEmailAddressChangedEmail.js +98 -0
- package/Types/StatusPage/PrivateUserEmailAddressChangedEmail.mjs +5 -0
- package/Types/StatusPage/PublicNoteApproval.d.mts +2 -1
- package/Types/StatusPage/PublicNoteApproval.d.ts +2 -1
- package/Types/StatusPage/PublicNoteApproval.js +11 -5
- package/Types/StatusPage/PublicNoteReach.d.mts +26 -0
- package/Types/StatusPage/PublicNoteReach.d.ts +26 -0
- package/Types/StatusPage/PublicNoteReach.js +144 -0
- package/Types/StatusPage/PublicNoteReach.mjs +4 -0
- package/Types/StatusPage/SubscriberNotificationPreview.js +9 -3
- package/Types/Team/CustomRole.d.mts +5 -0
- package/Types/Team/CustomRole.d.ts +5 -0
- package/Types/Team/CustomRole.js +25 -3
- package/Types/Team/CustomRole.mjs +1 -0
- package/Types/Team/InvitationEmailWords.d.mts +13 -0
- package/Types/Team/InvitationEmailWords.d.ts +13 -0
- package/Types/Team/InvitationEmailWords.js +78 -0
- package/Types/Team/InvitationEmailWords.mjs +4 -0
- package/Types/Team/InviteSuggestions.d.mts +36 -0
- package/Types/Team/InviteSuggestions.d.ts +36 -0
- package/Types/Team/InviteSuggestions.js +203 -0
- package/Types/Team/InviteSuggestions.mjs +13 -0
- package/Types/Telemetry/CompatibleIngest.d.mts +9 -0
- package/Types/Telemetry/CompatibleIngest.d.ts +9 -0
- package/Types/Telemetry/CompatibleIngest.js +80 -2
- package/Types/Telemetry/CompatibleIngest.mjs +9 -0
- package/Types/Telemetry/ExceptionSource.d.mts +10 -0
- package/Types/Telemetry/ExceptionSource.d.ts +10 -0
- package/Types/Telemetry/ExceptionSource.js +66 -0
- package/Types/Telemetry/ExceptionSource.mjs +7 -0
- package/Types/Telemetry/InventoryLiveness.d.mts +11 -3
- package/Types/Telemetry/InventoryLiveness.d.ts +11 -3
- package/Types/Telemetry/InventoryLiveness.js +19 -6
- package/Types/Telemetry/InventoryLiveness.mjs +1 -0
- package/Types/Telemetry/ScrubHashTokenFormat.d.mts +6 -0
- package/Types/Telemetry/ScrubHashTokenFormat.d.ts +6 -0
- package/Types/Telemetry/ScrubHashTokenFormat.js +36 -0
- package/Types/Telemetry/ScrubHashTokenFormat.mjs +7 -0
- package/Types/Telemetry/ScrubRule.d.mts +5 -0
- package/Types/Telemetry/ScrubRule.d.ts +5 -0
- package/Types/Telemetry/ScrubRule.js +44 -0
- package/Types/Telemetry/ScrubRule.mjs +1 -0
- package/Types/Telemetry/ServiceType.d.mts +1 -0
- package/Types/Telemetry/ServiceType.d.ts +1 -0
- package/Types/Telemetry/ServiceType.js +8 -0
- package/Types/Telemetry/TelemetryIngestRefusal.js +19 -1
- package/Types/Telemetry/TelemetryIngestSurface.d.mts +3 -1
- package/Types/Telemetry/TelemetryIngestSurface.d.ts +3 -1
- package/Types/Telemetry/TelemetryIngestSurface.js +15 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +21 -2
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +21 -2
- package/Types/Telemetry/TelemetryIngestionBudget.js +130 -2
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +5 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.js +6 -4
- package/Types/Telemetry/TelemetryUsage.js +1 -1
- package/Types/Telemetry/TelemetryUsageMetricType.d.mts +4 -0
- package/Types/Telemetry/TelemetryUsageMetricType.d.ts +4 -0
- package/Types/Telemetry/TelemetryUsageMetricType.js +36 -0
- package/Types/Telemetry/TelemetryUsageMetricType.mjs +2 -0
- package/Types/Timezone.d.mts +1 -0
- package/Types/Timezone.d.ts +1 -0
- package/Types/Timezone.js +1 -0
- package/Types/TimezoneAlias.js +11 -6
- package/Types/ToolImport/ToolImportNote.d.mts +1 -0
- package/Types/ToolImport/ToolImportNote.d.ts +1 -0
- package/Types/ToolImport/ToolImportNote.js +5 -0
- package/Types/ToolImport/ToolImportPlan.d.mts +1 -0
- package/Types/ToolImport/ToolImportPlan.d.ts +1 -0
- package/Types/TwoFactorAuthSetup.d.mts +16 -0
- package/Types/TwoFactorAuthSetup.d.ts +16 -0
- package/Types/TwoFactorAuthSetup.js +64 -0
- package/Types/TwoFactorAuthSetup.mjs +6 -0
- package/Types/UsedBy/UsedBy.d.mts +1 -0
- package/Types/UsedBy/UsedBy.d.ts +1 -0
- package/Types/UsedBy/UsedBy.js +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +1 -0
- package/Types/UserAuthenticationStatus.d.mts +3 -0
- package/Types/UserAuthenticationStatus.d.ts +3 -0
- package/Types/UserSession/SessionEndCause.d.mts +2 -0
- package/Types/UserSession/SessionEndCause.d.ts +2 -0
- package/Types/UserSession/SessionEndCause.js +18 -2
- package/Types/UserSession/SessionSignIn.d.mts +10 -0
- package/Types/UserSession/SessionSignIn.d.ts +10 -0
- package/Types/UserSession/SessionSignIn.js +51 -1
- package/Types/UserSession/SessionSignIn.mjs +2 -0
- package/Types/VideoCall/CallSummaryPosts.d.mts +18 -0
- package/Types/VideoCall/CallSummaryPosts.d.ts +18 -0
- package/Types/VideoCall/CallSummaryPosts.js +106 -0
- package/Types/VideoCall/CallSummaryPosts.mjs +2 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.d.mts +9 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.d.ts +9 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.js +117 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.mjs +5 -0
- package/Types/Workflow/Templates.d.mts +18 -0
- package/Types/Workflow/Templates.d.ts +18 -0
- package/Types/Workflow/Templates.js +194 -2
- package/Types/Workflow/Templates.mjs +1 -0
- package/Types/Workflow/WorkflowRunAs.d.mts +99 -0
- package/Types/Workflow/WorkflowRunAs.d.ts +99 -0
- package/Types/Workflow/WorkflowRunAs.js +411 -0
- package/Types/Workflow/WorkflowRunAs.mjs +39 -0
- package/Types/Workspace/WorkspacePostedMessage.d.mts +12 -0
- package/Types/Workspace/WorkspacePostedMessage.d.ts +12 -0
- package/Types/Workspace/WorkspacePostedMessage.js +57 -0
- package/Types/Workspace/WorkspacePostedMessage.mjs +3 -0
- package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
- package/UI/Utils/SharedNameOptions.d.mts +5 -0
- package/UI/Utils/SharedNameOptions.d.ts +5 -0
- package/UI/Utils/TranslateTemplate.d.mts +8 -0
- package/UI/Utils/TranslateTemplate.d.ts +8 -0
- package/Utils/AI/MeaningMatch.d.mts +7 -0
- package/Utils/AI/MeaningMatch.d.ts +7 -0
- package/Utils/AI/MeaningMatch.js +49 -1
- package/Utils/AI/MeaningMatch.mjs +1 -0
- package/Utils/API.d.mts +3 -0
- package/Utils/API.d.ts +3 -0
- package/Utils/API.js +48 -1
- package/Utils/AiRemediation/KubectlWaitBudget.d.mts +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.d.ts +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.js +19 -0
- package/Utils/CronScheduleText.js +21 -13
- package/Utils/Dashboard/ClockWidgetFormat.js +20 -3
- package/Utils/Dashboard/Components/DashboardChartComponent.js +7 -1
- package/Utils/Dashboard/Components/DashboardDataSourceChartComponent.js +12 -1
- package/Utils/Dashboard/Components/DashboardDataSourceGaugeComponent.js +3 -1
- package/Utils/Dashboard/Components/DashboardDataSourceTableComponent.js +3 -1
- package/Utils/Dashboard/Components/DashboardDataSourceValueComponent.js +3 -1
- package/Utils/Dashboard/DashboardWidgetLink.d.mts +8 -0
- package/Utils/Dashboard/DashboardWidgetLink.d.ts +8 -0
- package/Utils/Dashboard/DashboardWidgetLink.js +80 -0
- package/Utils/Dashboard/DashboardWidgetLink.mjs +7 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.d.mts +2 -3
- package/Utils/DataSecurity/CustomDataTypeDetector.d.ts +2 -3
- package/Utils/DataSecurity/CustomDataTypeDetector.js +5 -10
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.js +70 -38
- package/Utils/DataSecurity/Detectors/ContactDetectors.mjs +3 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +4 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +4 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +30 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +1 -0
- package/Utils/DataSource/DataSourceQueryText.d.mts +10 -0
- package/Utils/DataSource/DataSourceQueryText.d.ts +10 -0
- package/Utils/DataSource/DataSourceQueryText.js +287 -23
- package/Utils/DataSource/DataSourceTableRows.d.mts +7 -0
- package/Utils/DataSource/DataSourceTableRows.d.ts +7 -0
- package/Utils/DataSource/DataSourceTableRows.js +64 -0
- package/Utils/DataSource/DataSourceTableRows.mjs +3 -0
- package/Utils/DataSource/DataSourceWidgetQueries.d.mts +21 -0
- package/Utils/DataSource/DataSourceWidgetQueries.d.ts +21 -0
- package/Utils/DataSource/DataSourceWidgetQueries.js +145 -0
- package/Utils/DataSource/DataSourceWidgetQueries.mjs +3 -0
- package/Utils/DeveloperDocs/AiAssistantExamples.d.mts +2 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.d.ts +2 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.js +38 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.mjs +1 -0
- package/Utils/DeveloperDocs/CliCommands.d.mts +15 -0
- package/Utils/DeveloperDocs/CliCommands.d.ts +15 -0
- package/Utils/DeveloperDocs/CliCommands.js +62 -0
- package/Utils/DeveloperDocs/CliCommands.mjs +3 -0
- package/Utils/DeveloperDocs/CliExamples.d.mts +6 -0
- package/Utils/DeveloperDocs/CliExamples.d.ts +6 -0
- package/Utils/DeveloperDocs/CliExamples.js +43 -0
- package/Utils/DeveloperDocs/CliExamples.mjs +2 -0
- package/Utils/DeveloperDocs/ClientResourceNames.js +6 -1
- package/Utils/DeveloperDocs/CrossplaneConfig.d.mts +74 -0
- package/Utils/DeveloperDocs/CrossplaneConfig.d.ts +74 -0
- package/Utils/DeveloperDocs/CrossplaneConfig.js +846 -0
- package/Utils/DeveloperDocs/CrossplaneConfig.mjs +21 -0
- package/Utils/DeveloperDocs/CrossplaneNames.d.mts +21 -0
- package/Utils/DeveloperDocs/CrossplaneNames.d.ts +21 -0
- package/Utils/DeveloperDocs/CrossplaneNames.js +334 -0
- package/Utils/DeveloperDocs/CrossplaneNames.mjs +15 -0
- package/Utils/DeveloperDocs/CrossplaneSchema.d.mts +20 -0
- package/Utils/DeveloperDocs/CrossplaneSchema.d.ts +20 -0
- package/Utils/DeveloperDocs/CrossplaneSchema.js +170 -0
- package/Utils/DeveloperDocs/CrossplaneSchema.mjs +9 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.mts +52 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.ts +52 -0
- package/Utils/DeveloperDocs/DeleteChoices.js +332 -0
- package/Utils/DeveloperDocs/DeleteChoices.mjs +12 -0
- package/Utils/DeveloperDocs/ExampleBuilder.d.mts +1 -1
- package/Utils/DeveloperDocs/ExampleBuilder.d.ts +1 -1
- package/Utils/DeveloperDocs/ExampleBuilder.js +9 -9
- package/Utils/DeveloperDocs/ListOrderFacts.d.mts +27 -0
- package/Utils/DeveloperDocs/ListOrderFacts.d.ts +27 -0
- package/Utils/DeveloperDocs/ListOrderFacts.js +106 -0
- package/Utils/DeveloperDocs/ListOrderFacts.mjs +4 -0
- package/Utils/DeveloperDocs/PageLookups.d.mts +2 -1
- package/Utils/DeveloperDocs/PageLookups.d.ts +2 -1
- package/Utils/DeveloperDocs/PageLookups.js +19 -5
- package/Utils/DeveloperDocs/ResourceProfiles.js +92 -10
- package/Utils/DeveloperDocs/TerraformConfig.d.mts +26 -3
- package/Utils/DeveloperDocs/TerraformConfig.d.ts +26 -3
- package/Utils/DeveloperDocs/TerraformConfig.js +70 -34
- package/Utils/DeveloperDocs/TerraformConfig.mjs +1 -0
- package/Utils/DeveloperDocs/TerraformSchema.d.mts +12 -1
- package/Utils/DeveloperDocs/TerraformSchema.d.ts +12 -1
- package/Utils/DeveloperDocs/TerraformSchema.js +80 -39
- package/Utils/DeveloperDocs/TerraformSchema.mjs +2 -0
- package/Utils/DeveloperDocs/Yaml.d.mts +50 -0
- package/Utils/DeveloperDocs/Yaml.d.ts +50 -0
- package/Utils/DeveloperDocs/Yaml.js +410 -0
- package/Utils/DeveloperDocs/Yaml.mjs +7 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +36 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +36 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.js +101 -1
- package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +8 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.d.mts +58 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.d.ts +58 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.js +163 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.mjs +11 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +12 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +12 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.js +33 -1
- package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +3 -0
- package/Utils/Host/AndroidAgentLogSessions.d.mts +64 -0
- package/Utils/Host/AndroidAgentLogSessions.d.ts +64 -0
- package/Utils/Host/AndroidAgentLogSessions.js +252 -0
- package/Utils/Host/AndroidAgentLogSessions.mjs +9 -0
- package/Utils/Host/AndroidAgentRedactor.d.mts +11 -0
- package/Utils/Host/AndroidAgentRedactor.d.ts +11 -0
- package/Utils/Host/AndroidAgentRedactor.js +129 -0
- package/Utils/Host/AndroidAgentRedactor.mjs +8 -0
- package/Utils/Host/HostLogSessionFile.d.mts +56 -0
- package/Utils/Host/HostLogSessionFile.d.ts +56 -0
- package/Utils/Host/HostLogSessionFile.js +245 -0
- package/Utils/Host/HostLogSessionFile.mjs +6 -0
- package/Utils/Host/HostLogSessionNote.d.mts +11 -0
- package/Utils/Host/HostLogSessionNote.d.ts +11 -0
- package/Utils/Host/HostLogSessionNote.js +80 -0
- package/Utils/Host/HostLogSessionNote.mjs +4 -0
- package/Utils/Host/HostOperatingSystem.d.mts +29 -0
- package/Utils/Host/HostOperatingSystem.d.ts +29 -0
- package/Utils/Host/HostOperatingSystem.js +95 -0
- package/Utils/Host/HostOperatingSystem.mjs +4 -0
- package/Utils/HostCollector/HostCollectorConfigResolution.d.mts +1 -1
- package/Utils/HostCollector/HostCollectorConfigResolution.d.ts +1 -1
- package/Utils/HostCollector/HostCollectorConfigResolution.js +12 -2
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.mts +5 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +5 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.js +90 -4
- package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +5 -0
- package/Utils/HostCollector/HostCollectorJournaldOperators.d.mts +14 -0
- package/Utils/HostCollector/HostCollectorJournaldOperators.d.ts +14 -0
- package/Utils/HostCollector/HostCollectorJournaldOperators.js +313 -0
- package/Utils/HostCollector/HostCollectorJournaldOperators.mjs +5 -0
- package/Utils/Incident/IncidentSlaStart.d.mts +31 -0
- package/Utils/Incident/IncidentSlaStart.d.ts +31 -0
- package/Utils/Incident/IncidentSlaStart.js +99 -0
- package/Utils/Incident/IncidentSlaStart.mjs +3 -0
- package/Utils/Incident/WhoOpenedItRootCause.js +15 -18
- package/Utils/Inventory/InventoryAssetDetails.d.mts +4 -3
- package/Utils/Inventory/InventoryAssetDetails.d.ts +4 -3
- package/Utils/Inventory/InventoryAssetDetails.js +16 -29
- package/Utils/IpCanonicalUtil.d.mts +2 -0
- package/Utils/IpCanonicalUtil.d.ts +2 -0
- package/Utils/IpCanonicalUtil.js +35 -0
- package/Utils/JsonElementCount.d.mts +54 -0
- package/Utils/JsonElementCount.d.ts +54 -0
- package/Utils/JsonElementCount.js +322 -0
- package/Utils/JsonElementCount.mjs +6 -0
- package/Utils/ListOrder.d.mts +71 -11
- package/Utils/ListOrder.d.ts +71 -11
- package/Utils/ListOrder.js +135 -20
- package/Utils/ListOrder.mjs +3 -1
- package/Utils/LogQL/LogQLAst.d.mts +125 -0
- package/Utils/LogQL/LogQLAst.d.ts +125 -0
- package/Utils/LogQL/LogQLAst.js +83 -0
- package/Utils/LogQL/LogQLAst.mjs +9 -0
- package/Utils/LogQL/LogQLEngine.d.mts +114 -0
- package/Utils/LogQL/LogQLEngine.d.ts +114 -0
- package/Utils/LogQL/LogQLEngine.js +716 -0
- package/Utils/LogQL/LogQLEngine.mjs +16 -0
- package/Utils/LogQL/LogQLLabels.d.mts +31 -0
- package/Utils/LogQL/LogQLLabels.d.ts +31 -0
- package/Utils/LogQL/LogQLLabels.js +131 -0
- package/Utils/LogQL/LogQLLabels.mjs +11 -0
- package/Utils/LogQL/LogQLParser.d.mts +2 -0
- package/Utils/LogQL/LogQLParser.d.ts +2 -0
- package/Utils/LogQL/LogQLParser.js +1207 -0
- package/Utils/LogQL/LogQLParser.mjs +2 -0
- package/Utils/LogQL/LogQLPipeline.d.mts +28 -0
- package/Utils/LogQL/LogQLPipeline.d.ts +28 -0
- package/Utils/LogQL/LogQLPipeline.js +441 -0
- package/Utils/LogQL/LogQLPipeline.mjs +7 -0
- package/Utils/LogQL/LogQLValues.d.mts +2 -0
- package/Utils/LogQL/LogQLValues.d.ts +2 -0
- package/Utils/LogQL/LogQLValues.js +101 -0
- package/Utils/LogQL/LogQLValues.mjs +3 -0
- package/Utils/Markdown/FeedLead.js +2 -0
- package/Utils/Metrics/MetricFormulaEvaluator.d.mts +13 -8
- package/Utils/Metrics/MetricFormulaEvaluator.d.ts +13 -8
- package/Utils/Metrics/MetricFormulaEvaluator.js +139 -3
- package/Utils/Metrics/MetricLatestReading.d.mts +15 -0
- package/Utils/Metrics/MetricLatestReading.d.ts +15 -0
- package/Utils/Metrics/MetricLatestReading.js +49 -0
- package/Utils/Metrics/MetricLatestReading.mjs +2 -0
- package/Utils/Metrics/MetricQueryOverlay.d.mts +44 -0
- package/Utils/Metrics/MetricQueryOverlay.d.ts +44 -0
- package/Utils/Metrics/MetricQueryOverlay.js +293 -0
- package/Utils/Metrics/MetricQueryOverlay.mjs +4 -0
- package/Utils/Metrics/MetricSeriesFingerprint.d.mts +6 -0
- package/Utils/Metrics/MetricSeriesFingerprint.d.ts +6 -0
- package/Utils/Metrics/MetricSeriesFingerprint.js +81 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.mts +12 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.ts +12 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.js +354 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.mjs +6 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.mts +127 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.ts +127 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.js +687 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.mjs +27 -0
- package/Utils/Metrics/RetiredCloudMetricReads.d.mts +13 -0
- package/Utils/Metrics/RetiredCloudMetricReads.d.ts +13 -0
- package/Utils/Metrics/RetiredCloudMetricReads.js +176 -0
- package/Utils/Metrics/RetiredCloudMetricReads.mjs +12 -0
- package/Utils/ModelImportExport.js +66 -44
- package/Utils/Monitor/DeviceMonitorDuplicates.js +22 -3
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +11 -1
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +11 -1
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +173 -44
- package/Utils/Monitor/DeviceMonitorTemplateUtil.mjs +5 -0
- package/Utils/Monitor/DeviceUrlTarget.d.mts +35 -0
- package/Utils/Monitor/DeviceUrlTarget.d.ts +35 -0
- package/Utils/Monitor/DeviceUrlTarget.js +254 -0
- package/Utils/Monitor/DeviceUrlTarget.mjs +9 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.mts +1 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.ts +1 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.js +16 -0
- package/Utils/Monitor/MonitorLogSummaryUtil.js +18 -0
- package/Utils/Monitor/MonitorSecretReferences.d.mts +21 -0
- package/Utils/Monitor/MonitorSecretReferences.d.ts +21 -0
- package/Utils/Monitor/MonitorSecretReferences.js +162 -0
- package/Utils/Monitor/MonitorSecretReferences.mjs +10 -0
- package/Utils/Monitor/MonitorSecretTotp.d.mts +40 -0
- package/Utils/Monitor/MonitorSecretTotp.d.ts +40 -0
- package/Utils/Monitor/MonitorSecretTotp.js +313 -0
- package/Utils/Monitor/MonitorSecretTotp.mjs +15 -0
- package/Utils/Monitor/MonitorStatusReason.d.mts +44 -0
- package/Utils/Monitor/MonitorStatusReason.d.ts +44 -0
- package/Utils/Monitor/MonitorStatusReason.js +446 -0
- package/Utils/Monitor/MonitorStatusReason.mjs +12 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.mts +1 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.ts +1 -0
- package/Utils/Monitor/MonitorStepMetricQueries.js +24 -4
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +14 -13
- package/Utils/Monitor/ProbeFailureCauses.d.mts +3 -1
- package/Utils/Monitor/ProbeFailureCauses.d.ts +3 -1
- package/Utils/Monitor/ProbeFailureCauses.js +14 -3
- package/Utils/Monitor/RecordRootCauseWording.d.mts +12 -0
- package/Utils/Monitor/RecordRootCauseWording.d.ts +12 -0
- package/Utils/Monitor/RecordRootCauseWording.js +53 -0
- package/Utils/Monitor/RecordRootCauseWording.mjs +2 -0
- package/Utils/Monitor/StateChangeFeedCause.d.mts +8 -0
- package/Utils/Monitor/StateChangeFeedCause.d.ts +8 -0
- package/Utils/Monitor/StateChangeFeedCause.js +74 -0
- package/Utils/Monitor/StateChangeFeedCause.mjs +3 -0
- package/Utils/Monitor/StatusChangeCauseWording.d.mts +15 -0
- package/Utils/Monitor/StatusChangeCauseWording.d.ts +15 -0
- package/Utils/Monitor/StatusChangeCauseWording.js +149 -0
- package/Utils/Monitor/StatusChangeCauseWording.mjs +5 -0
- package/Utils/Monitor/StatusChangeNotes.d.mts +54 -0
- package/Utils/Monitor/StatusChangeNotes.d.ts +54 -0
- package/Utils/Monitor/StatusChangeNotes.js +734 -0
- package/Utils/Monitor/StatusChangeNotes.mjs +39 -0
- package/Utils/Monitor/StoredCheckEvidence.d.mts +6 -0
- package/Utils/Monitor/StoredCheckEvidence.d.ts +6 -0
- package/Utils/Monitor/StoredCheckEvidence.js +9 -1
- package/Utils/Monitor/StoredCheckEvidence.mjs +1 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.mts +94 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.ts +94 -0
- package/Utils/NetworkDevice/DeviceAddressScope.js +371 -0
- package/Utils/NetworkDevice/DeviceAddressScope.mjs +16 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.d.mts +9 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.d.ts +9 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.js +114 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.mjs +4 -0
- package/Utils/NetworkDevice/MonitorTieAfterProbes.d.mts +21 -0
- package/Utils/NetworkDevice/MonitorTieAfterProbes.d.ts +21 -0
- package/Utils/NetworkDevice/MonitorTieAfterProbes.js +33 -0
- package/Utils/NetworkDevice/MonitorTieAfterProbes.mjs +2 -0
- package/Utils/NetworkDevice/Naming/DeviceNamingPlanner.js +8 -6
- package/Utils/NetworkDevice/UntiedDeviceMonitor.d.mts +26 -0
- package/Utils/NetworkDevice/UntiedDeviceMonitor.d.ts +26 -0
- package/Utils/NetworkDevice/UntiedDeviceMonitor.js +137 -0
- package/Utils/NetworkDevice/UntiedDeviceMonitor.mjs +4 -0
- package/Utils/NetworkDiscovery/DiscoveredHostRegistration.d.mts +15 -0
- package/Utils/NetworkDiscovery/DiscoveredHostRegistration.d.ts +15 -0
- package/Utils/NetworkDiscovery/DiscoveredHostRegistration.js +118 -0
- package/Utils/NetworkDiscovery/DiscoveredHostRegistration.mjs +6 -0
- package/Utils/NetworkSite/CidrMatchUtil.js +10 -4
- package/Utils/NetworkTraffic/NetworkAddressBlock.d.mts +2 -0
- package/Utils/NetworkTraffic/NetworkAddressBlock.d.ts +2 -0
- package/Utils/NetworkTraffic/NetworkAddressBlock.js +25 -0
- package/Utils/ObservabilityImport/AlertImportCommon.d.mts +33 -0
- package/Utils/ObservabilityImport/AlertImportCommon.d.ts +33 -0
- package/Utils/ObservabilityImport/AlertImportCommon.js +198 -0
- package/Utils/ObservabilityImport/AlertImportCommon.mjs +12 -0
- package/Utils/ObservabilityImport/AlertImportMonitorBuilder.d.mts +20 -0
- package/Utils/ObservabilityImport/AlertImportMonitorBuilder.d.ts +20 -0
- package/Utils/ObservabilityImport/AlertImportMonitorBuilder.js +138 -0
- package/Utils/ObservabilityImport/AlertImportMonitorBuilder.mjs +3 -0
- package/Utils/ObservabilityImport/Datadog/DatadogDashboard.d.mts +18 -0
- package/Utils/ObservabilityImport/Datadog/DatadogDashboard.d.ts +18 -0
- package/Utils/ObservabilityImport/Datadog/DatadogDashboard.js +657 -0
- package/Utils/ObservabilityImport/Datadog/DatadogDashboard.mjs +12 -0
- package/Utils/ObservabilityImport/Datadog/DatadogMonitors.d.mts +23 -0
- package/Utils/ObservabilityImport/Datadog/DatadogMonitors.d.ts +23 -0
- package/Utils/ObservabilityImport/Datadog/DatadogMonitors.js +369 -0
- package/Utils/ObservabilityImport/Datadog/DatadogMonitors.mjs +13 -0
- package/Utils/ObservabilityImport/Datadog/DatadogPromQL.d.mts +42 -0
- package/Utils/ObservabilityImport/Datadog/DatadogPromQL.d.ts +42 -0
- package/Utils/ObservabilityImport/Datadog/DatadogPromQL.js +818 -0
- package/Utils/ObservabilityImport/Datadog/DatadogPromQL.mjs +24 -0
- package/Utils/ObservabilityImport/Datadog/DatadogQueryParser.d.mts +88 -0
- package/Utils/ObservabilityImport/Datadog/DatadogQueryParser.d.ts +88 -0
- package/Utils/ObservabilityImport/Datadog/DatadogQueryParser.js +584 -0
- package/Utils/ObservabilityImport/Datadog/DatadogQueryParser.mjs +7 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaAlertRules.d.mts +14 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaAlertRules.d.ts +14 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaAlertRules.js +431 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaAlertRules.mjs +11 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaDashboard.d.mts +42 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaDashboard.d.ts +42 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaDashboard.js +1349 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaDashboard.mjs +39 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaLoki.d.mts +29 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaLoki.d.ts +29 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaLoki.js +361 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaLoki.mjs +13 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaUnits.d.mts +31 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaUnits.d.ts +31 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaUnits.js +340 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaUnits.mjs +10 -0
- package/Utils/ObservabilityImport/ImportLayout.d.mts +20 -0
- package/Utils/ObservabilityImport/ImportLayout.d.ts +20 -0
- package/Utils/ObservabilityImport/ImportLayout.js +71 -0
- package/Utils/ObservabilityImport/ImportLayout.mjs +6 -0
- package/Utils/ObservabilityImport/ImportSource.d.mts +37 -0
- package/Utils/ObservabilityImport/ImportSource.d.ts +37 -0
- package/Utils/ObservabilityImport/ImportSource.js +285 -0
- package/Utils/ObservabilityImport/ImportSource.mjs +16 -0
- package/Utils/ObservabilityImport/ImportValues.d.mts +11 -0
- package/Utils/ObservabilityImport/ImportValues.d.ts +11 -0
- package/Utils/ObservabilityImport/ImportValues.js +102 -0
- package/Utils/ObservabilityImport/ImportValues.mjs +11 -0
- package/Utils/ObservabilityImport/ImportWidgets.d.mts +48 -0
- package/Utils/ObservabilityImport/ImportWidgets.d.ts +48 -0
- package/Utils/ObservabilityImport/ImportWidgets.js +164 -0
- package/Utils/ObservabilityImport/ImportWidgets.mjs +9 -0
- package/Utils/ObservabilityImport/ObservabilityImport.d.mts +16 -0
- package/Utils/ObservabilityImport/ObservabilityImport.d.ts +16 -0
- package/Utils/ObservabilityImport/ObservabilityImport.js +102 -0
- package/Utils/ObservabilityImport/ObservabilityImport.mjs +6 -0
- package/Utils/ObservabilityImport/PromQLImportQuery.d.mts +31 -0
- package/Utils/ObservabilityImport/PromQLImportQuery.d.ts +31 -0
- package/Utils/ObservabilityImport/PromQLImportQuery.js +263 -0
- package/Utils/ObservabilityImport/PromQLImportQuery.mjs +13 -0
- package/Utils/ObservabilityImport/Prometheus/PrometheusRules.d.mts +12 -0
- package/Utils/ObservabilityImport/Prometheus/PrometheusRules.d.ts +12 -0
- package/Utils/ObservabilityImport/Prometheus/PrometheusRules.js +239 -0
- package/Utils/ObservabilityImport/Prometheus/PrometheusRules.mjs +9 -0
- package/Utils/PrivateKeyBlocks.d.mts +6 -0
- package/Utils/PrivateKeyBlocks.d.ts +6 -0
- package/Utils/PrivateKeyBlocks.js +24 -9
- package/Utils/PrivateKeyBlocks.mjs +1 -0
- package/Utils/Project/ProjectBilling.js +1 -0
- package/Utils/PromQL/PromQLGrafanaMacros.d.mts +25 -0
- package/Utils/PromQL/PromQLGrafanaMacros.d.ts +25 -0
- package/Utils/PromQL/PromQLGrafanaMacros.js +116 -0
- package/Utils/PromQL/PromQLGrafanaMacros.mjs +8 -0
- package/Utils/PromQL/PromQLMetricNames.d.mts +47 -1
- package/Utils/PromQL/PromQLMetricNames.d.ts +47 -1
- package/Utils/PromQL/PromQLMetricNames.js +390 -16
- package/Utils/PromQL/PromQLMetricNames.mjs +11 -0
- package/Utils/PromQL/PromQLMonitorExpression.d.mts +21 -0
- package/Utils/PromQL/PromQLMonitorExpression.d.ts +21 -0
- package/Utils/PromQL/PromQLMonitorExpression.js +168 -0
- package/Utils/PromQL/PromQLMonitorExpression.mjs +7 -0
- package/Utils/PromQL/PromQLMonitorSeries.d.mts +9 -0
- package/Utils/PromQL/PromQLMonitorSeries.d.ts +9 -0
- package/Utils/PromQL/PromQLMonitorSeries.js +87 -0
- package/Utils/PromQL/PromQLMonitorSeries.mjs +5 -0
- package/Utils/Proxmox/ProxmoxGuestPowerTask.d.mts +46 -0
- package/Utils/Proxmox/ProxmoxGuestPowerTask.d.ts +46 -0
- package/Utils/Proxmox/ProxmoxGuestPowerTask.js +240 -0
- package/Utils/Proxmox/ProxmoxGuestPowerTask.mjs +17 -0
- package/Utils/Rum/SessionIdentity.d.mts +0 -8
- package/Utils/Rum/SessionIdentity.d.ts +0 -8
- package/Utils/Rum/SessionIdentity.js +4 -105
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.js +15 -1
- package/Utils/Rum/SessionReplayIngestBounds.d.mts +10 -0
- package/Utils/Rum/SessionReplayIngestBounds.d.ts +10 -0
- package/Utils/Rum/SessionReplayIngestBounds.js +121 -0
- package/Utils/Rum/SessionReplayIngestBounds.mjs +2 -0
- package/Utils/Rum/SessionReplayPolicyValidation.d.mts +9 -0
- package/Utils/Rum/SessionReplayPolicyValidation.d.ts +9 -0
- package/Utils/Rum/SessionReplayPolicyValidation.js +97 -0
- package/Utils/Rum/SessionReplayPolicyValidation.mjs +6 -0
- package/Utils/Schema/ModelSchema.d.mts +7 -0
- package/Utils/Schema/ModelSchema.d.ts +7 -0
- package/Utils/Schema/ModelSchema.js +148 -20
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +1 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +1 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +5 -2
- package/Utils/SecurityCase/SecurityConnectionMatch.d.mts +16 -1
- package/Utils/SecurityCase/SecurityConnectionMatch.d.ts +16 -1
- package/Utils/SecurityCase/SecurityConnectionMatch.js +255 -20
- package/Utils/SecurityCase/SecurityConnectionMatch.mjs +9 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.mts +3 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.ts +3 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +104 -4
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.mjs +3 -0
- package/Utils/SecurityEvent/LogParsers/AzureResourceLogParser.d.mts +50 -0
- package/Utils/SecurityEvent/LogParsers/AzureResourceLogParser.d.ts +50 -0
- package/Utils/SecurityEvent/LogParsers/AzureResourceLogParser.js +1121 -0
- package/Utils/SecurityEvent/LogParsers/AzureResourceLogParser.mjs +29 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.mts +94 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.ts +94 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.js +1376 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.mjs +27 -0
- package/Utils/SecurityEvent/LogParsers/CloudTrailLogParser.js +3 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.mts +1 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.ts +1 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +19 -1
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +6 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +6 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +91 -1
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +4 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +21 -1
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.mts +7 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.ts +7 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.js +146 -15
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.mjs +1 -0
- package/Utils/SecurityEvent/NormalizerHelpers.js +15 -2
- package/Utils/SecurityEvent/RequestFollowUp.js +24 -0
- package/Utils/SecurityEvent/ScrubbedAddress.d.mts +71 -0
- package/Utils/SecurityEvent/ScrubbedAddress.d.ts +71 -0
- package/Utils/SecurityEvent/ScrubbedAddress.js +439 -0
- package/Utils/SecurityEvent/ScrubbedAddress.mjs +24 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.mts +4 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.ts +4 -0
- package/Utils/SecurityEvent/SecurityRecordReading.js +24 -0
- package/Utils/SecurityEvent/SecurityRecordReading.mjs +2 -0
- package/Utils/SecurityEvent/SecurityTemplateRecords.js +7 -1
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.mts +1 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.ts +1 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.js +49 -5
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.mjs +1 -0
- package/Utils/SlicedWork.d.mts +4 -0
- package/Utils/SlicedWork.d.ts +4 -0
- package/Utils/SlicedWork.js +34 -0
- package/Utils/SlicedWork.mjs +2 -0
- package/Utils/Slo/SloHealth.d.mts +5 -0
- package/Utils/Slo/SloHealth.d.ts +5 -0
- package/Utils/Slo/SloHealth.js +80 -1
- package/Utils/Slo/SloHealth.mjs +3 -0
- package/Utils/Slo/SloMetricSli.d.mts +8 -0
- package/Utils/Slo/SloMetricSli.d.ts +8 -0
- package/Utils/Slo/SloMetricSli.js +36 -1
- package/Utils/Slo/SloMetricSli.mjs +5 -0
- package/Utils/StateOrder.d.mts +25 -7
- package/Utils/StateOrder.d.ts +25 -7
- package/Utils/StateOrder.js +33 -19
- package/Utils/StateOrder.mjs +1 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +5 -4
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +5 -4
- package/Utils/StatusPage/StatusPageUptimeTimezone.js +5 -4
- package/Utils/Storage/StorageUsage.d.mts +31 -0
- package/Utils/Storage/StorageUsage.d.ts +31 -0
- package/Utils/Storage/StorageUsage.js +179 -0
- package/Utils/Storage/StorageUsage.mjs +10 -0
- package/Utils/Suggestions/CodeFixSuggestion.js +3 -2
- package/Utils/Telemetry/AppleCrashMatch.d.mts +42 -0
- package/Utils/Telemetry/AppleCrashMatch.d.ts +42 -0
- package/Utils/Telemetry/AppleCrashMatch.js +205 -0
- package/Utils/Telemetry/AppleCrashMatch.mjs +11 -0
- package/Utils/Telemetry/AppleCrashReport.d.mts +47 -0
- package/Utils/Telemetry/AppleCrashReport.d.ts +47 -0
- package/Utils/Telemetry/AppleCrashReport.js +760 -0
- package/Utils/Telemetry/AppleCrashReport.mjs +9 -0
- package/Utils/Telemetry/AppleSymbolicate.d.mts +14 -0
- package/Utils/Telemetry/AppleSymbolicate.d.ts +14 -0
- package/Utils/Telemetry/AppleSymbolicate.js +102 -0
- package/Utils/Telemetry/AppleSymbolicate.mjs +5 -0
- package/Utils/Telemetry/AppleSymbols.d.mts +31 -0
- package/Utils/Telemetry/AppleSymbols.d.ts +31 -0
- package/Utils/Telemetry/AppleSymbols.js +200 -0
- package/Utils/Telemetry/AppleSymbols.mjs +9 -0
- package/Utils/Telemetry/CrossSignalScope.d.mts +6 -1
- package/Utils/Telemetry/CrossSignalScope.d.ts +6 -1
- package/Utils/Telemetry/CrossSignalScope.js +19 -1
- package/Utils/Telemetry/CrossSignalScope.mjs +2 -0
- package/Utils/Telemetry/MetricKitCallStack.d.mts +33 -0
- package/Utils/Telemetry/MetricKitCallStack.d.ts +33 -0
- package/Utils/Telemetry/MetricKitCallStack.js +253 -0
- package/Utils/Telemetry/MetricKitCallStack.mjs +4 -0
- package/Utils/Telemetry/MobileAppFaults.d.mts +14 -1
- package/Utils/Telemetry/MobileAppFaults.d.ts +14 -1
- package/Utils/Telemetry/MobileAppFaults.js +149 -15
- package/Utils/Telemetry/MobileAppFaults.mjs +12 -0
- package/Utils/Telemetry/OtlpAnyValue.d.mts +5 -0
- package/Utils/Telemetry/OtlpAnyValue.d.ts +5 -0
- package/Utils/Telemetry/OtlpAnyValue.js +86 -0
- package/Utils/Telemetry/OtlpAnyValue.mjs +5 -0
- package/Utils/Telemetry/OtlpRecordCount.d.mts +4 -0
- package/Utils/Telemetry/OtlpRecordCount.d.ts +4 -0
- package/Utils/Telemetry/OtlpRecordCount.js +82 -0
- package/Utils/Telemetry/OtlpRecordCount.mjs +5 -0
- package/Utils/Telemetry/ScrubIpAddress.d.mts +10 -0
- package/Utils/Telemetry/ScrubIpAddress.d.ts +10 -0
- package/Utils/Telemetry/ScrubIpAddress.js +116 -0
- package/Utils/Telemetry/ScrubIpAddress.mjs +4 -0
- package/Utils/Telemetry/SwiftDemangle.d.mts +2 -0
- package/Utils/Telemetry/SwiftDemangle.d.ts +2 -0
- package/Utils/Telemetry/SwiftDemangle.js +3479 -0
- package/Utils/Telemetry/SwiftDemangle.mjs +3 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +4 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +4 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.js +7 -2
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.mjs +4 -0
- package/Utils/Telemetry/TelemetryUsageMetricType.d.mts +18 -0
- package/Utils/Telemetry/TelemetryUsageMetricType.d.ts +18 -0
- package/Utils/Telemetry/TelemetryUsageMetricType.js +107 -0
- package/Utils/Telemetry/TelemetryUsageMetricType.mjs +9 -0
- package/Utils/Totp/TotpParameters.d.mts +25 -0
- package/Utils/Totp/TotpParameters.d.ts +25 -0
- package/Utils/Totp/TotpParameters.js +99 -0
- package/Utils/Totp/TotpParameters.mjs +14 -0
- package/Utils/Totp/TotpSecret.d.mts +42 -0
- package/Utils/Totp/TotpSecret.d.ts +42 -0
- package/Utils/Totp/TotpSecret.js +327 -0
- package/Utils/Totp/TotpSecret.mjs +21 -0
- package/Utils/Uptime/DayUptimeGraphUtil.js +1 -1
- package/Utils/Uptime/UptimeDayGrid.d.mts +38 -0
- package/Utils/Uptime/UptimeDayGrid.d.ts +38 -0
- package/Utils/Uptime/UptimeDayGrid.js +148 -0
- package/Utils/Uptime/UptimeDayGrid.mjs +2 -0
- package/Utils/ValueFormatter.d.mts +4 -0
- package/Utils/ValueFormatter.d.ts +4 -0
- package/Utils/ValueFormatter.js +436 -42
- package/Utils/VersionUtil.d.mts +1 -0
- package/Utils/VersionUtil.d.ts +1 -0
- package/Utils/VersionUtil.js +26 -0
- package/package.json +3 -2
|
@@ -0,0 +1,1207 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.parseLogQL = void 0;
|
|
7
|
+
const LogQLAst_1 = require("./LogQLAst");
|
|
8
|
+
const LogQLValues_1 = require("./LogQLValues");
|
|
9
|
+
const PromQLAst_1 = require("../PromQL/PromQLAst");
|
|
10
|
+
const PromQLParser_1 = require("../PromQL/PromQLParser");
|
|
11
|
+
const PromQLDuration_1 = require("../PromQL/PromQLDuration");
|
|
12
|
+
const PromQLError_1 = __importDefault(require("../PromQL/PromQLError"));
|
|
13
|
+
const PromQLLabels_1 = require("../PromQL/PromQLLabels");
|
|
14
|
+
const PromQLRegex_1 = require("../PromQL/PromQLRegex");
|
|
15
|
+
/*
|
|
16
|
+
* Reads a LogQL query into its tree (LogQLAst), the way Loki's own parser
|
|
17
|
+
* reads it (pkg/logql/syntax): the stream selector, the pipeline, range
|
|
18
|
+
* aggregations of log queries and the PromQL-shaped expression around
|
|
19
|
+
* them. A query that is wrong is refused with what is wrong and where, in
|
|
20
|
+
* Loki's words where it has them ("parse error at line 1, col 7: ...").
|
|
21
|
+
*
|
|
22
|
+
* OneUptime reads the part of LogQL dashboards use (see LogQLEngine): a
|
|
23
|
+
* stage it does not read yet - label_format, pattern, regexp, unpack, an
|
|
24
|
+
* ip() filter - is refused by name, rather than read as something else.
|
|
25
|
+
*/
|
|
26
|
+
var TokenType;
|
|
27
|
+
(function (TokenType) {
|
|
28
|
+
TokenType["Identifier"] = "identifier";
|
|
29
|
+
// A number, or a number glued to a unit: 5m, 1h30m, 250ms, 20MB.
|
|
30
|
+
TokenType["Number"] = "number";
|
|
31
|
+
TokenType["String"] = "string";
|
|
32
|
+
TokenType["LeftBrace"] = "{";
|
|
33
|
+
TokenType["RightBrace"] = "}";
|
|
34
|
+
TokenType["LeftParen"] = "(";
|
|
35
|
+
TokenType["RightParen"] = ")";
|
|
36
|
+
TokenType["LeftBracket"] = "[";
|
|
37
|
+
TokenType["RightBracket"] = "]";
|
|
38
|
+
TokenType["Comma"] = ",";
|
|
39
|
+
TokenType["Assign"] = "=";
|
|
40
|
+
TokenType["NotEqual"] = "!=";
|
|
41
|
+
TokenType["RegexMatch"] = "=~";
|
|
42
|
+
TokenType["RegexNoMatch"] = "!~";
|
|
43
|
+
TokenType["PipeExact"] = "|=";
|
|
44
|
+
TokenType["PipeMatch"] = "|~";
|
|
45
|
+
TokenType["Pipe"] = "|";
|
|
46
|
+
TokenType["Equal"] = "==";
|
|
47
|
+
TokenType["Greater"] = ">";
|
|
48
|
+
TokenType["GreaterOrEqual"] = ">=";
|
|
49
|
+
TokenType["Less"] = "<";
|
|
50
|
+
TokenType["LessOrEqual"] = "<=";
|
|
51
|
+
TokenType["Add"] = "+";
|
|
52
|
+
TokenType["Sub"] = "-";
|
|
53
|
+
TokenType["Mul"] = "*";
|
|
54
|
+
TokenType["Div"] = "/";
|
|
55
|
+
TokenType["Mod"] = "%";
|
|
56
|
+
TokenType["Pow"] = "^";
|
|
57
|
+
TokenType["EOF"] = "end of query";
|
|
58
|
+
})(TokenType || (TokenType = {}));
|
|
59
|
+
const TWO_CHARACTER_TOKENS = new Map([
|
|
60
|
+
["!=", TokenType.NotEqual],
|
|
61
|
+
["=~", TokenType.RegexMatch],
|
|
62
|
+
["!~", TokenType.RegexNoMatch],
|
|
63
|
+
["|=", TokenType.PipeExact],
|
|
64
|
+
["|~", TokenType.PipeMatch],
|
|
65
|
+
["==", TokenType.Equal],
|
|
66
|
+
[">=", TokenType.GreaterOrEqual],
|
|
67
|
+
["<=", TokenType.LessOrEqual],
|
|
68
|
+
]);
|
|
69
|
+
const ONE_CHARACTER_TOKENS = new Map([
|
|
70
|
+
["{", TokenType.LeftBrace],
|
|
71
|
+
["}", TokenType.RightBrace],
|
|
72
|
+
["(", TokenType.LeftParen],
|
|
73
|
+
[")", TokenType.RightParen],
|
|
74
|
+
["[", TokenType.LeftBracket],
|
|
75
|
+
["]", TokenType.RightBracket],
|
|
76
|
+
[",", TokenType.Comma],
|
|
77
|
+
["=", TokenType.Assign],
|
|
78
|
+
["|", TokenType.Pipe],
|
|
79
|
+
[">", TokenType.Greater],
|
|
80
|
+
["<", TokenType.Less],
|
|
81
|
+
["+", TokenType.Add],
|
|
82
|
+
["-", TokenType.Sub],
|
|
83
|
+
["*", TokenType.Mul],
|
|
84
|
+
["/", TokenType.Div],
|
|
85
|
+
["%", TokenType.Mod],
|
|
86
|
+
["^", TokenType.Pow],
|
|
87
|
+
]);
|
|
88
|
+
const SIMPLE_ESCAPES = new Map([
|
|
89
|
+
["a", "\x07"],
|
|
90
|
+
["b", "\b"],
|
|
91
|
+
["f", "\f"],
|
|
92
|
+
["n", "\n"],
|
|
93
|
+
["r", "\r"],
|
|
94
|
+
["t", "\t"],
|
|
95
|
+
["v", "\v"],
|
|
96
|
+
["\\", "\\"],
|
|
97
|
+
["'", "'"],
|
|
98
|
+
['"', '"'],
|
|
99
|
+
]);
|
|
100
|
+
const WHITE_SPACE = /\s/;
|
|
101
|
+
const HEX_DIGITS = /^[0-9a-fA-F]+$/;
|
|
102
|
+
// A number with no unit glued to it: 500, 1.5, 1e3.
|
|
103
|
+
const PLAIN_NUMBER = /^[0-9.]+([eE][-+]?[0-9]+)?$/;
|
|
104
|
+
const isDigit = (character) => {
|
|
105
|
+
return character >= "0" && character <= "9";
|
|
106
|
+
};
|
|
107
|
+
const isLetter = (character) => {
|
|
108
|
+
return ((character >= "a" && character <= "z") ||
|
|
109
|
+
(character >= "A" && character <= "Z") ||
|
|
110
|
+
character === "_");
|
|
111
|
+
};
|
|
112
|
+
/*
|
|
113
|
+
* Where an offset in the query is, as Loki says it: line and column, both
|
|
114
|
+
* from 1.
|
|
115
|
+
*/
|
|
116
|
+
const describePosition = (query, offset) => {
|
|
117
|
+
const before = query.slice(0, offset);
|
|
118
|
+
const line = before.split("\n").length;
|
|
119
|
+
const column = offset - (before.lastIndexOf("\n") + 1) + 1;
|
|
120
|
+
return `line ${line}, col ${column}`;
|
|
121
|
+
};
|
|
122
|
+
const parseError = (query, offset, message) => {
|
|
123
|
+
return new PromQLError_1.default(`parse error at ${describePosition(query, offset)}: ${message}`, undefined, { start: offset, end: offset + 1 });
|
|
124
|
+
};
|
|
125
|
+
const tokenize = (query) => {
|
|
126
|
+
const tokens = [];
|
|
127
|
+
let position = 0;
|
|
128
|
+
while (position < query.length) {
|
|
129
|
+
const character = query[position];
|
|
130
|
+
if (WHITE_SPACE.test(character)) {
|
|
131
|
+
position++;
|
|
132
|
+
continue;
|
|
133
|
+
}
|
|
134
|
+
// A comment runs to the end of its line, as in Loki.
|
|
135
|
+
if (character === "#") {
|
|
136
|
+
while (position < query.length && query[position] !== "\n") {
|
|
137
|
+
position++;
|
|
138
|
+
}
|
|
139
|
+
continue;
|
|
140
|
+
}
|
|
141
|
+
if (isDigit(character) ||
|
|
142
|
+
(character === "." && isDigit(query[position + 1] || ""))) {
|
|
143
|
+
const start = position;
|
|
144
|
+
while (position < query.length &&
|
|
145
|
+
(isDigit(query[position]) || query[position] === ".")) {
|
|
146
|
+
position++;
|
|
147
|
+
}
|
|
148
|
+
// An exponent: 1e3, 2.5E-4.
|
|
149
|
+
if ((query[position] === "e" || query[position] === "E") &&
|
|
150
|
+
(isDigit(query[position + 1] || "") ||
|
|
151
|
+
((query[position + 1] === "-" || query[position + 1] === "+") &&
|
|
152
|
+
isDigit(query[position + 2] || "")))) {
|
|
153
|
+
position += 2;
|
|
154
|
+
while (position < query.length && isDigit(query[position])) {
|
|
155
|
+
position++;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
// A unit glued to it: 5m, 1h30m, 1.5s, 20MB, 1KiB, 100µs.
|
|
159
|
+
while (position < query.length &&
|
|
160
|
+
(isLetter(query[position]) ||
|
|
161
|
+
isDigit(query[position]) ||
|
|
162
|
+
query[position] === "µ" ||
|
|
163
|
+
query[position] === ".")) {
|
|
164
|
+
position++;
|
|
165
|
+
}
|
|
166
|
+
tokens.push({
|
|
167
|
+
type: TokenType.Number,
|
|
168
|
+
text: query.slice(start, position),
|
|
169
|
+
start,
|
|
170
|
+
end: position,
|
|
171
|
+
});
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
if (isLetter(character)) {
|
|
175
|
+
const start = position;
|
|
176
|
+
while (position < query.length &&
|
|
177
|
+
(isLetter(query[position]) || isDigit(query[position]))) {
|
|
178
|
+
position++;
|
|
179
|
+
}
|
|
180
|
+
tokens.push({
|
|
181
|
+
type: TokenType.Identifier,
|
|
182
|
+
text: query.slice(start, position),
|
|
183
|
+
start,
|
|
184
|
+
end: position,
|
|
185
|
+
});
|
|
186
|
+
continue;
|
|
187
|
+
}
|
|
188
|
+
if (character === '"') {
|
|
189
|
+
const start = position;
|
|
190
|
+
let value = "";
|
|
191
|
+
position++;
|
|
192
|
+
while (position < query.length && query[position] !== '"') {
|
|
193
|
+
const current = query[position];
|
|
194
|
+
if (current === "\n") {
|
|
195
|
+
throw parseError(query, position, "a string has no closing quote.");
|
|
196
|
+
}
|
|
197
|
+
if (current === "\\") {
|
|
198
|
+
const next = query[position + 1] || "";
|
|
199
|
+
const simple = SIMPLE_ESCAPES.get(next);
|
|
200
|
+
if (simple !== undefined) {
|
|
201
|
+
value += simple;
|
|
202
|
+
position += 2;
|
|
203
|
+
continue;
|
|
204
|
+
}
|
|
205
|
+
if (next === "x" || next === "u" || next === "U") {
|
|
206
|
+
const length = next === "x" ? 2 : next === "u" ? 4 : 8;
|
|
207
|
+
const hex = query.slice(position + 2, position + 2 + length);
|
|
208
|
+
if (hex.length !== length || !HEX_DIGITS.test(hex)) {
|
|
209
|
+
throw parseError(query, position, "a string has an escape that is not one.");
|
|
210
|
+
}
|
|
211
|
+
value += String.fromCodePoint(parseInt(hex, 16));
|
|
212
|
+
position += 2 + length;
|
|
213
|
+
continue;
|
|
214
|
+
}
|
|
215
|
+
throw parseError(query, position, `a string has an escape that is not one: \\${next}.`);
|
|
216
|
+
}
|
|
217
|
+
value += current;
|
|
218
|
+
position++;
|
|
219
|
+
}
|
|
220
|
+
if (position >= query.length) {
|
|
221
|
+
throw parseError(query, start, "a string has no closing quote.");
|
|
222
|
+
}
|
|
223
|
+
position++;
|
|
224
|
+
tokens.push({
|
|
225
|
+
type: TokenType.String,
|
|
226
|
+
text: value,
|
|
227
|
+
start,
|
|
228
|
+
end: position,
|
|
229
|
+
});
|
|
230
|
+
continue;
|
|
231
|
+
}
|
|
232
|
+
// A raw string: no escapes, as in Go.
|
|
233
|
+
if (character === "`") {
|
|
234
|
+
const start = position;
|
|
235
|
+
const close = query.indexOf("`", position + 1);
|
|
236
|
+
if (close === -1) {
|
|
237
|
+
throw parseError(query, start, "a string has no closing backtick.");
|
|
238
|
+
}
|
|
239
|
+
tokens.push({
|
|
240
|
+
type: TokenType.String,
|
|
241
|
+
text: query.slice(position + 1, close),
|
|
242
|
+
start,
|
|
243
|
+
end: close + 1,
|
|
244
|
+
});
|
|
245
|
+
position = close + 1;
|
|
246
|
+
continue;
|
|
247
|
+
}
|
|
248
|
+
const pair = query.slice(position, position + 2);
|
|
249
|
+
const pairType = TWO_CHARACTER_TOKENS.get(pair);
|
|
250
|
+
if (pairType) {
|
|
251
|
+
tokens.push({
|
|
252
|
+
type: pairType,
|
|
253
|
+
text: pair,
|
|
254
|
+
start: position,
|
|
255
|
+
end: position + 2,
|
|
256
|
+
});
|
|
257
|
+
position += 2;
|
|
258
|
+
continue;
|
|
259
|
+
}
|
|
260
|
+
const singleType = ONE_CHARACTER_TOKENS.get(character);
|
|
261
|
+
if (singleType) {
|
|
262
|
+
tokens.push({
|
|
263
|
+
type: singleType,
|
|
264
|
+
text: character,
|
|
265
|
+
start: position,
|
|
266
|
+
end: position + 1,
|
|
267
|
+
});
|
|
268
|
+
position++;
|
|
269
|
+
continue;
|
|
270
|
+
}
|
|
271
|
+
throw parseError(query, position, `syntax error: unexpected character "${character}".`);
|
|
272
|
+
}
|
|
273
|
+
tokens.push({
|
|
274
|
+
type: TokenType.EOF,
|
|
275
|
+
text: "",
|
|
276
|
+
start: query.length,
|
|
277
|
+
end: query.length,
|
|
278
|
+
});
|
|
279
|
+
return tokens;
|
|
280
|
+
};
|
|
281
|
+
const RANGE_OPERATIONS = new Map(Object.values(LogQLAst_1.LogQLRangeOperation).map((operation) => {
|
|
282
|
+
return [operation, operation];
|
|
283
|
+
}));
|
|
284
|
+
const VECTOR_AGGREGATIONS = new Map([
|
|
285
|
+
["sum", PromQLAst_1.PromQLAggregateOperator.Sum],
|
|
286
|
+
["avg", PromQLAst_1.PromQLAggregateOperator.Avg],
|
|
287
|
+
["min", PromQLAst_1.PromQLAggregateOperator.Min],
|
|
288
|
+
["max", PromQLAst_1.PromQLAggregateOperator.Max],
|
|
289
|
+
["count", PromQLAst_1.PromQLAggregateOperator.Count],
|
|
290
|
+
["stddev", PromQLAst_1.PromQLAggregateOperator.Stddev],
|
|
291
|
+
["stdvar", PromQLAst_1.PromQLAggregateOperator.Stdvar],
|
|
292
|
+
["topk", PromQLAst_1.PromQLAggregateOperator.Topk],
|
|
293
|
+
["bottomk", PromQLAst_1.PromQLAggregateOperator.Bottomk],
|
|
294
|
+
]);
|
|
295
|
+
// Stages Loki has that OneUptime does not read yet: refused by name.
|
|
296
|
+
const UNSUPPORTED_STAGES = new Set([
|
|
297
|
+
"label_format",
|
|
298
|
+
"pattern",
|
|
299
|
+
"regexp",
|
|
300
|
+
"unpack",
|
|
301
|
+
"logfmt_strict",
|
|
302
|
+
]);
|
|
303
|
+
// Binary operators by precedence, lowest first, as PromQL's (and Loki's).
|
|
304
|
+
const PRECEDENCE = [
|
|
305
|
+
[PromQLAst_1.PromQLBinaryOperator.Or],
|
|
306
|
+
[PromQLAst_1.PromQLBinaryOperator.And, PromQLAst_1.PromQLBinaryOperator.Unless],
|
|
307
|
+
[
|
|
308
|
+
PromQLAst_1.PromQLBinaryOperator.Eql,
|
|
309
|
+
PromQLAst_1.PromQLBinaryOperator.Neq,
|
|
310
|
+
PromQLAst_1.PromQLBinaryOperator.Gtr,
|
|
311
|
+
PromQLAst_1.PromQLBinaryOperator.Gte,
|
|
312
|
+
PromQLAst_1.PromQLBinaryOperator.Lss,
|
|
313
|
+
PromQLAst_1.PromQLBinaryOperator.Lte,
|
|
314
|
+
],
|
|
315
|
+
[PromQLAst_1.PromQLBinaryOperator.Add, PromQLAst_1.PromQLBinaryOperator.Sub],
|
|
316
|
+
[
|
|
317
|
+
PromQLAst_1.PromQLBinaryOperator.Mul,
|
|
318
|
+
PromQLAst_1.PromQLBinaryOperator.Div,
|
|
319
|
+
PromQLAst_1.PromQLBinaryOperator.Mod,
|
|
320
|
+
],
|
|
321
|
+
[PromQLAst_1.PromQLBinaryOperator.Pow],
|
|
322
|
+
];
|
|
323
|
+
const LABEL_NAME = /^[a-zA-Z_][a-zA-Z0-9_]*$/;
|
|
324
|
+
class LogQLParser {
|
|
325
|
+
constructor(query) {
|
|
326
|
+
this.index = 0;
|
|
327
|
+
this.ranges = [];
|
|
328
|
+
this.query = query;
|
|
329
|
+
this.tokens = tokenize(query);
|
|
330
|
+
}
|
|
331
|
+
parse() {
|
|
332
|
+
if (this.peek().type === TokenType.EOF) {
|
|
333
|
+
throw parseError(this.query, 0, "syntax error: the query is empty.");
|
|
334
|
+
}
|
|
335
|
+
// A log query is a selector and its pipeline, and nothing around it.
|
|
336
|
+
if (this.peek().type === TokenType.LeftBrace) {
|
|
337
|
+
const selector = this.parseLogSelector();
|
|
338
|
+
if (this.peek().type === TokenType.LeftBracket) {
|
|
339
|
+
throw this.errorAt(this.peek(), "a range like [5m] belongs inside a range aggregation, such as count_over_time({...}[5m]).");
|
|
340
|
+
}
|
|
341
|
+
this.expect(TokenType.EOF);
|
|
342
|
+
return { kind: "LogQuery", selector };
|
|
343
|
+
}
|
|
344
|
+
/*
|
|
345
|
+
* Numbers and vector() alone are a metric query too, as in Loki:
|
|
346
|
+
* Grafana checks a Loki data source with vector(1)+vector(1).
|
|
347
|
+
*/
|
|
348
|
+
const expression = this.parseExpression(0);
|
|
349
|
+
this.expect(TokenType.EOF);
|
|
350
|
+
return { kind: "MetricQuery", expression, ranges: this.ranges };
|
|
351
|
+
}
|
|
352
|
+
peek(offset = 0) {
|
|
353
|
+
return this.tokens[Math.min(this.index + offset, this.tokens.length - 1)];
|
|
354
|
+
}
|
|
355
|
+
next() {
|
|
356
|
+
const token = this.peek();
|
|
357
|
+
if (token.type !== TokenType.EOF) {
|
|
358
|
+
this.index++;
|
|
359
|
+
}
|
|
360
|
+
return token;
|
|
361
|
+
}
|
|
362
|
+
errorAt(token, message) {
|
|
363
|
+
return parseError(this.query, token.start, message);
|
|
364
|
+
}
|
|
365
|
+
unexpected(token, expected) {
|
|
366
|
+
const found = token.type === TokenType.EOF
|
|
367
|
+
? "end of query"
|
|
368
|
+
: token.type === TokenType.String
|
|
369
|
+
? `the string "${token.text}"`
|
|
370
|
+
: `"${token.text}"`;
|
|
371
|
+
return this.errorAt(token, `syntax error: unexpected ${found}, expected ${expected}.`);
|
|
372
|
+
}
|
|
373
|
+
expect(type, expected) {
|
|
374
|
+
const token = this.peek();
|
|
375
|
+
if (token.type !== type) {
|
|
376
|
+
throw this.unexpected(token, expected || `"${type}"`);
|
|
377
|
+
}
|
|
378
|
+
return this.next();
|
|
379
|
+
}
|
|
380
|
+
isKeyword(token, keyword) {
|
|
381
|
+
return token.type === TokenType.Identifier && token.text === keyword;
|
|
382
|
+
}
|
|
383
|
+
positionOf(start, end) {
|
|
384
|
+
return { start: start.start, end: end.end };
|
|
385
|
+
}
|
|
386
|
+
// A stream selector, `{app="api", env=~"prod|staging"}`, and its pipeline.
|
|
387
|
+
parseLogSelector() {
|
|
388
|
+
const open = this.expect(TokenType.LeftBrace);
|
|
389
|
+
const matchers = [];
|
|
390
|
+
while (this.peek().type !== TokenType.RightBrace) {
|
|
391
|
+
const name = this.expect(TokenType.Identifier, "a label name");
|
|
392
|
+
const operator = this.next();
|
|
393
|
+
let type;
|
|
394
|
+
switch (operator.type) {
|
|
395
|
+
case TokenType.Assign:
|
|
396
|
+
type = PromQLAst_1.PromQLMatchType.Equal;
|
|
397
|
+
break;
|
|
398
|
+
case TokenType.NotEqual:
|
|
399
|
+
type = PromQLAst_1.PromQLMatchType.NotEqual;
|
|
400
|
+
break;
|
|
401
|
+
case TokenType.RegexMatch:
|
|
402
|
+
type = PromQLAst_1.PromQLMatchType.RegexMatch;
|
|
403
|
+
break;
|
|
404
|
+
case TokenType.RegexNoMatch:
|
|
405
|
+
type = PromQLAst_1.PromQLMatchType.RegexNoMatch;
|
|
406
|
+
break;
|
|
407
|
+
default:
|
|
408
|
+
throw this.unexpected(operator, "=, !=, =~ or !~");
|
|
409
|
+
}
|
|
410
|
+
const value = this.expect(TokenType.String, "a quoted value");
|
|
411
|
+
matchers.push(this.matcherOf(name, type, value));
|
|
412
|
+
if (this.peek().type === TokenType.Comma) {
|
|
413
|
+
this.next();
|
|
414
|
+
continue;
|
|
415
|
+
}
|
|
416
|
+
if (this.peek().type !== TokenType.RightBrace) {
|
|
417
|
+
throw this.unexpected(this.peek(), '"," or "}"');
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
this.expect(TokenType.RightBrace);
|
|
421
|
+
/*
|
|
422
|
+
* Loki's own rule, which keeps every read narrowed by a label value: at
|
|
423
|
+
* least one matcher a log without the label does not pass.
|
|
424
|
+
*/
|
|
425
|
+
const narrows = matchers.some((matcher) => {
|
|
426
|
+
return ((matcher.type === PromQLAst_1.PromQLMatchType.Equal ||
|
|
427
|
+
matcher.type === PromQLAst_1.PromQLMatchType.RegexMatch) &&
|
|
428
|
+
!(0, PromQLLabels_1.compilePromQLMatchers)([matcher])({}));
|
|
429
|
+
});
|
|
430
|
+
if (!narrows) {
|
|
431
|
+
throw this.errorAt(open, 'queries require at least one regexp or equality matcher that does not have an empty-compatible value. For instance, app=~".*" does not meet this requirement, but app=~".+" will');
|
|
432
|
+
}
|
|
433
|
+
const selector = {
|
|
434
|
+
kind: "LogSelector",
|
|
435
|
+
matchers,
|
|
436
|
+
stages: this.parseStages(),
|
|
437
|
+
};
|
|
438
|
+
return selector;
|
|
439
|
+
}
|
|
440
|
+
matcherOf(name, type, value) {
|
|
441
|
+
if (type === PromQLAst_1.PromQLMatchType.RegexMatch ||
|
|
442
|
+
type === PromQLAst_1.PromQLMatchType.RegexNoMatch) {
|
|
443
|
+
this.checkPattern(value);
|
|
444
|
+
}
|
|
445
|
+
return { name: name.text, type, value: value.text };
|
|
446
|
+
}
|
|
447
|
+
checkPattern(value) {
|
|
448
|
+
try {
|
|
449
|
+
(0, PromQLRegex_1.compilePromQLRegex)(value.text);
|
|
450
|
+
}
|
|
451
|
+
catch (error) {
|
|
452
|
+
throw this.errorAt(value, `"${value.text}" is not a valid regular expression: ${(0, PromQLRegex_1.describePromQLPatternProblem)(error) || "it cannot be read"}.`);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
/*
|
|
456
|
+
* The pipeline after a selector, up to a range, a closing parenthesis or
|
|
457
|
+
* the end. An unwrap ends a pipeline: it is read by the range aggregation
|
|
458
|
+
* around it (readUnwrap).
|
|
459
|
+
*/
|
|
460
|
+
parseStages() {
|
|
461
|
+
const stages = [];
|
|
462
|
+
for (;;) {
|
|
463
|
+
const token = this.peek();
|
|
464
|
+
if (token.type === TokenType.PipeExact ||
|
|
465
|
+
token.type === TokenType.PipeMatch ||
|
|
466
|
+
token.type === TokenType.NotEqual ||
|
|
467
|
+
token.type === TokenType.RegexNoMatch) {
|
|
468
|
+
stages.push(this.parseLineFilter());
|
|
469
|
+
continue;
|
|
470
|
+
}
|
|
471
|
+
if (token.type !== TokenType.Pipe) {
|
|
472
|
+
return stages;
|
|
473
|
+
}
|
|
474
|
+
// `| unwrap` is read by the range aggregation, after the stages.
|
|
475
|
+
if (this.isKeyword(this.peek(1), "unwrap")) {
|
|
476
|
+
return stages;
|
|
477
|
+
}
|
|
478
|
+
this.next();
|
|
479
|
+
stages.push(this.parsePipeStage());
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
parseLineFilter() {
|
|
483
|
+
const operatorToken = this.next();
|
|
484
|
+
const operator = operatorToken.type === TokenType.PipeExact
|
|
485
|
+
? LogQLAst_1.LogQLLineFilterOperator.Contains
|
|
486
|
+
: operatorToken.type === TokenType.PipeMatch
|
|
487
|
+
? LogQLAst_1.LogQLLineFilterOperator.Matches
|
|
488
|
+
: operatorToken.type === TokenType.NotEqual
|
|
489
|
+
? LogQLAst_1.LogQLLineFilterOperator.NotContains
|
|
490
|
+
: LogQLAst_1.LogQLLineFilterOperator.NotMatches;
|
|
491
|
+
if (this.isKeyword(this.peek(), "ip") &&
|
|
492
|
+
this.peek(1).type === TokenType.LeftParen) {
|
|
493
|
+
throw this.errorAt(this.peek(), 'ip() line filters are not supported yet. Filter by the address as a string, such as |= "10.0.0.1".');
|
|
494
|
+
}
|
|
495
|
+
const values = [];
|
|
496
|
+
for (;;) {
|
|
497
|
+
const value = this.expect(TokenType.String, "a quoted string");
|
|
498
|
+
if (operator === LogQLAst_1.LogQLLineFilterOperator.Matches ||
|
|
499
|
+
operator === LogQLAst_1.LogQLLineFilterOperator.NotMatches) {
|
|
500
|
+
this.checkPattern(value);
|
|
501
|
+
}
|
|
502
|
+
values.push(value.text);
|
|
503
|
+
// `|= "a" or "b"`: either string, as Loki 3 reads it.
|
|
504
|
+
if (this.isKeyword(this.peek(), "or") &&
|
|
505
|
+
this.peek(1).type === TokenType.String) {
|
|
506
|
+
this.next();
|
|
507
|
+
continue;
|
|
508
|
+
}
|
|
509
|
+
break;
|
|
510
|
+
}
|
|
511
|
+
return { kind: "LineFilter", operator, values };
|
|
512
|
+
}
|
|
513
|
+
// The stage after a `|`.
|
|
514
|
+
parsePipeStage() {
|
|
515
|
+
const token = this.peek();
|
|
516
|
+
if (token.type === TokenType.Identifier) {
|
|
517
|
+
if (token.text === "json" || token.text === "logfmt") {
|
|
518
|
+
this.next();
|
|
519
|
+
/*
|
|
520
|
+
* `| json status="response.status"` names what to extract: not read
|
|
521
|
+
* yet. A bare `| json` extracts every field.
|
|
522
|
+
*/
|
|
523
|
+
if (this.peek().type === TokenType.Identifier &&
|
|
524
|
+
(this.peek(1).type === TokenType.Assign ||
|
|
525
|
+
this.peek(1).type === TokenType.Comma)) {
|
|
526
|
+
throw this.errorAt(this.peek(), `| ${token.text} with expressions is not supported yet: use | ${token.text}, which extracts every field.`);
|
|
527
|
+
}
|
|
528
|
+
if (this.peek().type === TokenType.Sub) {
|
|
529
|
+
throw this.errorAt(this.peek(), `| ${token.text} with flags is not supported yet: use | ${token.text}.`);
|
|
530
|
+
}
|
|
531
|
+
return {
|
|
532
|
+
kind: "Parser",
|
|
533
|
+
parser: token.text === "json"
|
|
534
|
+
? LogQLAst_1.LogQLParserKind.Json
|
|
535
|
+
: LogQLAst_1.LogQLParserKind.Logfmt,
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
if (token.text === "line_format") {
|
|
539
|
+
this.next();
|
|
540
|
+
const template = this.expect(TokenType.String, "a template");
|
|
541
|
+
return { kind: "LineFormat", parts: this.parseTemplate(template) };
|
|
542
|
+
}
|
|
543
|
+
if (token.text === "drop" || token.text === "keep") {
|
|
544
|
+
this.next();
|
|
545
|
+
const labels = [];
|
|
546
|
+
for (;;) {
|
|
547
|
+
const name = this.expect(TokenType.Identifier, "a label name");
|
|
548
|
+
if (this.peek().type === TokenType.Assign ||
|
|
549
|
+
this.peek().type === TokenType.RegexMatch) {
|
|
550
|
+
throw this.errorAt(this.peek(), `| ${token.text} with a value is not supported yet: name the labels only.`);
|
|
551
|
+
}
|
|
552
|
+
labels.push(name.text);
|
|
553
|
+
if (this.peek().type !== TokenType.Comma) {
|
|
554
|
+
break;
|
|
555
|
+
}
|
|
556
|
+
this.next();
|
|
557
|
+
}
|
|
558
|
+
return { kind: token.text === "drop" ? "Drop" : "Keep", labels };
|
|
559
|
+
}
|
|
560
|
+
if (token.text === "decolorize") {
|
|
561
|
+
this.next();
|
|
562
|
+
return { kind: "Decolorize" };
|
|
563
|
+
}
|
|
564
|
+
if (UNSUPPORTED_STAGES.has(token.text)) {
|
|
565
|
+
throw this.errorAt(token, `| ${token.text} is not supported yet. Use | json or | logfmt to extract labels, and | line_format "{{.label}}" to rewrite a line.`);
|
|
566
|
+
}
|
|
567
|
+
// Anything else after a pipe is a label filter: `| status >= 500`.
|
|
568
|
+
return { kind: "LabelFilter", expression: this.parseLabelFilterOr() };
|
|
569
|
+
}
|
|
570
|
+
if (token.type === TokenType.LeftParen) {
|
|
571
|
+
return { kind: "LabelFilter", expression: this.parseLabelFilterOr() };
|
|
572
|
+
}
|
|
573
|
+
throw this.unexpected(token, "a parser (json, logfmt), a label filter, line_format, drop or keep");
|
|
574
|
+
}
|
|
575
|
+
// `a or b`, of `and`s.
|
|
576
|
+
parseLabelFilterOr() {
|
|
577
|
+
let left = this.parseLabelFilterAnd();
|
|
578
|
+
while (this.isKeyword(this.peek(), "or")) {
|
|
579
|
+
this.next();
|
|
580
|
+
left = { kind: "Or", left, right: this.parseLabelFilterAnd() };
|
|
581
|
+
}
|
|
582
|
+
return left;
|
|
583
|
+
}
|
|
584
|
+
// `a and b`, `a, b` and `a b` all mean both, as in Loki.
|
|
585
|
+
parseLabelFilterAnd() {
|
|
586
|
+
let left = this.parseLabelFilterPrimary();
|
|
587
|
+
for (;;) {
|
|
588
|
+
if (this.isKeyword(this.peek(), "and") ||
|
|
589
|
+
this.peek().type === TokenType.Comma) {
|
|
590
|
+
this.next();
|
|
591
|
+
left = { kind: "And", left, right: this.parseLabelFilterPrimary() };
|
|
592
|
+
continue;
|
|
593
|
+
}
|
|
594
|
+
// Two filters side by side, `| a="x" b="y"`.
|
|
595
|
+
if (this.peek().type === TokenType.Identifier &&
|
|
596
|
+
!this.isKeyword(this.peek(), "or") &&
|
|
597
|
+
this.isLabelFilterOperator(this.peek(1))) {
|
|
598
|
+
left = { kind: "And", left, right: this.parseLabelFilterPrimary() };
|
|
599
|
+
continue;
|
|
600
|
+
}
|
|
601
|
+
return left;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
isLabelFilterOperator(token) {
|
|
605
|
+
return [
|
|
606
|
+
TokenType.Assign,
|
|
607
|
+
TokenType.NotEqual,
|
|
608
|
+
TokenType.RegexMatch,
|
|
609
|
+
TokenType.RegexNoMatch,
|
|
610
|
+
TokenType.Equal,
|
|
611
|
+
TokenType.Greater,
|
|
612
|
+
TokenType.GreaterOrEqual,
|
|
613
|
+
TokenType.Less,
|
|
614
|
+
TokenType.LessOrEqual,
|
|
615
|
+
].includes(token.type);
|
|
616
|
+
}
|
|
617
|
+
parseLabelFilterPrimary() {
|
|
618
|
+
if (this.peek().type === TokenType.LeftParen) {
|
|
619
|
+
this.next();
|
|
620
|
+
const inner = this.parseLabelFilterOr();
|
|
621
|
+
this.expect(TokenType.RightParen);
|
|
622
|
+
return inner;
|
|
623
|
+
}
|
|
624
|
+
const name = this.expect(TokenType.Identifier, "a label name");
|
|
625
|
+
const operator = this.next();
|
|
626
|
+
if (!this.isLabelFilterOperator(operator)) {
|
|
627
|
+
throw this.unexpected(operator, "a comparison such as =, !=, =~, > or <=");
|
|
628
|
+
}
|
|
629
|
+
const value = this.next();
|
|
630
|
+
if (value.type === TokenType.String) {
|
|
631
|
+
let type;
|
|
632
|
+
switch (operator.type) {
|
|
633
|
+
case TokenType.Assign:
|
|
634
|
+
case TokenType.Equal:
|
|
635
|
+
type = PromQLAst_1.PromQLMatchType.Equal;
|
|
636
|
+
break;
|
|
637
|
+
case TokenType.NotEqual:
|
|
638
|
+
type = PromQLAst_1.PromQLMatchType.NotEqual;
|
|
639
|
+
break;
|
|
640
|
+
case TokenType.RegexMatch:
|
|
641
|
+
type = PromQLAst_1.PromQLMatchType.RegexMatch;
|
|
642
|
+
break;
|
|
643
|
+
case TokenType.RegexNoMatch:
|
|
644
|
+
type = PromQLAst_1.PromQLMatchType.RegexNoMatch;
|
|
645
|
+
break;
|
|
646
|
+
default:
|
|
647
|
+
throw this.errorAt(operator, `"${operator.text}" compares numbers: compare "${name.text}" with a number, a duration or a size, not a string.`);
|
|
648
|
+
}
|
|
649
|
+
return { kind: "Match", matcher: this.matcherOf(name, type, value) };
|
|
650
|
+
}
|
|
651
|
+
// A number, a duration or a size, possibly negative.
|
|
652
|
+
let negative = false;
|
|
653
|
+
let numberToken = value;
|
|
654
|
+
if (value.type === TokenType.Sub) {
|
|
655
|
+
negative = true;
|
|
656
|
+
numberToken = this.next();
|
|
657
|
+
}
|
|
658
|
+
if (numberToken.type !== TokenType.Number) {
|
|
659
|
+
throw this.unexpected(numberToken, "a quoted string, a number, a duration or a size");
|
|
660
|
+
}
|
|
661
|
+
if (operator.type === TokenType.RegexMatch ||
|
|
662
|
+
operator.type === TokenType.RegexNoMatch) {
|
|
663
|
+
throw this.errorAt(operator, `"${operator.text}" needs a quoted pattern.`);
|
|
664
|
+
}
|
|
665
|
+
const read = this.readLabelFilterNumber(numberToken);
|
|
666
|
+
const comparison = operator.type === TokenType.Assign || operator.type === TokenType.Equal
|
|
667
|
+
? LogQLAst_1.LogQLComparison.Equal
|
|
668
|
+
: operator.type === TokenType.NotEqual
|
|
669
|
+
? LogQLAst_1.LogQLComparison.NotEqual
|
|
670
|
+
: operator.text;
|
|
671
|
+
return {
|
|
672
|
+
kind: "Compare",
|
|
673
|
+
label: name.text,
|
|
674
|
+
comparison,
|
|
675
|
+
value: negative ? -read.value : read.value,
|
|
676
|
+
valueKind: read.valueKind,
|
|
677
|
+
};
|
|
678
|
+
}
|
|
679
|
+
// 500, 1.5, 250ms (in seconds), 20MB (in bytes).
|
|
680
|
+
readLabelFilterNumber(token) {
|
|
681
|
+
const plain = Number(token.text);
|
|
682
|
+
if (PLAIN_NUMBER.test(token.text) && Number.isFinite(plain)) {
|
|
683
|
+
return { value: plain, valueKind: LogQLAst_1.LogQLValueKind.Number };
|
|
684
|
+
}
|
|
685
|
+
const seconds = (0, LogQLValues_1.parseLogQLDuration)(token.text);
|
|
686
|
+
if (seconds !== undefined) {
|
|
687
|
+
return { value: seconds, valueKind: LogQLAst_1.LogQLValueKind.Duration };
|
|
688
|
+
}
|
|
689
|
+
const bytes = (0, LogQLValues_1.parseLogQLBytes)(token.text);
|
|
690
|
+
if (bytes !== undefined) {
|
|
691
|
+
return { value: bytes, valueKind: LogQLAst_1.LogQLValueKind.Bytes };
|
|
692
|
+
}
|
|
693
|
+
throw this.errorAt(token, `"${token.text}" is not a number, a duration (250ms, 1.5s) or a size (20MB, 1KiB).`);
|
|
694
|
+
}
|
|
695
|
+
/*
|
|
696
|
+
* line_format's template, as far as OneUptime reads Go templates: text,
|
|
697
|
+
* and {{.label}} (or {{ .label }}) filled with a label's value -
|
|
698
|
+
* {{.__line__}} the line itself.
|
|
699
|
+
*/
|
|
700
|
+
parseTemplate(token) {
|
|
701
|
+
const parts = [];
|
|
702
|
+
const template = token.text;
|
|
703
|
+
let position = 0;
|
|
704
|
+
while (position < template.length) {
|
|
705
|
+
const open = template.indexOf("{{", position);
|
|
706
|
+
if (open === -1) {
|
|
707
|
+
parts.push({ text: template.slice(position) });
|
|
708
|
+
break;
|
|
709
|
+
}
|
|
710
|
+
if (open > position) {
|
|
711
|
+
parts.push({ text: template.slice(position, open) });
|
|
712
|
+
}
|
|
713
|
+
const close = template.indexOf("}}", open + 2);
|
|
714
|
+
if (close === -1) {
|
|
715
|
+
throw this.errorAt(token, "line_format's template has a {{ with no }}.");
|
|
716
|
+
}
|
|
717
|
+
const action = template.slice(open + 2, close).trim();
|
|
718
|
+
const label = action.match(/^\.([a-zA-Z_][a-zA-Z0-9_]*)$/);
|
|
719
|
+
if (!label) {
|
|
720
|
+
throw this.errorAt(token, `line_format reads {{.label}} only, and "{{${template.slice(open + 2, close)}}}" is more: write each label as {{.name}}.`);
|
|
721
|
+
}
|
|
722
|
+
parts.push({ label: label[1] });
|
|
723
|
+
position = close + 2;
|
|
724
|
+
}
|
|
725
|
+
return parts;
|
|
726
|
+
}
|
|
727
|
+
// `| unwrap latency`, `| unwrap duration(took)`, `| unwrap bytes(size)`.
|
|
728
|
+
readUnwrap() {
|
|
729
|
+
if (this.peek().type !== TokenType.Pipe ||
|
|
730
|
+
!this.isKeyword(this.peek(1), "unwrap")) {
|
|
731
|
+
return undefined;
|
|
732
|
+
}
|
|
733
|
+
this.next();
|
|
734
|
+
this.next();
|
|
735
|
+
let conversion = LogQLAst_1.LogQLUnwrapConversion.None;
|
|
736
|
+
let labelToken = this.expect(TokenType.Identifier, "a label name");
|
|
737
|
+
if (this.peek().type === TokenType.LeftParen) {
|
|
738
|
+
const converter = labelToken.text;
|
|
739
|
+
if (converter === "duration" || converter === "duration_seconds") {
|
|
740
|
+
conversion = LogQLAst_1.LogQLUnwrapConversion.Duration;
|
|
741
|
+
}
|
|
742
|
+
else if (converter === "bytes") {
|
|
743
|
+
conversion = LogQLAst_1.LogQLUnwrapConversion.Bytes;
|
|
744
|
+
}
|
|
745
|
+
else {
|
|
746
|
+
throw this.errorAt(labelToken, `"${converter}" is not an unwrap conversion: use duration(...), duration_seconds(...) or bytes(...).`);
|
|
747
|
+
}
|
|
748
|
+
this.next();
|
|
749
|
+
labelToken = this.expect(TokenType.Identifier, "a label name");
|
|
750
|
+
this.expect(TokenType.RightParen);
|
|
751
|
+
}
|
|
752
|
+
// Label filters after the unwrap, such as | __error__="".
|
|
753
|
+
const stages = [];
|
|
754
|
+
while (this.peek().type === TokenType.Pipe) {
|
|
755
|
+
this.next();
|
|
756
|
+
stages.push({
|
|
757
|
+
kind: "LabelFilter",
|
|
758
|
+
expression: this.parseLabelFilterOr(),
|
|
759
|
+
});
|
|
760
|
+
}
|
|
761
|
+
return { label: labelToken.text, conversion, stages };
|
|
762
|
+
}
|
|
763
|
+
// `[5m]`, in milliseconds.
|
|
764
|
+
parseRange() {
|
|
765
|
+
this.expect(TokenType.LeftBracket, "a range such as [5m]");
|
|
766
|
+
const duration = this.expect(TokenType.Number, "a duration such as 5m");
|
|
767
|
+
const rangeMs = (0, PromQLDuration_1.parsePromQLDuration)(duration.text);
|
|
768
|
+
if (rangeMs === undefined || rangeMs <= 0) {
|
|
769
|
+
throw this.errorAt(duration, `"${duration.text}" is not a duration a range can be, such as 5m or 1h.`);
|
|
770
|
+
}
|
|
771
|
+
this.expect(TokenType.RightBracket);
|
|
772
|
+
return rangeMs;
|
|
773
|
+
}
|
|
774
|
+
parseOffset() {
|
|
775
|
+
if (!this.isKeyword(this.peek(), "offset")) {
|
|
776
|
+
return 0;
|
|
777
|
+
}
|
|
778
|
+
this.next();
|
|
779
|
+
const duration = this.expect(TokenType.Number, "a duration such as 1h");
|
|
780
|
+
const offsetMs = (0, PromQLDuration_1.parsePromQLDuration)(duration.text);
|
|
781
|
+
if (offsetMs === undefined) {
|
|
782
|
+
throw this.errorAt(duration, `"${duration.text}" is not a duration.`);
|
|
783
|
+
}
|
|
784
|
+
return offsetMs;
|
|
785
|
+
}
|
|
786
|
+
// `by (a, b)` or `without (a)`.
|
|
787
|
+
parseGrouping() {
|
|
788
|
+
const keyword = this.next();
|
|
789
|
+
this.expect(TokenType.LeftParen);
|
|
790
|
+
const labels = [];
|
|
791
|
+
while (this.peek().type !== TokenType.RightParen) {
|
|
792
|
+
const name = this.expect(TokenType.Identifier, "a label name");
|
|
793
|
+
if (!LABEL_NAME.test(name.text)) {
|
|
794
|
+
throw this.errorAt(name, `"${name.text}" is not a label name.`);
|
|
795
|
+
}
|
|
796
|
+
labels.push(name.text);
|
|
797
|
+
if (this.peek().type === TokenType.Comma) {
|
|
798
|
+
this.next();
|
|
799
|
+
}
|
|
800
|
+
else if (this.peek().type !== TokenType.RightParen) {
|
|
801
|
+
throw this.unexpected(this.peek(), '"," or ")"');
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
this.expect(TokenType.RightParen);
|
|
805
|
+
return { labels, without: keyword.text === "without" };
|
|
806
|
+
}
|
|
807
|
+
isGroupingKeyword(token) {
|
|
808
|
+
return this.isKeyword(token, "by") || this.isKeyword(token, "without");
|
|
809
|
+
}
|
|
810
|
+
// A range aggregation: count_over_time({...} |= "x" [5m]).
|
|
811
|
+
parseRangeAggregation(name) {
|
|
812
|
+
const operation = RANGE_OPERATIONS.get(name.text);
|
|
813
|
+
this.expect(TokenType.LeftParen);
|
|
814
|
+
let parameter = undefined;
|
|
815
|
+
if (operation === LogQLAst_1.LogQLRangeOperation.QuantileOverTime) {
|
|
816
|
+
const value = this.expect(TokenType.Number, "a quantile between 0 and 1");
|
|
817
|
+
parameter = Number(value.text);
|
|
818
|
+
if (!Number.isFinite(parameter)) {
|
|
819
|
+
throw this.errorAt(value, `"${value.text}" is not a quantile.`);
|
|
820
|
+
}
|
|
821
|
+
this.expect(TokenType.Comma);
|
|
822
|
+
}
|
|
823
|
+
if (this.peek().type !== TokenType.LeftBrace) {
|
|
824
|
+
throw this.unexpected(this.peek(), 'a log query such as {app="api"}');
|
|
825
|
+
}
|
|
826
|
+
const selector = this.parseLogSelector();
|
|
827
|
+
let rangeMs;
|
|
828
|
+
let unwrap;
|
|
829
|
+
// The range after the pipeline, or right after the selector.
|
|
830
|
+
if (this.peek().type === TokenType.LeftBracket) {
|
|
831
|
+
rangeMs = this.parseRange();
|
|
832
|
+
selector.stages.push(...this.parseStages());
|
|
833
|
+
unwrap = this.readUnwrap();
|
|
834
|
+
}
|
|
835
|
+
else {
|
|
836
|
+
unwrap = this.readUnwrap();
|
|
837
|
+
rangeMs = this.parseRange();
|
|
838
|
+
}
|
|
839
|
+
const offsetMs = this.parseOffset();
|
|
840
|
+
const close = this.expect(TokenType.RightParen);
|
|
841
|
+
if (LogQLAst_1.LOGQL_LINE_RANGE_OPERATIONS.has(operation) &&
|
|
842
|
+
unwrap &&
|
|
843
|
+
operation !== LogQLAst_1.LogQLRangeOperation.Rate) {
|
|
844
|
+
throw this.errorAt(name, `${operation} counts lines, and reads no unwrapped label: leave out | unwrap ${unwrap.label}.`);
|
|
845
|
+
}
|
|
846
|
+
if (!LogQLAst_1.LOGQL_LINE_RANGE_OPERATIONS.has(operation) && !unwrap) {
|
|
847
|
+
throw this.errorAt(name, `${operation} reads a label's values: add | unwrap <label> before the range, such as ${operation}({app="api"} | logfmt | unwrap latency [5m]).`);
|
|
848
|
+
}
|
|
849
|
+
let grouping;
|
|
850
|
+
if (this.isGroupingKeyword(this.peek())) {
|
|
851
|
+
if (!unwrap) {
|
|
852
|
+
throw this.errorAt(this.peek(), `grouping ${operation} by labels needs an unwrapped label; group the result instead, such as sum by (level) (${operation}(...)).`);
|
|
853
|
+
}
|
|
854
|
+
grouping = this.parseGrouping();
|
|
855
|
+
}
|
|
856
|
+
const seriesName = `${LogQLAst_1.LOGQL_RANGE_SERIES_PREFIX}${this.ranges.length}`;
|
|
857
|
+
this.ranges.push({
|
|
858
|
+
kind: "RangeAggregation",
|
|
859
|
+
seriesName,
|
|
860
|
+
operation,
|
|
861
|
+
selector,
|
|
862
|
+
unwrap,
|
|
863
|
+
rangeMs,
|
|
864
|
+
offsetMs,
|
|
865
|
+
parameter,
|
|
866
|
+
grouping,
|
|
867
|
+
});
|
|
868
|
+
return {
|
|
869
|
+
kind: PromQLAst_1.PromQLNodeKind.VectorSelector,
|
|
870
|
+
name: seriesName,
|
|
871
|
+
matchers: [
|
|
872
|
+
{
|
|
873
|
+
name: PromQLAst_1.PROMQL_METRIC_NAME_LABEL,
|
|
874
|
+
type: PromQLAst_1.PromQLMatchType.Equal,
|
|
875
|
+
value: seriesName,
|
|
876
|
+
},
|
|
877
|
+
],
|
|
878
|
+
offsetMs: 0,
|
|
879
|
+
at: undefined,
|
|
880
|
+
position: this.positionOf(name, close),
|
|
881
|
+
};
|
|
882
|
+
}
|
|
883
|
+
// sum by (level) (...), topk(5, ...), sort(...).
|
|
884
|
+
parseVectorAggregation(name) {
|
|
885
|
+
const operator = VECTOR_AGGREGATIONS.get(name.text);
|
|
886
|
+
let grouping;
|
|
887
|
+
if (this.isGroupingKeyword(this.peek())) {
|
|
888
|
+
grouping = this.parseGrouping();
|
|
889
|
+
}
|
|
890
|
+
this.expect(TokenType.LeftParen);
|
|
891
|
+
let parameter = undefined;
|
|
892
|
+
if (operator === PromQLAst_1.PromQLAggregateOperator.Topk ||
|
|
893
|
+
operator === PromQLAst_1.PromQLAggregateOperator.Bottomk) {
|
|
894
|
+
const value = this.expect(TokenType.Number, "how many series to keep");
|
|
895
|
+
parameter = {
|
|
896
|
+
kind: PromQLAst_1.PromQLNodeKind.NumberLiteral,
|
|
897
|
+
value: Number(value.text),
|
|
898
|
+
position: { start: value.start, end: value.end },
|
|
899
|
+
};
|
|
900
|
+
this.expect(TokenType.Comma);
|
|
901
|
+
}
|
|
902
|
+
const expression = this.parseExpression(0);
|
|
903
|
+
const close = this.expect(TokenType.RightParen);
|
|
904
|
+
if (!grouping && this.isGroupingKeyword(this.peek())) {
|
|
905
|
+
grouping = this.parseGrouping();
|
|
906
|
+
}
|
|
907
|
+
return {
|
|
908
|
+
kind: PromQLAst_1.PromQLNodeKind.Aggregate,
|
|
909
|
+
operator,
|
|
910
|
+
expression,
|
|
911
|
+
parameter,
|
|
912
|
+
grouping: (grouping === null || grouping === void 0 ? void 0 : grouping.labels) || [],
|
|
913
|
+
without: (grouping === null || grouping === void 0 ? void 0 : grouping.without) || false,
|
|
914
|
+
position: this.positionOf(name, close),
|
|
915
|
+
};
|
|
916
|
+
}
|
|
917
|
+
parseCall(name) {
|
|
918
|
+
this.expect(TokenType.LeftParen);
|
|
919
|
+
const args = [];
|
|
920
|
+
while (this.peek().type !== TokenType.RightParen) {
|
|
921
|
+
if (this.peek().type === TokenType.String) {
|
|
922
|
+
const value = this.next();
|
|
923
|
+
args.push({
|
|
924
|
+
kind: PromQLAst_1.PromQLNodeKind.StringLiteral,
|
|
925
|
+
value: value.text,
|
|
926
|
+
position: { start: value.start, end: value.end },
|
|
927
|
+
});
|
|
928
|
+
}
|
|
929
|
+
else {
|
|
930
|
+
args.push(this.parseExpression(0));
|
|
931
|
+
}
|
|
932
|
+
if (this.peek().type === TokenType.Comma) {
|
|
933
|
+
this.next();
|
|
934
|
+
}
|
|
935
|
+
else if (this.peek().type !== TokenType.RightParen) {
|
|
936
|
+
throw this.unexpected(this.peek(), '"," or ")"');
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
const close = this.expect(TokenType.RightParen);
|
|
940
|
+
if (name.text === "vector" &&
|
|
941
|
+
(args.length !== 1 || args[0].kind !== PromQLAst_1.PromQLNodeKind.NumberLiteral)) {
|
|
942
|
+
throw this.errorAt(name, "vector() takes one number, such as vector(0).");
|
|
943
|
+
}
|
|
944
|
+
if (name.text === "label_replace" && args.length !== 5) {
|
|
945
|
+
throw this.errorAt(name, "label_replace() takes a query and four strings: destination, replacement, source and regex.");
|
|
946
|
+
}
|
|
947
|
+
return {
|
|
948
|
+
kind: PromQLAst_1.PromQLNodeKind.Call,
|
|
949
|
+
functionName: name.text,
|
|
950
|
+
args,
|
|
951
|
+
position: this.positionOf(name, close),
|
|
952
|
+
};
|
|
953
|
+
}
|
|
954
|
+
parsePrimary() {
|
|
955
|
+
const token = this.peek();
|
|
956
|
+
if (token.type === TokenType.Number) {
|
|
957
|
+
this.next();
|
|
958
|
+
const value = token.text === "Inf" ? Infinity : Number(token.text);
|
|
959
|
+
if (!Number.isFinite(value) && token.text !== "Inf") {
|
|
960
|
+
throw this.errorAt(token, `"${token.text}" is not a number.`);
|
|
961
|
+
}
|
|
962
|
+
return {
|
|
963
|
+
kind: PromQLAst_1.PromQLNodeKind.NumberLiteral,
|
|
964
|
+
value,
|
|
965
|
+
position: { start: token.start, end: token.end },
|
|
966
|
+
};
|
|
967
|
+
}
|
|
968
|
+
if (token.type === TokenType.LeftParen) {
|
|
969
|
+
this.next();
|
|
970
|
+
const expression = this.parseExpression(0);
|
|
971
|
+
const close = this.expect(TokenType.RightParen);
|
|
972
|
+
return {
|
|
973
|
+
kind: PromQLAst_1.PromQLNodeKind.Paren,
|
|
974
|
+
expression,
|
|
975
|
+
position: this.positionOf(token, close),
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
if (token.type === TokenType.LeftBrace) {
|
|
979
|
+
throw this.errorAt(token, "a log query inside a metric query needs a range aggregation around it, such as count_over_time({...}[5m]).");
|
|
980
|
+
}
|
|
981
|
+
if (token.type === TokenType.Identifier) {
|
|
982
|
+
if (RANGE_OPERATIONS.has(token.text)) {
|
|
983
|
+
this.next();
|
|
984
|
+
return this.parseRangeAggregation(token);
|
|
985
|
+
}
|
|
986
|
+
if (VECTOR_AGGREGATIONS.has(token.text)) {
|
|
987
|
+
this.next();
|
|
988
|
+
return this.parseVectorAggregation(token);
|
|
989
|
+
}
|
|
990
|
+
if ((token.text === "sort" ||
|
|
991
|
+
token.text === "sort_desc" ||
|
|
992
|
+
token.text === "vector" ||
|
|
993
|
+
token.text === "label_replace") &&
|
|
994
|
+
this.peek(1).type === TokenType.LeftParen) {
|
|
995
|
+
this.next();
|
|
996
|
+
return this.parseCall(token);
|
|
997
|
+
}
|
|
998
|
+
if (token.text === "Inf" || token.text === "NaN") {
|
|
999
|
+
this.next();
|
|
1000
|
+
return {
|
|
1001
|
+
kind: PromQLAst_1.PromQLNodeKind.NumberLiteral,
|
|
1002
|
+
value: token.text === "Inf" ? Infinity : NaN,
|
|
1003
|
+
position: { start: token.start, end: token.end },
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
throw this.errorAt(token, `syntax error: unexpected "${token.text}": a metric query is built of range aggregations (count_over_time, rate, ...), aggregations (sum, topk, ...) and numbers.`);
|
|
1007
|
+
}
|
|
1008
|
+
throw this.unexpected(token, "a range aggregation, an aggregation or a number");
|
|
1009
|
+
}
|
|
1010
|
+
parseUnary() {
|
|
1011
|
+
const token = this.peek();
|
|
1012
|
+
if (token.type === TokenType.Sub || token.type === TokenType.Add) {
|
|
1013
|
+
this.next();
|
|
1014
|
+
const expression = this.parseUnary();
|
|
1015
|
+
// -5 is the number -5.
|
|
1016
|
+
if (expression.kind === PromQLAst_1.PromQLNodeKind.NumberLiteral) {
|
|
1017
|
+
return {
|
|
1018
|
+
...expression,
|
|
1019
|
+
value: token.type === TokenType.Sub ? -expression.value : expression.value,
|
|
1020
|
+
position: { start: token.start, end: expression.position.end },
|
|
1021
|
+
};
|
|
1022
|
+
}
|
|
1023
|
+
return {
|
|
1024
|
+
kind: PromQLAst_1.PromQLNodeKind.Unary,
|
|
1025
|
+
operator: token.type === TokenType.Sub
|
|
1026
|
+
? PromQLAst_1.PromQLBinaryOperator.Sub
|
|
1027
|
+
: PromQLAst_1.PromQLBinaryOperator.Add,
|
|
1028
|
+
expression,
|
|
1029
|
+
position: { start: token.start, end: expression.position.end },
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
return this.parsePrimary();
|
|
1033
|
+
}
|
|
1034
|
+
binaryOperatorOf(token) {
|
|
1035
|
+
switch (token.type) {
|
|
1036
|
+
case TokenType.Add:
|
|
1037
|
+
return PromQLAst_1.PromQLBinaryOperator.Add;
|
|
1038
|
+
case TokenType.Sub:
|
|
1039
|
+
return PromQLAst_1.PromQLBinaryOperator.Sub;
|
|
1040
|
+
case TokenType.Mul:
|
|
1041
|
+
return PromQLAst_1.PromQLBinaryOperator.Mul;
|
|
1042
|
+
case TokenType.Div:
|
|
1043
|
+
return PromQLAst_1.PromQLBinaryOperator.Div;
|
|
1044
|
+
case TokenType.Mod:
|
|
1045
|
+
return PromQLAst_1.PromQLBinaryOperator.Mod;
|
|
1046
|
+
case TokenType.Pow:
|
|
1047
|
+
return PromQLAst_1.PromQLBinaryOperator.Pow;
|
|
1048
|
+
case TokenType.Equal:
|
|
1049
|
+
return PromQLAst_1.PromQLBinaryOperator.Eql;
|
|
1050
|
+
case TokenType.NotEqual:
|
|
1051
|
+
return PromQLAst_1.PromQLBinaryOperator.Neq;
|
|
1052
|
+
case TokenType.Greater:
|
|
1053
|
+
return PromQLAst_1.PromQLBinaryOperator.Gtr;
|
|
1054
|
+
case TokenType.GreaterOrEqual:
|
|
1055
|
+
return PromQLAst_1.PromQLBinaryOperator.Gte;
|
|
1056
|
+
case TokenType.Less:
|
|
1057
|
+
return PromQLAst_1.PromQLBinaryOperator.Lss;
|
|
1058
|
+
case TokenType.LessOrEqual:
|
|
1059
|
+
return PromQLAst_1.PromQLBinaryOperator.Lte;
|
|
1060
|
+
case TokenType.Identifier:
|
|
1061
|
+
if (token.text === "and") {
|
|
1062
|
+
return PromQLAst_1.PromQLBinaryOperator.And;
|
|
1063
|
+
}
|
|
1064
|
+
if (token.text === "or") {
|
|
1065
|
+
return PromQLAst_1.PromQLBinaryOperator.Or;
|
|
1066
|
+
}
|
|
1067
|
+
if (token.text === "unless") {
|
|
1068
|
+
return PromQLAst_1.PromQLBinaryOperator.Unless;
|
|
1069
|
+
}
|
|
1070
|
+
return undefined;
|
|
1071
|
+
default:
|
|
1072
|
+
return undefined;
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
// `on (a)`, `ignoring (b)`, then `group_left (c)` or `group_right`.
|
|
1076
|
+
parseVectorMatching(operator) {
|
|
1077
|
+
let matching = undefined;
|
|
1078
|
+
if (this.isKeyword(this.peek(), "on") ||
|
|
1079
|
+
this.isKeyword(this.peek(), "ignoring")) {
|
|
1080
|
+
const keyword = this.next();
|
|
1081
|
+
const labels = this.parseLabelList();
|
|
1082
|
+
matching = {
|
|
1083
|
+
cardinality: (0, PromQLAst_1.isSetOperator)(operator)
|
|
1084
|
+
? PromQLAst_1.PromQLVectorMatchCardinality.ManyToMany
|
|
1085
|
+
: PromQLAst_1.PromQLVectorMatchCardinality.OneToOne,
|
|
1086
|
+
// Set below from group_left or group_right, when one is written.
|
|
1087
|
+
on: keyword.text === "on",
|
|
1088
|
+
matchingLabels: labels,
|
|
1089
|
+
include: [],
|
|
1090
|
+
};
|
|
1091
|
+
if (this.isKeyword(this.peek(), "group_left") ||
|
|
1092
|
+
this.isKeyword(this.peek(), "group_right")) {
|
|
1093
|
+
const group = this.next();
|
|
1094
|
+
matching.cardinality =
|
|
1095
|
+
group.text === "group_left"
|
|
1096
|
+
? PromQLAst_1.PromQLVectorMatchCardinality.ManyToOne
|
|
1097
|
+
: PromQLAst_1.PromQLVectorMatchCardinality.OneToMany;
|
|
1098
|
+
matching.include =
|
|
1099
|
+
this.peek().type === TokenType.LeftParen ? this.parseLabelList() : [];
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
return matching;
|
|
1103
|
+
}
|
|
1104
|
+
parseLabelList() {
|
|
1105
|
+
this.expect(TokenType.LeftParen);
|
|
1106
|
+
const labels = [];
|
|
1107
|
+
while (this.peek().type !== TokenType.RightParen) {
|
|
1108
|
+
labels.push(this.expect(TokenType.Identifier, "a label name").text);
|
|
1109
|
+
if (this.peek().type === TokenType.Comma) {
|
|
1110
|
+
this.next();
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
this.expect(TokenType.RightParen);
|
|
1114
|
+
return labels;
|
|
1115
|
+
}
|
|
1116
|
+
parseExpression(level) {
|
|
1117
|
+
if (level >= PRECEDENCE.length) {
|
|
1118
|
+
return this.parseUnary();
|
|
1119
|
+
}
|
|
1120
|
+
let lhs = this.parseExpression(level + 1);
|
|
1121
|
+
for (;;) {
|
|
1122
|
+
const token = this.peek();
|
|
1123
|
+
const operator = this.binaryOperatorOf(token);
|
|
1124
|
+
if (!operator || !PRECEDENCE[level].includes(operator)) {
|
|
1125
|
+
return lhs;
|
|
1126
|
+
}
|
|
1127
|
+
this.next();
|
|
1128
|
+
let returnBool = false;
|
|
1129
|
+
if (this.isKeyword(this.peek(), "bool")) {
|
|
1130
|
+
if (!(0, PromQLAst_1.isComparisonOperator)(operator)) {
|
|
1131
|
+
throw this.errorAt(this.peek(), "bool only follows a comparison.");
|
|
1132
|
+
}
|
|
1133
|
+
this.next();
|
|
1134
|
+
returnBool = true;
|
|
1135
|
+
}
|
|
1136
|
+
const matching = this.parseVectorMatching(operator);
|
|
1137
|
+
// ^ binds to the right, every other operator to the left.
|
|
1138
|
+
const rhs = operator === PromQLAst_1.PromQLBinaryOperator.Pow
|
|
1139
|
+
? this.parseExpression(level)
|
|
1140
|
+
: this.parseExpression(level + 1);
|
|
1141
|
+
lhs = this.buildBinary({
|
|
1142
|
+
operator,
|
|
1143
|
+
token,
|
|
1144
|
+
lhs,
|
|
1145
|
+
rhs,
|
|
1146
|
+
returnBool,
|
|
1147
|
+
matching,
|
|
1148
|
+
});
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
/*
|
|
1152
|
+
* A binary operation, its vector matching settled as PromQL's parser
|
|
1153
|
+
* settles it (PromQLParser.buildBinary): between two vectors one to one
|
|
1154
|
+
* by default (many to many for and, or, unless), between a vector and a
|
|
1155
|
+
* number none.
|
|
1156
|
+
*/
|
|
1157
|
+
buildBinary(data) {
|
|
1158
|
+
const lhsType = (0, PromQLParser_1.getPromQLValueType)(data.lhs);
|
|
1159
|
+
const rhsType = (0, PromQLParser_1.getPromQLValueType)(data.rhs);
|
|
1160
|
+
const bothVectors = lhsType === PromQLAst_1.PromQLValueType.InstantVector &&
|
|
1161
|
+
rhsType === PromQLAst_1.PromQLValueType.InstantVector;
|
|
1162
|
+
if ((0, PromQLAst_1.isComparisonOperator)(data.operator) &&
|
|
1163
|
+
!data.returnBool &&
|
|
1164
|
+
lhsType === PromQLAst_1.PromQLValueType.Scalar &&
|
|
1165
|
+
rhsType === PromQLAst_1.PromQLValueType.Scalar) {
|
|
1166
|
+
throw this.errorAt(data.token, `a comparison between two numbers needs the bool modifier: write "${data.operator} bool".`);
|
|
1167
|
+
}
|
|
1168
|
+
if ((0, PromQLAst_1.isSetOperator)(data.operator) && !bothVectors) {
|
|
1169
|
+
throw this.errorAt(data.token, `"${data.operator}" works between two metric queries, not with a number.`);
|
|
1170
|
+
}
|
|
1171
|
+
if (!bothVectors &&
|
|
1172
|
+
data.matching &&
|
|
1173
|
+
data.matching.matchingLabels.length > 0) {
|
|
1174
|
+
throw this.errorAt(data.token, "vector matching (on or ignoring) only works between two metric queries.");
|
|
1175
|
+
}
|
|
1176
|
+
let matching = undefined;
|
|
1177
|
+
if (bothVectors) {
|
|
1178
|
+
matching = data.matching || {
|
|
1179
|
+
cardinality: PromQLAst_1.PromQLVectorMatchCardinality.OneToOne,
|
|
1180
|
+
on: false,
|
|
1181
|
+
matchingLabels: [],
|
|
1182
|
+
include: [],
|
|
1183
|
+
};
|
|
1184
|
+
if ((0, PromQLAst_1.isSetOperator)(data.operator) &&
|
|
1185
|
+
matching.cardinality === PromQLAst_1.PromQLVectorMatchCardinality.OneToOne) {
|
|
1186
|
+
matching = {
|
|
1187
|
+
...matching,
|
|
1188
|
+
cardinality: PromQLAst_1.PromQLVectorMatchCardinality.ManyToMany,
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
return {
|
|
1193
|
+
kind: PromQLAst_1.PromQLNodeKind.Binary,
|
|
1194
|
+
operator: data.operator,
|
|
1195
|
+
lhs: data.lhs,
|
|
1196
|
+
rhs: data.rhs,
|
|
1197
|
+
returnBool: data.returnBool,
|
|
1198
|
+
matching,
|
|
1199
|
+
position: { start: data.lhs.position.start, end: data.rhs.position.end },
|
|
1200
|
+
};
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
// Reads a LogQL query, or throws a PromQLError saying what is wrong and where.
|
|
1204
|
+
const parseLogQL = (query) => {
|
|
1205
|
+
return new LogQLParser(query).parse();
|
|
1206
|
+
};
|
|
1207
|
+
exports.parseLogQL = parseLogQL;
|