@oneuptime/common 14.0.103 → 14.0.104
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 +2 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +2 -0
- package/Models/DatabaseModels/CloudAccount.js +50 -0
- package/Models/DatabaseModels/CloudBudget.d.mts +32 -0
- package/Models/DatabaseModels/CloudBudget.d.ts +32 -0
- package/Models/DatabaseModels/CloudBudget.js +635 -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 +35 -0
- package/Models/DatabaseModels/CloudCostRecommendation.d.ts +35 -0
- package/Models/DatabaseModels/CloudCostRecommendation.js +551 -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/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/ResourceAiAccessPermissions.js +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 +147 -0
- package/Types/Cloud/CloudCost.d.ts +147 -0
- package/Types/Cloud/CloudCost.js +736 -0
- package/Types/Cloud/CloudCost.mjs +43 -0
- package/Types/Cloud/CloudLogGroups.d.mts +30 -0
- package/Types/Cloud/CloudLogGroups.d.ts +30 -0
- package/Types/Cloud/CloudLogGroups.js +212 -0
- package/Types/Cloud/CloudLogGroups.mjs +8 -0
- 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/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/CloudAiAgentSetupCommands.d.mts +15 -1
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +15 -1
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +259 -40
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +12 -0
- 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 +114 -0
- package/Types/CloudConnection/CloudStream.d.ts +114 -0
- package/Types/CloudConnection/CloudStream.js +527 -0
- package/Types/CloudConnection/CloudStream.mjs +43 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +83 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +83 -0
- package/Types/CloudConnection/CloudStreamTemplate.js +677 -0
- package/Types/CloudConnection/CloudStreamTemplate.mjs +31 -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 +60 -0
- 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 +5 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +5 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +10 -6
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +4 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +4 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +4 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.js +21 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +3 -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 +2 -0
- package/Types/SecurityCase/SecurityCaseContext.d.ts +2 -0
- package/Types/SecurityCase/SecurityConnection.d.mts +4 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +4 -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/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/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.js +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 +30 -0
- package/Utils/Telemetry/CloudChangeTitle.d.ts +30 -0
- package/Utils/Telemetry/CloudChangeTitle.js +148 -0
- package/Utils/Telemetry/CloudChangeTitle.mjs +8 -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,835 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THE SECRETS AN OPENSTACK LOG LINE CAN HOLD, TAKEN OUT BEFORE IT IS STORED.
|
|
4
|
+
*
|
|
5
|
+
* OpenStack's debug logs have leaked tokens and passwords, and a Fernet token in a log
|
|
6
|
+
* is a login. So what a service wrote goes through this as it arrives, whatever rules a
|
|
7
|
+
* project has set, and nothing turns it off. It takes out:
|
|
8
|
+
*
|
|
9
|
+
* - a Fernet token, a JWS token or a PKI token, wherever it stands, by its shape;
|
|
10
|
+
* - the value of anything named as a secret: password, token, auth_token, secret,
|
|
11
|
+
* X-Auth-Token, adminPass and the like, as key=value, key: value, 'key': 'value',
|
|
12
|
+
* "key": "value", the same inside escaped JSON however deep, ('key', 'value') and
|
|
13
|
+
* --key value;
|
|
14
|
+
* - the password in a URL: rabbit://user:password@host, mysql+pymysql://user:password@host;
|
|
15
|
+
* - a private key.
|
|
16
|
+
*
|
|
17
|
+
* Whatever it is unsure of goes. A value runs to its end however long it is. A password can
|
|
18
|
+
* hold a quote, a bracket, a comma or a slash, so one of those only ends a value when nothing
|
|
19
|
+
* of a value comes after it, and password=a,b=c loses b=c too. That costs a person a little
|
|
20
|
+
* of a line. The other way round costs someone a credential.
|
|
21
|
+
*
|
|
22
|
+
* Logs are text anyone can write into, so every step reads the line with indexOf and a
|
|
23
|
+
* loop, never a regular expression with a quantifier, and never reads a stretch twice:
|
|
24
|
+
* the search for a word goes on from where its value stopped, so a thousand opening quotes
|
|
25
|
+
* cost what one does, and the time this takes is in line with the line, whatever the line
|
|
26
|
+
* holds (AGENTS.md).
|
|
27
|
+
*/
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.OPENSTACK_SCRUBBED_VALUE = void 0;
|
|
30
|
+
exports.scrubOpenStackSecrets = scrubOpenStackSecrets;
|
|
31
|
+
exports.stripAnsiCodes = stripAnsiCodes;
|
|
32
|
+
exports.removeOpenStackSecretFields = removeOpenStackSecretFields;
|
|
33
|
+
exports.OPENSTACK_SCRUBBED_VALUE = "[REDACTED]";
|
|
34
|
+
// What a token's shape has to reach before it counts as one.
|
|
35
|
+
const MIN_TOKEN_LENGTH = 32;
|
|
36
|
+
/*
|
|
37
|
+
* The names a value is secret under. Each is found anywhere in a longer name, so `password`
|
|
38
|
+
* is also admin_password and rabbit_password, and `token` is X-Auth-Token. A name that runs
|
|
39
|
+
* on past one is another name (password_expires_at), so what runs on and is secret is listed.
|
|
40
|
+
* Most of these are what oslo.utils itself masks in the logs that go through it. They are
|
|
41
|
+
* kept under what they all hold, so a line that holds none of that costs one look per group.
|
|
42
|
+
*/
|
|
43
|
+
const KEY_WORD_GROUPS = [
|
|
44
|
+
{
|
|
45
|
+
holds: "pass",
|
|
46
|
+
words: [
|
|
47
|
+
"password",
|
|
48
|
+
"password_hash",
|
|
49
|
+
"passwd",
|
|
50
|
+
"passphrase",
|
|
51
|
+
"adminpass",
|
|
52
|
+
"admin_pass",
|
|
53
|
+
"new_pass",
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{ holds: "pwd", words: ["pwd"] },
|
|
57
|
+
{ holds: "pswd", words: ["pswd"] },
|
|
58
|
+
{ holds: "secret", words: ["secret", "secret_key", "secret_uuid"] },
|
|
59
|
+
{
|
|
60
|
+
holds: "key",
|
|
61
|
+
words: [
|
|
62
|
+
"access_key",
|
|
63
|
+
"private_key",
|
|
64
|
+
"api_key",
|
|
65
|
+
"api-key",
|
|
66
|
+
"apikey",
|
|
67
|
+
"auth_key",
|
|
68
|
+
"auth-key",
|
|
69
|
+
"encrypted_key",
|
|
70
|
+
"encryption_key",
|
|
71
|
+
"fernetkey",
|
|
72
|
+
"fernet_key",
|
|
73
|
+
"sslkey",
|
|
74
|
+
"ssl_key",
|
|
75
|
+
"temp_url_key",
|
|
76
|
+
"temp-url-key",
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
{ holds: "sig", words: ["temp_url_sig", "signature"] },
|
|
80
|
+
{ holds: "token", words: ["token", "token_id"] },
|
|
81
|
+
{ holds: "authorization", words: ["authorization"] },
|
|
82
|
+
{
|
|
83
|
+
holds: "credential",
|
|
84
|
+
words: ["credential", "credentials", "credential_blob"],
|
|
85
|
+
},
|
|
86
|
+
{ holds: "blob", words: ["blob"] },
|
|
87
|
+
{ holds: "configdrive", words: ["configdrive"] },
|
|
88
|
+
{ holds: "cookie", words: ["cookie"] },
|
|
89
|
+
];
|
|
90
|
+
// A word that names something secret only when what follows it can be a value.
|
|
91
|
+
const VALUES_THAT_ARE_NOT_SECRETS = [
|
|
92
|
+
"none",
|
|
93
|
+
"null",
|
|
94
|
+
"true",
|
|
95
|
+
"false",
|
|
96
|
+
"",
|
|
97
|
+
];
|
|
98
|
+
const LONGEST_VALUE_THAT_IS_NOT_A_SECRET = 8;
|
|
99
|
+
const AUTHORIZATION_SCHEMES = [
|
|
100
|
+
"basic",
|
|
101
|
+
"bearer",
|
|
102
|
+
"token",
|
|
103
|
+
"negotiate",
|
|
104
|
+
"digest",
|
|
105
|
+
];
|
|
106
|
+
const LONGEST_PORT = 5;
|
|
107
|
+
// How far ahead a closing character looks for the next name: password=a,user=b.
|
|
108
|
+
const LONGEST_NAME_AFTER_A_VALUE = 64;
|
|
109
|
+
const BACKSLASH = 92;
|
|
110
|
+
const DOUBLE_QUOTE = 34;
|
|
111
|
+
const SINGLE_QUOTE = 39;
|
|
112
|
+
const COLON = 58;
|
|
113
|
+
function isDigit(code) {
|
|
114
|
+
return code >= 48 && code <= 57;
|
|
115
|
+
}
|
|
116
|
+
function isAsciiLetterOrDigit(code) {
|
|
117
|
+
return (isDigit(code) || (code >= 65 && code <= 90) || (code >= 97 && code <= 122));
|
|
118
|
+
}
|
|
119
|
+
function isKeyCharacter(code) {
|
|
120
|
+
// A word goes on through these: password_expires_at, token-type, secret.ref.
|
|
121
|
+
return (isAsciiLetterOrDigit(code) || code === 95 || code === 45 || code === 46);
|
|
122
|
+
}
|
|
123
|
+
function isBase64UrlCharacter(code) {
|
|
124
|
+
return (isAsciiLetterOrDigit(code) || code === 95 || code === 45 || code === 61);
|
|
125
|
+
}
|
|
126
|
+
function isWhitespace(code) {
|
|
127
|
+
return code === 32 || code === 9 || code === 10 || code === 13;
|
|
128
|
+
}
|
|
129
|
+
function isQuote(code) {
|
|
130
|
+
return code === DOUBLE_QUOTE || code === SINGLE_QUOTE;
|
|
131
|
+
}
|
|
132
|
+
// What can end an unquoted value: see closesValue.
|
|
133
|
+
function isCloser(code) {
|
|
134
|
+
return (isQuote(code) ||
|
|
135
|
+
code === 44 || // ,
|
|
136
|
+
code === 59 || // ;
|
|
137
|
+
code === 38 || // &
|
|
138
|
+
code === 41 || // )
|
|
139
|
+
code === 93 || // ]
|
|
140
|
+
code === 125 // }
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
/*
|
|
144
|
+
* The same length as the text, so a place in one is a place in the other: lower-casing
|
|
145
|
+
* a few characters outside ASCII changes how long a string is.
|
|
146
|
+
*/
|
|
147
|
+
function toSameLengthLowerCase(text) {
|
|
148
|
+
const lower = text.toLowerCase();
|
|
149
|
+
if (lower.length === text.length) {
|
|
150
|
+
return lower;
|
|
151
|
+
}
|
|
152
|
+
const parts = [];
|
|
153
|
+
for (let index = 0; index < text.length; index++) {
|
|
154
|
+
const code = text.charCodeAt(index);
|
|
155
|
+
parts.push(code >= 65 && code <= 90
|
|
156
|
+
? String.fromCharCode(code + 32)
|
|
157
|
+
: text.charAt(index));
|
|
158
|
+
}
|
|
159
|
+
return parts.join("");
|
|
160
|
+
}
|
|
161
|
+
// The backslashes right before a place, no further back than `floor`.
|
|
162
|
+
function countBackslashesBefore(text, position, floor) {
|
|
163
|
+
let count = 0;
|
|
164
|
+
for (let index = position - 1; index >= floor; index--) {
|
|
165
|
+
if (text.charCodeAt(index) !== BACKSLASH) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
count++;
|
|
169
|
+
}
|
|
170
|
+
return count;
|
|
171
|
+
}
|
|
172
|
+
/*
|
|
173
|
+
* Whether another name starts here, which is what a,b=c and a&b=c look like between two values
|
|
174
|
+
* and rarely inside one: a=1,b=2,c=3, as Python writes an object and a URL writes its query.
|
|
175
|
+
* Looks a short way, so a line of nothing but commas is still read once.
|
|
176
|
+
*/
|
|
177
|
+
function startsName(text, position) {
|
|
178
|
+
const limit = Math.min(text.length, position + LONGEST_NAME_AFTER_A_VALUE);
|
|
179
|
+
for (let index = position; index < limit; index++) {
|
|
180
|
+
const code = text.charCodeAt(index);
|
|
181
|
+
if (code === 61) {
|
|
182
|
+
return index > position;
|
|
183
|
+
}
|
|
184
|
+
if (!isKeyCharacter(code)) {
|
|
185
|
+
return false;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
return false;
|
|
189
|
+
}
|
|
190
|
+
/*
|
|
191
|
+
* Whether a closing character at this place ends a value that has no opening quote: only
|
|
192
|
+
* when nothing of a value comes after it. A password can hold any of them.
|
|
193
|
+
*/
|
|
194
|
+
function closesValue(text, position, onlyQuotes) {
|
|
195
|
+
const code = text.charCodeAt(position);
|
|
196
|
+
if (onlyQuotes ? !isQuote(code) : !isCloser(code)) {
|
|
197
|
+
return false;
|
|
198
|
+
}
|
|
199
|
+
if (position + 1 >= text.length) {
|
|
200
|
+
return true;
|
|
201
|
+
}
|
|
202
|
+
const next = text.charCodeAt(position + 1);
|
|
203
|
+
return (isWhitespace(next) ||
|
|
204
|
+
isCloser(next) ||
|
|
205
|
+
next === BACKSLASH ||
|
|
206
|
+
next === COLON ||
|
|
207
|
+
(!onlyQuotes && !isQuote(code) && startsName(text, position + 1)));
|
|
208
|
+
}
|
|
209
|
+
/*
|
|
210
|
+
* A quoted value, to its closing quote however far that is, or to the end of the text. A
|
|
211
|
+
* quote escaped as many times as the opening one closes it, or fewer; one escaped more
|
|
212
|
+
* times is in the value. So JSON inside JSON closes where it should. A quote that opened
|
|
213
|
+
* unescaped closes when an even number of backslashes come before it.
|
|
214
|
+
*/
|
|
215
|
+
function readQuotedValue(data) {
|
|
216
|
+
const { text, valueStart, quote, openingBackslashes } = data;
|
|
217
|
+
let from = valueStart;
|
|
218
|
+
for (;;) {
|
|
219
|
+
const at = text.indexOf(quote, from);
|
|
220
|
+
if (at === -1) {
|
|
221
|
+
return { valueStart, valueEnd: text.length, closedAt: text.length };
|
|
222
|
+
}
|
|
223
|
+
const before = countBackslashesBefore(text, at, valueStart);
|
|
224
|
+
if (openingBackslashes === 0 && before % 2 === 0) {
|
|
225
|
+
return { valueStart, valueEnd: at, closedAt: at + 1 };
|
|
226
|
+
}
|
|
227
|
+
if (openingBackslashes > 0 && before <= openingBackslashes) {
|
|
228
|
+
return { valueStart, valueEnd: at - before, closedAt: at + 1 };
|
|
229
|
+
}
|
|
230
|
+
from = at + 1;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
function readUnquotedValue(data) {
|
|
234
|
+
const { text, start, untilLineEnd } = data;
|
|
235
|
+
const first = text.charCodeAt(start);
|
|
236
|
+
// A value that opens with a bracket keeps the bracket that closes it.
|
|
237
|
+
let ownCloser = first === 123 ? 125 : first === 91 ? 93 : -1;
|
|
238
|
+
let position = start;
|
|
239
|
+
while (position < text.length) {
|
|
240
|
+
const code = text.charCodeAt(position);
|
|
241
|
+
if (untilLineEnd ? code === 10 || code === 13 : isWhitespace(code)) {
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
// Backslashes before a closing quote belong to the quote: JSON inside JSON.
|
|
245
|
+
if (code === BACKSLASH) {
|
|
246
|
+
let after = position + 1;
|
|
247
|
+
while (after < text.length && text.charCodeAt(after) === BACKSLASH) {
|
|
248
|
+
after++;
|
|
249
|
+
}
|
|
250
|
+
if (after < text.length &&
|
|
251
|
+
isQuote(text.charCodeAt(after)) &&
|
|
252
|
+
closesValue(text, after, untilLineEnd)) {
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
position = after;
|
|
256
|
+
continue;
|
|
257
|
+
}
|
|
258
|
+
if (code === ownCloser) {
|
|
259
|
+
ownCloser = -1;
|
|
260
|
+
position++;
|
|
261
|
+
continue;
|
|
262
|
+
}
|
|
263
|
+
if (closesValue(text, position, untilLineEnd)) {
|
|
264
|
+
break;
|
|
265
|
+
}
|
|
266
|
+
position++;
|
|
267
|
+
}
|
|
268
|
+
return { valueStart: start, valueEnd: position, closedAt: position };
|
|
269
|
+
}
|
|
270
|
+
/*
|
|
271
|
+
* An object or a list is not one value: what is secret inside it is found on its own. It
|
|
272
|
+
* shows by what follows its bracket. Anything else is a value that starts with a bracket:
|
|
273
|
+
* password={abc}, X-Auth-Token: {SHA256}abc.
|
|
274
|
+
*/
|
|
275
|
+
function opensStructure(text, position) {
|
|
276
|
+
const opener = text.charCodeAt(position);
|
|
277
|
+
if (opener !== 123 && opener !== 91) {
|
|
278
|
+
return false;
|
|
279
|
+
}
|
|
280
|
+
let next = position + 1;
|
|
281
|
+
while (next < text.length && isWhitespace(text.charCodeAt(next))) {
|
|
282
|
+
next++;
|
|
283
|
+
}
|
|
284
|
+
if (next >= text.length) {
|
|
285
|
+
return true;
|
|
286
|
+
}
|
|
287
|
+
const code = text.charCodeAt(next);
|
|
288
|
+
return (isQuote(code) ||
|
|
289
|
+
code === BACKSLASH ||
|
|
290
|
+
code === 123 ||
|
|
291
|
+
code === 91 ||
|
|
292
|
+
code === 125 ||
|
|
293
|
+
code === 93 ||
|
|
294
|
+
((code === 98 || code === 117) && isQuote(text.charCodeAt(next + 1))));
|
|
295
|
+
}
|
|
296
|
+
// Where the value that starts at `start` ends.
|
|
297
|
+
function readValue(data) {
|
|
298
|
+
const { text, start } = data;
|
|
299
|
+
if (start >= text.length) {
|
|
300
|
+
return null;
|
|
301
|
+
}
|
|
302
|
+
// Already taken out, by this or by anything before it.
|
|
303
|
+
if (text.startsWith(exports.OPENSTACK_SCRUBBED_VALUE, start)) {
|
|
304
|
+
const end = start + exports.OPENSTACK_SCRUBBED_VALUE.length;
|
|
305
|
+
return { valueStart: end, valueEnd: end, closedAt: end };
|
|
306
|
+
}
|
|
307
|
+
let position = start;
|
|
308
|
+
// Python's own b'...' and u'...', in a dict a service logged as it stood.
|
|
309
|
+
if ((text.charAt(position) === "b" ||
|
|
310
|
+
text.charAt(position) === "u" ||
|
|
311
|
+
text.charAt(position) === "r") &&
|
|
312
|
+
isQuote(text.charCodeAt(position + 1))) {
|
|
313
|
+
position += 1;
|
|
314
|
+
}
|
|
315
|
+
let backslashes = 0;
|
|
316
|
+
while (text.charCodeAt(position + backslashes) === BACKSLASH) {
|
|
317
|
+
backslashes++;
|
|
318
|
+
}
|
|
319
|
+
if (isQuote(text.charCodeAt(position + backslashes))) {
|
|
320
|
+
return readQuotedValue({
|
|
321
|
+
text,
|
|
322
|
+
valueStart: position + backslashes + 1,
|
|
323
|
+
quote: text.charAt(position + backslashes),
|
|
324
|
+
openingBackslashes: backslashes,
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
if (opensStructure(text, position)) {
|
|
328
|
+
return null;
|
|
329
|
+
}
|
|
330
|
+
return readUnquotedValue({
|
|
331
|
+
text,
|
|
332
|
+
start: position,
|
|
333
|
+
untilLineEnd: data.untilLineEnd,
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
// Stars are how oslo.utils and oslo.config write a secret they have already taken out.
|
|
337
|
+
function isOnlyStars(text, from, to) {
|
|
338
|
+
for (let index = from; index < to; index++) {
|
|
339
|
+
if (text.charCodeAt(index) !== 42) {
|
|
340
|
+
return false;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
return true;
|
|
344
|
+
}
|
|
345
|
+
function isNotASecret(text, read) {
|
|
346
|
+
return (read.valueEnd <= read.valueStart ||
|
|
347
|
+
(read.valueEnd - read.valueStart <= LONGEST_VALUE_THAT_IS_NOT_A_SECRET &&
|
|
348
|
+
(isOnlyStars(text, read.valueStart, read.valueEnd) ||
|
|
349
|
+
VALUES_THAT_ARE_NOT_SECRETS.includes(text.slice(read.valueStart, read.valueEnd).trim().toLowerCase()))));
|
|
350
|
+
}
|
|
351
|
+
/*
|
|
352
|
+
* What a word found in the line names, if it names a value. A word running on into
|
|
353
|
+
* another (password_expires_at, tokens) is another word, and a word with nothing to say
|
|
354
|
+
* after it is prose: "Failed to validate token (HTTP 404)".
|
|
355
|
+
*/
|
|
356
|
+
function readNamedValue(data) {
|
|
357
|
+
const { text, wordStart, wordEnd, word } = data;
|
|
358
|
+
let position = wordEnd;
|
|
359
|
+
// password1=, as a config with several of them names them.
|
|
360
|
+
while (position < text.length && isDigit(text.charCodeAt(position))) {
|
|
361
|
+
position++;
|
|
362
|
+
}
|
|
363
|
+
if (position < text.length && isKeyCharacter(text.charCodeAt(position))) {
|
|
364
|
+
return { range: null, resumeAt: wordEnd };
|
|
365
|
+
}
|
|
366
|
+
// The key's own closing quote, escaped however many times or not.
|
|
367
|
+
let backslashes = 0;
|
|
368
|
+
while (text.charCodeAt(position + backslashes) === BACKSLASH) {
|
|
369
|
+
backslashes++;
|
|
370
|
+
}
|
|
371
|
+
const isKeyQuoted = isQuote(text.charCodeAt(position + backslashes));
|
|
372
|
+
if (isKeyQuoted) {
|
|
373
|
+
position += backslashes + 1;
|
|
374
|
+
}
|
|
375
|
+
let spaces = 0;
|
|
376
|
+
while (position < text.length &&
|
|
377
|
+
(text.charCodeAt(position) === 32 || text.charCodeAt(position) === 9)) {
|
|
378
|
+
position++;
|
|
379
|
+
spaces++;
|
|
380
|
+
}
|
|
381
|
+
const separator = text.charAt(position);
|
|
382
|
+
let valueStart = -1;
|
|
383
|
+
if (separator === "=" || separator === ":") {
|
|
384
|
+
// A path's last word, as uWSGI writes a request: POST /v3/auth/token => generated 207 bytes.
|
|
385
|
+
if (spaces > 0 && wordStart > 0 && text.charAt(wordStart - 1) === "/") {
|
|
386
|
+
return { range: null, resumeAt: wordEnd };
|
|
387
|
+
}
|
|
388
|
+
valueStart = position + 1;
|
|
389
|
+
// Python's own => and Ruby's, as a few of these are written.
|
|
390
|
+
if (text.charAt(valueStart) === ">") {
|
|
391
|
+
valueStart += 1;
|
|
392
|
+
}
|
|
393
|
+
while (valueStart < text.length &&
|
|
394
|
+
(text.charCodeAt(valueStart) === 32 || text.charCodeAt(valueStart) === 9)) {
|
|
395
|
+
valueStart++;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
else if (separator === "," && isKeyQuoted) {
|
|
399
|
+
// ('password', 'value'): only a quote after it makes this a pair, not a list of names.
|
|
400
|
+
valueStart = position + 1;
|
|
401
|
+
while (valueStart < text.length &&
|
|
402
|
+
(text.charCodeAt(valueStart) === 32 || text.charCodeAt(valueStart) === 9)) {
|
|
403
|
+
valueStart++;
|
|
404
|
+
}
|
|
405
|
+
let quoteAt = valueStart;
|
|
406
|
+
while (text.charCodeAt(quoteAt) === BACKSLASH) {
|
|
407
|
+
quoteAt++;
|
|
408
|
+
}
|
|
409
|
+
if (!isQuote(text.charCodeAt(quoteAt))) {
|
|
410
|
+
return { range: null, resumeAt: wordEnd };
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
else if (spaces > 0 &&
|
|
414
|
+
wordStart > 0 &&
|
|
415
|
+
text.charAt(wordStart - 1) === "-") {
|
|
416
|
+
// --password value, on a command a service logged.
|
|
417
|
+
valueStart = position;
|
|
418
|
+
}
|
|
419
|
+
else {
|
|
420
|
+
return { range: null, resumeAt: wordEnd };
|
|
421
|
+
}
|
|
422
|
+
const read = readValue({
|
|
423
|
+
text,
|
|
424
|
+
start: valueStart,
|
|
425
|
+
untilLineEnd: word === "cookie",
|
|
426
|
+
});
|
|
427
|
+
if (!read) {
|
|
428
|
+
return { range: null, resumeAt: valueStart };
|
|
429
|
+
}
|
|
430
|
+
/*
|
|
431
|
+
* What a shell calls the folder it is in, as sudo writes it for every command it runs: a
|
|
432
|
+
* password is a folder rarely enough, and a folder is a password never.
|
|
433
|
+
*/
|
|
434
|
+
if (isNotASecret(text, read) ||
|
|
435
|
+
(word === "pwd" && text.charAt(read.valueStart) === "/")) {
|
|
436
|
+
return { range: null, resumeAt: read.closedAt };
|
|
437
|
+
}
|
|
438
|
+
// A scheme is no secret, and what comes after it is: Authorization: Bearer abc.
|
|
439
|
+
if (word === "authorization" &&
|
|
440
|
+
read.valueEnd - read.valueStart <= LONGEST_VALUE_THAT_IS_NOT_A_SECRET + 1 &&
|
|
441
|
+
AUTHORIZATION_SCHEMES.includes(text.slice(read.valueStart, read.valueEnd).toLowerCase()) &&
|
|
442
|
+
text.charCodeAt(read.valueEnd) === 32) {
|
|
443
|
+
const rest = readValue({
|
|
444
|
+
text,
|
|
445
|
+
start: read.valueEnd + 1,
|
|
446
|
+
untilLineEnd: false,
|
|
447
|
+
});
|
|
448
|
+
if (rest) {
|
|
449
|
+
return {
|
|
450
|
+
range: rest.valueEnd > rest.valueStart
|
|
451
|
+
? { start: rest.valueStart, end: rest.valueEnd }
|
|
452
|
+
: null,
|
|
453
|
+
resumeAt: rest.closedAt,
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
return {
|
|
458
|
+
range: { start: read.valueStart, end: read.valueEnd },
|
|
459
|
+
resumeAt: read.closedAt,
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
function findNamedValues(data) {
|
|
463
|
+
for (const group of KEY_WORD_GROUPS) {
|
|
464
|
+
if (data.lower.indexOf(group.holds) === -1) {
|
|
465
|
+
continue;
|
|
466
|
+
}
|
|
467
|
+
for (const word of group.words) {
|
|
468
|
+
let from = 0;
|
|
469
|
+
for (;;) {
|
|
470
|
+
const at = data.lower.indexOf(word, from);
|
|
471
|
+
if (at === -1) {
|
|
472
|
+
break;
|
|
473
|
+
}
|
|
474
|
+
const read = readNamedValue({
|
|
475
|
+
text: data.text,
|
|
476
|
+
wordStart: at,
|
|
477
|
+
wordEnd: at + word.length,
|
|
478
|
+
word,
|
|
479
|
+
});
|
|
480
|
+
if (read.range) {
|
|
481
|
+
data.ranges.push(read.range);
|
|
482
|
+
}
|
|
483
|
+
from = Math.max(read.resumeAt, at + word.length);
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
/*
|
|
489
|
+
* A token by its shape: its start, and at least MIN_TOKEN_LENGTH characters a token can
|
|
490
|
+
* hold. The search goes on from its end, so a line of nothing but token characters is
|
|
491
|
+
* read once.
|
|
492
|
+
*/
|
|
493
|
+
function findTokensByShape(data) {
|
|
494
|
+
let from = 0;
|
|
495
|
+
for (;;) {
|
|
496
|
+
const at = data.text.indexOf(data.start, from);
|
|
497
|
+
if (at === -1) {
|
|
498
|
+
return;
|
|
499
|
+
}
|
|
500
|
+
let end = at + data.start.length;
|
|
501
|
+
while (end < data.text.length &&
|
|
502
|
+
data.isTokenCharacter(data.text.charCodeAt(end))) {
|
|
503
|
+
end++;
|
|
504
|
+
}
|
|
505
|
+
if (end - at >= data.minimumLength) {
|
|
506
|
+
data.ranges.push({ start: at, end });
|
|
507
|
+
}
|
|
508
|
+
from = end;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
function isJwsCharacter(code) {
|
|
512
|
+
return isBase64UrlCharacter(code) || code === 46;
|
|
513
|
+
}
|
|
514
|
+
function isBase64Character(code) {
|
|
515
|
+
return isBase64UrlCharacter(code) || code === 43 || code === 47;
|
|
516
|
+
}
|
|
517
|
+
// Whether what stands between two places is a port, or nothing. A short look.
|
|
518
|
+
function isPort(text, from, to) {
|
|
519
|
+
if (to - from > LONGEST_PORT) {
|
|
520
|
+
return false;
|
|
521
|
+
}
|
|
522
|
+
for (let index = from; index < to; index++) {
|
|
523
|
+
if (!isDigit(text.charCodeAt(index))) {
|
|
524
|
+
return false;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
return true;
|
|
528
|
+
}
|
|
529
|
+
/*
|
|
530
|
+
* The password of a URL: scheme://user:password@host, and each one of a bus's several
|
|
531
|
+
* hosts, rabbit://user:password@one:5672,user:password@two:5672/. A password can hold a
|
|
532
|
+
* comma, an @ and, unencoded, a slash: so a comma only ends a host that has its @, the last
|
|
533
|
+
* @ before the host ends a password, and a slash only ends the first part of an address
|
|
534
|
+
* when what comes after its colon could be a port. A text cut short can end inside a
|
|
535
|
+
* password, with no @ left to say so.
|
|
536
|
+
*/
|
|
537
|
+
function findUrlPasswords(data) {
|
|
538
|
+
const { text, ranges } = data;
|
|
539
|
+
let from = 0;
|
|
540
|
+
for (;;) {
|
|
541
|
+
const at = text.indexOf("://", from);
|
|
542
|
+
if (at === -1) {
|
|
543
|
+
return;
|
|
544
|
+
}
|
|
545
|
+
const start = at + 3;
|
|
546
|
+
let position = start;
|
|
547
|
+
let hostStart = start;
|
|
548
|
+
let colon = -1;
|
|
549
|
+
let lastAt = -1;
|
|
550
|
+
let isInBrackets = false;
|
|
551
|
+
let heldPassword = false;
|
|
552
|
+
const closeHost = () => {
|
|
553
|
+
if (colon !== -1 && lastAt > colon + 1) {
|
|
554
|
+
ranges.push({ start: colon + 1, end: lastAt });
|
|
555
|
+
heldPassword = true;
|
|
556
|
+
}
|
|
557
|
+
else if (lastAt > hostStart && heldPassword) {
|
|
558
|
+
// What is left of a password holding both an @ and a comma.
|
|
559
|
+
ranges.push({ start: hostStart, end: lastAt });
|
|
560
|
+
}
|
|
561
|
+
colon = -1;
|
|
562
|
+
lastAt = -1;
|
|
563
|
+
};
|
|
564
|
+
while (position < text.length) {
|
|
565
|
+
const code = text.charCodeAt(position);
|
|
566
|
+
if (isWhitespace(code) || closesValue(text, position, true)) {
|
|
567
|
+
break;
|
|
568
|
+
}
|
|
569
|
+
if (code === 47 || code === 63 || code === 35) {
|
|
570
|
+
// / ? #
|
|
571
|
+
if (lastAt !== -1 ||
|
|
572
|
+
colon === -1 ||
|
|
573
|
+
isPort(text, colon + 1, position)) {
|
|
574
|
+
break;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
else if (code === 44) {
|
|
578
|
+
// A comma, with a host's @ behind it.
|
|
579
|
+
if (lastAt !== -1) {
|
|
580
|
+
closeHost();
|
|
581
|
+
hostStart = position + 1;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
else if (code === 91 && colon === -1) {
|
|
585
|
+
// An IPv6 host: http://[::1]:5000/.
|
|
586
|
+
isInBrackets = true;
|
|
587
|
+
}
|
|
588
|
+
else if (code === 93) {
|
|
589
|
+
isInBrackets = false;
|
|
590
|
+
}
|
|
591
|
+
else if (code === COLON && colon === -1 && !isInBrackets) {
|
|
592
|
+
colon = position;
|
|
593
|
+
}
|
|
594
|
+
else if (code === 64) {
|
|
595
|
+
lastAt = position;
|
|
596
|
+
}
|
|
597
|
+
position++;
|
|
598
|
+
}
|
|
599
|
+
if (data.wasCut &&
|
|
600
|
+
position >= text.length &&
|
|
601
|
+
colon !== -1 &&
|
|
602
|
+
lastAt === -1 &&
|
|
603
|
+
!isPort(text, colon + 1, position)) {
|
|
604
|
+
ranges.push({ start: colon + 1, end: text.length });
|
|
605
|
+
}
|
|
606
|
+
else {
|
|
607
|
+
closeHost();
|
|
608
|
+
}
|
|
609
|
+
/*
|
|
610
|
+
* Read once: the next search starts where this one stopped. One character back, because
|
|
611
|
+
* the colon of another :// can be what the slash that stopped it comes after.
|
|
612
|
+
*/
|
|
613
|
+
from = Math.max(position - 1, start);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
function findPrivateKeys(text, ranges) {
|
|
617
|
+
let from = 0;
|
|
618
|
+
const marker = "PRIVATE KEY-----";
|
|
619
|
+
for (;;) {
|
|
620
|
+
const at = text.indexOf(marker, from);
|
|
621
|
+
if (at === -1) {
|
|
622
|
+
return;
|
|
623
|
+
}
|
|
624
|
+
// Looked for just before it, so a line of nothing but these is read once.
|
|
625
|
+
const beginWindowStart = Math.max(from, at - 64);
|
|
626
|
+
const beginInWindow = text
|
|
627
|
+
.slice(beginWindowStart, at)
|
|
628
|
+
.lastIndexOf("-----BEGIN");
|
|
629
|
+
const start = beginInWindow === -1 ? at : beginWindowStart + beginInWindow;
|
|
630
|
+
const end = text.indexOf("-----END", at + marker.length);
|
|
631
|
+
// A key with no end has no end: everything after it goes.
|
|
632
|
+
if (end === -1) {
|
|
633
|
+
ranges.push({ start, end: text.length });
|
|
634
|
+
return;
|
|
635
|
+
}
|
|
636
|
+
const close = text.indexOf(marker, end);
|
|
637
|
+
const stop = close === -1 ? end + 8 : close + marker.length;
|
|
638
|
+
ranges.push({ start, end: stop });
|
|
639
|
+
from = stop;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
/*
|
|
643
|
+
* The text with its secrets taken out. The same string when it holds none. `wasCut` says
|
|
644
|
+
* the text ends where something else cut it, which may be in the middle of a secret.
|
|
645
|
+
*/
|
|
646
|
+
function scrubOpenStackSecrets(text, options) {
|
|
647
|
+
if (!text) {
|
|
648
|
+
return text;
|
|
649
|
+
}
|
|
650
|
+
const ranges = [];
|
|
651
|
+
const lower = toSameLengthLowerCase(text);
|
|
652
|
+
findNamedValues({ text, lower, ranges });
|
|
653
|
+
findUrlPasswords({
|
|
654
|
+
text,
|
|
655
|
+
ranges,
|
|
656
|
+
wasCut: Boolean(options && options.wasCut),
|
|
657
|
+
});
|
|
658
|
+
findPrivateKeys(text, ranges);
|
|
659
|
+
findTokensByShape({
|
|
660
|
+
text,
|
|
661
|
+
start: "gAAAA",
|
|
662
|
+
isTokenCharacter: isBase64UrlCharacter,
|
|
663
|
+
minimumLength: MIN_TOKEN_LENGTH,
|
|
664
|
+
ranges,
|
|
665
|
+
});
|
|
666
|
+
findTokensByShape({
|
|
667
|
+
text,
|
|
668
|
+
start: "eyJ",
|
|
669
|
+
isTokenCharacter: isJwsCharacter,
|
|
670
|
+
minimumLength: MIN_TOKEN_LENGTH,
|
|
671
|
+
ranges,
|
|
672
|
+
});
|
|
673
|
+
// A PKI token: long, because plenty of ordinary base64 starts this way too.
|
|
674
|
+
findTokensByShape({
|
|
675
|
+
text,
|
|
676
|
+
start: "MII",
|
|
677
|
+
isTokenCharacter: isBase64Character,
|
|
678
|
+
minimumLength: 200,
|
|
679
|
+
ranges,
|
|
680
|
+
});
|
|
681
|
+
findTokensByShape({
|
|
682
|
+
text,
|
|
683
|
+
start: "PKIZ_",
|
|
684
|
+
isTokenCharacter: isBase64Character,
|
|
685
|
+
minimumLength: MIN_TOKEN_LENGTH,
|
|
686
|
+
ranges,
|
|
687
|
+
});
|
|
688
|
+
if (ranges.length === 0) {
|
|
689
|
+
return text;
|
|
690
|
+
}
|
|
691
|
+
ranges.sort((a, b) => {
|
|
692
|
+
return a.start - b.start;
|
|
693
|
+
});
|
|
694
|
+
const parts = [];
|
|
695
|
+
let position = 0;
|
|
696
|
+
for (const range of ranges) {
|
|
697
|
+
if (range.end <= position) {
|
|
698
|
+
continue;
|
|
699
|
+
}
|
|
700
|
+
if (range.start > position) {
|
|
701
|
+
parts.push(text.slice(position, range.start));
|
|
702
|
+
parts.push(exports.OPENSTACK_SCRUBBED_VALUE);
|
|
703
|
+
}
|
|
704
|
+
else if (parts.length === 0) {
|
|
705
|
+
parts.push(exports.OPENSTACK_SCRUBBED_VALUE);
|
|
706
|
+
}
|
|
707
|
+
position = range.end;
|
|
708
|
+
}
|
|
709
|
+
parts.push(text.slice(position));
|
|
710
|
+
return parts.join("");
|
|
711
|
+
}
|
|
712
|
+
/*
|
|
713
|
+
* ANSI colour codes, which DevStack writes into every line. Read in one pass: an escape
|
|
714
|
+
* followed by [, digits and semicolons, and an m.
|
|
715
|
+
*/
|
|
716
|
+
function stripAnsiCodes(text) {
|
|
717
|
+
if (!text || text.indexOf("\u001b[") === -1) {
|
|
718
|
+
return text;
|
|
719
|
+
}
|
|
720
|
+
const parts = [];
|
|
721
|
+
let position = 0;
|
|
722
|
+
for (;;) {
|
|
723
|
+
const at = text.indexOf("\u001b[", position);
|
|
724
|
+
if (at === -1) {
|
|
725
|
+
parts.push(text.slice(position));
|
|
726
|
+
break;
|
|
727
|
+
}
|
|
728
|
+
parts.push(text.slice(position, at));
|
|
729
|
+
let end = at + 2;
|
|
730
|
+
while (end < text.length) {
|
|
731
|
+
const code = text.charCodeAt(end);
|
|
732
|
+
if ((code >= 48 && code <= 57) || code === 59) {
|
|
733
|
+
end++;
|
|
734
|
+
continue;
|
|
735
|
+
}
|
|
736
|
+
break;
|
|
737
|
+
}
|
|
738
|
+
// A code it does not know is left out to here and no further.
|
|
739
|
+
position = text.charAt(end) === "m" ? end + 1 : end;
|
|
740
|
+
}
|
|
741
|
+
return parts.join("");
|
|
742
|
+
}
|
|
743
|
+
/*
|
|
744
|
+
* Whether a field's name is one a value is secret under, by the same words as a line's: its
|
|
745
|
+
* name ends with one, as admin_password does and password_expires_at does not.
|
|
746
|
+
*/
|
|
747
|
+
function isSecretFieldName(lowerName) {
|
|
748
|
+
if (lowerName.length > MAX_FIELD_NAME_LENGTH) {
|
|
749
|
+
return false;
|
|
750
|
+
}
|
|
751
|
+
for (const group of KEY_WORD_GROUPS) {
|
|
752
|
+
for (const word of group.words) {
|
|
753
|
+
const at = lowerName.lastIndexOf(word);
|
|
754
|
+
if (at === -1) {
|
|
755
|
+
continue;
|
|
756
|
+
}
|
|
757
|
+
let end = at + word.length;
|
|
758
|
+
while (end < lowerName.length && isDigit(lowerName.charCodeAt(end))) {
|
|
759
|
+
end++;
|
|
760
|
+
}
|
|
761
|
+
if (end === lowerName.length) {
|
|
762
|
+
return true;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
return false;
|
|
767
|
+
}
|
|
768
|
+
/*
|
|
769
|
+
* A notification's or an audit event's fields with what must never be stored taken out:
|
|
770
|
+
* whatever a credential holds, what a request or response held, and an oslo.context's
|
|
771
|
+
* own copy of its token. By key, on the parsed value, and every text left is scrubbed on its
|
|
772
|
+
* own: a line's scrub reads text and cannot see where a string of JSON ends, so it can take
|
|
773
|
+
* more than it should and leave what no longer parses. Depth is bounded because a value
|
|
774
|
+
* anyone can write decides it, and a walk that recursed for each level could run out of
|
|
775
|
+
* stack on one long nesting.
|
|
776
|
+
*/
|
|
777
|
+
const REMOVED_KEYS = new Set([
|
|
778
|
+
"attachments",
|
|
779
|
+
"credential",
|
|
780
|
+
"credentials",
|
|
781
|
+
"auth_token",
|
|
782
|
+
"token",
|
|
783
|
+
"password",
|
|
784
|
+
"adminpass",
|
|
785
|
+
"admin_pass",
|
|
786
|
+
"admin_password",
|
|
787
|
+
"secret",
|
|
788
|
+
"blob",
|
|
789
|
+
"user_data",
|
|
790
|
+
"requestpayload",
|
|
791
|
+
"responsepayload",
|
|
792
|
+
"reqpayload",
|
|
793
|
+
"respayload",
|
|
794
|
+
"request_payload",
|
|
795
|
+
"response_payload",
|
|
796
|
+
"request_body",
|
|
797
|
+
"response_body",
|
|
798
|
+
]);
|
|
799
|
+
const MAX_CLEANED_DEPTH = 32;
|
|
800
|
+
const MAX_FIELD_NAME_LENGTH = 128;
|
|
801
|
+
function removeOpenStackSecretFields(value, depth = 0) {
|
|
802
|
+
if (Array.isArray(value)) {
|
|
803
|
+
if (depth >= MAX_CLEANED_DEPTH) {
|
|
804
|
+
return [];
|
|
805
|
+
}
|
|
806
|
+
return value.map((item) => {
|
|
807
|
+
return removeOpenStackSecretFields(item, depth + 1);
|
|
808
|
+
});
|
|
809
|
+
}
|
|
810
|
+
if (value && typeof value === "object") {
|
|
811
|
+
if (depth >= MAX_CLEANED_DEPTH) {
|
|
812
|
+
return {};
|
|
813
|
+
}
|
|
814
|
+
const cleaned = {};
|
|
815
|
+
for (const key of Object.keys(value)) {
|
|
816
|
+
const lower = key.toLowerCase();
|
|
817
|
+
if (REMOVED_KEYS.has(lower) ||
|
|
818
|
+
lower.startsWith("_context_") ||
|
|
819
|
+
lower === "__proto__") {
|
|
820
|
+
continue;
|
|
821
|
+
}
|
|
822
|
+
const field = value[key];
|
|
823
|
+
if (typeof field === "string" &&
|
|
824
|
+
isSecretFieldName(lower) &&
|
|
825
|
+
!isOnlyStars(field, 0, field.length) &&
|
|
826
|
+
!VALUES_THAT_ARE_NOT_SECRETS.includes(field.trim().toLowerCase())) {
|
|
827
|
+
cleaned[key] = exports.OPENSTACK_SCRUBBED_VALUE;
|
|
828
|
+
continue;
|
|
829
|
+
}
|
|
830
|
+
cleaned[key] = removeOpenStackSecretFields(field, depth + 1);
|
|
831
|
+
}
|
|
832
|
+
return cleaned;
|
|
833
|
+
}
|
|
834
|
+
return typeof value === "string" ? scrubOpenStackSecrets(value) : value;
|
|
835
|
+
}
|