@oneuptime/common 14.0.103 → 14.0.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/CloudCost.d.mts +29 -0
- package/Models/AnalyticsModels/CloudCost.d.ts +29 -0
- package/Models/AnalyticsModels/CloudCost.js +298 -0
- package/Models/AnalyticsModels/CloudCost.mjs +2 -0
- package/Models/AnalyticsModels/Index.js +2 -0
- package/Models/DatabaseModels/AIAgent.js +3 -3
- package/Models/DatabaseModels/Alert.d.mts +3 -0
- package/Models/DatabaseModels/Alert.d.ts +3 -0
- package/Models/DatabaseModels/Alert.js +92 -0
- package/Models/DatabaseModels/AlertFeed.d.mts +1 -0
- package/Models/DatabaseModels/AlertFeed.d.ts +1 -0
- package/Models/DatabaseModels/AlertFeed.js +2 -0
- package/Models/DatabaseModels/AlertIncidentRule.d.mts +32 -0
- package/Models/DatabaseModels/AlertIncidentRule.d.ts +32 -0
- package/Models/DatabaseModels/AlertIncidentRule.js +953 -0
- package/Models/DatabaseModels/AlertIncidentRule.mjs +2 -0
- package/Models/DatabaseModels/AuditLogExport.js +3 -3
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.mts +3 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.ts +3 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.js +61 -0
- package/Models/DatabaseModels/CloudAccount.d.mts +3 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +3 -0
- package/Models/DatabaseModels/CloudAccount.js +71 -0
- package/Models/DatabaseModels/CloudBudget.d.mts +33 -0
- package/Models/DatabaseModels/CloudBudget.d.ts +33 -0
- package/Models/DatabaseModels/CloudBudget.js +670 -0
- package/Models/DatabaseModels/CloudBudget.mjs +2 -0
- package/Models/DatabaseModels/CloudConnection.d.mts +3 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +3 -0
- package/Models/DatabaseModels/CloudConnection.js +47 -3
- package/Models/DatabaseModels/CloudCostRecommendation.d.mts +37 -0
- package/Models/DatabaseModels/CloudCostRecommendation.d.ts +37 -0
- package/Models/DatabaseModels/CloudCostRecommendation.js +579 -0
- package/Models/DatabaseModels/CloudCostRecommendation.mjs +2 -0
- package/Models/DatabaseModels/CloudResource.d.mts +3 -0
- package/Models/DatabaseModels/CloudResource.d.ts +3 -0
- package/Models/DatabaseModels/CloudResource.js +106 -1
- package/Models/DatabaseModels/DataAlert.d.mts +31 -0
- package/Models/DatabaseModels/DataAlert.d.ts +31 -0
- package/Models/DatabaseModels/DataAlert.js +497 -0
- package/Models/DatabaseModels/DataAlert.mjs +2 -0
- package/Models/DatabaseModels/DataAsset.d.mts +46 -0
- package/Models/DatabaseModels/DataAsset.d.ts +46 -0
- package/Models/DatabaseModels/DataAsset.js +793 -0
- package/Models/DatabaseModels/DataAsset.mjs +2 -0
- package/Models/DatabaseModels/DataAssetFeed.d.mts +40 -0
- package/Models/DatabaseModels/DataAssetFeed.d.ts +40 -0
- package/Models/DatabaseModels/DataAssetFeed.js +405 -0
- package/Models/DatabaseModels/DataAssetFeed.mjs +3 -0
- package/Models/DatabaseModels/DataAssetLabelRule.d.mts +21 -0
- package/Models/DatabaseModels/DataAssetLabelRule.d.ts +21 -0
- package/Models/DatabaseModels/DataAssetLabelRule.js +623 -0
- package/Models/DatabaseModels/DataAssetLabelRule.mjs +2 -0
- package/Models/DatabaseModels/DataAssetLineage.d.mts +28 -0
- package/Models/DatabaseModels/DataAssetLineage.d.ts +28 -0
- package/Models/DatabaseModels/DataAssetLineage.js +427 -0
- package/Models/DatabaseModels/DataAssetLineage.mjs +2 -0
- package/Models/DatabaseModels/DataAssetOwnerRule.d.mts +24 -0
- package/Models/DatabaseModels/DataAssetOwnerRule.d.ts +24 -0
- package/Models/DatabaseModels/DataAssetOwnerRule.js +714 -0
- package/Models/DatabaseModels/DataAssetOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/DataAssetOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataAssetOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataAssetOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataAssetOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataAssetOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataAssetOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataAssetOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataAssetOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/DataAssetUsage.d.mts +30 -0
- package/Models/DatabaseModels/DataAssetUsage.d.ts +30 -0
- package/Models/DatabaseModels/DataAssetUsage.js +482 -0
- package/Models/DatabaseModels/DataAssetUsage.mjs +2 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +22 -0
- package/Models/DatabaseModels/DataBiConnection.d.ts +22 -0
- package/Models/DatabaseModels/DataBiConnection.js +410 -0
- package/Models/DatabaseModels/DataBiConnection.mjs +2 -0
- package/Models/DatabaseModels/DataCheck.d.mts +47 -0
- package/Models/DatabaseModels/DataCheck.d.ts +47 -0
- package/Models/DatabaseModels/DataCheck.js +801 -0
- package/Models/DatabaseModels/DataCheck.mjs +2 -0
- package/Models/DatabaseModels/DataDashboard.d.mts +26 -0
- package/Models/DatabaseModels/DataDashboard.d.ts +26 -0
- package/Models/DatabaseModels/DataDashboard.js +428 -0
- package/Models/DatabaseModels/DataDashboard.mjs +2 -0
- package/Models/DatabaseModels/DataIssueReport.d.mts +15 -0
- package/Models/DatabaseModels/DataIssueReport.d.ts +15 -0
- package/Models/DatabaseModels/DataIssueReport.js +253 -0
- package/Models/DatabaseModels/DataIssueReport.mjs +2 -0
- package/Models/DatabaseModels/DataObservabilitySetting.d.mts +10 -0
- package/Models/DatabaseModels/DataObservabilitySetting.d.ts +10 -0
- package/Models/DatabaseModels/DataObservabilitySetting.js +200 -0
- package/Models/DatabaseModels/DataObservabilitySetting.mjs +2 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +30 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +30 -0
- package/Models/DatabaseModels/DataPipeline.js +533 -0
- package/Models/DatabaseModels/DataPipeline.mjs +2 -0
- package/Models/DatabaseModels/DataPipelineRun.d.mts +27 -0
- package/Models/DatabaseModels/DataPipelineRun.d.ts +27 -0
- package/Models/DatabaseModels/DataPipelineRun.js +440 -0
- package/Models/DatabaseModels/DataPipelineRun.mjs +2 -0
- package/Models/DatabaseModels/DataProduct.d.mts +39 -0
- package/Models/DatabaseModels/DataProduct.d.ts +39 -0
- package/Models/DatabaseModels/DataProduct.js +659 -0
- package/Models/DatabaseModels/DataProduct.mjs +2 -0
- package/Models/DatabaseModels/DataReconciliation.d.mts +45 -0
- package/Models/DatabaseModels/DataReconciliation.d.ts +45 -0
- package/Models/DatabaseModels/DataReconciliation.js +759 -0
- package/Models/DatabaseModels/DataReconciliation.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +10 -1
- package/Models/DatabaseModels/DataStore.d.ts +10 -1
- package/Models/DatabaseModels/DataStore.js +158 -0
- package/Models/DatabaseModels/DataWarehouseJob.d.mts +28 -0
- package/Models/DatabaseModels/DataWarehouseJob.d.ts +28 -0
- package/Models/DatabaseModels/DataWarehouseJob.js +479 -0
- package/Models/DatabaseModels/DataWarehouseJob.mjs +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +10 -0
- package/Models/DatabaseModels/DatabaseServer.d.mts +3 -0
- package/Models/DatabaseModels/DatabaseServer.d.ts +3 -0
- package/Models/DatabaseModels/DatabaseServer.js +100 -0
- package/Models/DatabaseModels/DetectionRule.js +8 -7
- package/Models/DatabaseModels/ExceptionSavedView.js +3 -3
- package/Models/DatabaseModels/ExternalMcpServer.js +3 -3
- package/Models/DatabaseModels/GlobalConfig.d.mts +1 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +1 -0
- package/Models/DatabaseModels/GlobalConfig.js +26 -0
- package/Models/DatabaseModels/Host.d.mts +3 -0
- package/Models/DatabaseModels/Host.d.ts +3 -0
- package/Models/DatabaseModels/Host.js +80 -0
- package/Models/DatabaseModels/Incident.d.mts +2 -0
- package/Models/DatabaseModels/Incident.d.ts +2 -0
- package/Models/DatabaseModels/Incident.js +54 -0
- package/Models/DatabaseModels/Index.js +74 -0
- package/Models/DatabaseModels/LlmCostBudget.js +3 -3
- package/Models/DatabaseModels/LlmObservabilityConnection.js +3 -3
- package/Models/DatabaseModels/LlmProvider.js +3 -3
- package/Models/DatabaseModels/LogDropFilter.js +3 -3
- package/Models/DatabaseModels/LogPipeline.js +3 -3
- package/Models/DatabaseModels/LogPipelineProcessor.js +3 -3
- package/Models/DatabaseModels/LogRecordingRule.js +3 -3
- package/Models/DatabaseModels/LogSavedView.js +3 -3
- package/Models/DatabaseModels/LogScrubRule.js +3 -3
- package/Models/DatabaseModels/MetricPipelineRule.js +3 -3
- package/Models/DatabaseModels/MetricRecordingRule.js +3 -3
- package/Models/DatabaseModels/MetricSavedView.js +3 -3
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +54 -0
- package/Models/DatabaseModels/NetworkControllerConnection.js +3 -3
- package/Models/DatabaseModels/OpenStackBudget.d.mts +31 -0
- package/Models/DatabaseModels/OpenStackBudget.d.ts +31 -0
- package/Models/DatabaseModels/OpenStackBudget.js +601 -0
- package/Models/DatabaseModels/OpenStackBudget.mjs +2 -0
- package/Models/DatabaseModels/OpenStackCloud.d.mts +91 -0
- package/Models/DatabaseModels/OpenStackCloud.d.ts +91 -0
- package/Models/DatabaseModels/OpenStackCloud.js +2413 -0
- package/Models/DatabaseModels/OpenStackCloud.mjs +3 -0
- package/Models/DatabaseModels/OpenStackCloudCheck.d.mts +55 -0
- package/Models/DatabaseModels/OpenStackCloudCheck.d.ts +55 -0
- package/Models/DatabaseModels/OpenStackCloudCheck.js +1024 -0
- package/Models/DatabaseModels/OpenStackCloudCheck.mjs +3 -0
- package/Models/DatabaseModels/OpenStackCloudConnectionTest.d.mts +39 -0
- package/Models/DatabaseModels/OpenStackCloudConnectionTest.d.ts +39 -0
- package/Models/DatabaseModels/OpenStackCloudConnectionTest.js +683 -0
- package/Models/DatabaseModels/OpenStackCloudConnectionTest.mjs +2 -0
- package/Models/DatabaseModels/OpenStackCloudFeed.d.mts +37 -0
- package/Models/DatabaseModels/OpenStackCloudFeed.d.ts +37 -0
- package/Models/DatabaseModels/OpenStackCloudFeed.js +658 -0
- package/Models/DatabaseModels/OpenStackCloudFeed.mjs +3 -0
- package/Models/DatabaseModels/OpenStackCloudLabelRule.d.mts +22 -0
- package/Models/DatabaseModels/OpenStackCloudLabelRule.d.ts +22 -0
- package/Models/DatabaseModels/OpenStackCloudLabelRule.js +600 -0
- package/Models/DatabaseModels/OpenStackCloudLabelRule.mjs +2 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerRule.d.mts +25 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerRule.d.ts +25 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerRule.js +681 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerTeam.js +512 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerUser.js +511 -0
- package/Models/DatabaseModels/OpenStackCloudOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/OpenStackProjectNotice.d.mts +30 -0
- package/Models/DatabaseModels/OpenStackProjectNotice.d.ts +30 -0
- package/Models/DatabaseModels/OpenStackProjectNotice.js +523 -0
- package/Models/DatabaseModels/OpenStackProjectNotice.mjs +2 -0
- package/Models/DatabaseModels/OpenStackProjectNoticeDelivery.d.mts +34 -0
- package/Models/DatabaseModels/OpenStackProjectNoticeDelivery.d.ts +34 -0
- package/Models/DatabaseModels/OpenStackProjectNoticeDelivery.js +605 -0
- package/Models/DatabaseModels/OpenStackProjectNoticeDelivery.mjs +2 -0
- package/Models/DatabaseModels/OpenStackProjectUsage.d.mts +33 -0
- package/Models/DatabaseModels/OpenStackProjectUsage.d.ts +33 -0
- package/Models/DatabaseModels/OpenStackProjectUsage.js +635 -0
- package/Models/DatabaseModels/OpenStackProjectUsage.mjs +2 -0
- package/Models/DatabaseModels/OpenStackResource.d.mts +37 -0
- package/Models/DatabaseModels/OpenStackResource.d.ts +37 -0
- package/Models/DatabaseModels/OpenStackResource.js +784 -0
- package/Models/DatabaseModels/OpenStackResource.mjs +2 -0
- package/Models/DatabaseModels/Probe.js +6 -6
- package/Models/DatabaseModels/Project.d.mts +1 -0
- package/Models/DatabaseModels/Project.d.ts +1 -0
- package/Models/DatabaseModels/Project.js +19 -0
- package/Models/DatabaseModels/ResourceAiAgent.js +1 -0
- package/Models/DatabaseModels/ScheduledMaintenance.d.mts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenance.d.ts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +138 -0
- package/Models/DatabaseModels/SecurityEventConnection.js +3 -3
- package/Models/DatabaseModels/SecurityEventDestination.js +3 -3
- package/Models/DatabaseModels/SecurityHunt.d.mts +1 -0
- package/Models/DatabaseModels/SecurityHunt.d.ts +1 -0
- package/Models/DatabaseModels/SecurityHunt.js +27 -0
- package/Models/DatabaseModels/SecurityHuntRun.d.mts +14 -0
- package/Models/DatabaseModels/SecurityHuntRun.d.ts +14 -0
- package/Models/DatabaseModels/SecurityHuntRun.js +239 -0
- package/Models/DatabaseModels/SecurityHuntRun.mjs +2 -0
- package/Models/DatabaseModels/SecurityLogSource.d.mts +1 -0
- package/Models/DatabaseModels/SecurityLogSource.d.ts +1 -0
- package/Models/DatabaseModels/SecurityLogSource.js +33 -1
- package/Models/DatabaseModels/SecurityPlaybook.js +3 -3
- package/Models/DatabaseModels/SecurityPlaybookRun.js +3 -3
- package/Models/DatabaseModels/SecurityTelemetrySource.js +8 -6
- package/Models/DatabaseModels/SecurityWatchlist.d.mts +9 -1
- package/Models/DatabaseModels/SecurityWatchlist.d.ts +9 -1
- package/Models/DatabaseModels/SecurityWatchlist.js +145 -3
- package/Models/DatabaseModels/SecurityWatchlistItem.d.mts +1 -0
- package/Models/DatabaseModels/SecurityWatchlistItem.d.ts +1 -0
- package/Models/DatabaseModels/SecurityWatchlistItem.js +22 -0
- package/Models/DatabaseModels/StatusPage.d.mts +1 -0
- package/Models/DatabaseModels/StatusPage.d.ts +1 -0
- package/Models/DatabaseModels/StatusPage.js +53 -0
- package/Models/DatabaseModels/StatusPagePrivateUser.d.mts +2 -0
- package/Models/DatabaseModels/StatusPagePrivateUser.d.ts +2 -0
- package/Models/DatabaseModels/StatusPagePrivateUser.js +70 -1
- package/Models/DatabaseModels/TeamComplianceSetting.js +2 -2
- package/Models/DatabaseModels/ThreatIntelFeed.js +3 -3
- package/Models/DatabaseModels/TraceDropFilter.js +3 -3
- package/Models/DatabaseModels/TracePipeline.js +3 -3
- package/Models/DatabaseModels/TracePipelineProcessor.js +3 -3
- package/Models/DatabaseModels/TraceRecordingRule.js +3 -3
- package/Models/DatabaseModels/TraceSavedView.js +3 -3
- package/Models/DatabaseModels/TraceScrubRule.js +3 -3
- package/Models/DatabaseModels/User.d.mts +2 -0
- package/Models/DatabaseModels/User.d.ts +2 -0
- package/Models/DatabaseModels/User.js +49 -0
- package/Models/DatabaseModels/UserMattermost.d.mts +18 -0
- package/Models/DatabaseModels/UserMattermost.d.ts +18 -0
- package/Models/DatabaseModels/UserMattermost.js +367 -0
- package/Models/DatabaseModels/UserMattermost.mjs +2 -0
- package/Models/DatabaseModels/UserNotificationRule.d.mts +3 -0
- package/Models/DatabaseModels/UserNotificationRule.d.ts +3 -0
- package/Models/DatabaseModels/UserNotificationRule.js +76 -7
- package/Models/DatabaseModels/UserNotificationSetting.d.mts +1 -0
- package/Models/DatabaseModels/UserNotificationSetting.d.ts +1 -0
- package/Models/DatabaseModels/UserNotificationSetting.js +19 -0
- package/Models/DatabaseModels/UserOnCallLogTimeline.d.mts +3 -0
- package/Models/DatabaseModels/UserOnCallLogTimeline.d.ts +3 -0
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +49 -0
- package/Models/DatabaseModels/VideoCallConnection.js +3 -3
- package/Models/DatabaseModels/WorkflowLog.d.mts +2 -0
- package/Models/DatabaseModels/WorkflowLog.d.ts +2 -0
- package/Models/DatabaseModels/WorkflowLog.js +63 -0
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +9 -1
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +9 -1
- package/Server/Services/DatabaseService.d.mts +1 -0
- package/Server/Services/DatabaseService.d.ts +1 -0
- package/Types/AI/AIActionWords.d.mts +173 -0
- package/Types/AI/AIActionWords.d.ts +173 -0
- package/Types/AI/AIActionWords.js +558 -0
- package/Types/AI/AIActionWords.mjs +35 -0
- package/Types/AI/AIChatPageContext.d.mts +4 -1
- package/Types/AI/AIChatPageContext.d.ts +4 -1
- package/Types/AI/AIChatPageContext.js +11 -0
- package/Types/AI/AIChatTypes.d.mts +17 -1
- package/Types/AI/AIChatTypes.d.ts +17 -1
- package/Types/AI/AIChatTypes.js +30 -1
- package/Types/AI/AIChatTypes.mjs +3 -0
- package/Types/AI/AIInsightEvidence.d.mts +11 -0
- package/Types/AI/AIInsightEvidence.d.ts +11 -0
- package/Types/AI/AIInsightType.d.mts +3 -1
- package/Types/AI/AIInsightType.d.ts +3 -1
- package/Types/AI/AIInsightType.js +14 -0
- package/Types/AI/AIResourceContext.d.mts +1 -0
- package/Types/AI/AIResourceContext.d.ts +1 -0
- package/Types/AI/AIResourceContext.js +4 -0
- package/Types/AI/AiActivityInsights.d.mts +6 -0
- package/Types/AI/AiActivityInsights.d.ts +6 -0
- package/Types/AI/AiAffectedResources.d.mts +2 -1
- package/Types/AI/AiAffectedResources.d.ts +2 -1
- package/Types/AI/AiAffectedResources.js +22 -14
- package/Types/AI/CodeTask.d.mts +9 -0
- package/Types/AI/CodeTask.d.ts +9 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +1 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +1 -0
- package/Types/AI/ResourceAiAccessApi.js +6 -1
- package/Types/AI/ResourceAiAccessApi.mjs +1 -0
- package/Types/AI/ResourceAiAccessPermissions.d.mts +2 -0
- package/Types/AI/ResourceAiAccessPermissions.d.ts +2 -0
- package/Types/AI/ResourceAiAccessPermissions.js +15 -0
- package/Types/AI/ResourceAiAccessPermissions.mjs +2 -0
- package/Types/AI/TelemetryAi.js +9 -5
- package/Types/Accounts/MagicLink.d.mts +9 -0
- package/Types/Accounts/MagicLink.d.ts +9 -0
- package/Types/Accounts/MagicLink.js +114 -0
- package/Types/Accounts/MagicLink.mjs +8 -0
- package/Types/AffectedResources/AffectedResourceSearch.d.mts +1 -0
- package/Types/AffectedResources/AffectedResourceSearch.d.ts +1 -0
- package/Types/AffectedResources/AffectedResourceSearch.js +1 -0
- package/Types/Alert/AlertIncidentRuleWait.d.mts +11 -0
- package/Types/Alert/AlertIncidentRuleWait.d.ts +11 -0
- package/Types/Alert/AlertIncidentRuleWait.js +134 -0
- package/Types/Alert/AlertIncidentRuleWait.mjs +9 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.mts +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.ts +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.js +9 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.mts +3 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.ts +3 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.js +8 -2
- package/Types/AutoRemediation/AutoRemediationApprovalSource.d.mts +10 -0
- package/Types/AutoRemediation/AutoRemediationApprovalSource.d.ts +10 -0
- package/Types/AutoRemediation/AutoRemediationApprovalSource.js +49 -0
- package/Types/AutoRemediation/AutoRemediationApprovalSource.mjs +5 -0
- package/Types/AutoRemediation/AutoRemediationDecision.d.mts +1 -0
- package/Types/AutoRemediation/AutoRemediationDecision.d.ts +1 -0
- package/Types/AutoRemediation/AutoRemediationDecision.js +16 -1
- package/Types/AutoRemediation/AutoRemediationDecision.mjs +1 -0
- package/Types/AutoRemediation/RemediationRoundName.d.mts +27 -0
- package/Types/AutoRemediation/RemediationRoundName.d.ts +27 -0
- package/Types/AutoRemediation/RemediationRoundName.js +188 -0
- package/Types/AutoRemediation/RemediationRoundName.mjs +11 -0
- package/Types/AutoRemediation/RemediationTrackRecord.d.mts +2 -0
- package/Types/AutoRemediation/RemediationTrackRecord.d.ts +2 -0
- package/Types/AutoRemediation/RemediationTrackRecord.js +18 -4
- package/Types/AutoRemediation/RemediationTrackRecord.mjs +1 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/NotOnWatchlist.d.mts +21 -0
- package/Types/BaseDatabase/NotOnWatchlist.d.ts +21 -0
- package/Types/BaseDatabase/NotOnWatchlist.js +48 -0
- package/Types/BaseDatabase/NotOnWatchlist.mjs +2 -0
- package/Types/BaseDatabase/OnWatchlist.d.mts +28 -0
- package/Types/BaseDatabase/OnWatchlist.d.ts +28 -0
- package/Types/BaseDatabase/OnWatchlist.js +55 -0
- package/Types/BaseDatabase/OnWatchlist.mjs +2 -0
- package/Types/Billing/PayAsYouGoPricing.d.mts +10 -0
- package/Types/Billing/PayAsYouGoPricing.d.ts +10 -0
- package/Types/Billing/PayAsYouGoPricing.js +36 -1
- package/Types/Billing/PayAsYouGoPricing.mjs +4 -0
- package/Types/Cloud/AwsRegionCode.d.mts +1 -0
- package/Types/Cloud/AwsRegionCode.d.ts +1 -0
- package/Types/Cloud/AwsRegionCode.js +35 -0
- package/Types/Cloud/AwsRegionCode.mjs +2 -0
- package/Types/Cloud/CloudCost.d.mts +155 -0
- package/Types/Cloud/CloudCost.d.ts +155 -0
- package/Types/Cloud/CloudCost.js +773 -0
- package/Types/Cloud/CloudCost.mjs +44 -0
- package/Types/Cloud/CloudCostAnomaly.d.mts +34 -0
- package/Types/Cloud/CloudCostAnomaly.d.ts +34 -0
- package/Types/Cloud/CloudCostAnomaly.js +236 -0
- package/Types/Cloud/CloudCostAnomaly.mjs +18 -0
- package/Types/Cloud/CloudLogGroups.d.mts +35 -0
- package/Types/Cloud/CloudLogGroups.d.ts +35 -0
- package/Types/Cloud/CloudLogGroups.js +268 -0
- package/Types/Cloud/CloudLogGroups.mjs +9 -0
- package/Types/Cloud/CloudPlatform.js +9 -8
- package/Types/Cloud/CloudResourceCatalog.d.mts +9 -0
- package/Types/Cloud/CloudResourceCatalog.d.ts +9 -0
- package/Types/Cloud/CloudResourceCatalog.js +236 -1
- package/Types/Cloud/CloudResourceCatalog.mjs +4 -0
- package/Types/Cloud/CloudResourceHealth.d.mts +208 -0
- package/Types/Cloud/CloudResourceHealth.d.ts +208 -0
- package/Types/Cloud/CloudResourceHealth.js +1432 -0
- package/Types/Cloud/CloudResourceHealth.mjs +87 -0
- package/Types/Cloud/CloudRightSizing.d.mts +140 -0
- package/Types/Cloud/CloudRightSizing.d.ts +140 -0
- package/Types/Cloud/CloudRightSizing.js +867 -0
- package/Types/Cloud/CloudRightSizing.mjs +53 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.mts +5 -1
- package/Types/CloudConnection/CloudAiAgentCost.d.ts +5 -1
- package/Types/CloudConnection/CloudAiAgentCost.js +29 -8
- package/Types/CloudConnection/CloudAiAgentCost.mjs +3 -0
- package/Types/CloudConnection/CloudAiAgentKey.d.mts +65 -0
- package/Types/CloudConnection/CloudAiAgentKey.d.ts +65 -0
- package/Types/CloudConnection/CloudAiAgentKey.js +289 -0
- package/Types/CloudConnection/CloudAiAgentKey.mjs +18 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +20 -3
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +20 -3
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +364 -74
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +16 -1
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +17 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +4 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +4 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +35 -3
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +4 -0
- package/Types/CloudConnection/CloudStream.d.mts +118 -0
- package/Types/CloudConnection/CloudStream.d.ts +118 -0
- package/Types/CloudConnection/CloudStream.js +544 -0
- package/Types/CloudConnection/CloudStream.mjs +47 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +85 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +85 -0
- package/Types/CloudConnection/CloudStreamTemplate.js +760 -0
- package/Types/CloudConnection/CloudStreamTemplate.mjs +33 -0
- package/Types/CodeRepository/ProductionReview.d.mts +66 -2
- package/Types/CodeRepository/ProductionReview.d.ts +66 -2
- package/Types/CodeRepository/ProductionReview.js +25 -5
- package/Types/CodeRepository/ProductionReview.mjs +1 -0
- package/Types/Dashboard/DashboardTemplates.d.mts +1 -0
- package/Types/Dashboard/DashboardTemplates.d.ts +1 -0
- package/Types/Dashboard/DashboardTemplates.js +250 -0
- package/Types/DataObservability/DataAlertFeedback.d.mts +78 -0
- package/Types/DataObservability/DataAlertFeedback.d.ts +78 -0
- package/Types/DataObservability/DataAlertFeedback.js +147 -0
- package/Types/DataObservability/DataAlertFeedback.mjs +13 -0
- package/Types/DataObservability/DataAssetColumn.d.mts +29 -0
- package/Types/DataObservability/DataAssetColumn.d.ts +29 -0
- package/Types/DataObservability/DataAssetColumn.js +186 -0
- package/Types/DataObservability/DataAssetColumn.mjs +8 -0
- package/Types/DataObservability/DataAssetFreshness.d.mts +19 -0
- package/Types/DataObservability/DataAssetFreshness.d.ts +19 -0
- package/Types/DataObservability/DataAssetFreshness.js +54 -0
- package/Types/DataObservability/DataAssetFreshness.mjs +4 -0
- package/Types/DataObservability/DataAssetKind.d.mts +13 -0
- package/Types/DataObservability/DataAssetKind.d.ts +13 -0
- package/Types/DataObservability/DataAssetKind.js +50 -0
- package/Types/DataObservability/DataAssetKind.mjs +6 -0
- package/Types/DataObservability/DataAssetLineageSource.d.mts +7 -0
- package/Types/DataObservability/DataAssetLineageSource.d.ts +7 -0
- package/Types/DataObservability/DataAssetLineageSource.js +25 -0
- package/Types/DataObservability/DataAssetLineageSource.mjs +3 -0
- package/Types/DataObservability/DataAssetReads.d.mts +25 -0
- package/Types/DataObservability/DataAssetReads.d.ts +25 -0
- package/Types/DataObservability/DataAssetReads.js +125 -0
- package/Types/DataObservability/DataAssetReads.mjs +7 -0
- package/Types/DataObservability/DataAssetUsage.d.mts +9 -0
- package/Types/DataObservability/DataAssetUsage.d.ts +9 -0
- package/Types/DataObservability/DataAssetUsage.js +97 -0
- package/Types/DataObservability/DataAssetUsage.mjs +7 -0
- package/Types/DataObservability/DataBiTool.d.mts +14 -0
- package/Types/DataObservability/DataBiTool.d.ts +14 -0
- package/Types/DataObservability/DataBiTool.js +57 -0
- package/Types/DataObservability/DataBiTool.mjs +6 -0
- package/Types/DataObservability/DataCheckFailingRows.d.mts +4 -0
- package/Types/DataObservability/DataCheckFailingRows.d.ts +4 -0
- package/Types/DataObservability/DataCheckFailingRows.js +53 -0
- package/Types/DataObservability/DataCheckFailingRows.mjs +3 -0
- package/Types/DataObservability/DataCheckFormats.d.mts +14 -0
- package/Types/DataObservability/DataCheckFormats.d.ts +14 -0
- package/Types/DataObservability/DataCheckFormats.js +46 -0
- package/Types/DataObservability/DataCheckFormats.mjs +6 -0
- package/Types/DataObservability/DataCheckMetric.d.mts +8 -0
- package/Types/DataObservability/DataCheckMetric.d.ts +8 -0
- package/Types/DataObservability/DataCheckMetric.js +22 -0
- package/Types/DataObservability/DataCheckMetric.mjs +4 -0
- package/Types/DataObservability/DataCheckSuggestions.d.mts +36 -0
- package/Types/DataObservability/DataCheckSuggestions.d.ts +36 -0
- package/Types/DataObservability/DataCheckSuggestions.js +170 -0
- package/Types/DataObservability/DataCheckSuggestions.mjs +4 -0
- package/Types/DataObservability/DataCheckType.d.mts +42 -0
- package/Types/DataObservability/DataCheckType.d.ts +42 -0
- package/Types/DataObservability/DataCheckType.js +124 -0
- package/Types/DataObservability/DataCheckType.mjs +20 -0
- package/Types/DataObservability/DataColumnLineage.d.mts +8 -0
- package/Types/DataObservability/DataColumnLineage.d.ts +8 -0
- package/Types/DataObservability/DataColumnLineage.js +60 -0
- package/Types/DataObservability/DataColumnLineage.mjs +5 -0
- package/Types/DataObservability/DataColumnSensitivity.d.mts +48 -0
- package/Types/DataObservability/DataColumnSensitivity.d.ts +48 -0
- package/Types/DataObservability/DataColumnSensitivity.js +169 -0
- package/Types/DataObservability/DataColumnSensitivity.mjs +10 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +222 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +222 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +106 -0
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +5 -0
- package/Types/DataObservability/DataObservabilityMetric.d.mts +28 -0
- package/Types/DataObservability/DataObservabilityMetric.d.ts +28 -0
- package/Types/DataObservability/DataObservabilityMetric.js +113 -0
- package/Types/DataObservability/DataObservabilityMetric.mjs +7 -0
- package/Types/DataObservability/DataPipelineMetric.d.mts +17 -0
- package/Types/DataObservability/DataPipelineMetric.d.ts +17 -0
- package/Types/DataObservability/DataPipelineMetric.js +51 -0
- package/Types/DataObservability/DataPipelineMetric.mjs +4 -0
- package/Types/DataObservability/DataPipelineSchedule.d.mts +30 -0
- package/Types/DataObservability/DataPipelineSchedule.d.ts +30 -0
- package/Types/DataObservability/DataPipelineSchedule.js +149 -0
- package/Types/DataObservability/DataPipelineSchedule.mjs +15 -0
- package/Types/DataObservability/DataProductBadge.d.mts +11 -0
- package/Types/DataObservability/DataProductBadge.d.ts +11 -0
- package/Types/DataObservability/DataProductBadge.js +93 -0
- package/Types/DataObservability/DataProductBadge.mjs +5 -0
- package/Types/DataObservability/DataProductFreshness.d.mts +51 -0
- package/Types/DataObservability/DataProductFreshness.d.ts +51 -0
- package/Types/DataObservability/DataProductFreshness.js +176 -0
- package/Types/DataObservability/DataProductFreshness.mjs +16 -0
- package/Types/DataObservability/DataProductMetric.d.mts +14 -0
- package/Types/DataObservability/DataProductMetric.d.ts +14 -0
- package/Types/DataObservability/DataProductMetric.js +35 -0
- package/Types/DataObservability/DataProductMetric.mjs +4 -0
- package/Types/DataObservability/DataReconciliation.d.mts +82 -0
- package/Types/DataObservability/DataReconciliation.d.ts +82 -0
- package/Types/DataObservability/DataReconciliation.js +208 -0
- package/Types/DataObservability/DataReconciliation.mjs +15 -0
- package/Types/DataObservability/DataWarehouseSpend.d.mts +27 -0
- package/Types/DataObservability/DataWarehouseSpend.d.ts +27 -0
- package/Types/DataObservability/DataWarehouseSpend.js +103 -0
- package/Types/DataObservability/DataWarehouseSpend.mjs +7 -0
- package/Types/DataObservability/DbtArtifact.d.mts +33 -0
- package/Types/DataObservability/DbtArtifact.d.ts +33 -0
- package/Types/DataObservability/DbtArtifact.js +173 -0
- package/Types/DataObservability/DbtArtifact.mjs +9 -0
- package/Types/DataObservability/StoragePaths.d.mts +14 -0
- package/Types/DataObservability/StoragePaths.d.ts +14 -0
- package/Types/DataObservability/StoragePaths.js +64 -0
- package/Types/DataObservability/StoragePaths.mjs +7 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +34 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +34 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +24 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +23 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +23 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +142 -15
- package/Types/DataSecurity/DataSecurityCheckCatalog.mjs +11 -0
- package/Types/DataSecurity/DataStoreKey.d.mts +1 -0
- package/Types/DataSecurity/DataStoreKey.d.ts +1 -0
- package/Types/DataSecurity/DataStoreKey.js +12 -0
- package/Types/DataSecurity/DataStoreKey.mjs +1 -0
- package/Types/DataSecurity/DataStoreKind.d.mts +4 -0
- package/Types/DataSecurity/DataStoreKind.d.ts +4 -0
- package/Types/DataSecurity/DataStoreKind.js +10 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.d.mts +17 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.d.ts +17 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +1052 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.mjs +3 -0
- package/Types/Database/TextColumnValue.d.mts +9 -0
- package/Types/Database/TextColumnValue.d.ts +9 -0
- package/Types/Database/TextColumnValue.js +83 -0
- package/Types/Database/TextColumnValue.mjs +4 -0
- package/Types/DatabaseServer/DatabaseEngineReadings.d.mts +44 -0
- package/Types/DatabaseServer/DatabaseEngineReadings.d.ts +44 -0
- package/Types/DatabaseServer/DatabaseEngineReadings.js +251 -0
- package/Types/DatabaseServer/DatabaseEngineReadings.mjs +16 -0
- package/Types/DatabaseServer/DatabaseHealth.d.mts +106 -0
- package/Types/DatabaseServer/DatabaseHealth.d.ts +106 -0
- package/Types/DatabaseServer/DatabaseHealth.js +803 -0
- package/Types/DatabaseServer/DatabaseHealth.mjs +23 -0
- package/Types/DatabaseServer/DatabaseServerMetricCatalog.d.mts +1 -0
- package/Types/DatabaseServer/DatabaseServerMetricCatalog.d.ts +1 -0
- package/Types/DatabaseServer/DatabaseServerMetricCatalog.js +225 -104
- package/Types/Date.d.mts +9 -1
- package/Types/Date.d.ts +9 -1
- package/Types/Date.js +33 -10
- package/Types/Email/EmailTemplateType.d.mts +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +4 -0
- package/Types/Incident/IncidentAlertLink.d.mts +2 -0
- package/Types/Incident/IncidentAlertLink.d.ts +2 -0
- package/Types/Incident/IncidentAlertLink.js +14 -1
- package/Types/Incident/IncidentAlertLink.mjs +2 -0
- package/Types/InstallScripts/InstallScripts.d.mts +2 -0
- package/Types/InstallScripts/InstallScripts.d.ts +2 -0
- package/Types/InstallScripts/InstallScripts.js +61 -1
- package/Types/JSON.d.mts +5 -1
- package/Types/JSON.d.ts +5 -1
- package/Types/JSON.js +2 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +1 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +1 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +3 -5
- package/Types/MessageQueue/MessageQueueMetricCatalog.js +119 -111
- package/Types/MeteredPlan/ProductType.d.mts +2 -1
- package/Types/MeteredPlan/ProductType.d.ts +2 -1
- package/Types/MeteredPlan/ProductType.js +2 -0
- package/Types/Monitor/CephMetricCatalog.js +32 -31
- package/Types/Monitor/CriteriaFilter.d.mts +18 -1
- package/Types/Monitor/CriteriaFilter.d.ts +18 -1
- package/Types/Monitor/CriteriaFilter.js +41 -1
- package/Types/Monitor/CriteriaFilter.mjs +2 -0
- package/Types/Monitor/DataCheckMonitorStep.d.mts +19 -0
- package/Types/Monitor/DataCheckMonitorStep.d.ts +19 -0
- package/Types/Monitor/DataCheckMonitorStep.js +150 -0
- package/Types/Monitor/DataCheckMonitorStep.mjs +3 -0
- package/Types/Monitor/DataObservabilityAlertTemplates.d.mts +29 -0
- package/Types/Monitor/DataObservabilityAlertTemplates.d.ts +29 -0
- package/Types/Monitor/DataObservabilityAlertTemplates.js +314 -0
- package/Types/Monitor/DataObservabilityAlertTemplates.mjs +5 -0
- package/Types/Monitor/DataPipelineAlertTemplates.d.mts +27 -0
- package/Types/Monitor/DataPipelineAlertTemplates.d.ts +27 -0
- package/Types/Monitor/DataPipelineAlertTemplates.js +176 -0
- package/Types/Monitor/DataPipelineAlertTemplates.mjs +4 -0
- package/Types/Monitor/DataProductMonitorStep.d.mts +12 -0
- package/Types/Monitor/DataProductMonitorStep.d.ts +12 -0
- package/Types/Monitor/DataProductMonitorStep.js +95 -0
- package/Types/Monitor/DataProductMonitorStep.mjs +2 -0
- package/Types/Monitor/DataReconciliationMonitorStep.d.mts +13 -0
- package/Types/Monitor/DataReconciliationMonitorStep.d.ts +13 -0
- package/Types/Monitor/DataReconciliationMonitorStep.js +91 -0
- package/Types/Monitor/DataReconciliationMonitorStep.mjs +2 -0
- package/Types/Monitor/DatabaseAlertTemplates.d.mts +36 -0
- package/Types/Monitor/DatabaseAlertTemplates.d.ts +36 -0
- package/Types/Monitor/DatabaseAlertTemplates.js +230 -4
- package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.mts +38 -0
- package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.ts +38 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +26 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +26 -0
- package/Types/Monitor/MetricMonitor/MetricSeriesArrival.d.mts +5 -0
- package/Types/Monitor/MetricMonitor/MetricSeriesArrival.d.ts +5 -0
- package/Types/Monitor/MetricMonitor/MetricSeriesArrival.js +2 -0
- package/Types/Monitor/MetricMonitor/MetricSeriesArrival.mjs +1 -0
- package/Types/Monitor/MetricMonitor/MetricSeriesResult.d.mts +2 -0
- package/Types/Monitor/MetricMonitor/MetricSeriesResult.d.ts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +1 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +1 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +9 -0
- package/Types/Monitor/MonitorStep.d.mts +3 -0
- package/Types/Monitor/MonitorStep.d.ts +3 -0
- package/Types/Monitor/MonitorStep.js +42 -7
- package/Types/Monitor/MonitorStepMetricViewConfigUtil.js +1 -0
- package/Types/Monitor/MonitorStepOpenStackMonitor.d.mts +39 -0
- package/Types/Monitor/MonitorStepOpenStackMonitor.d.ts +39 -0
- package/Types/Monitor/MonitorStepOpenStackMonitor.js +138 -0
- package/Types/Monitor/MonitorStepOpenStackMonitor.mjs +7 -0
- package/Types/Monitor/MonitorStepSecurityEventsMonitor.d.mts +2 -0
- package/Types/Monitor/MonitorStepSecurityEventsMonitor.d.ts +2 -0
- package/Types/Monitor/MonitorStepSecurityEventsMonitor.js +5 -1
- package/Types/Monitor/MonitorTemplateSyncField.js +5 -0
- package/Types/Monitor/MonitorType.d.mts +1 -0
- package/Types/Monitor/MonitorType.d.ts +1 -0
- package/Types/Monitor/MonitorType.js +27 -2
- package/Types/Monitor/OpenStackAlertTemplates.d.mts +100 -0
- package/Types/Monitor/OpenStackAlertTemplates.d.ts +100 -0
- package/Types/Monitor/OpenStackAlertTemplates.js +3558 -0
- package/Types/Monitor/OpenStackAlertTemplates.mjs +13 -0
- package/Types/Monitor/OpenStackControlPlaneAlertTemplates.d.mts +7 -0
- package/Types/Monitor/OpenStackControlPlaneAlertTemplates.d.ts +7 -0
- package/Types/Monitor/OpenStackControlPlaneAlertTemplates.js +1442 -0
- package/Types/Monitor/OpenStackControlPlaneAlertTemplates.mjs +5 -0
- package/Types/Monitor/OpenStackLogAlertTemplates.d.mts +40 -0
- package/Types/Monitor/OpenStackLogAlertTemplates.d.ts +40 -0
- package/Types/Monitor/OpenStackLogAlertTemplates.js +393 -0
- package/Types/Monitor/OpenStackLogAlertTemplates.mjs +19 -0
- package/Types/Monitor/OpenStackMetricCatalog.d.mts +31 -0
- package/Types/Monitor/OpenStackMetricCatalog.d.ts +31 -0
- package/Types/Monitor/OpenStackMetricCatalog.js +3064 -0
- package/Types/Monitor/OpenStackMetricCatalog.mjs +8 -0
- package/Types/Monitor/ProxmoxMetricCatalog.js +29 -28
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +132 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +8 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +8 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +14 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +20 -5
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.mts +4 -1
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.ts +4 -1
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.js +10 -2
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.mts +2 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.ts +2 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.js +222 -0
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.js +110 -1
- package/Types/Monitor/StorageArrayMetricCatalog.js +57 -56
- package/Types/Monitor/TelemetryAlertRule.d.mts +5 -1
- package/Types/Monitor/TelemetryAlertRule.d.ts +5 -1
- package/Types/Monitor/TelemetryAlertRule.js +43 -8
- package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.d.mts +8 -0
- package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.d.ts +8 -0
- package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.js +71 -0
- package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.mjs +5 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.mts +26 -1
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.ts +26 -1
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +174 -5
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.mjs +14 -0
- package/Types/OnCallDutyPolicy/UserOverrideAddAccess.d.mts +15 -0
- package/Types/OnCallDutyPolicy/UserOverrideAddAccess.d.ts +15 -0
- package/Types/OnCallDutyPolicy/UserOverrideAddAccess.js +120 -0
- package/Types/OnCallDutyPolicy/UserOverrideAddAccess.mjs +4 -0
- package/Types/OpenStack/OpenStackAttentionSummary.d.mts +21 -0
- package/Types/OpenStack/OpenStackAttentionSummary.d.ts +21 -0
- package/Types/OpenStack/OpenStackAttentionSummary.js +162 -0
- package/Types/OpenStack/OpenStackAttentionSummary.mjs +2 -0
- package/Types/OpenStack/OpenStackBareMetal.d.mts +9 -0
- package/Types/OpenStack/OpenStackBareMetal.d.ts +9 -0
- package/Types/OpenStack/OpenStackBareMetal.js +5 -0
- package/Types/OpenStack/OpenStackBareMetal.mjs +2 -0
- package/Types/OpenStack/OpenStackBlastRadius.d.mts +77 -0
- package/Types/OpenStack/OpenStackBlastRadius.d.ts +77 -0
- package/Types/OpenStack/OpenStackBlastRadius.js +208 -0
- package/Types/OpenStack/OpenStackBlastRadius.mjs +15 -0
- package/Types/OpenStack/OpenStackCapacity.d.mts +187 -0
- package/Types/OpenStack/OpenStackCapacity.d.ts +187 -0
- package/Types/OpenStack/OpenStackCapacity.js +790 -0
- package/Types/OpenStack/OpenStackCapacity.mjs +27 -0
- package/Types/OpenStack/OpenStackCapacitySeries.d.mts +36 -0
- package/Types/OpenStack/OpenStackCapacitySeries.d.ts +36 -0
- package/Types/OpenStack/OpenStackCapacitySeries.js +243 -0
- package/Types/OpenStack/OpenStackCapacitySeries.mjs +15 -0
- package/Types/OpenStack/OpenStackCapacitySnapshot.d.mts +212 -0
- package/Types/OpenStack/OpenStackCapacitySnapshot.d.ts +212 -0
- package/Types/OpenStack/OpenStackCapacitySnapshot.js +593 -0
- package/Types/OpenStack/OpenStackCapacitySnapshot.mjs +29 -0
- package/Types/OpenStack/OpenStackCheck.d.mts +202 -0
- package/Types/OpenStack/OpenStackCheck.d.ts +202 -0
- package/Types/OpenStack/OpenStackCheck.js +238 -0
- package/Types/OpenStack/OpenStackCheck.mjs +24 -0
- package/Types/OpenStack/OpenStackCloudKitty.d.mts +20 -0
- package/Types/OpenStack/OpenStackCloudKitty.d.ts +20 -0
- package/Types/OpenStack/OpenStackCloudKitty.js +138 -0
- package/Types/OpenStack/OpenStackCloudKitty.mjs +8 -0
- package/Types/OpenStack/OpenStackCollectionError.d.mts +37 -0
- package/Types/OpenStack/OpenStackCollectionError.d.ts +37 -0
- package/Types/OpenStack/OpenStackCollectionError.js +208 -0
- package/Types/OpenStack/OpenStackCollectionError.mjs +3 -0
- package/Types/OpenStack/OpenStackCollectionMethod.d.mts +9 -0
- package/Types/OpenStack/OpenStackCollectionMethod.d.ts +9 -0
- package/Types/OpenStack/OpenStackCollectionMethod.js +31 -0
- package/Types/OpenStack/OpenStackCollectionMethod.mjs +3 -0
- package/Types/OpenStack/OpenStackCollectionStatus.d.mts +12 -0
- package/Types/OpenStack/OpenStackCollectionStatus.d.ts +12 -0
- package/Types/OpenStack/OpenStackCollectionStatus.js +49 -0
- package/Types/OpenStack/OpenStackCollectionStatus.mjs +3 -0
- package/Types/OpenStack/OpenStackConnectionTestStatus.d.mts +11 -0
- package/Types/OpenStack/OpenStackConnectionTestStatus.d.ts +11 -0
- package/Types/OpenStack/OpenStackConnectionTestStatus.js +35 -0
- package/Types/OpenStack/OpenStackConnectionTestStatus.mjs +6 -0
- package/Types/OpenStack/OpenStackControlPlane.d.mts +125 -0
- package/Types/OpenStack/OpenStackControlPlane.d.ts +125 -0
- package/Types/OpenStack/OpenStackControlPlane.js +420 -0
- package/Types/OpenStack/OpenStackControlPlane.mjs +39 -0
- package/Types/OpenStack/OpenStackCounts.d.mts +11 -0
- package/Types/OpenStack/OpenStackCounts.d.ts +11 -0
- package/Types/OpenStack/OpenStackCounts.js +31 -0
- package/Types/OpenStack/OpenStackCounts.mjs +4 -0
- package/Types/OpenStack/OpenStackForecast.d.mts +19 -0
- package/Types/OpenStack/OpenStackForecast.d.ts +19 -0
- package/Types/OpenStack/OpenStackForecast.js +65 -0
- package/Types/OpenStack/OpenStackForecast.mjs +2 -0
- package/Types/OpenStack/OpenStackHealthRules.d.mts +195 -0
- package/Types/OpenStack/OpenStackHealthRules.d.ts +195 -0
- package/Types/OpenStack/OpenStackHealthRules.js +625 -0
- package/Types/OpenStack/OpenStackHealthRules.mjs +90 -0
- package/Types/OpenStack/OpenStackInstanceMetrics.d.mts +121 -0
- package/Types/OpenStack/OpenStackInstanceMetrics.d.ts +121 -0
- package/Types/OpenStack/OpenStackInstanceMetrics.js +380 -0
- package/Types/OpenStack/OpenStackInstanceMetrics.mjs +42 -0
- package/Types/OpenStack/OpenStackLinks.d.mts +155 -0
- package/Types/OpenStack/OpenStackLinks.d.ts +155 -0
- package/Types/OpenStack/OpenStackLinks.js +447 -0
- package/Types/OpenStack/OpenStackLinks.mjs +23 -0
- package/Types/OpenStack/OpenStackListSeek.d.mts +14 -0
- package/Types/OpenStack/OpenStackListSeek.d.ts +14 -0
- package/Types/OpenStack/OpenStackListSeek.js +51 -0
- package/Types/OpenStack/OpenStackListSeek.mjs +4 -0
- package/Types/OpenStack/OpenStackMaintenancePart.d.mts +26 -0
- package/Types/OpenStack/OpenStackMaintenancePart.d.ts +26 -0
- package/Types/OpenStack/OpenStackMaintenancePart.js +112 -0
- package/Types/OpenStack/OpenStackMaintenancePart.mjs +5 -0
- package/Types/OpenStack/OpenStackOptionalServices.d.mts +26 -0
- package/Types/OpenStack/OpenStackOptionalServices.d.ts +26 -0
- package/Types/OpenStack/OpenStackOptionalServices.js +147 -0
- package/Types/OpenStack/OpenStackOptionalServices.mjs +10 -0
- package/Types/OpenStack/OpenStackOverview.d.mts +33 -0
- package/Types/OpenStack/OpenStackOverview.d.ts +33 -0
- package/Types/OpenStack/OpenStackOverview.js +6 -0
- package/Types/OpenStack/OpenStackOverview.mjs +1 -0
- package/Types/OpenStack/OpenStackPriceList.d.mts +48 -0
- package/Types/OpenStack/OpenStackPriceList.d.ts +48 -0
- package/Types/OpenStack/OpenStackPriceList.js +221 -0
- package/Types/OpenStack/OpenStackPriceList.mjs +9 -0
- package/Types/OpenStack/OpenStackProbeCollection.d.mts +154 -0
- package/Types/OpenStack/OpenStackProbeCollection.d.ts +154 -0
- package/Types/OpenStack/OpenStackProbeCollection.js +40 -0
- package/Types/OpenStack/OpenStackProbeCollection.mjs +10 -0
- package/Types/OpenStack/OpenStackProjectNotice.d.mts +76 -0
- package/Types/OpenStack/OpenStackProjectNotice.d.ts +76 -0
- package/Types/OpenStack/OpenStackProjectNotice.js +225 -0
- package/Types/OpenStack/OpenStackProjectNotice.mjs +12 -0
- package/Types/OpenStack/OpenStackProjectUsage.d.mts +131 -0
- package/Types/OpenStack/OpenStackProjectUsage.d.ts +131 -0
- package/Types/OpenStack/OpenStackProjectUsage.js +409 -0
- package/Types/OpenStack/OpenStackProjectUsage.mjs +24 -0
- package/Types/OpenStack/OpenStackQuota.d.mts +29 -0
- package/Types/OpenStack/OpenStackQuota.d.ts +29 -0
- package/Types/OpenStack/OpenStackQuota.js +130 -0
- package/Types/OpenStack/OpenStackQuota.mjs +8 -0
- package/Types/OpenStack/OpenStackResourceKind.d.mts +100 -0
- package/Types/OpenStack/OpenStackResourceKind.d.ts +100 -0
- package/Types/OpenStack/OpenStackResourceKind.js +508 -0
- package/Types/OpenStack/OpenStackResourceKind.mjs +42 -0
- package/Types/OpenStack/OpenStackRunbookTemplates.d.mts +35 -0
- package/Types/OpenStack/OpenStackRunbookTemplates.d.ts +35 -0
- package/Types/OpenStack/OpenStackRunbookTemplates.js +313 -0
- package/Types/OpenStack/OpenStackRunbookTemplates.mjs +11 -0
- package/Types/OpenStack/OpenStackScale.d.mts +156 -0
- package/Types/OpenStack/OpenStackScale.d.ts +156 -0
- package/Types/OpenStack/OpenStackScale.js +678 -0
- package/Types/OpenStack/OpenStackScale.mjs +45 -0
- package/Types/OpenStack/OpenStackScopedRule.d.mts +12 -0
- package/Types/OpenStack/OpenStackScopedRule.d.ts +12 -0
- package/Types/OpenStack/OpenStackScopedRule.js +33 -0
- package/Types/OpenStack/OpenStackScopedRule.mjs +3 -0
- package/Types/OpenStack/OpenStackSpendSnapshot.d.mts +222 -0
- package/Types/OpenStack/OpenStackSpendSnapshot.d.ts +222 -0
- package/Types/OpenStack/OpenStackSpendSnapshot.js +465 -0
- package/Types/OpenStack/OpenStackSpendSnapshot.mjs +30 -0
- package/Types/OpenStack/OpenStackStatusPagePlan.d.mts +69 -0
- package/Types/OpenStack/OpenStackStatusPagePlan.d.ts +69 -0
- package/Types/OpenStack/OpenStackStatusPagePlan.js +194 -0
- package/Types/OpenStack/OpenStackStatusPagePlan.mjs +6 -0
- package/Types/OpenStack/OpenStackStatusPageService.d.mts +25 -0
- package/Types/OpenStack/OpenStackStatusPageService.d.ts +25 -0
- package/Types/OpenStack/OpenStackStatusPageService.js +184 -0
- package/Types/OpenStack/OpenStackStatusPageService.mjs +5 -0
- package/Types/OpenStack/OpenStackTopology.d.mts +1 -0
- package/Types/OpenStack/OpenStackTopology.d.ts +1 -0
- package/Types/OpenStack/OpenStackTopology.js +10 -0
- package/Types/OpenStack/OpenStackTopology.mjs +2 -0
- package/Types/OpenStack/OpenStackWaste.d.mts +136 -0
- package/Types/OpenStack/OpenStackWaste.d.ts +136 -0
- package/Types/OpenStack/OpenStackWaste.js +660 -0
- package/Types/OpenStack/OpenStackWaste.mjs +25 -0
- package/Types/Permission.d.mts +49 -0
- package/Types/Permission.d.ts +49 -0
- package/Types/Permission.js +514 -2
- package/Types/Probe/ProbeApiIngestResponse.d.mts +5 -3
- package/Types/Probe/ProbeApiIngestResponse.d.ts +5 -3
- package/Types/Probe/ProbeCapability.d.mts +2 -1
- package/Types/Probe/ProbeCapability.d.ts +2 -1
- package/Types/Probe/ProbeCapability.js +9 -0
- package/Types/Recommendation/RecommendationType.d.mts +3 -1
- package/Types/Recommendation/RecommendationType.d.ts +3 -1
- package/Types/Recommendation/RecommendationType.js +4 -0
- package/Types/RequestOrigin.d.mts +5 -0
- package/Types/RequestOrigin.d.ts +5 -0
- package/Types/RequestOrigin.js +2 -0
- package/Types/RequestOrigin.mjs +1 -0
- package/Types/ResourceAiAgent/AiResourceType.d.mts +6 -1
- package/Types/ResourceAiAgent/AiResourceType.d.ts +6 -1
- package/Types/ResourceAiAgent/AiResourceType.js +49 -4
- package/Types/ResourceAiAgent/AiResourceType.mjs +4 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +11 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +11 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +20 -6
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +7 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +7 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +7 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +33 -2
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +5 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +37 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +2 -0
- package/Types/Rules/RuleCriteriaSubject.d.ts +2 -0
- package/Types/Rules/RuleCriteriaSubject.js +7 -0
- package/Types/Rules/RuleRun.d.mts +4 -0
- package/Types/Rules/RuleRun.d.ts +4 -0
- package/Types/Rules/RuleRun.js +8 -0
- package/Types/Runbook/RunbookRunPermissions.d.mts +1 -0
- package/Types/Runbook/RunbookRunPermissions.d.ts +1 -0
- package/Types/Runbook/RunbookRunPermissions.js +9 -1
- package/Types/Runbook/RunbookRunPermissions.mjs +1 -0
- package/Types/SSO/SignInMethods.d.mts +1 -0
- package/Types/SSO/SignInMethods.d.ts +1 -0
- package/Types/SSO/SignInMethods.js +1 -0
- package/Types/SecurityCase/SecurityCaseContext.d.mts +3 -0
- package/Types/SecurityCase/SecurityCaseContext.d.ts +3 -0
- package/Types/SecurityCase/SecurityConnection.d.mts +5 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +5 -0
- package/Types/SecurityCase/SecurityConnection.js +6 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.mts +1 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.ts +1 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +52 -17
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.mjs +1 -0
- package/Types/SecurityEvent/DetectionRuleDataKind.d.mts +1 -0
- package/Types/SecurityEvent/DetectionRuleDataKind.d.ts +1 -0
- package/Types/SecurityEvent/DetectionRuleDataKind.js +15 -3
- package/Types/SecurityEvent/DetectionRuleLibrary.js +171 -0
- package/Types/SecurityEvent/RealTimeDetection.d.mts +14 -5
- package/Types/SecurityEvent/RealTimeDetection.d.ts +14 -5
- package/Types/SecurityEvent/RealTimeDetection.js +75 -25
- package/Types/SecurityEvent/RealTimeDetection.mjs +3 -3
- package/Types/SecurityEvent/SecurityHunt.d.mts +16 -0
- package/Types/SecurityEvent/SecurityHunt.d.ts +16 -0
- package/Types/SecurityEvent/SecurityHunt.js +44 -1
- package/Types/SecurityEvent/SecurityHunt.mjs +3 -0
- package/Types/SecurityEvent/SecurityHuntLibrary.d.mts +16 -0
- package/Types/SecurityEvent/SecurityHuntLibrary.d.ts +16 -0
- package/Types/SecurityEvent/SecurityHuntLibrary.js +204 -0
- package/Types/SecurityEvent/SecurityHuntLibrary.mjs +5 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.mts +4 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.ts +4 -0
- package/Types/SecurityEvent/SecurityLogFormat.js +46 -2
- package/Types/SecurityEvent/SecurityTelemetrySource.d.mts +5 -1
- package/Types/SecurityEvent/SecurityTelemetrySource.d.ts +5 -1
- package/Types/SecurityEvent/SecurityTelemetrySource.js +37 -7
- package/Types/SecurityEvent/SecurityTelemetrySource.mjs +2 -0
- package/Types/SecurityEvent/SecurityWatchlist.d.mts +93 -2
- package/Types/SecurityEvent/SecurityWatchlist.d.ts +93 -2
- package/Types/SecurityEvent/SecurityWatchlist.js +461 -20
- package/Types/SecurityEvent/SecurityWatchlist.mjs +23 -0
- package/Types/SecurityEvent/SecurityWatchlistFilter.d.mts +43 -0
- package/Types/SecurityEvent/SecurityWatchlistFilter.d.ts +43 -0
- package/Types/SecurityEvent/SecurityWatchlistFilter.js +261 -0
- package/Types/SecurityEvent/SecurityWatchlistFilter.mjs +15 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +4 -2
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +4 -2
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +22 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +7 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +7 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +96 -39
- package/Types/SecurityPlaybook/SecurityPlaybookStep.mjs +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.mts +17 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.ts +17 -2
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.js +174 -33
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.mjs +7 -0
- package/Types/SerializableObjectDictionary.js +8 -0
- package/Types/StatusPage/StatusPageMagicLink.d.mts +14 -0
- package/Types/StatusPage/StatusPageMagicLink.d.ts +14 -0
- package/Types/StatusPage/StatusPageMagicLink.js +88 -0
- package/Types/StatusPage/StatusPageMagicLink.mjs +10 -0
- package/Types/Team/ComplianceNotificationChannel.d.mts +1 -0
- package/Types/Team/ComplianceNotificationChannel.d.ts +1 -0
- package/Types/Team/ComplianceNotificationChannel.js +2 -1
- package/Types/Team/ComplianceRule.js +11 -0
- package/Types/Team/ComplianceRuleType.d.mts +1 -0
- package/Types/Team/ComplianceRuleType.d.ts +1 -0
- package/Types/Team/ComplianceRuleType.js +1 -0
- package/Types/Telemetry/EntityType.d.mts +4 -0
- package/Types/Telemetry/EntityType.d.ts +4 -0
- package/Types/Telemetry/EntityType.js +14 -0
- package/Types/Telemetry/ResourceFacetCatalog.js +7 -0
- package/Types/Telemetry/ServiceType.d.mts +5 -0
- package/Types/Telemetry/ServiceType.d.ts +5 -0
- package/Types/Telemetry/ServiceType.js +26 -0
- package/Types/Telemetry/TelemetryIngestSurface.d.mts +3 -0
- package/Types/Telemetry/TelemetryIngestSurface.d.ts +3 -0
- package/Types/Telemetry/TelemetryIngestSurface.js +17 -0
- package/Types/Topology/TopologyTypeRules.js +6 -0
- package/Types/Translator.d.mts +1 -0
- package/Types/Translator.d.ts +1 -0
- package/Types/Translator.js +12 -2
- package/Types/Translator.mjs +1 -0
- package/Types/VideoCall/VideoCallProviderCatalog.js +3 -3
- package/Types/Workflow/Component.d.mts +5 -0
- package/Types/Workflow/Component.d.ts +5 -0
- package/Types/Workflow/ComponentID.d.mts +1 -0
- package/Types/Workflow/ComponentID.d.ts +1 -0
- package/Types/Workflow/ComponentID.js +1 -0
- package/Types/Workflow/Components/FromAnotherTool.d.mts +1 -0
- package/Types/Workflow/Components/FromAnotherTool.d.ts +1 -0
- package/Types/Workflow/Components/FromAnotherTool.js +11 -1
- package/Types/Workflow/Components/OnCall.js +2 -0
- package/Types/Workflow/Components/OpenStack.d.mts +4 -0
- package/Types/Workflow/Components/OpenStack.d.ts +4 -0
- package/Types/Workflow/Components/OpenStack.js +120 -0
- package/Types/Workflow/Components/OpenStack.mjs +3 -0
- package/Types/Workflow/Components.js +7 -0
- package/Types/Workflow/CustomFieldsColumn.d.mts +6 -0
- package/Types/Workflow/CustomFieldsColumn.d.ts +6 -0
- package/Types/Workflow/CustomFieldsColumn.js +26 -1
- package/Types/Workflow/CustomFieldsColumn.mjs +4 -0
- package/Types/Workflow/Documentation/DatabaseDocumentation.js +1 -0
- package/Types/Workflow/Documentation/DocumentationLinks.d.mts +1 -0
- package/Types/Workflow/Documentation/DocumentationLinks.d.ts +1 -0
- package/Types/Workflow/Documentation/DocumentationLinks.js +1 -0
- package/Types/Workflow/Documentation/Index.js +2 -0
- package/Types/Workflow/Documentation/OpenStackDocumentation.d.mts +4 -0
- package/Types/Workflow/Documentation/OpenStackDocumentation.d.ts +4 -0
- package/Types/Workflow/Documentation/OpenStackDocumentation.js +54 -0
- package/Types/Workflow/Documentation/OpenStackDocumentation.mjs +2 -0
- package/Types/Workflow/EmptyValues.d.mts +39 -0
- package/Types/Workflow/EmptyValues.d.ts +39 -0
- package/Types/Workflow/EmptyValues.js +176 -0
- package/Types/Workflow/EmptyValues.mjs +6 -0
- package/Types/Workflow/LinkedRecord.d.mts +20 -0
- package/Types/Workflow/LinkedRecord.d.ts +20 -0
- package/Types/Workflow/LinkedRecord.js +120 -0
- package/Types/Workflow/LinkedRecord.mjs +4 -0
- package/Types/Workflow/LinkedRecordValue.d.mts +21 -0
- package/Types/Workflow/LinkedRecordValue.d.ts +21 -0
- package/Types/Workflow/LinkedRecordValue.js +92 -0
- package/Types/Workflow/LinkedRecordValue.mjs +5 -0
- package/Types/Workflow/PassedOnFields.d.mts +52 -0
- package/Types/Workflow/PassedOnFields.d.ts +52 -0
- package/Types/Workflow/PassedOnFields.js +173 -0
- package/Types/Workflow/PassedOnFields.mjs +8 -0
- package/Types/Workflow/TemplateSyntax.d.mts +11 -0
- package/Types/Workflow/TemplateSyntax.d.ts +11 -0
- package/Types/Workflow/TemplateSyntax.js +26 -1
- package/Types/Workflow/TemplateSyntax.mjs +2 -0
- package/Types/Workflow/Templates.d.mts +37 -0
- package/Types/Workflow/Templates.d.ts +37 -0
- package/Types/Workflow/Templates.js +741 -4
- package/Types/Workflow/Templates.mjs +13 -0
- package/Types/Workflow/WorkflowDraft.d.mts +49 -0
- package/Types/Workflow/WorkflowDraft.d.ts +49 -0
- package/Types/Workflow/WorkflowDraft.js +512 -0
- package/Types/Workflow/WorkflowDraft.mjs +7 -0
- package/Types/Workflow/WorkflowRunAgain.d.mts +15 -0
- package/Types/Workflow/WorkflowRunAgain.d.ts +15 -0
- package/Types/Workflow/WorkflowRunAgain.js +73 -0
- package/Types/Workflow/WorkflowRunAgain.mjs +5 -0
- package/Types/Workspace/ConnectCallback.d.mts +4 -0
- package/Types/Workspace/ConnectCallback.d.ts +4 -0
- package/Types/Workspace/ConnectCallback.js +23 -2
- package/Types/Workspace/NotificationRules/EventType.d.mts +2 -1
- package/Types/Workspace/NotificationRules/EventType.d.ts +2 -1
- package/Types/Workspace/NotificationRules/EventType.js +6 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +2 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +2 -1
- package/Types/Workspace/NotificationRules/NotificationRuleInvites.js +2 -1
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/SecurityHuntNotificationRule.d.mts +4 -0
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/SecurityHuntNotificationRule.d.ts +4 -0
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/SecurityHuntNotificationRule.js +2 -0
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/SecurityHuntNotificationRule.mjs +1 -0
- package/Types/Workspace/WorkspaceChannelLink.d.mts +10 -0
- package/Types/Workspace/WorkspaceChannelLink.d.ts +10 -0
- package/Types/Workspace/WorkspaceChannelLink.js +87 -3
- package/Types/Workspace/WorkspaceChannelLink.mjs +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.mts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.ts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.js +30 -18
- package/Types/Workspace/WorkspaceType.d.mts +2 -1
- package/Types/Workspace/WorkspaceType.d.ts +2 -1
- package/Types/Workspace/WorkspaceType.js +4 -0
- package/Utils/AI/InvestigationReport.d.mts +17 -0
- package/Utils/AI/InvestigationReport.d.ts +17 -0
- package/Utils/AI/InvestigationReport.js +148 -11
- package/Utils/AI/InvestigationReport.mjs +6 -0
- package/Utils/AiRemediation/Resource/OpenStackChangeReach.d.mts +63 -0
- package/Utils/AiRemediation/Resource/OpenStackChangeReach.d.ts +63 -0
- package/Utils/AiRemediation/Resource/OpenStackChangeReach.js +442 -0
- package/Utils/AiRemediation/Resource/OpenStackChangeReach.mjs +12 -0
- package/Utils/AiRemediation/Resource/OpenStackCommandPolicy.d.mts +124 -0
- package/Utils/AiRemediation/Resource/OpenStackCommandPolicy.d.ts +124 -0
- package/Utils/AiRemediation/Resource/OpenStackCommandPolicy.js +2146 -0
- package/Utils/AiRemediation/Resource/OpenStackCommandPolicy.mjs +21 -0
- package/Utils/AiRemediation/Resource/ResourceCommandPolicy.js +33 -4
- package/Utils/AiRemediation/Resource/ResourceCommandPolicyCore.d.mts +4 -0
- package/Utils/AiRemediation/Resource/ResourceCommandPolicyCore.d.ts +4 -0
- package/Utils/AiRemediation/Resource/ResourceCommandPolicyCore.js +3 -1
- package/Utils/AiRemediation/Resource/ResourceOutputRedactor.js +178 -0
- package/Utils/CronTime.d.mts +1 -0
- package/Utils/CronTime.d.ts +1 -0
- package/Utils/CronTime.js +2 -1
- package/Utils/CronTime.mjs +1 -0
- package/Utils/DeveloperDocs/ResourceProfiles.js +27 -0
- package/Utils/DeveloperDocs/TerraformMonitorSteps.js +1 -0
- package/Utils/DeveloperDocs/TerraformSchema.js +1 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.mts +4 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +4 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.js +36 -1
- package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +1 -0
- package/Utils/LabelRuleImportExport.js +5 -0
- package/Utils/Metrics/MetricForecast.d.mts +69 -0
- package/Utils/Metrics/MetricForecast.d.ts +69 -0
- package/Utils/Metrics/MetricForecast.js +148 -0
- package/Utils/Metrics/MetricForecast.mjs +2 -0
- package/Utils/Metrics/MetricInsight.d.mts +46 -1
- package/Utils/Metrics/MetricInsight.d.ts +46 -1
- package/Utils/Metrics/MetricInsight.js +410 -17
- package/Utils/Metrics/MetricInsight.mjs +19 -0
- package/Utils/Metrics/MetricSeriesArrivalUtil.d.mts +20 -0
- package/Utils/Metrics/MetricSeriesArrivalUtil.d.ts +20 -0
- package/Utils/Metrics/MetricSeriesArrivalUtil.js +80 -0
- package/Utils/Metrics/MetricSeriesArrivalUtil.mjs +2 -0
- package/Utils/Metrics/SpanMetricsCollectorStep.d.mts +10 -0
- package/Utils/Metrics/SpanMetricsCollectorStep.d.ts +10 -0
- package/Utils/Metrics/SpanMetricsCollectorStep.js +87 -0
- package/Utils/Metrics/SpanMetricsCollectorStep.mjs +11 -0
- package/Utils/Monitor/MonitorDependencyRule.d.mts +7 -0
- package/Utils/Monitor/MonitorDependencyRule.d.ts +7 -0
- package/Utils/Monitor/MonitorDependencyRule.js +21 -0
- package/Utils/Monitor/MonitorOverviewFamily.js +1 -0
- package/Utils/Monitor/PlatformMetricUnitUtil.d.mts +1 -1
- package/Utils/Monitor/PlatformMetricUnitUtil.d.ts +1 -1
- package/Utils/Monitor/PlatformMetricUnitUtil.js +14 -9
- package/Utils/Monitor/PlatformResourceIdentity.d.mts +9 -1
- package/Utils/Monitor/PlatformResourceIdentity.d.ts +9 -1
- package/Utils/Monitor/PlatformResourceIdentity.js +58 -0
- package/Utils/Monitor/ResourceHeartbeat.d.mts +10 -0
- package/Utils/Monitor/ResourceHeartbeat.d.ts +10 -0
- package/Utils/Monitor/ResourceHeartbeat.js +80 -0
- package/Utils/Monitor/ResourceHeartbeat.mjs +2 -0
- package/Utils/Monitor/TelemetryMonitorWindow.js +8 -6
- package/Utils/OpenStack/OpenStackAuthUrl.d.mts +25 -0
- package/Utils/OpenStack/OpenStackAuthUrl.d.ts +25 -0
- package/Utils/OpenStack/OpenStackAuthUrl.js +193 -0
- package/Utils/OpenStack/OpenStackAuthUrl.mjs +3 -0
- package/Utils/OpenStack/OpenStackCheckFindings.d.mts +21 -0
- package/Utils/OpenStack/OpenStackCheckFindings.d.ts +21 -0
- package/Utils/OpenStack/OpenStackCheckFindings.js +199 -0
- package/Utils/OpenStack/OpenStackCheckFindings.mjs +4 -0
- package/Utils/OpenStack/OpenStackCheckMetrics.d.mts +46 -0
- package/Utils/OpenStack/OpenStackCheckMetrics.d.ts +46 -0
- package/Utils/OpenStack/OpenStackCheckMetrics.js +325 -0
- package/Utils/OpenStack/OpenStackCheckMetrics.mjs +11 -0
- package/Utils/OpenStack/OpenStackCheckName.d.mts +21 -0
- package/Utils/OpenStack/OpenStackCheckName.d.ts +21 -0
- package/Utils/OpenStack/OpenStackCheckName.js +163 -0
- package/Utils/OpenStack/OpenStackCheckName.mjs +8 -0
- package/Utils/OpenStack/OpenStackCheckSettings.d.mts +87 -0
- package/Utils/OpenStack/OpenStackCheckSettings.d.ts +87 -0
- package/Utils/OpenStack/OpenStackCheckSettings.js +556 -0
- package/Utils/OpenStack/OpenStackCheckSettings.mjs +8 -0
- package/Utils/OpenStack/OpenStackCollectionSettings.d.mts +83 -0
- package/Utils/OpenStack/OpenStackCollectionSettings.d.ts +83 -0
- package/Utils/OpenStack/OpenStackCollectionSettings.js +360 -0
- package/Utils/OpenStack/OpenStackCollectionSettings.mjs +13 -0
- package/Utils/OpenStack/OpenStackLogScrub.d.mts +6 -0
- package/Utils/OpenStack/OpenStackLogScrub.d.ts +6 -0
- package/Utils/OpenStack/OpenStackLogScrub.js +835 -0
- package/Utils/OpenStack/OpenStackLogScrub.mjs +5 -0
- package/Utils/OpenStack/OpenStackLogs.d.mts +75 -0
- package/Utils/OpenStack/OpenStackLogs.d.ts +75 -0
- package/Utils/OpenStack/OpenStackLogs.js +1108 -0
- package/Utils/OpenStack/OpenStackLogs.mjs +17 -0
- package/Utils/OpenStack/OpenStackNotifications.d.mts +74 -0
- package/Utils/OpenStack/OpenStackNotifications.d.ts +74 -0
- package/Utils/OpenStack/OpenStackNotifications.js +811 -0
- package/Utils/OpenStack/OpenStackNotifications.mjs +12 -0
- package/Utils/OpenStack/OpenStackPartLogFacts.d.mts +12 -0
- package/Utils/OpenStack/OpenStackPartLogFacts.d.ts +12 -0
- package/Utils/OpenStack/OpenStackPartLogFacts.js +126 -0
- package/Utils/OpenStack/OpenStackPartLogFacts.mjs +5 -0
- package/Utils/OpenStack/OpenStackProjectNoticeText.d.mts +23 -0
- package/Utils/OpenStack/OpenStackProjectNoticeText.d.ts +23 -0
- package/Utils/OpenStack/OpenStackProjectNoticeText.js +175 -0
- package/Utils/OpenStack/OpenStackProjectNoticeText.mjs +2 -0
- package/Utils/OpenStack/OpenStackRequestTrail.d.mts +38 -0
- package/Utils/OpenStack/OpenStackRequestTrail.d.ts +38 -0
- package/Utils/OpenStack/OpenStackRequestTrail.js +162 -0
- package/Utils/OpenStack/OpenStackRequestTrail.mjs +6 -0
- package/Utils/OpenStack/OpenStackTraceLogs.d.mts +31 -0
- package/Utils/OpenStack/OpenStackTraceLogs.d.ts +31 -0
- package/Utils/OpenStack/OpenStackTraceLogs.js +177 -0
- package/Utils/OpenStack/OpenStackTraceLogs.mjs +3 -0
- package/Utils/OpenStack/OpenStackTraces.d.mts +154 -0
- package/Utils/OpenStack/OpenStackTraces.d.ts +154 -0
- package/Utils/OpenStack/OpenStackTraces.js +1169 -0
- package/Utils/OpenStack/OpenStackTraces.mjs +52 -0
- package/Utils/Realtime.d.mts +1 -0
- package/Utils/Realtime.d.ts +1 -0
- package/Utils/Realtime.js +17 -0
- package/Utils/Schema/MonitorSchemas.js +5 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +5 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +5 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +11 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.mjs +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.js +1 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.mts +2 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.ts +2 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.js +22 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.mjs +2 -0
- package/Utils/SecurityEvent/LogParsers/CiscoAsaLogParser.d.mts +41 -0
- package/Utils/SecurityEvent/LogParsers/CiscoAsaLogParser.d.ts +41 -0
- package/Utils/SecurityEvent/LogParsers/CiscoAsaLogParser.js +535 -0
- package/Utils/SecurityEvent/LogParsers/CiscoAsaLogParser.mjs +11 -0
- package/Utils/SecurityEvent/LogParsers/FortiGateLogParser.d.mts +26 -0
- package/Utils/SecurityEvent/LogParsers/FortiGateLogParser.d.ts +26 -0
- package/Utils/SecurityEvent/LogParsers/FortiGateLogParser.js +378 -0
- package/Utils/SecurityEvent/LogParsers/FortiGateLogParser.mjs +10 -0
- package/Utils/SecurityEvent/LogParsers/OpenStackAuditLogParser.d.mts +62 -0
- package/Utils/SecurityEvent/LogParsers/OpenStackAuditLogParser.d.ts +62 -0
- package/Utils/SecurityEvent/LogParsers/OpenStackAuditLogParser.js +831 -0
- package/Utils/SecurityEvent/LogParsers/OpenStackAuditLogParser.mjs +15 -0
- package/Utils/SecurityEvent/LogParsers/PaloAltoLogParser.d.mts +38 -0
- package/Utils/SecurityEvent/LogParsers/PaloAltoLogParser.d.ts +38 -0
- package/Utils/SecurityEvent/LogParsers/PaloAltoLogParser.js +676 -0
- package/Utils/SecurityEvent/LogParsers/PaloAltoLogParser.mjs +12 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +33 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.js +5 -1
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.mts +6 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.ts +6 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.js +355 -5
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.mjs +2 -0
- package/Utils/SecurityEvent/SecurityEventSearch.d.mts +6 -3
- package/Utils/SecurityEvent/SecurityEventSearch.d.ts +6 -3
- package/Utils/SecurityEvent/SecurityEventSearch.js +39 -2
- package/Utils/SecurityEvent/SecurityEventSearch.mjs +1 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.d.mts +1 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.d.ts +1 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.js +17 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.mjs +1 -0
- package/Utils/Telemetry/ChangeEventFields.d.mts +16 -1
- package/Utils/Telemetry/ChangeEventFields.d.ts +16 -1
- package/Utils/Telemetry/ChangeEventFields.js +47 -1
- package/Utils/Telemetry/ChangeEventFields.mjs +1 -0
- package/Utils/Telemetry/CloudChangeTitle.d.mts +67 -0
- package/Utils/Telemetry/CloudChangeTitle.d.ts +67 -0
- package/Utils/Telemetry/CloudChangeTitle.js +460 -0
- package/Utils/Telemetry/CloudChangeTitle.mjs +21 -0
- package/Utils/Telemetry/EntityKey.d.mts +23 -0
- package/Utils/Telemetry/EntityKey.d.ts +23 -0
- package/Utils/Telemetry/EntityKey.js +46 -0
- package/Utils/Telemetry/EntityKey.mjs +3 -0
- package/Utils/Telemetry/EntityRelationship.js +10 -0
- package/Utils/Telemetry/SavedViewScope.d.mts +2 -0
- package/Utils/Telemetry/SavedViewScope.d.ts +2 -0
- package/Utils/Telemetry/SavedViewScope.js +4 -0
- package/Utils/ValueFormatter.d.mts +1 -0
- package/Utils/ValueFormatter.d.ts +1 -0
- package/Utils/ValueFormatter.js +11 -0
- package/Utils/Workspace/WorkspaceChannelName.d.mts +4 -0
- package/Utils/Workspace/WorkspaceChannelName.d.ts +4 -0
- package/Utils/Workspace/WorkspaceChannelName.js +69 -9
- package/package.json +1 -1
|
@@ -0,0 +1,1108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MAX_OPENSTACK_LOG_BODY_LENGTH = exports.OPENSTACK_LOG_NOISE_HEALTH_CHECK = exports.OpenStackLogSignal = exports.OpenStackLogFormat = exports.OPENSTACK_REGION_LOG_ATTRIBUTE = exports.OPENSTACK_CLOUD_LOG_ATTRIBUTE = exports.OpenStackLogAttribute = void 0;
|
|
4
|
+
exports.isOpenStackUuid = isOpenStackUuid;
|
|
5
|
+
exports.isOpenStackKeystoneId = isOpenStackKeystoneId;
|
|
6
|
+
exports.readOpenStackLogLine = readOpenStackLogLine;
|
|
7
|
+
exports.getOpenStackServiceOfUnit = getOpenStackServiceOfUnit;
|
|
8
|
+
exports.getOpenStackServiceOfFile = getOpenStackServiceOfFile;
|
|
9
|
+
exports.readOpenStackLogSignal = readOpenStackLogSignal;
|
|
10
|
+
exports.isOpenStackLogRecord = isOpenStackLogRecord;
|
|
11
|
+
exports.findJsonObjectEnd = findJsonObjectEnd;
|
|
12
|
+
exports.stampOpenStackLogRecord = stampOpenStackLogRecord;
|
|
13
|
+
const OpenStackHealthRules_1 = require("../../Types/OpenStack/OpenStackHealthRules");
|
|
14
|
+
const OpenStackNotifications_1 = require("./OpenStackNotifications");
|
|
15
|
+
const OpenStackLogScrub_1 = require("./OpenStackLogScrub");
|
|
16
|
+
/*
|
|
17
|
+
* AN OPENSTACK SERVICE'S LOG LINE, READ AS IT ARRIVES.
|
|
18
|
+
*
|
|
19
|
+
* "Why did this instance fail to build?" lives in logs across nova-api, nova-conductor,
|
|
20
|
+
* nova-scheduler, nova-compute, Neutron and Cinder, on several hosts. OpenStack's services
|
|
21
|
+
* all log through oslo.log, so a line can say which service wrote it, for which request,
|
|
22
|
+
* for whom, about which instance, whichever deployment tool put it where. The ingest reads
|
|
23
|
+
* every record of a cloud through stampOpenStackLogRecord, before its drop filters and
|
|
24
|
+
* pipelines, so they and the pages see it as it is read here.
|
|
25
|
+
*
|
|
26
|
+
* What a line looks like depends on who configured it, and none of it is what the
|
|
27
|
+
* documentation's one format string says:
|
|
28
|
+
*
|
|
29
|
+
* oslo.log's default, as Kolla-Ansible's and OpenStack-Helm's services write it:
|
|
30
|
+
* 2026-10-30 10:00:00.123 1234 ERROR nova.compute.manager [req-g req-r 1a2b 3c4d - - default default] [instance: <uuid>] Failed
|
|
31
|
+
* DevStack, in the journal: no time and no process, in colour, with names and not ids:
|
|
32
|
+
* ERROR nova.compute.manager [None req-r demo admin] [instance: <uuid>] Failed
|
|
33
|
+
* One line per line of a traceback, each with its own prefix and no [context]:
|
|
34
|
+
* 2026-10-30 10:00:00.123 1234 ERROR nova.compute.manager [instance: <uuid>] Traceback (most recent call last):
|
|
35
|
+
* oslo.log's JSON formatter, with use_json on.
|
|
36
|
+
* oslo.log's own journal handler, with use_journal on, as OpenStack-Ansible sets it,
|
|
37
|
+
* whose fields the agent hands over beside the line (journald.*).
|
|
38
|
+
*
|
|
39
|
+
* Logs are text anyone can write into. Nothing here runs a regular expression with a
|
|
40
|
+
* quantifier: lines are read with indexOf and loops, so the time this takes is in line
|
|
41
|
+
* with the record however long it is and whatever it holds (AGENTS.md, and the hostile
|
|
42
|
+
* shapes in OpenStackLogs.test.ts). The most this reads of one record is
|
|
43
|
+
* MAX_OPENSTACK_LOG_BODY_LENGTH, and what is past it is not stored: an unread stretch
|
|
44
|
+
* could hold what the scrub is there to take out.
|
|
45
|
+
*
|
|
46
|
+
* These attribute keys are stored in customers' logs and monitors: never rename one.
|
|
47
|
+
*/
|
|
48
|
+
var OpenStackLogAttribute;
|
|
49
|
+
(function (OpenStackLogAttribute) {
|
|
50
|
+
OpenStackLogAttribute["Service"] = "openstack.service";
|
|
51
|
+
OpenStackLogAttribute["Component"] = "openstack.component";
|
|
52
|
+
OpenStackLogAttribute["Logger"] = "openstack.logger";
|
|
53
|
+
OpenStackLogAttribute["Host"] = "openstack.host";
|
|
54
|
+
OpenStackLogAttribute["RequestId"] = "openstack.request_id";
|
|
55
|
+
OpenStackLogAttribute["GlobalRequestId"] = "openstack.global_request_id";
|
|
56
|
+
/*
|
|
57
|
+
* What a request's lines have in common across services: its global ID where it has
|
|
58
|
+
* one, else its own. Nova hands its own request ID to Neutron and Cinder as their global
|
|
59
|
+
* ID, so every line of one build holds the same value here.
|
|
60
|
+
*/
|
|
61
|
+
OpenStackLogAttribute["RequestRootId"] = "openstack.request_root_id";
|
|
62
|
+
OpenStackLogAttribute["UserId"] = "openstack.user_id";
|
|
63
|
+
OpenStackLogAttribute["UserName"] = "openstack.user_name";
|
|
64
|
+
OpenStackLogAttribute["ProjectId"] = "openstack.project_id";
|
|
65
|
+
OpenStackLogAttribute["ProjectName"] = "openstack.project_name";
|
|
66
|
+
OpenStackLogAttribute["InstanceId"] = "openstack.instance_id";
|
|
67
|
+
// oslo.log's own word: DEBUG, INFO, WARNING, ERROR, CRITICAL.
|
|
68
|
+
OpenStackLogAttribute["Level"] = "openstack.log.level";
|
|
69
|
+
OpenStackLogAttribute["Format"] = "openstack.log.format";
|
|
70
|
+
// A failure every operator knows by its words: see OpenStackLogAlertTemplates.
|
|
71
|
+
OpenStackLogAttribute["Signal"] = "openstack.log.signal";
|
|
72
|
+
// A load balancer's check of a service, which is most of a quiet API's log.
|
|
73
|
+
OpenStackLogAttribute["Noise"] = "openstack.log.noise";
|
|
74
|
+
})(OpenStackLogAttribute || (exports.OpenStackLogAttribute = OpenStackLogAttribute = {}));
|
|
75
|
+
// The resource attribute the agent stamps on every record of a cloud, as logs store it.
|
|
76
|
+
exports.OPENSTACK_CLOUD_LOG_ATTRIBUTE = "resource.openstack.cloud.name";
|
|
77
|
+
exports.OPENSTACK_REGION_LOG_ATTRIBUTE = "resource.openstack.region.name";
|
|
78
|
+
var OpenStackLogFormat;
|
|
79
|
+
(function (OpenStackLogFormat) {
|
|
80
|
+
OpenStackLogFormat["Oslo"] = "oslo";
|
|
81
|
+
OpenStackLogFormat["OsloJson"] = "oslo-json";
|
|
82
|
+
// A notification or an instance action sent to OneUptime as JSON on its own.
|
|
83
|
+
OpenStackLogFormat["Notification"] = "notification";
|
|
84
|
+
// Anything else a service's unit wrote: uWSGI's own lines, say.
|
|
85
|
+
OpenStackLogFormat["Other"] = "other";
|
|
86
|
+
})(OpenStackLogFormat || (exports.OpenStackLogFormat = OpenStackLogFormat = {}));
|
|
87
|
+
var OpenStackLogSignal;
|
|
88
|
+
(function (OpenStackLogSignal) {
|
|
89
|
+
OpenStackLogSignal["NoValidHost"] = "no-valid-host";
|
|
90
|
+
OpenStackLogSignal["RabbitMqConnectionLost"] = "rabbitmq-connection-lost";
|
|
91
|
+
OpenStackLogSignal["DatabaseConnectionLost"] = "database-connection-lost";
|
|
92
|
+
OpenStackLogSignal["TokenValidationFailing"] = "token-validation-failing";
|
|
93
|
+
})(OpenStackLogSignal || (exports.OpenStackLogSignal = OpenStackLogSignal = {}));
|
|
94
|
+
exports.OPENSTACK_LOG_NOISE_HEALTH_CHECK = "health-check";
|
|
95
|
+
/*
|
|
96
|
+
* The most of one record that is read and stored. A real one is far shorter: the agent
|
|
97
|
+
* joins a traceback up to 256 KiB, and a notification is a few KiB.
|
|
98
|
+
*/
|
|
99
|
+
exports.MAX_OPENSTACK_LOG_BODY_LENGTH = 1024 * 1024;
|
|
100
|
+
const TRUNCATED_NOTE = "… (truncated by OneUptime)";
|
|
101
|
+
// What Python starts a stack trace with.
|
|
102
|
+
const TRACEBACK_START = "Traceback (most recent call last)";
|
|
103
|
+
// The first line is all that is read for a line's fields.
|
|
104
|
+
const MAX_HEADER_LENGTH = 16 * 1024;
|
|
105
|
+
const MAX_LOGGER_LENGTH = 200;
|
|
106
|
+
const MAX_CONTEXT_LENGTH = 1024;
|
|
107
|
+
const MAX_ATTRIBUTE_LENGTH = 255;
|
|
108
|
+
// How far into a record its failure's words are looked for.
|
|
109
|
+
const MAX_SIGNAL_SCAN_LENGTH = 64 * 1024;
|
|
110
|
+
const MAX_INSTANCE_MENTION_SCAN_LENGTH = 4 * 1024;
|
|
111
|
+
const UUID_LENGTH = 36;
|
|
112
|
+
function isDigit(code) {
|
|
113
|
+
return code >= 48 && code <= 57;
|
|
114
|
+
}
|
|
115
|
+
function isUpperCaseLetter(code) {
|
|
116
|
+
return code >= 65 && code <= 90;
|
|
117
|
+
}
|
|
118
|
+
function cut(value, limit = MAX_ATTRIBUTE_LENGTH) {
|
|
119
|
+
return value.length <= limit ? value : value.slice(0, limit);
|
|
120
|
+
}
|
|
121
|
+
// Never half of a character that takes two: storage refuses what is left of one.
|
|
122
|
+
function cutWhole(value, limit) {
|
|
123
|
+
const lastKept = value.charCodeAt(limit - 1);
|
|
124
|
+
return value.slice(0, lastKept >= 0xd800 && lastKept <= 0xdbff ? limit - 1 : limit);
|
|
125
|
+
}
|
|
126
|
+
function readDigits(text, from, count) {
|
|
127
|
+
if (from + count > text.length) {
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
let value = 0;
|
|
131
|
+
for (let index = from; index < from + count; index++) {
|
|
132
|
+
const code = text.charCodeAt(index);
|
|
133
|
+
if (!isDigit(code)) {
|
|
134
|
+
return null;
|
|
135
|
+
}
|
|
136
|
+
value = value * 10 + (code - 48);
|
|
137
|
+
}
|
|
138
|
+
return value;
|
|
139
|
+
}
|
|
140
|
+
/*
|
|
141
|
+
* oslo.log's asctime and msecs, at the start of a line: 2026-10-30 10:00:00.123, in the
|
|
142
|
+
* machine's zone with none written. Read as UTC: the agent reads it first, in the zone it
|
|
143
|
+
* is told, so this only says when for a record with no time of its own.
|
|
144
|
+
*/
|
|
145
|
+
function readLineTime(text, from) {
|
|
146
|
+
const year = readDigits(text, from, 4);
|
|
147
|
+
const month = readDigits(text, from + 5, 2);
|
|
148
|
+
const day = readDigits(text, from + 8, 2);
|
|
149
|
+
const hour = readDigits(text, from + 11, 2);
|
|
150
|
+
const minute = readDigits(text, from + 14, 2);
|
|
151
|
+
const second = readDigits(text, from + 17, 2);
|
|
152
|
+
const milliseconds = readDigits(text, from + 20, 3);
|
|
153
|
+
if (year === null ||
|
|
154
|
+
month === null ||
|
|
155
|
+
day === null ||
|
|
156
|
+
hour === null ||
|
|
157
|
+
minute === null ||
|
|
158
|
+
second === null ||
|
|
159
|
+
milliseconds === null ||
|
|
160
|
+
text.charAt(from + 4) !== "-" ||
|
|
161
|
+
text.charAt(from + 7) !== "-" ||
|
|
162
|
+
(text.charAt(from + 10) !== " " && text.charAt(from + 10) !== "T") ||
|
|
163
|
+
text.charAt(from + 13) !== ":" ||
|
|
164
|
+
text.charAt(from + 16) !== ":" ||
|
|
165
|
+
(text.charAt(from + 19) !== "." && text.charAt(from + 19) !== ",")) {
|
|
166
|
+
return null;
|
|
167
|
+
}
|
|
168
|
+
const time = new Date(Date.UTC(year, month - 1, day, hour, minute, second, milliseconds));
|
|
169
|
+
return Number.isNaN(time.getTime()) ? null : { time, length: 23 };
|
|
170
|
+
}
|
|
171
|
+
const LEVELS = new Set([
|
|
172
|
+
"TRACE",
|
|
173
|
+
"DEBUG",
|
|
174
|
+
"INFO",
|
|
175
|
+
"AUDIT",
|
|
176
|
+
"WARNING",
|
|
177
|
+
"WARN",
|
|
178
|
+
"ERROR",
|
|
179
|
+
"CRITICAL",
|
|
180
|
+
"FATAL",
|
|
181
|
+
]);
|
|
182
|
+
/*
|
|
183
|
+
* A colon as well: oslo.messaging names a logger after what it notifies of, and Keystone's
|
|
184
|
+
* extensions name their records OS-TRUST:trust and OS-OAUTH1:consumer.
|
|
185
|
+
*/
|
|
186
|
+
function isLoggerCharacter(code) {
|
|
187
|
+
return (isDigit(code) ||
|
|
188
|
+
isUpperCaseLetter(code) ||
|
|
189
|
+
(code >= 97 && code <= 122) ||
|
|
190
|
+
code === 95 ||
|
|
191
|
+
code === 46 ||
|
|
192
|
+
code === 45 ||
|
|
193
|
+
code === 58);
|
|
194
|
+
}
|
|
195
|
+
function isHexDigit(code) {
|
|
196
|
+
return (isDigit(code) || (code >= 97 && code <= 102) || (code >= 65 && code <= 70));
|
|
197
|
+
}
|
|
198
|
+
function isOpenStackUuid(value) {
|
|
199
|
+
if (value.length !== UUID_LENGTH) {
|
|
200
|
+
return false;
|
|
201
|
+
}
|
|
202
|
+
for (let index = 0; index < UUID_LENGTH; index++) {
|
|
203
|
+
const code = value.charCodeAt(index);
|
|
204
|
+
if (index === 8 || index === 13 || index === 18 || index === 23) {
|
|
205
|
+
if (code !== 45) {
|
|
206
|
+
return false;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
else if (!isHexDigit(code)) {
|
|
210
|
+
return false;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return true;
|
|
214
|
+
}
|
|
215
|
+
// A Keystone id: 32 hex digits, with or without a UUID's dashes.
|
|
216
|
+
function isOpenStackKeystoneId(value) {
|
|
217
|
+
if (isOpenStackUuid(value)) {
|
|
218
|
+
return true;
|
|
219
|
+
}
|
|
220
|
+
if (value.length !== 32) {
|
|
221
|
+
return false;
|
|
222
|
+
}
|
|
223
|
+
for (let index = 0; index < value.length; index++) {
|
|
224
|
+
if (!isHexDigit(value.charCodeAt(index))) {
|
|
225
|
+
return false;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
return true;
|
|
229
|
+
}
|
|
230
|
+
function isAbsent(value) {
|
|
231
|
+
return !value || value === "-" || value === "None" || value === "none";
|
|
232
|
+
}
|
|
233
|
+
/*
|
|
234
|
+
* What is inside the [brackets] after the logger:
|
|
235
|
+
*
|
|
236
|
+
* - no request: a periodic task, a thread
|
|
237
|
+
* req-g req-r user project - - default default oslo.log's, with a global ID
|
|
238
|
+
* None req-r user project - - default default the same, with none
|
|
239
|
+
* req-r user project - - - before global IDs, and OpenStack-Helm's
|
|
240
|
+
* None req-r project-name user-name DevStack's own identity format
|
|
241
|
+
*/
|
|
242
|
+
function readContext(context, line) {
|
|
243
|
+
const words = context.trim().split(" ");
|
|
244
|
+
const first = words[0];
|
|
245
|
+
const second = words[1];
|
|
246
|
+
if (!first || first === "-") {
|
|
247
|
+
return;
|
|
248
|
+
}
|
|
249
|
+
let identity = [];
|
|
250
|
+
if (second && second.startsWith("req-")) {
|
|
251
|
+
if (!isAbsent(first) && first.startsWith("req-")) {
|
|
252
|
+
line.globalRequestId = first;
|
|
253
|
+
}
|
|
254
|
+
line.requestId = second;
|
|
255
|
+
identity = words.slice(2);
|
|
256
|
+
}
|
|
257
|
+
else if (first.startsWith("req-")) {
|
|
258
|
+
line.requestId = first;
|
|
259
|
+
identity = words.slice(1);
|
|
260
|
+
}
|
|
261
|
+
else {
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
/*
|
|
265
|
+
* Two words is DevStack's "%(project_name)s %(user_name)s". Any other number is oslo.log's
|
|
266
|
+
* default, which starts with the user and then the project.
|
|
267
|
+
*/
|
|
268
|
+
const isProjectFirst = identity.length === 2;
|
|
269
|
+
const user = isProjectFirst ? identity[1] : identity[0];
|
|
270
|
+
const project = isProjectFirst
|
|
271
|
+
? identity[0]
|
|
272
|
+
: identity[1];
|
|
273
|
+
if (!isAbsent(user)) {
|
|
274
|
+
if (isOpenStackKeystoneId(user)) {
|
|
275
|
+
line.userId = cut(user);
|
|
276
|
+
}
|
|
277
|
+
else {
|
|
278
|
+
line.userName = cut(user);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
if (!isAbsent(project)) {
|
|
282
|
+
if (isOpenStackKeystoneId(project)) {
|
|
283
|
+
line.projectId = cut(project);
|
|
284
|
+
}
|
|
285
|
+
else {
|
|
286
|
+
line.projectName = cut(project);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
function emptyLine(format) {
|
|
291
|
+
return {
|
|
292
|
+
format,
|
|
293
|
+
time: null,
|
|
294
|
+
processId: "",
|
|
295
|
+
level: "",
|
|
296
|
+
logger: "",
|
|
297
|
+
requestId: "",
|
|
298
|
+
globalRequestId: "",
|
|
299
|
+
userId: "",
|
|
300
|
+
userName: "",
|
|
301
|
+
projectId: "",
|
|
302
|
+
projectName: "",
|
|
303
|
+
instanceId: "",
|
|
304
|
+
hostname: "",
|
|
305
|
+
message: "",
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
/*
|
|
309
|
+
* The fields of a line of text, from its first line. Null when it is not oslo.log's, which
|
|
310
|
+
* every other line a unit writes is not, uWSGI's own for one.
|
|
311
|
+
*/
|
|
312
|
+
function readOpenStackLogLine(text) {
|
|
313
|
+
const lineEnd = text.indexOf("\n");
|
|
314
|
+
const header = lineEnd === -1
|
|
315
|
+
? text.slice(0, MAX_HEADER_LENGTH)
|
|
316
|
+
: text.slice(0, Math.min(lineEnd, MAX_HEADER_LENGTH));
|
|
317
|
+
const line = emptyLine(OpenStackLogFormat.Oslo);
|
|
318
|
+
let position = 0;
|
|
319
|
+
const time = readLineTime(header, 0);
|
|
320
|
+
if (time) {
|
|
321
|
+
line.time = time.time;
|
|
322
|
+
position = time.length;
|
|
323
|
+
if (header.charCodeAt(position) !== 32) {
|
|
324
|
+
return null;
|
|
325
|
+
}
|
|
326
|
+
position++;
|
|
327
|
+
const processStart = position;
|
|
328
|
+
while (position < header.length && isDigit(header.charCodeAt(position))) {
|
|
329
|
+
position++;
|
|
330
|
+
}
|
|
331
|
+
if (position > processStart && header.charCodeAt(position) === 32) {
|
|
332
|
+
line.processId = header.slice(processStart, position);
|
|
333
|
+
position++;
|
|
334
|
+
}
|
|
335
|
+
else {
|
|
336
|
+
return null;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
const levelStart = position;
|
|
340
|
+
while (position < header.length &&
|
|
341
|
+
position - levelStart <= 8 &&
|
|
342
|
+
isUpperCaseLetter(header.charCodeAt(position))) {
|
|
343
|
+
position++;
|
|
344
|
+
}
|
|
345
|
+
const level = header.slice(levelStart, position);
|
|
346
|
+
if (!LEVELS.has(level) || header.charCodeAt(position) !== 32) {
|
|
347
|
+
return null;
|
|
348
|
+
}
|
|
349
|
+
line.level = level === "WARN" ? "WARNING" : level;
|
|
350
|
+
position++;
|
|
351
|
+
const loggerStart = position;
|
|
352
|
+
/*
|
|
353
|
+
* A colon only inside a name: Keystone's extensions log their notifications under
|
|
354
|
+
* oslo.messaging.notification.identity.OS-TRUST:trust.created, and "ERROR something: went
|
|
355
|
+
* wrong" has no logger at all.
|
|
356
|
+
*/
|
|
357
|
+
while (position < header.length &&
|
|
358
|
+
position - loggerStart <= MAX_LOGGER_LENGTH &&
|
|
359
|
+
(isLoggerCharacter(header.charCodeAt(position)) ||
|
|
360
|
+
(header.charCodeAt(position) === 58 &&
|
|
361
|
+
isLoggerCharacter(header.charCodeAt(position + 1))))) {
|
|
362
|
+
position++;
|
|
363
|
+
}
|
|
364
|
+
// "ERROR something: went wrong" is a sentence, which no logger's name ends like.
|
|
365
|
+
if (position === loggerStart ||
|
|
366
|
+
position - loggerStart > MAX_LOGGER_LENGTH ||
|
|
367
|
+
header.charCodeAt(position - 1) === 58) {
|
|
368
|
+
return null;
|
|
369
|
+
}
|
|
370
|
+
line.logger = header.slice(loggerStart, position);
|
|
371
|
+
// A level and a logger alone say little: the rest of the line says it is really oslo.log's.
|
|
372
|
+
const atContext = header.charAt(position + 1) === "[";
|
|
373
|
+
if (header.charCodeAt(position) === 32) {
|
|
374
|
+
position++;
|
|
375
|
+
}
|
|
376
|
+
else if (position < header.length) {
|
|
377
|
+
return null;
|
|
378
|
+
}
|
|
379
|
+
if (atContext) {
|
|
380
|
+
const close = header.indexOf("]", position);
|
|
381
|
+
const content = close === -1 || close - position > MAX_CONTEXT_LENGTH
|
|
382
|
+
? ""
|
|
383
|
+
: header.slice(position + 1, close);
|
|
384
|
+
if (content && !content.startsWith("instance:")) {
|
|
385
|
+
readContext(content, line);
|
|
386
|
+
position = close + 1;
|
|
387
|
+
if (header.charCodeAt(position) === 32) {
|
|
388
|
+
position++;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
const instancePrefix = "[instance: ";
|
|
393
|
+
if (header.startsWith(instancePrefix, position)) {
|
|
394
|
+
const close = header.indexOf("]", position);
|
|
395
|
+
if (close !== -1) {
|
|
396
|
+
const id = header.slice(position + instancePrefix.length, close);
|
|
397
|
+
if (isOpenStackUuid(id)) {
|
|
398
|
+
line.instanceId = id;
|
|
399
|
+
position = close + 1;
|
|
400
|
+
if (header.charCodeAt(position) === 32) {
|
|
401
|
+
position++;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
line.message = text.slice(position);
|
|
407
|
+
return line;
|
|
408
|
+
}
|
|
409
|
+
function readString(source, ...keys) {
|
|
410
|
+
if (!source) {
|
|
411
|
+
return "";
|
|
412
|
+
}
|
|
413
|
+
for (const key of keys) {
|
|
414
|
+
const value = source[key];
|
|
415
|
+
if (typeof value === "string" && value.trim()) {
|
|
416
|
+
return value.trim();
|
|
417
|
+
}
|
|
418
|
+
if (typeof value === "number" && Number.isFinite(value)) {
|
|
419
|
+
return String(value);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
return "";
|
|
423
|
+
}
|
|
424
|
+
function asRecord(value) {
|
|
425
|
+
return value && typeof value === "object" && !Array.isArray(value)
|
|
426
|
+
? value
|
|
427
|
+
: null;
|
|
428
|
+
}
|
|
429
|
+
function readJson(text) {
|
|
430
|
+
try {
|
|
431
|
+
return asRecord(JSON.parse(text));
|
|
432
|
+
}
|
|
433
|
+
catch (_a) {
|
|
434
|
+
return null;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
/*
|
|
438
|
+
* oslo.log's JSON formatter: `message` is the line, `levelname` and `name` its level and
|
|
439
|
+
* logger, `context` the request, `error_summary` the exception a line in text ends with, and
|
|
440
|
+
* `traceback` a list of lines. `msg` and `args` are not read and do not stay: `args` is the
|
|
441
|
+
* values a service was logging, secrets included. The message comes back as it was written,
|
|
442
|
+
* for a notification to be read from, and the body with its secrets gone.
|
|
443
|
+
*/
|
|
444
|
+
function readOsloJson(parsed) {
|
|
445
|
+
if (typeof parsed["levelname"] !== "string" ||
|
|
446
|
+
typeof parsed["name"] !== "string" ||
|
|
447
|
+
typeof parsed["message"] !== "string") {
|
|
448
|
+
return null;
|
|
449
|
+
}
|
|
450
|
+
const line = emptyLine(OpenStackLogFormat.OsloJson);
|
|
451
|
+
const context = asRecord(parsed["context"]);
|
|
452
|
+
const extra = asRecord(parsed["extra"]);
|
|
453
|
+
const instance = asRecord(extra ? extra["instance"] : undefined);
|
|
454
|
+
const summary = readString(parsed, "error_summary");
|
|
455
|
+
const rawMessage = parsed["message"];
|
|
456
|
+
line.level = cut(parsed["levelname"], 16);
|
|
457
|
+
line.logger = cut(parsed["name"], MAX_LOGGER_LENGTH);
|
|
458
|
+
line.message = (0, OpenStackLogScrub_1.scrubOpenStackSecrets)(summary ? `${rawMessage}: ${summary}` : rawMessage);
|
|
459
|
+
line.processId = readString(parsed, "process");
|
|
460
|
+
line.hostname = cut(readString(parsed, "hostname"));
|
|
461
|
+
line.requestId = cut(readString(context, "request_id"));
|
|
462
|
+
line.globalRequestId = cut(readString(context, "global_request_id"));
|
|
463
|
+
line.userId = cut(readString(context, "user", "user_id"));
|
|
464
|
+
line.userName = cut(readString(context, "user_name"));
|
|
465
|
+
line.projectId = cut(readString(context, "project", "project_id", "tenant"));
|
|
466
|
+
line.projectName = cut(readString(context, "project_name"));
|
|
467
|
+
const instanceId = readString(instance, "uuid") ||
|
|
468
|
+
readString(extra, "instance_uuid") ||
|
|
469
|
+
readString(context, "instance_uuid", "resource_uuid");
|
|
470
|
+
if (isOpenStackUuid(instanceId)) {
|
|
471
|
+
line.instanceId = instanceId;
|
|
472
|
+
}
|
|
473
|
+
const created = parsed["created"];
|
|
474
|
+
if (typeof created === "number" && Number.isFinite(created)) {
|
|
475
|
+
const time = new Date(created * 1000);
|
|
476
|
+
line.time = Number.isNaN(time.getTime()) ? null : time;
|
|
477
|
+
}
|
|
478
|
+
const traceback = parsed["traceback"];
|
|
479
|
+
const body = Array.isArray(traceback)
|
|
480
|
+
? (0, OpenStackLogScrub_1.scrubOpenStackSecrets)([
|
|
481
|
+
line.message,
|
|
482
|
+
...traceback.filter((item) => {
|
|
483
|
+
return typeof item === "string";
|
|
484
|
+
}),
|
|
485
|
+
].join("\n"))
|
|
486
|
+
: line.message;
|
|
487
|
+
return { line, body, rawMessage };
|
|
488
|
+
}
|
|
489
|
+
function readRecordString(attributes, ...keys) {
|
|
490
|
+
for (const key of keys) {
|
|
491
|
+
const value = attributes[key];
|
|
492
|
+
if (typeof value === "string" && value.trim()) {
|
|
493
|
+
return value.trim();
|
|
494
|
+
}
|
|
495
|
+
if (typeof value === "number" && Number.isFinite(value)) {
|
|
496
|
+
return String(value);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
return "";
|
|
500
|
+
}
|
|
501
|
+
/*
|
|
502
|
+
* DevStack's units, by the short name it gives each service, as the binary every other
|
|
503
|
+
* deployment names it by. The operator's word, and what the cloud's own service list says.
|
|
504
|
+
*/
|
|
505
|
+
const DEVSTACK_UNIT_SERVICES = new Map([
|
|
506
|
+
["n-api", "nova-api"],
|
|
507
|
+
["n-api-meta", "nova-api-metadata"],
|
|
508
|
+
["n-cond-cell1", "nova-conductor"],
|
|
509
|
+
["n-super-cond", "nova-conductor"],
|
|
510
|
+
["n-sch", "nova-scheduler"],
|
|
511
|
+
["n-cpu", "nova-compute"],
|
|
512
|
+
["n-novnc-cell1", "nova-novncproxy"],
|
|
513
|
+
["n-spice-cell1", "nova-spicehtml5proxy"],
|
|
514
|
+
["n-sproxy-cell1", "nova-serialproxy"],
|
|
515
|
+
["c-api", "cinder-api"],
|
|
516
|
+
["c-sch", "cinder-scheduler"],
|
|
517
|
+
["c-vol", "cinder-volume"],
|
|
518
|
+
["c-bak", "cinder-backup"],
|
|
519
|
+
["g-api", "glance-api"],
|
|
520
|
+
["q-svc", "neutron-server"],
|
|
521
|
+
["neutron-api", "neutron-server"],
|
|
522
|
+
["q-agt", "neutron-openvswitch-agent"],
|
|
523
|
+
["q-dhcp", "neutron-dhcp-agent"],
|
|
524
|
+
["q-l3", "neutron-l3-agent"],
|
|
525
|
+
["q-meta", "neutron-metadata-agent"],
|
|
526
|
+
["q-ovn-metadata-agent", "neutron-ovn-metadata-agent"],
|
|
527
|
+
["q-ovn-agent", "neutron-ovn-agent"],
|
|
528
|
+
["ceilometer-acompute", "ceilometer-polling"],
|
|
529
|
+
["keystone", "keystone"],
|
|
530
|
+
["placement-api", "placement-api"],
|
|
531
|
+
]);
|
|
532
|
+
/*
|
|
533
|
+
* The words a unit, file or container is named with beside the service's own, which only
|
|
534
|
+
* say how it runs.
|
|
535
|
+
*/
|
|
536
|
+
const SERVICE_NAME_ENDINGS = [
|
|
537
|
+
"-os-compute",
|
|
538
|
+
"-wsgi-public",
|
|
539
|
+
"-wsgi-admin",
|
|
540
|
+
"-wsgi",
|
|
541
|
+
];
|
|
542
|
+
function withoutEnding(name) {
|
|
543
|
+
for (const ending of SERVICE_NAME_ENDINGS) {
|
|
544
|
+
if (name.endsWith(ending)) {
|
|
545
|
+
return name.slice(0, name.length - ending.length);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
return name;
|
|
549
|
+
}
|
|
550
|
+
// A systemd unit as a service: devstack@n-cpu.service is nova-compute.
|
|
551
|
+
function getOpenStackServiceOfUnit(unit) {
|
|
552
|
+
let name = unit.trim();
|
|
553
|
+
if (name.endsWith(".service")) {
|
|
554
|
+
name = name.slice(0, name.length - ".service".length);
|
|
555
|
+
}
|
|
556
|
+
const at = name.indexOf("@");
|
|
557
|
+
if (at !== -1) {
|
|
558
|
+
name = name.slice(at + 1);
|
|
559
|
+
}
|
|
560
|
+
return DEVSTACK_UNIT_SERVICES.get(name) || withoutEnding(name);
|
|
561
|
+
}
|
|
562
|
+
/*
|
|
563
|
+
* A log file as a service: /var/log/kolla/nova/nova-compute.log is nova-compute. oslo.log names
|
|
564
|
+
* a file after the program that runs it, and with log_dir and no log_file a service under uWSGI
|
|
565
|
+
* has no program of its own: "<frozen importlib._bootstrap>.log". Its folder says whose it is.
|
|
566
|
+
*/
|
|
567
|
+
function getOpenStackServiceOfFile(path) {
|
|
568
|
+
const slash = path.lastIndexOf("/");
|
|
569
|
+
let name = slash === -1 ? path : path.slice(slash + 1);
|
|
570
|
+
if (name.endsWith(".log")) {
|
|
571
|
+
name = name.slice(0, name.length - ".log".length);
|
|
572
|
+
}
|
|
573
|
+
if (name.indexOf(" ") !== -1 || name.charAt(0) === "<") {
|
|
574
|
+
const folderSlash = slash > 0 ? path.lastIndexOf("/", slash - 1) : -1;
|
|
575
|
+
return slash > 0 ? path.slice(folderSlash + 1, slash) : "";
|
|
576
|
+
}
|
|
577
|
+
return withoutEnding(name);
|
|
578
|
+
}
|
|
579
|
+
// The project a service belongs to: nova for nova-compute, nova for nova.compute.manager.
|
|
580
|
+
function getComponent(serviceOrLogger) {
|
|
581
|
+
let end = 0;
|
|
582
|
+
while (end < serviceOrLogger.length) {
|
|
583
|
+
const code = serviceOrLogger.charCodeAt(end);
|
|
584
|
+
if (code === 45 || code === 46 || code === 95) {
|
|
585
|
+
break;
|
|
586
|
+
}
|
|
587
|
+
end++;
|
|
588
|
+
}
|
|
589
|
+
return serviceOrLogger.slice(0, end);
|
|
590
|
+
}
|
|
591
|
+
// The words of each failure, in the spellings the services use for it.
|
|
592
|
+
const SIGNAL_PHRASES = [
|
|
593
|
+
{
|
|
594
|
+
signal: OpenStackLogSignal.NoValidHost,
|
|
595
|
+
phrases: ["No valid host was found", "NoValidHost"],
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
signal: OpenStackLogSignal.RabbitMqConnectionLost,
|
|
599
|
+
phrases: [
|
|
600
|
+
"MessagingTimeout",
|
|
601
|
+
"Timed out waiting for a reply to message ID",
|
|
602
|
+
"Unable to connect to AMQP server",
|
|
603
|
+
],
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
signal: OpenStackLogSignal.DatabaseConnectionLost,
|
|
607
|
+
phrases: [
|
|
608
|
+
"DBConnectionError",
|
|
609
|
+
"Lost connection to MySQL server",
|
|
610
|
+
"Can't connect to MySQL server",
|
|
611
|
+
"MySQL server has gone away",
|
|
612
|
+
"Lost connection to server during query",
|
|
613
|
+
"could not connect to server",
|
|
614
|
+
"SQL connection failed",
|
|
615
|
+
],
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
signal: OpenStackLogSignal.TokenValidationFailing,
|
|
619
|
+
phrases: [
|
|
620
|
+
"not a recognized Fernet token",
|
|
621
|
+
// keystonemiddleware, in the service that was handed the token. What a real cloud logs.
|
|
622
|
+
"Authorization failed for token",
|
|
623
|
+
"Failed to validate token",
|
|
624
|
+
"Token validation failure",
|
|
625
|
+
"Unable to validate token",
|
|
626
|
+
"Could not validate the token",
|
|
627
|
+
],
|
|
628
|
+
},
|
|
629
|
+
];
|
|
630
|
+
/*
|
|
631
|
+
* Which failure a record says happened, if any. Only at WARNING or worse: a DEBUG line
|
|
632
|
+
* mentioning one is not one. "AMQP server on <host> is unreachable" has the address in
|
|
633
|
+
* the middle, so it is looked for in two pieces.
|
|
634
|
+
*/
|
|
635
|
+
function readOpenStackLogSignal(data) {
|
|
636
|
+
if (data.level !== "WARNING" &&
|
|
637
|
+
data.level !== "ERROR" &&
|
|
638
|
+
data.level !== "CRITICAL" &&
|
|
639
|
+
data.level !== "FATAL") {
|
|
640
|
+
return null;
|
|
641
|
+
}
|
|
642
|
+
const text = data.text.slice(0, MAX_SIGNAL_SCAN_LENGTH);
|
|
643
|
+
for (const entry of SIGNAL_PHRASES) {
|
|
644
|
+
for (const phrase of entry.phrases) {
|
|
645
|
+
if (text.indexOf(phrase) !== -1) {
|
|
646
|
+
return entry.signal;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
const amqp = text.indexOf("AMQP server on ");
|
|
651
|
+
if (amqp !== -1 && text.indexOf("is unreachable", amqp) !== -1) {
|
|
652
|
+
return OpenStackLogSignal.RabbitMqConnectionLost;
|
|
653
|
+
}
|
|
654
|
+
// oslo.messaging's own words for losing it, which name no bus: [Errno 111], timed out.
|
|
655
|
+
if (text.indexOf("impl_rabbit") !== -1 &&
|
|
656
|
+
text.indexOf("Connection failed: ") !== -1) {
|
|
657
|
+
return OpenStackLogSignal.RabbitMqConnectionLost;
|
|
658
|
+
}
|
|
659
|
+
return null;
|
|
660
|
+
}
|
|
661
|
+
const HEALTH_CHECK_PATHS = new Set([
|
|
662
|
+
"/",
|
|
663
|
+
"/healthcheck",
|
|
664
|
+
"/healthcheck/",
|
|
665
|
+
"/healthz",
|
|
666
|
+
]);
|
|
667
|
+
// What an API's path starts with where one server holds them all, as DevStack's Apache does.
|
|
668
|
+
const API_PATH_PREFIXES = [
|
|
669
|
+
"/identity",
|
|
670
|
+
"/compute",
|
|
671
|
+
"/volume",
|
|
672
|
+
"/image",
|
|
673
|
+
"/placement",
|
|
674
|
+
"/networking",
|
|
675
|
+
];
|
|
676
|
+
function isHealthCheckPath(path) {
|
|
677
|
+
if (HEALTH_CHECK_PATHS.has(path)) {
|
|
678
|
+
return true;
|
|
679
|
+
}
|
|
680
|
+
for (const prefix of API_PATH_PREFIXES) {
|
|
681
|
+
if (path.startsWith(prefix) &&
|
|
682
|
+
HEALTH_CHECK_PATHS.has(path.slice(prefix.length))) {
|
|
683
|
+
return true;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
return false;
|
|
687
|
+
}
|
|
688
|
+
/*
|
|
689
|
+
* How an API's own log writes a request, and what that says of the path: oslo.log's request
|
|
690
|
+
* line has "GET /path" in quotes, and uWSGI's own says ] GET /path => generated.
|
|
691
|
+
*/
|
|
692
|
+
const HEALTH_CHECK_METHODS = [
|
|
693
|
+
'"GET ',
|
|
694
|
+
'"HEAD ',
|
|
695
|
+
'"OPTIONS ',
|
|
696
|
+
"] GET ",
|
|
697
|
+
"] HEAD ",
|
|
698
|
+
"] OPTIONS ",
|
|
699
|
+
];
|
|
700
|
+
/*
|
|
701
|
+
* A request line for a load balancer's check. HAProxy asks each API for / or
|
|
702
|
+
* /healthcheck every few seconds on most clouds, and each answer is a line. Only the
|
|
703
|
+
* API's own access lines count: a person's "GET /" reads the same, and costs nothing.
|
|
704
|
+
*/
|
|
705
|
+
function isHealthCheckMessage(text) {
|
|
706
|
+
const message = text.slice(0, 1024);
|
|
707
|
+
for (const method of HEALTH_CHECK_METHODS) {
|
|
708
|
+
const at = message.indexOf(method);
|
|
709
|
+
if (at === -1) {
|
|
710
|
+
continue;
|
|
711
|
+
}
|
|
712
|
+
const pathStart = at + method.length;
|
|
713
|
+
let pathEnd = pathStart;
|
|
714
|
+
while (pathEnd < message.length) {
|
|
715
|
+
const code = message.charCodeAt(pathEnd);
|
|
716
|
+
if (code === 32 || code === 34) {
|
|
717
|
+
break;
|
|
718
|
+
}
|
|
719
|
+
pathEnd++;
|
|
720
|
+
}
|
|
721
|
+
if (isHealthCheckPath(message.slice(pathStart, pathEnd))) {
|
|
722
|
+
return true;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
return false;
|
|
726
|
+
}
|
|
727
|
+
function isHealthCheckLine(line) {
|
|
728
|
+
return ((line.level === "INFO" || line.level === "DEBUG") &&
|
|
729
|
+
isHealthCheckMessage(line.message));
|
|
730
|
+
}
|
|
731
|
+
// uWSGI's own line for a request, which its service's unit holds beside oslo.log's.
|
|
732
|
+
function isUwsgiRequestLine(body) {
|
|
733
|
+
return body.startsWith("[pid: ");
|
|
734
|
+
}
|
|
735
|
+
/*
|
|
736
|
+
* What a line calls an instance when it was not written with its prefix: "instance <uuid>",
|
|
737
|
+
* instance_uuid=<uuid>, 'instance_id': '<uuid>'. Neutron says a port's device_id and its
|
|
738
|
+
* calls to Nova's server_uuid, and Placement an allocation's consumer. A port's device can be a
|
|
739
|
+
* router, and a consumer a migration: then this says an instance that is none, and no instance's
|
|
740
|
+
* page ever asks for it.
|
|
741
|
+
*/
|
|
742
|
+
const INSTANCE_MENTIONS = [
|
|
743
|
+
"instance",
|
|
744
|
+
"server_uuid",
|
|
745
|
+
"device_id",
|
|
746
|
+
"consumer",
|
|
747
|
+
];
|
|
748
|
+
/*
|
|
749
|
+
* An instance named in a line that was not written with its prefix. An instance's Logs tab shows
|
|
750
|
+
* what names its UUID, and a Neutron or Cinder line says it this way, when it says it.
|
|
751
|
+
*/
|
|
752
|
+
function findInstanceMention(message) {
|
|
753
|
+
const text = message.slice(0, MAX_INSTANCE_MENTION_SCAN_LENGTH);
|
|
754
|
+
const lower = text.toLowerCase();
|
|
755
|
+
for (const mention of INSTANCE_MENTIONS) {
|
|
756
|
+
let from = 0;
|
|
757
|
+
for (;;) {
|
|
758
|
+
const at = lower.indexOf(mention, from);
|
|
759
|
+
if (at === -1) {
|
|
760
|
+
break;
|
|
761
|
+
}
|
|
762
|
+
let position = at + mention.length;
|
|
763
|
+
const limit = Math.min(text.length, position + 16);
|
|
764
|
+
while (position < limit) {
|
|
765
|
+
const code = text.charCodeAt(position);
|
|
766
|
+
if (isHexDigit(code) &&
|
|
767
|
+
isOpenStackUuid(text.slice(position, position + UUID_LENGTH))) {
|
|
768
|
+
return text.slice(position, position + UUID_LENGTH);
|
|
769
|
+
}
|
|
770
|
+
position++;
|
|
771
|
+
}
|
|
772
|
+
from = at + mention.length;
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
return "";
|
|
776
|
+
}
|
|
777
|
+
const SEVERITY_BY_LEVEL = new Map([
|
|
778
|
+
["TRACE", 1],
|
|
779
|
+
["DEBUG", 5],
|
|
780
|
+
["INFO", 9],
|
|
781
|
+
["AUDIT", 9],
|
|
782
|
+
["WARNING", 13],
|
|
783
|
+
["ERROR", 17],
|
|
784
|
+
["CRITICAL", 21],
|
|
785
|
+
["FATAL", 21],
|
|
786
|
+
]);
|
|
787
|
+
// journald's PRIORITY, for a line that does not say its own level.
|
|
788
|
+
function severityOfPriority(priority) {
|
|
789
|
+
switch (priority) {
|
|
790
|
+
case "0":
|
|
791
|
+
case "1":
|
|
792
|
+
case "2":
|
|
793
|
+
return 21;
|
|
794
|
+
case "3":
|
|
795
|
+
return 17;
|
|
796
|
+
case "4":
|
|
797
|
+
return 13;
|
|
798
|
+
case "5":
|
|
799
|
+
case "6":
|
|
800
|
+
return 9;
|
|
801
|
+
case "7":
|
|
802
|
+
return 5;
|
|
803
|
+
default:
|
|
804
|
+
return null;
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
function isOpenStackLogRecord(attributes) {
|
|
808
|
+
const cloud = attributes[exports.OPENSTACK_CLOUD_LOG_ATTRIBUTE];
|
|
809
|
+
return typeof cloud === "string" && cloud !== "";
|
|
810
|
+
}
|
|
811
|
+
// The record's service, from what said which unit, file or container wrote it.
|
|
812
|
+
function readRecordService(attributes) {
|
|
813
|
+
const unit = readRecordString(attributes, "journald.unit");
|
|
814
|
+
if (unit) {
|
|
815
|
+
return getOpenStackServiceOfUnit(unit);
|
|
816
|
+
}
|
|
817
|
+
const file = readRecordString(attributes, "log.file.path", "log.file.name");
|
|
818
|
+
if (file) {
|
|
819
|
+
return getOpenStackServiceOfFile(file);
|
|
820
|
+
}
|
|
821
|
+
const container = readRecordString(attributes, "resource.k8s.container.name", "k8s.container.name");
|
|
822
|
+
if (container) {
|
|
823
|
+
return withoutEnding(container);
|
|
824
|
+
}
|
|
825
|
+
const identifier = readRecordString(attributes, "journald.identifier");
|
|
826
|
+
return identifier ? withoutEnding(identifier) : "";
|
|
827
|
+
}
|
|
828
|
+
function readRecordHost(attributes, line) {
|
|
829
|
+
return (readRecordString(attributes, "journald.hostname", "resource.openstack.node.name", "resource.k8s.node.name", "resource.host.name", "host.name") || (line ? line.hostname : ""));
|
|
830
|
+
}
|
|
831
|
+
// oslo.log's own journal handler says these beside the line, and the line may leave them out.
|
|
832
|
+
function fillFromJournal(line, attributes) {
|
|
833
|
+
line.logger =
|
|
834
|
+
line.logger ||
|
|
835
|
+
cut(readRecordString(attributes, "journald.logger_name"), MAX_LOGGER_LENGTH);
|
|
836
|
+
line.level =
|
|
837
|
+
line.level ||
|
|
838
|
+
cut(readRecordString(attributes, "journald.logger_level"), 16);
|
|
839
|
+
line.requestId =
|
|
840
|
+
line.requestId || cut(readRecordString(attributes, "journald.request_id"));
|
|
841
|
+
line.globalRequestId =
|
|
842
|
+
line.globalRequestId ||
|
|
843
|
+
cut(readRecordString(attributes, "journald.global_request_id"));
|
|
844
|
+
line.userId =
|
|
845
|
+
line.userId || cut(readRecordString(attributes, "journald.user_id"));
|
|
846
|
+
line.userName =
|
|
847
|
+
line.userName || cut(readRecordString(attributes, "journald.user_name"));
|
|
848
|
+
line.projectId =
|
|
849
|
+
line.projectId || cut(readRecordString(attributes, "journald.project_id"));
|
|
850
|
+
line.projectName =
|
|
851
|
+
line.projectName ||
|
|
852
|
+
cut(readRecordString(attributes, "journald.project_name"));
|
|
853
|
+
}
|
|
854
|
+
function holdsOsloJournalFields(attributes) {
|
|
855
|
+
return Boolean(readRecordString(attributes, "journald.logger_name", "journald.logger_level"));
|
|
856
|
+
}
|
|
857
|
+
/*
|
|
858
|
+
* Where the JSON object starting at a place ends, by its braces outside its strings: -1 if it
|
|
859
|
+
* never does. What follows it can hold braces of its own.
|
|
860
|
+
*/
|
|
861
|
+
function findJsonObjectEnd(text, start) {
|
|
862
|
+
let depth = 0;
|
|
863
|
+
let isInString = false;
|
|
864
|
+
for (let index = start; index < text.length; index++) {
|
|
865
|
+
const code = text.charCodeAt(index);
|
|
866
|
+
if (isInString) {
|
|
867
|
+
if (code === 92) {
|
|
868
|
+
index++;
|
|
869
|
+
}
|
|
870
|
+
else if (code === 34) {
|
|
871
|
+
isInString = false;
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
else if (code === 34) {
|
|
875
|
+
isInString = true;
|
|
876
|
+
}
|
|
877
|
+
else if (code === 123) {
|
|
878
|
+
depth++;
|
|
879
|
+
}
|
|
880
|
+
else if (code === 125) {
|
|
881
|
+
depth--;
|
|
882
|
+
if (depth === 0) {
|
|
883
|
+
return index;
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
return -1;
|
|
888
|
+
}
|
|
889
|
+
/*
|
|
890
|
+
* A notification, from the JSON in its line, as the service wrote it. Something can follow
|
|
891
|
+
* the JSON: oslo.log adds the exception being handled to an error, and DevStack's format the
|
|
892
|
+
* function that logged it to a DEBUG line. What must never be stored is taken out of the
|
|
893
|
+
* fields, the body is written from what is left, and what followed stays, its secrets gone.
|
|
894
|
+
*/
|
|
895
|
+
function readNotificationMessage(message) {
|
|
896
|
+
const start = message.indexOf("{");
|
|
897
|
+
if (start === -1) {
|
|
898
|
+
return null;
|
|
899
|
+
}
|
|
900
|
+
const end = findJsonObjectEnd(message, start);
|
|
901
|
+
if (end === -1) {
|
|
902
|
+
return null;
|
|
903
|
+
}
|
|
904
|
+
const parsed = readJson(message.slice(start, end + 1));
|
|
905
|
+
if (!parsed) {
|
|
906
|
+
return null;
|
|
907
|
+
}
|
|
908
|
+
const cleaned = (0, OpenStackLogScrub_1.removeOpenStackSecretFields)(parsed);
|
|
909
|
+
return {
|
|
910
|
+
parsed: cleaned,
|
|
911
|
+
text: JSON.stringify(cleaned),
|
|
912
|
+
rest: (0, OpenStackLogScrub_1.scrubOpenStackSecrets)(message.slice(end + 1)),
|
|
913
|
+
};
|
|
914
|
+
}
|
|
915
|
+
function setIfPresent(attributes, key, value) {
|
|
916
|
+
if (value) {
|
|
917
|
+
attributes[key] = cut(value);
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
/*
|
|
921
|
+
* Reads one record of an OpenStack cloud: what it says as attributes, the severity it is
|
|
922
|
+
* stored with, its body with its secrets gone, and the event it holds if it is a
|
|
923
|
+
* notification. Never throws: a record it cannot read keeps what it came with, its
|
|
924
|
+
* secrets gone.
|
|
925
|
+
*/
|
|
926
|
+
function stampOpenStackLogRecord(data) {
|
|
927
|
+
const removedAttributes = [];
|
|
928
|
+
let source = data.body || "";
|
|
929
|
+
/*
|
|
930
|
+
* oslo.log's journal handler keeps a traceback beside the line. It belongs in the body,
|
|
931
|
+
* which holds it already when the line's format wrote it, as the default format does.
|
|
932
|
+
*/
|
|
933
|
+
const exceptionInfo = data.attributes["journald.exception_info"];
|
|
934
|
+
if (typeof exceptionInfo === "string" && exceptionInfo) {
|
|
935
|
+
if (source.indexOf(TRACEBACK_START) === -1) {
|
|
936
|
+
source = source ? `${source}\n${exceptionInfo}` : exceptionInfo;
|
|
937
|
+
}
|
|
938
|
+
removedAttributes.push("journald.exception_info");
|
|
939
|
+
}
|
|
940
|
+
const wasCut = source.length > exports.MAX_OPENSTACK_LOG_BODY_LENGTH;
|
|
941
|
+
if (wasCut) {
|
|
942
|
+
source = cutWhole(source, exports.MAX_OPENSTACK_LOG_BODY_LENGTH);
|
|
943
|
+
}
|
|
944
|
+
/*
|
|
945
|
+
* JSON is read as it was written, and its secrets taken out field by field. The scrub of a
|
|
946
|
+
* line reads text: "memcache_password = " at the end of a string of JSON looks to it like a
|
|
947
|
+
* value opening at the quote that closes the string, and what it took then no longer parses.
|
|
948
|
+
*/
|
|
949
|
+
const written = (0, OpenStackLogScrub_1.stripAnsiCodes)(source);
|
|
950
|
+
let body = (0, OpenStackLogScrub_1.scrubOpenStackSecrets)(written, { wasCut });
|
|
951
|
+
let line = null;
|
|
952
|
+
let notification = null;
|
|
953
|
+
let rawMessage = "";
|
|
954
|
+
if (written.charAt(0) === "{") {
|
|
955
|
+
const parsed = readJson(written);
|
|
956
|
+
if (parsed && typeof parsed["event_type"] === "string") {
|
|
957
|
+
const cleaned = (0, OpenStackLogScrub_1.removeOpenStackSecretFields)(parsed);
|
|
958
|
+
notification = cleaned;
|
|
959
|
+
body = JSON.stringify(cleaned);
|
|
960
|
+
line = emptyLine(OpenStackLogFormat.Notification);
|
|
961
|
+
}
|
|
962
|
+
else if (parsed) {
|
|
963
|
+
const json = readOsloJson(parsed);
|
|
964
|
+
if (json) {
|
|
965
|
+
line = json.line;
|
|
966
|
+
body = json.body;
|
|
967
|
+
rawMessage = json.rawMessage;
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
else {
|
|
972
|
+
line = readOpenStackLogLine(body);
|
|
973
|
+
if (line && line.logger.startsWith(OpenStackNotifications_1.OPENSTACK_NOTIFICATION_LOGGER_PREFIX)) {
|
|
974
|
+
// Its fields come from the line with its secrets gone, and its JSON from before that.
|
|
975
|
+
const asWritten = body === written ? line : readOpenStackLogLine(written);
|
|
976
|
+
rawMessage = asWritten ? asWritten.message : line.message;
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
if (!line && holdsOsloJournalFields(data.attributes)) {
|
|
980
|
+
line = emptyLine(OpenStackLogFormat.Oslo);
|
|
981
|
+
line.message = body;
|
|
982
|
+
rawMessage = written;
|
|
983
|
+
}
|
|
984
|
+
if (line) {
|
|
985
|
+
fillFromJournal(line, data.attributes);
|
|
986
|
+
}
|
|
987
|
+
const logger = line ? line.logger : "";
|
|
988
|
+
if (line &&
|
|
989
|
+
!notification &&
|
|
990
|
+
logger.startsWith(OpenStackNotifications_1.OPENSTACK_NOTIFICATION_LOGGER_PREFIX)) {
|
|
991
|
+
const read = readNotificationMessage(rawMessage || line.message);
|
|
992
|
+
if (read) {
|
|
993
|
+
notification = read.parsed;
|
|
994
|
+
/*
|
|
995
|
+
* The line as it came, with its fields replaced by what may be kept. A line's message
|
|
996
|
+
* is what it ends with, so where it starts needs no looking for. oslo.log's JSON
|
|
997
|
+
* formatter has no line around its message to keep.
|
|
998
|
+
*/
|
|
999
|
+
body =
|
|
1000
|
+
line.format === OpenStackLogFormat.OsloJson
|
|
1001
|
+
? `${read.text}${read.rest}`
|
|
1002
|
+
: `${body.slice(0, body.length - line.message.length)}${read.text}${read.rest}`;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
if (line && !line.instanceId && !notification) {
|
|
1006
|
+
const mentioned = findInstanceMention(line.message);
|
|
1007
|
+
if (mentioned) {
|
|
1008
|
+
line.instanceId = mentioned;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
const event = notification
|
|
1012
|
+
? (0, OpenStackNotifications_1.readOpenStackNotification)({
|
|
1013
|
+
message: notification,
|
|
1014
|
+
instanceId: line ? line.instanceId : "",
|
|
1015
|
+
requestId: line ? line.requestId : "",
|
|
1016
|
+
userId: line ? line.userId : "",
|
|
1017
|
+
projectId: line ? line.projectId : "",
|
|
1018
|
+
lineTime: line ? line.time : null,
|
|
1019
|
+
})
|
|
1020
|
+
: null;
|
|
1021
|
+
const attributes = {};
|
|
1022
|
+
// An unread line is still somebody's, from what said who wrote it.
|
|
1023
|
+
const service = readRecordService(data.attributes) ||
|
|
1024
|
+
(event ? event.publisherService : "") ||
|
|
1025
|
+
getComponent(logger);
|
|
1026
|
+
const host = (0, OpenStackHealthRules_1.getOpenStackShortHostName)(readRecordHost(data.attributes, line) || (event ? event.host : ""));
|
|
1027
|
+
setIfPresent(attributes, OpenStackLogAttribute.Service, service);
|
|
1028
|
+
setIfPresent(attributes, OpenStackLogAttribute.Component, getComponent(service || logger));
|
|
1029
|
+
setIfPresent(attributes, OpenStackLogAttribute.Host, host);
|
|
1030
|
+
attributes[OpenStackLogAttribute.Format] = line
|
|
1031
|
+
? line.format
|
|
1032
|
+
: OpenStackLogFormat.Other;
|
|
1033
|
+
let severityNumber = null;
|
|
1034
|
+
if (line) {
|
|
1035
|
+
setIfPresent(attributes, OpenStackLogAttribute.Logger, logger);
|
|
1036
|
+
setIfPresent(attributes, OpenStackLogAttribute.Level, line.level);
|
|
1037
|
+
const requestId = line.requestId || (event ? event.requestId : "");
|
|
1038
|
+
const globalRequestId = line.globalRequestId;
|
|
1039
|
+
setIfPresent(attributes, OpenStackLogAttribute.RequestId, requestId);
|
|
1040
|
+
setIfPresent(attributes, OpenStackLogAttribute.GlobalRequestId, globalRequestId);
|
|
1041
|
+
setIfPresent(attributes, OpenStackLogAttribute.RequestRootId, globalRequestId || requestId);
|
|
1042
|
+
setIfPresent(attributes, OpenStackLogAttribute.UserId, line.userId || (event ? event.userId : ""));
|
|
1043
|
+
setIfPresent(attributes, OpenStackLogAttribute.UserName, line.userName);
|
|
1044
|
+
setIfPresent(attributes, OpenStackLogAttribute.ProjectId, line.projectId || (event ? event.projectId : ""));
|
|
1045
|
+
setIfPresent(attributes, OpenStackLogAttribute.ProjectName, line.projectName);
|
|
1046
|
+
setIfPresent(attributes, OpenStackLogAttribute.InstanceId, line.instanceId || (event ? event.instanceId : ""));
|
|
1047
|
+
const level = event && !line.level ? event.priority : line.level;
|
|
1048
|
+
const known = SEVERITY_BY_LEVEL.get(level.toUpperCase());
|
|
1049
|
+
/*
|
|
1050
|
+
* A TRACE line with no [context] is a traceback's own line, in the format oslo.log's
|
|
1051
|
+
* exception prefix once wrote. With one, it is oslo.log's lowest level.
|
|
1052
|
+
*/
|
|
1053
|
+
if (known !== undefined) {
|
|
1054
|
+
severityNumber =
|
|
1055
|
+
level === "TRACE" &&
|
|
1056
|
+
!line.requestId &&
|
|
1057
|
+
line.format === OpenStackLogFormat.Oslo
|
|
1058
|
+
? 17
|
|
1059
|
+
: known;
|
|
1060
|
+
}
|
|
1061
|
+
const signal = readOpenStackLogSignal({
|
|
1062
|
+
level: level.toUpperCase(),
|
|
1063
|
+
text: body,
|
|
1064
|
+
});
|
|
1065
|
+
if (signal) {
|
|
1066
|
+
attributes[OpenStackLogAttribute.Signal] = signal;
|
|
1067
|
+
}
|
|
1068
|
+
if (isHealthCheckLine(line)) {
|
|
1069
|
+
attributes[OpenStackLogAttribute.Noise] =
|
|
1070
|
+
exports.OPENSTACK_LOG_NOISE_HEALTH_CHECK;
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
if (!line && isUwsgiRequestLine(body) && isHealthCheckMessage(body)) {
|
|
1074
|
+
attributes[OpenStackLogAttribute.Noise] = exports.OPENSTACK_LOG_NOISE_HEALTH_CHECK;
|
|
1075
|
+
}
|
|
1076
|
+
if (severityNumber === null && !data.severityNumber) {
|
|
1077
|
+
severityNumber = severityOfPriority(readRecordString(data.attributes, "journald.priority"));
|
|
1078
|
+
}
|
|
1079
|
+
if (event) {
|
|
1080
|
+
attributes[OpenStackNotifications_1.OpenStackEventAttribute.Type] = cut(event.type);
|
|
1081
|
+
setIfPresent(attributes, OpenStackNotifications_1.OpenStackEventAttribute.Priority, event.priority);
|
|
1082
|
+
attributes[OpenStackNotifications_1.OpenStackEventAttribute.Outcome] = event.outcome;
|
|
1083
|
+
attributes[OpenStackNotifications_1.OpenStackEventAttribute.Importance] = event.importance;
|
|
1084
|
+
setIfPresent(attributes, OpenStackNotifications_1.OpenStackEventAttribute.Publisher, event.publisher);
|
|
1085
|
+
setIfPresent(attributes, OpenStackNotifications_1.OpenStackEventAttribute.MessageId, event.messageId);
|
|
1086
|
+
if (event.reason) {
|
|
1087
|
+
attributes[OpenStackNotifications_1.OpenStackEventAttribute.Reason] = event.reason;
|
|
1088
|
+
}
|
|
1089
|
+
setIfPresent(attributes, OpenStackNotifications_1.OpenStackEventAttribute.Exception, event.exception);
|
|
1090
|
+
if (event.failure) {
|
|
1091
|
+
attributes[OpenStackNotifications_1.OpenStackEventAttribute.Failure] = event.failure;
|
|
1092
|
+
}
|
|
1093
|
+
if (event.part) {
|
|
1094
|
+
attributes[OpenStackNotifications_1.OpenStackEventAttribute.PartKind] = event.part.kind;
|
|
1095
|
+
setIfPresent(attributes, OpenStackNotifications_1.OpenStackEventAttribute.PartId, event.part.id);
|
|
1096
|
+
setIfPresent(attributes, OpenStackNotifications_1.OpenStackEventAttribute.PartName, event.part.name);
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
return {
|
|
1100
|
+
attributes,
|
|
1101
|
+
removedAttributes,
|
|
1102
|
+
severityNumber,
|
|
1103
|
+
time: event && event.time ? event.time : line ? line.time : null,
|
|
1104
|
+
// Written last: nothing that reads a value can take it for one, or take it away.
|
|
1105
|
+
body: wasCut ? `${body}${TRUNCATED_NOTE}` : body,
|
|
1106
|
+
event,
|
|
1107
|
+
};
|
|
1108
|
+
}
|