@oneuptime/common 17.1.0 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/AnalyticsBaseModel/AnalyticsBaseModel.d.mts +2 -1
- package/Models/AnalyticsModels/AnalyticsBaseModel/AnalyticsBaseModel.d.ts +2 -1
- package/Models/AnalyticsModels/AnalyticsBaseModel/AnalyticsBaseModel.js +33 -1
- package/Models/AnalyticsModels/AuditLog.d.mts +6 -6
- package/Models/AnalyticsModels/AuditLog.d.ts +6 -6
- package/Models/AnalyticsModels/AuditLog.js +31 -23
- package/Models/AnalyticsModels/ExceptionInstance.d.mts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.d.ts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.js +27 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.mts +4 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.ts +4 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.js +57 -1
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +15 -8
- package/Models/AnalyticsModels/SecurityAddressVault.d.mts +16 -0
- package/Models/AnalyticsModels/SecurityAddressVault.d.ts +16 -0
- package/Models/AnalyticsModels/SecurityAddressVault.js +179 -0
- package/Models/AnalyticsModels/SecurityAddressVault.mjs +3 -0
- package/Models/AnalyticsModels/SecurityEvent.d.mts +2 -0
- package/Models/AnalyticsModels/SecurityEvent.d.ts +2 -0
- package/Models/AnalyticsModels/SecurityEvent.js +28 -0
- package/Models/AnalyticsModels/SecurityEvent.mjs +2 -0
- package/Models/DatabaseModels/AIAgent.js +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +2 -0
- package/Models/DatabaseModels/Alert.js +6 -0
- package/Models/DatabaseModels/AlertEpisode.js +16 -0
- package/Models/DatabaseModels/AlertEpisodeInternalNote.js +2 -0
- package/Models/DatabaseModels/AlertEpisodeMember.js +3 -0
- package/Models/DatabaseModels/AlertEpisodeStateTimeline.js +2 -0
- package/Models/DatabaseModels/AlertInternalNote.js +2 -0
- package/Models/DatabaseModels/AlertStateTimeline.js +2 -0
- package/Models/DatabaseModels/ApiKeyPermission.js +5 -1
- package/Models/DatabaseModels/CephCluster.js +16 -0
- package/Models/DatabaseModels/CloudAccount.js +19 -0
- package/Models/DatabaseModels/CloudConnection.js +30 -1
- package/Models/DatabaseModels/CloudResource.js +25 -1
- package/Models/DatabaseModels/Dashboard.d.mts +2 -0
- package/Models/DatabaseModels/Dashboard.d.ts +2 -0
- package/Models/DatabaseModels/Dashboard.js +112 -0
- package/Models/DatabaseModels/DashboardOidc.d.mts +28 -0
- package/Models/DatabaseModels/DashboardOidc.d.ts +28 -0
- package/Models/DatabaseModels/DashboardOidc.js +737 -0
- package/Models/DatabaseModels/DashboardOidc.mjs +2 -0
- package/Models/DatabaseModels/DashboardPrivateUser.d.mts +25 -0
- package/Models/DatabaseModels/DashboardPrivateUser.d.ts +25 -0
- package/Models/DatabaseModels/DashboardPrivateUser.js +503 -0
- package/Models/DatabaseModels/DashboardPrivateUser.mjs +2 -0
- package/Models/DatabaseModels/DashboardPrivateUserSession.d.mts +30 -0
- package/Models/DatabaseModels/DashboardPrivateUserSession.d.ts +30 -0
- package/Models/DatabaseModels/DashboardPrivateUserSession.js +514 -0
- package/Models/DatabaseModels/DashboardPrivateUserSession.mjs +2 -0
- package/Models/DatabaseModels/DashboardSso.d.mts +28 -0
- package/Models/DatabaseModels/DashboardSso.d.ts +28 -0
- package/Models/DatabaseModels/DashboardSso.js +679 -0
- package/Models/DatabaseModels/DashboardSso.mjs +2 -0
- package/Models/DatabaseModels/DataAsset.js +4 -1
- package/Models/DatabaseModels/DataPipeline.js +12 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.mts +3 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.ts +3 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.js +85 -6
- package/Models/DatabaseModels/DataSecurityIssue.js +4 -0
- package/Models/DatabaseModels/DataSecurityScan.js +22 -0
- package/Models/DatabaseModels/DataStore.js +70 -4
- package/Models/DatabaseModels/DatabaseServer.js +7 -0
- package/Models/DatabaseModels/DatabaseServerEndpoint.js +3 -0
- package/Models/DatabaseModels/DeviceManagementConnection.js +17 -12
- package/Models/DatabaseModels/DockerHost.js +13 -0
- package/Models/DatabaseModels/DockerSwarmCluster.js +16 -0
- package/Models/DatabaseModels/Domain.js +29 -1
- package/Models/DatabaseModels/Form.d.mts +2 -0
- package/Models/DatabaseModels/Form.d.ts +2 -0
- package/Models/DatabaseModels/Form.js +64 -0
- package/Models/DatabaseModels/FormOidc.d.mts +28 -0
- package/Models/DatabaseModels/FormOidc.d.ts +28 -0
- package/Models/DatabaseModels/FormOidc.js +735 -0
- package/Models/DatabaseModels/FormOidc.mjs +2 -0
- package/Models/DatabaseModels/FormPrivateUser.d.mts +25 -0
- package/Models/DatabaseModels/FormPrivateUser.d.ts +25 -0
- package/Models/DatabaseModels/FormPrivateUser.js +503 -0
- package/Models/DatabaseModels/FormPrivateUser.mjs +2 -0
- package/Models/DatabaseModels/FormPrivateUserSession.d.mts +30 -0
- package/Models/DatabaseModels/FormPrivateUserSession.d.ts +30 -0
- package/Models/DatabaseModels/FormPrivateUserSession.js +514 -0
- package/Models/DatabaseModels/FormPrivateUserSession.mjs +2 -0
- package/Models/DatabaseModels/FormSso.d.mts +28 -0
- package/Models/DatabaseModels/FormSso.d.ts +28 -0
- package/Models/DatabaseModels/FormSso.js +677 -0
- package/Models/DatabaseModels/FormSso.mjs +2 -0
- package/Models/DatabaseModels/GuidedSetupRun.d.mts +15 -0
- package/Models/DatabaseModels/GuidedSetupRun.d.ts +15 -0
- package/Models/DatabaseModels/GuidedSetupRun.js +254 -0
- package/Models/DatabaseModels/GuidedSetupRun.mjs +2 -0
- package/Models/DatabaseModels/Host.js +22 -0
- package/Models/DatabaseModels/HostLogSession.d.mts +1 -0
- package/Models/DatabaseModels/HostLogSession.d.ts +1 -0
- package/Models/DatabaseModels/HostLogSession.js +21 -0
- package/Models/DatabaseModels/Incident.js +8 -0
- package/Models/DatabaseModels/IncidentEpisode.js +16 -0
- package/Models/DatabaseModels/IncidentEpisodeInternalNote.js +2 -0
- package/Models/DatabaseModels/IncidentEpisodeMember.js +3 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.js +2 -0
- package/Models/DatabaseModels/IncidentEpisodeRoleMember.js +23 -2
- package/Models/DatabaseModels/IncidentEpisodeStateTimeline.js +2 -0
- package/Models/DatabaseModels/IncidentInternalNote.js +2 -0
- package/Models/DatabaseModels/IncidentMember.js +25 -2
- package/Models/DatabaseModels/IncidentPublicNote.js +2 -0
- package/Models/DatabaseModels/IncidentSla.js +18 -1
- package/Models/DatabaseModels/IncidentStateTimeline.js +2 -0
- package/Models/DatabaseModels/IncomingCallLogItem.js +6 -0
- package/Models/DatabaseModels/IncomingCallPolicy.js +2 -0
- package/Models/DatabaseModels/Index.js +30 -0
- package/Models/DatabaseModels/InventoryItem.d.mts +4 -0
- package/Models/DatabaseModels/InventoryItem.d.ts +4 -0
- package/Models/DatabaseModels/InventoryItem.js +97 -0
- package/Models/DatabaseModels/InventoryItemRelationship.js +6 -0
- package/Models/DatabaseModels/IoTFleet.js +7 -0
- package/Models/DatabaseModels/KubernetesCluster.d.mts +3 -0
- package/Models/DatabaseModels/KubernetesCluster.d.ts +3 -0
- package/Models/DatabaseModels/KubernetesCluster.js +79 -0
- package/Models/DatabaseModels/ManagedDevice.d.mts +2 -0
- package/Models/DatabaseModels/ManagedDevice.d.ts +2 -0
- package/Models/DatabaseModels/ManagedDevice.js +34 -8
- package/Models/DatabaseModels/MessageQueue.js +6 -0
- package/Models/DatabaseModels/MetricType.js +6 -0
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +81 -1
- package/Models/DatabaseModels/MonitorProbe.js +3 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.js +2 -0
- package/Models/DatabaseModels/NetworkDevice.js +34 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.mts +8 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.ts +8 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +1 -1
- package/Models/DatabaseModels/NetworkEndpoint.js +3 -0
- package/Models/DatabaseModels/NetworkSite.d.mts +2 -0
- package/Models/DatabaseModels/NetworkSite.d.ts +2 -0
- package/Models/DatabaseModels/NetworkSite.js +67 -0
- package/Models/DatabaseModels/NetworkSiteOwnerTeam.d.mts +18 -0
- package/Models/DatabaseModels/NetworkSiteOwnerTeam.d.ts +18 -0
- package/Models/DatabaseModels/NetworkSiteOwnerTeam.js +478 -0
- package/Models/DatabaseModels/NetworkSiteOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/NetworkSiteOwnerUser.d.mts +17 -0
- package/Models/DatabaseModels/NetworkSiteOwnerUser.d.ts +17 -0
- package/Models/DatabaseModels/NetworkSiteOwnerUser.js +477 -0
- package/Models/DatabaseModels/NetworkSiteOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/NetworkSiteStatusTimeline.js +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicy.js +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +22 -0
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +14 -0
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +17 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +9 -0
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +2 -0
- package/Models/DatabaseModels/OpenStackCloud.js +25 -0
- package/Models/DatabaseModels/PodmanHost.js +13 -0
- package/Models/DatabaseModels/Probe.d.mts +1 -0
- package/Models/DatabaseModels/Probe.d.ts +1 -0
- package/Models/DatabaseModels/Probe.js +35 -0
- package/Models/DatabaseModels/Project.d.mts +1 -0
- package/Models/DatabaseModels/Project.d.ts +1 -0
- package/Models/DatabaseModels/Project.js +52 -2
- package/Models/DatabaseModels/ProjectSCIM.js +3 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.mts +3 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.ts +3 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.js +89 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +13 -0
- package/Models/DatabaseModels/ProxmoxResource.d.mts +5 -0
- package/Models/DatabaseModels/ProxmoxResource.d.ts +5 -0
- package/Models/DatabaseModels/ProxmoxResource.js +112 -0
- package/Models/DatabaseModels/ResourceAiAgent.js +38 -20
- package/Models/DatabaseModels/RumApplication.js +2 -0
- package/Models/DatabaseModels/Runbook.js +3 -1
- package/Models/DatabaseModels/RunbookExecution.js +6 -0
- package/Models/DatabaseModels/Runner.js +3 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +2 -0
- package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +2 -0
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.d.mts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.d.ts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.js +56 -0
- package/Models/DatabaseModels/SecurityBlock.d.mts +28 -0
- package/Models/DatabaseModels/SecurityBlock.d.ts +28 -0
- package/Models/DatabaseModels/SecurityBlock.js +529 -0
- package/Models/DatabaseModels/SecurityBlock.mjs +2 -0
- package/Models/DatabaseModels/SecurityBlockEnforcement.d.mts +22 -0
- package/Models/DatabaseModels/SecurityBlockEnforcement.d.ts +22 -0
- package/Models/DatabaseModels/SecurityBlockEnforcement.js +368 -0
- package/Models/DatabaseModels/SecurityBlockEnforcement.mjs +2 -0
- package/Models/DatabaseModels/SecurityCase.js +29 -0
- package/Models/DatabaseModels/SecurityEventConnection.js +18 -0
- package/Models/DatabaseModels/SecurityPlaybookRun.js +15 -0
- package/Models/DatabaseModels/SecurityProtectedEntity.js +10 -8
- package/Models/DatabaseModels/ServerlessFunction.js +2 -0
- package/Models/DatabaseModels/Service.js +2 -0
- package/Models/DatabaseModels/ServiceLevelObjective.js +3 -0
- package/Models/DatabaseModels/StatusPage.js +3 -0
- package/Models/DatabaseModels/StatusPageSCIM.js +3 -0
- package/Models/DatabaseModels/StatusPageSubscriber.js +4 -0
- package/Models/DatabaseModels/StorageArray.js +25 -0
- package/Models/DatabaseModels/TeamMember.d.mts +2 -0
- package/Models/DatabaseModels/TeamMember.d.ts +2 -0
- package/Models/DatabaseModels/TeamMember.js +47 -0
- package/Models/DatabaseModels/TeamPermission.js +5 -1
- package/Models/DatabaseModels/TelemetryDsym.d.mts +19 -0
- package/Models/DatabaseModels/TelemetryDsym.d.ts +19 -0
- package/Models/DatabaseModels/TelemetryDsym.js +545 -0
- package/Models/DatabaseModels/TelemetryDsym.mjs +2 -0
- package/Models/DatabaseModels/TelemetryException.js +24 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +3 -0
- package/Models/DatabaseModels/TelemetryIngestionTeamLabelBudget.d.mts +22 -0
- package/Models/DatabaseModels/TelemetryIngestionTeamLabelBudget.d.ts +22 -0
- package/Models/DatabaseModels/TelemetryIngestionTeamLabelBudget.js +385 -0
- package/Models/DatabaseModels/TelemetryIngestionTeamLabelBudget.mjs +2 -0
- package/Models/DatabaseModels/TelemetrySourceMap.js +2 -0
- package/Models/DatabaseModels/TelemetryUsageBilling.js +7 -5
- package/Models/DatabaseModels/ThreatIntelFeed.js +31 -0
- package/Models/DatabaseModels/User.d.mts +1 -0
- package/Models/DatabaseModels/User.d.ts +1 -0
- package/Models/DatabaseModels/User.js +27 -0
- package/Models/DatabaseModels/UserProjectSsoConsent.js +6 -4
- package/Models/DatabaseModels/VMwareVCenter.js +16 -0
- package/Models/DatabaseModels/Workflow.js +2 -0
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +3 -0
- package/Models/DatabaseModels/WorkspaceUserGroup.js +4 -0
- package/Server/Services/DatabaseService.d.mts +33 -1
- package/Server/Services/DatabaseService.d.ts +33 -1
- package/Server/Types/Database/CreateBy.d.mts +1 -0
- package/Server/Types/Database/CreateBy.d.ts +1 -0
- package/Server/Types/Database/UpdateByID.d.mts +2 -0
- package/Server/Types/Database/UpdateByID.d.ts +2 -0
- package/Server/Types/Database/UpdateOneBy.d.mts +2 -0
- package/Server/Types/Database/UpdateOneBy.d.ts +2 -0
- package/Server/Utils/Database/ListEntries.d.mts +45 -0
- package/Server/Utils/Database/ListEntries.d.ts +45 -0
- package/Types/AI/AIActionWords.d.mts +22 -0
- package/Types/AI/AIActionWords.d.ts +22 -0
- package/Types/AI/AIActionWords.js +43 -1
- package/Types/AI/AIActionWords.mjs +1 -0
- package/Types/AI/AIChatPageContext.d.mts +20 -1
- package/Types/AI/AIChatPageContext.d.ts +20 -1
- package/Types/AI/AIChatPageContext.js +83 -2
- package/Types/AI/AISetupActions.d.mts +1 -0
- package/Types/AI/AISetupActions.d.ts +1 -0
- package/Types/AI/AISetupActions.js +37 -7
- package/Types/AI/AISetupActions.mjs +1 -0
- package/Types/AI/AskAiAnswers.d.mts +23 -0
- package/Types/AI/AskAiAnswers.d.ts +23 -0
- package/Types/AI/AskAiAnswers.js +150 -0
- package/Types/AI/AskAiAnswers.mjs +9 -0
- package/Types/AI/AskAiDocsTools.d.mts +4 -0
- package/Types/AI/AskAiDocsTools.d.ts +4 -0
- package/Types/AI/AskAiDocsTools.js +25 -0
- package/Types/AI/AskAiDocsTools.mjs +5 -0
- package/Types/AI/AskAiRatings.js +2 -5
- package/Types/AI/AskAiRecordPages.d.mts +33 -0
- package/Types/AI/AskAiRecordPages.d.ts +33 -0
- package/Types/AI/AskAiRecordPages.js +58 -0
- package/Types/AI/AskAiRecordPages.mjs +5 -0
- package/Types/API/FieldsLeftOut.d.mts +8 -0
- package/Types/API/FieldsLeftOut.d.ts +8 -0
- package/Types/API/FieldsLeftOut.js +98 -0
- package/Types/API/FieldsLeftOut.mjs +3 -0
- package/Types/API/Route.js +18 -6
- package/Types/Accounts/EmailAddressChangedEmail.d.mts +35 -0
- package/Types/Accounts/EmailAddressChangedEmail.d.ts +35 -0
- package/Types/Accounts/EmailAddressChangedEmail.js +201 -0
- package/Types/Accounts/EmailAddressChangedEmail.mjs +10 -0
- package/Types/Accounts/InvitationSsoSignIn.d.mts +8 -0
- package/Types/Accounts/InvitationSsoSignIn.d.ts +8 -0
- package/Types/Accounts/InvitationSsoSignIn.js +55 -0
- package/Types/Accounts/InvitationSsoSignIn.mjs +5 -0
- package/Types/Accounts/Reauthentication.d.mts +99 -0
- package/Types/Accounts/Reauthentication.d.ts +99 -0
- package/Types/Accounts/Reauthentication.js +341 -0
- package/Types/Accounts/Reauthentication.mjs +21 -0
- package/Types/Accounts/RememberedSsoProvider.d.mts +17 -0
- package/Types/Accounts/RememberedSsoProvider.d.ts +17 -0
- package/Types/Accounts/RememberedSsoProvider.js +114 -0
- package/Types/Accounts/RememberedSsoProvider.mjs +3 -0
- package/Types/Accounts/SignUpInvitation.d.mts +1 -0
- package/Types/Accounts/SignUpInvitation.d.ts +1 -0
- package/Types/Accounts/SignUpInvitation.js +14 -1
- package/Types/Accounts/SignUpInvitation.mjs +1 -0
- package/Types/Accounts/SsoSignInLinks.d.mts +20 -0
- package/Types/Accounts/SsoSignInLinks.d.ts +20 -0
- package/Types/Accounts/SsoSignInLinks.js +97 -0
- package/Types/Accounts/SsoSignInLinks.mjs +6 -0
- package/Types/Analytics/ProductEvent.d.mts +1 -0
- package/Types/Analytics/ProductEvent.d.ts +1 -0
- package/Types/Analytics/ProductEvent.js +20 -3
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.mts +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.ts +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.js +8 -0
- package/Types/AuditLog/AuditLogCoverage.js +2 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +1 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +4 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +4 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.js +3 -3
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +1 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +1 -0
- package/Types/Billing/PayAsYouGoPricing.d.mts +5 -0
- package/Types/Billing/PayAsYouGoPricing.d.ts +5 -0
- package/Types/Billing/PayAsYouGoPricing.js +24 -6
- package/Types/Billing/PayAsYouGoPricing.mjs +1 -0
- package/Types/Cloud/AppServiceSiteActivity.d.mts +55 -0
- package/Types/Cloud/AppServiceSiteActivity.d.ts +55 -0
- package/Types/Cloud/AppServiceSiteActivity.js +321 -0
- package/Types/Cloud/AppServiceSiteActivity.mjs +16 -0
- package/Types/Cloud/AwsDocumentedMetricUnits.d.mts +6 -0
- package/Types/Cloud/AwsDocumentedMetricUnits.d.ts +6 -0
- package/Types/Cloud/AwsDocumentedMetricUnits.js +1603 -0
- package/Types/Cloud/AwsDocumentedMetricUnits.mjs +3 -0
- package/Types/Cloud/AwsMetricUnits.d.mts +1 -0
- package/Types/Cloud/AwsMetricUnits.d.ts +1 -0
- package/Types/Cloud/AwsMetricUnits.js +38 -0
- package/Types/Cloud/AwsMetricUnits.mjs +2 -0
- package/Types/Cloud/AwsRoleArn.d.mts +2 -0
- package/Types/Cloud/AwsRoleArn.d.ts +2 -0
- package/Types/Cloud/AwsRoleArn.js +58 -0
- package/Types/Cloud/AwsRoleArn.mjs +3 -0
- package/Types/Cloud/CloudAddedMetricReaders.d.mts +43 -0
- package/Types/Cloud/CloudAddedMetricReaders.d.ts +43 -0
- package/Types/Cloud/CloudAddedMetricReaders.js +202 -0
- package/Types/Cloud/CloudAddedMetricReaders.mjs +5 -0
- package/Types/Cloud/CloudAddedMetrics.d.mts +14 -0
- package/Types/Cloud/CloudAddedMetrics.d.ts +14 -0
- package/Types/Cloud/CloudAddedMetrics.js +204 -3
- package/Types/Cloud/CloudAddedMetrics.mjs +7 -0
- package/Types/Cloud/CloudCost.d.mts +4 -1
- package/Types/Cloud/CloudCost.d.ts +4 -1
- package/Types/Cloud/CloudCost.js +15 -1
- package/Types/Cloud/CloudKeyMetrics.d.mts +15 -0
- package/Types/Cloud/CloudKeyMetrics.d.ts +15 -0
- package/Types/Cloud/CloudKeyMetrics.js +115 -7
- package/Types/Cloud/CloudKeyMetrics.mjs +5 -0
- package/Types/Cloud/CloudLogGroups.js +4 -4
- package/Types/Cloud/CloudPublishedMetrics.d.mts +11 -0
- package/Types/Cloud/CloudPublishedMetrics.d.ts +11 -0
- package/Types/Cloud/CloudPublishedMetrics.js +50 -0
- package/Types/Cloud/CloudPublishedMetrics.mjs +1 -0
- package/Types/Cloud/CloudResourceHealth.d.mts +2 -0
- package/Types/Cloud/CloudResourceHealth.d.ts +2 -0
- package/Types/Cloud/CloudResourceHealth.js +37 -5
- package/Types/Cloud/CloudResourceHealth.mjs +2 -0
- package/Types/Cloud/CloudResourceMetricCollection.d.mts +41 -0
- package/Types/Cloud/CloudResourceMetricCollection.d.ts +41 -0
- package/Types/Cloud/CloudResourceMetricCollection.js +167 -0
- package/Types/Cloud/CloudResourceMetricCollection.mjs +9 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.mts +35 -1
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.ts +35 -1
- package/Types/Cloud/CloudUnreportedKeyMetrics.js +202 -13
- package/Types/Cloud/CloudUnreportedKeyMetrics.mjs +5 -0
- package/Types/CloudConnection/AwsRoleExternalIdRefusal.d.mts +9 -0
- package/Types/CloudConnection/AwsRoleExternalIdRefusal.d.ts +9 -0
- package/Types/CloudConnection/AwsRoleExternalIdRefusal.js +70 -0
- package/Types/CloudConnection/AwsRoleExternalIdRefusal.mjs +6 -0
- package/Types/CloudConnection/AwsRoleSignInFailures.d.mts +15 -0
- package/Types/CloudConnection/AwsRoleSignInFailures.d.ts +15 -0
- package/Types/CloudConnection/AwsRoleSignInFailures.js +27 -0
- package/Types/CloudConnection/AwsRoleSignInFailures.mjs +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +6 -3
- package/Types/CloudConnection/CloudConnectionCost.d.mts +5 -0
- package/Types/CloudConnection/CloudConnectionCost.d.ts +5 -0
- package/Types/CloudConnection/CloudConnectionCost.js +25 -3
- package/Types/CloudConnection/CloudConnectionCost.mjs +1 -0
- package/Types/CloudConnection/CloudConnectionPaste.d.mts +2 -1
- package/Types/CloudConnection/CloudConnectionPaste.d.ts +2 -1
- package/Types/CloudConnection/CloudConnectionPaste.js +4 -42
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +23 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +23 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +96 -8
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +7 -0
- package/Types/CloudConnection/CloudStreamAzure.d.mts +16 -0
- package/Types/CloudConnection/CloudStreamAzure.d.ts +16 -0
- package/Types/CloudConnection/CloudStreamAzure.js +245 -41
- package/Types/CloudConnection/CloudStreamAzure.mjs +12 -0
- package/Types/CookieName.d.mts +7 -1
- package/Types/CookieName.d.ts +7 -1
- package/Types/CookieName.js +18 -0
- package/Types/Dashboard/DashboardAccess.d.mts +6 -1
- package/Types/Dashboard/DashboardAccess.d.ts +6 -1
- package/Types/Dashboard/DashboardAccess.js +79 -19
- package/Types/Dashboard/DashboardAccess.mjs +2 -0
- package/Types/Dashboard/DashboardComponents/DashboardDataSourceChartComponent.d.mts +1 -0
- package/Types/Dashboard/DashboardComponents/DashboardDataSourceChartComponent.d.ts +1 -0
- package/Types/Dashboard/DashboardPrivateUserSignIn.d.mts +27 -0
- package/Types/Dashboard/DashboardPrivateUserSignIn.d.ts +27 -0
- package/Types/Dashboard/DashboardPrivateUserSignIn.js +56 -0
- package/Types/Dashboard/DashboardPrivateUserSignIn.mjs +10 -0
- package/Types/Dashboard/PublicDashboardPromQL.d.mts +1 -0
- package/Types/Dashboard/PublicDashboardPromQL.d.ts +1 -0
- package/Types/Dashboard/PublicDashboardPromQL.js +13 -0
- package/Types/Dashboard/PublicDashboardPromQL.mjs +2 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.mts +3 -1
- package/Types/Dashboard/PublicDashboardServedSettings.d.ts +3 -1
- package/Types/Dashboard/PublicDashboardServedSettings.js +98 -10
- package/Types/DataSecurity/CustomDataTypeId.d.mts +3 -0
- package/Types/DataSecurity/CustomDataTypeId.d.ts +3 -0
- package/Types/DataSecurity/CustomDataTypeId.js +22 -0
- package/Types/DataSecurity/CustomDataTypeId.mjs +4 -0
- package/Types/DataSecurity/DataSecurityAiFeatures.d.mts +27 -0
- package/Types/DataSecurity/DataSecurityAiFeatures.d.ts +27 -0
- package/Types/DataSecurity/DataSecurityAiFeatures.js +153 -0
- package/Types/DataSecurity/DataSecurityAiFeatures.mjs +8 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +52 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +52 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +17 -2
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +1 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +5 -8
- package/Types/DataSecurity/DataTypeNamer.d.mts +15 -0
- package/Types/DataSecurity/DataTypeNamer.d.ts +15 -0
- package/Types/DataSecurity/DataTypeNamer.js +148 -0
- package/Types/DataSecurity/DataTypeNamer.mjs +4 -0
- package/Types/DataSource/ProjectMetricsDataSource.d.mts +4 -0
- package/Types/DataSource/ProjectMetricsDataSource.d.ts +4 -0
- package/Types/DataSource/ProjectMetricsDataSource.js +27 -0
- package/Types/DataSource/ProjectMetricsDataSource.mjs +3 -0
- package/Types/Database/AccessControl/ColumnAccessControl.js +36 -2
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +109 -4
- package/Types/Database/AccessControl/TableAccessControl.js +39 -11
- package/Types/Database/ListChanges.d.mts +21 -0
- package/Types/Database/ListChanges.d.ts +21 -0
- package/Types/Database/ListChanges.js +198 -0
- package/Types/Database/ListChanges.mjs +4 -0
- package/Types/Database/RelationReaders.d.mts +5 -0
- package/Types/Database/RelationReaders.d.ts +5 -0
- package/Types/Database/RelationReaders.js +44 -0
- package/Types/Database/RelationReaders.mjs +2 -0
- package/Types/Database/RelationReadersUtil.d.mts +29 -0
- package/Types/Database/RelationReadersUtil.d.ts +29 -0
- package/Types/Database/RelationReadersUtil.js +178 -0
- package/Types/Database/RelationReadersUtil.mjs +2 -0
- package/Types/Database/ServerOwned.d.mts +6 -0
- package/Types/Database/ServerOwned.d.ts +6 -0
- package/Types/Database/ServerOwned.js +76 -0
- package/Types/Database/ServerOwned.mjs +2 -0
- package/Types/Database/SharedNameMarks.d.mts +39 -0
- package/Types/Database/SharedNameMarks.d.ts +39 -0
- package/Types/Database/SharedNameMarks.js +208 -0
- package/Types/Database/SharedNameMarks.mjs +11 -0
- package/Types/Database/SharedNames.d.mts +1 -0
- package/Types/Database/SharedNames.d.ts +1 -0
- package/Types/Database/SharedNames.js +10 -8
- package/Types/Database/TableColumn.d.mts +4 -0
- package/Types/Database/TableColumn.d.ts +4 -0
- package/Types/Date.d.mts +41 -1
- package/Types/Date.d.ts +41 -1
- package/Types/Date.js +377 -155
- package/Types/DateLanguage.d.mts +18 -2
- package/Types/DateLanguage.d.ts +18 -2
- package/Types/DateLanguage.js +311 -49
- package/Types/DateLanguage.mjs +6 -1
- package/Types/DeviceManagement/DeviceManagementConnectionReading.d.mts +50 -0
- package/Types/DeviceManagement/DeviceManagementConnectionReading.d.ts +50 -0
- package/Types/DeviceManagement/DeviceManagementConnectionReading.js +192 -0
- package/Types/DeviceManagement/DeviceManagementConnectionReading.mjs +12 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.mts +73 -1
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.ts +73 -1
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.js +814 -15
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.mjs +52 -0
- package/Types/DeviceManagement/DeviceManagementProvider.d.mts +6 -1
- package/Types/DeviceManagement/DeviceManagementProvider.d.ts +6 -1
- package/Types/DeviceManagement/DeviceManagementProvider.js +48 -5
- package/Types/DeviceManagement/DeviceManagementProvider.mjs +2 -0
- package/Types/DeviceManagement/ManagedDeviceAlertScope.d.mts +19 -0
- package/Types/DeviceManagement/ManagedDeviceAlertScope.d.ts +19 -0
- package/Types/DeviceManagement/ManagedDeviceAlertScope.js +150 -0
- package/Types/DeviceManagement/ManagedDeviceAlertScope.mjs +6 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.mts +64 -1
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.ts +64 -1
- package/Types/DeviceManagement/ManagedDeviceCheckIn.js +325 -8
- package/Types/DeviceManagement/ManagedDeviceCheckIn.mjs +24 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.mts +23 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.ts +23 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.js +127 -7
- package/Types/DeviceManagement/ManagedDeviceIdentity.mjs +8 -0
- package/Types/DeviceManagement/ManagedDevicePlatform.d.mts +20 -0
- package/Types/DeviceManagement/ManagedDevicePlatform.d.ts +20 -0
- package/Types/DeviceManagement/ManagedDevicePlatform.js +143 -0
- package/Types/DeviceManagement/ManagedDevicePlatform.mjs +9 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.mts +17 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.ts +17 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.js +72 -7
- package/Types/DeviceManagement/ManagedDeviceStatus.mjs +4 -0
- package/Types/Email/AmazonSesRoleExternalId.d.mts +5 -0
- package/Types/Email/AmazonSesRoleExternalId.d.ts +5 -0
- package/Types/Email/AmazonSesRoleExternalId.js +50 -0
- package/Types/Email/AmazonSesRoleExternalId.mjs +3 -0
- package/Types/Email/AmazonSesRoleSetup.d.mts +8 -0
- package/Types/Email/AmazonSesRoleSetup.d.ts +8 -0
- package/Types/Email/AmazonSesRoleSetup.js +60 -0
- package/Types/Email/AmazonSesRoleSetup.mjs +3 -0
- package/Types/Email/AmazonSesRoleWords.d.mts +11 -0
- package/Types/Email/AmazonSesRoleWords.d.ts +11 -0
- package/Types/Email/AmazonSesRoleWords.js +75 -0
- package/Types/Email/AmazonSesRoleWords.mjs +11 -0
- package/Types/Email/EmailMessage.d.mts +1 -0
- package/Types/Email/EmailMessage.d.ts +1 -0
- package/Types/Email/EmailServer.d.mts +2 -0
- package/Types/Email/EmailServer.d.ts +2 -0
- package/Types/Email/EmailTemplateType.d.mts +7 -0
- package/Types/Email/EmailTemplateType.d.ts +7 -0
- package/Types/Email/EmailTemplateType.js +33 -0
- package/Types/Email/ProjectAmazonSesAuthenticationType.d.mts +28 -0
- package/Types/Email/ProjectAmazonSesAuthenticationType.d.ts +28 -0
- package/Types/Email/ProjectAmazonSesAuthenticationType.js +47 -0
- package/Types/Email/ProjectAmazonSesAuthenticationType.mjs +4 -0
- package/Types/Email/ServerAwsIdentity.d.mts +19 -0
- package/Types/Email/ServerAwsIdentity.d.ts +19 -0
- package/Types/Email/ServerAwsIdentity.js +75 -0
- package/Types/Email/ServerAwsIdentity.mjs +4 -0
- package/Types/Events/Recurring.d.mts +52 -8
- package/Types/Events/Recurring.d.ts +52 -8
- package/Types/Events/Recurring.js +117 -58
- package/Types/Exception/BadDataExceptionWithDetails.d.mts +1 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.ts +1 -0
- package/Types/Exception/BadDataExceptionWithDetails.js +18 -5
- package/Types/Exception/BadDataExceptionWithDetails.mjs +1 -0
- package/Types/Exception/NameTakenException.d.mts +13 -0
- package/Types/Exception/NameTakenException.d.ts +13 -0
- package/Types/Exception/NameTakenException.js +81 -0
- package/Types/Exception/NameTakenException.mjs +7 -0
- package/Types/Exception/ReauthenticationRequiredException.d.mts +7 -0
- package/Types/Exception/ReauthenticationRequiredException.d.ts +7 -0
- package/Types/Exception/ReauthenticationRequiredException.js +60 -0
- package/Types/Exception/ReauthenticationRequiredException.mjs +2 -0
- package/Types/Exception/ValueTakenException.d.mts +15 -0
- package/Types/Exception/ValueTakenException.d.ts +15 -0
- package/Types/Exception/ValueTakenException.js +79 -0
- package/Types/Exception/ValueTakenException.mjs +7 -0
- package/Types/Form/FormIpAllowlist.d.mts +2 -1
- package/Types/Form/FormIpAllowlist.d.ts +2 -1
- package/Types/Form/FormIpAllowlist.js +3 -19
- package/Types/Form/FormPrivateUserSignIn.d.mts +21 -0
- package/Types/Form/FormPrivateUserSignIn.d.ts +21 -0
- package/Types/Form/FormPrivateUserSignIn.js +73 -0
- package/Types/Form/FormPrivateUserSignIn.mjs +13 -0
- package/Types/GuidedSetup/GuidedSetupRun.d.mts +74 -0
- package/Types/GuidedSetup/GuidedSetupRun.d.ts +74 -0
- package/Types/GuidedSetup/GuidedSetupRun.js +358 -0
- package/Types/GuidedSetup/GuidedSetupRun.mjs +17 -0
- package/Types/Host/AndroidAgentPermissions.d.mts +17 -0
- package/Types/Host/AndroidAgentPermissions.d.ts +17 -0
- package/Types/Host/AndroidAgentPermissions.js +92 -0
- package/Types/Host/AndroidAgentPermissions.mjs +7 -0
- package/Types/Host/AndroidSecurityPatch.d.mts +13 -0
- package/Types/Host/AndroidSecurityPatch.d.ts +13 -0
- package/Types/Host/AndroidSecurityPatch.js +114 -0
- package/Types/Host/AndroidSecurityPatch.mjs +5 -0
- package/Types/Host/HostLogSession.d.mts +3 -0
- package/Types/Host/HostLogSession.d.ts +3 -0
- package/Types/Host/HostLogSession.js +17 -1
- package/Types/Host/HostLogSession.mjs +3 -0
- package/Types/HostCollector/HostCollectorRoutes.d.mts +1 -0
- package/Types/HostCollector/HostCollectorRoutes.d.ts +1 -0
- package/Types/HostCollector/HostCollectorRoutes.js +9 -0
- package/Types/HostCollector/HostCollectorRoutes.mjs +2 -0
- package/Types/Icon/IconProp.d.mts +1 -0
- package/Types/Icon/IconProp.d.ts +1 -0
- package/Types/Icon/IconProp.js +1 -0
- package/Types/JsonWebTokenPurpose.d.mts +5 -1
- package/Types/JsonWebTokenPurpose.d.ts +5 -1
- package/Types/JsonWebTokenPurpose.js +38 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.mts +3 -1
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.ts +3 -1
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.js +6 -1
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.mjs +2 -0
- package/Types/Kubernetes/Compliance/KubernetesAgentWorkloads.d.mts +22 -0
- package/Types/Kubernetes/Compliance/KubernetesAgentWorkloads.d.ts +22 -0
- package/Types/Kubernetes/Compliance/KubernetesAgentWorkloads.js +105 -0
- package/Types/Kubernetes/Compliance/KubernetesAgentWorkloads.mjs +7 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.mts +31 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.ts +31 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.mts +6 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.ts +6 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.js +55 -4
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.mjs +2 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.mts +8 -1
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.ts +8 -1
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.mts +9 -1
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.ts +9 -1
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.js +92 -6
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.mjs +7 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.mts +20 -4
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.ts +20 -4
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.js +424 -58
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.mjs +1 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.mts +19 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.ts +19 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.js +22 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.mjs +1 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSummary.d.mts +52 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSummary.d.ts +52 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSummary.js +243 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSummary.mjs +12 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkCatalog.d.mts +29 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkCatalog.d.ts +29 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkCatalog.js +444 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkCatalog.mjs +7 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkScoring.d.mts +22 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkScoring.d.ts +22 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkScoring.js +157 -0
- package/Types/Kubernetes/Compliance/KubernetesNodeBenchmarkScoring.mjs +7 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.mts +6 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.ts +6 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.js +24 -2
- package/Types/Kubernetes/Compliance/KubernetesRbac.mjs +3 -0
- package/Types/Kubernetes/Compliance/NsaCisaHardening.d.mts +56 -0
- package/Types/Kubernetes/Compliance/NsaCisaHardening.d.ts +56 -0
- package/Types/Kubernetes/Compliance/NsaCisaHardening.js +594 -0
- package/Types/Kubernetes/Compliance/NsaCisaHardening.mjs +14 -0
- package/Types/Kubernetes/KubernetesCostCorrection.d.mts +26 -0
- package/Types/Kubernetes/KubernetesCostCorrection.d.ts +26 -0
- package/Types/Kubernetes/KubernetesCostCorrection.js +42 -0
- package/Types/Kubernetes/KubernetesCostCorrection.mjs +3 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.mts +1 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.ts +1 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.mts +8 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.ts +8 -0
- package/Types/Kubernetes/KubernetesCostPricing.js +33 -3
- package/Types/Kubernetes/KubernetesCostPricing.mjs +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.js +9 -0
- package/Types/Kubernetes/KubernetesNodeBenchmark.d.mts +46 -0
- package/Types/Kubernetes/KubernetesNodeBenchmark.d.ts +46 -0
- package/Types/Kubernetes/KubernetesNodeBenchmark.js +321 -0
- package/Types/Kubernetes/KubernetesNodeBenchmark.mjs +23 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +24 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +24 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +153 -4
- package/Types/Kubernetes/KubernetesObjectParser.mjs +4 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.mts +2 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.ts +2 -0
- package/Types/Kubernetes/KubernetesPodSecurity.js +10 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.mts +4 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.ts +4 -0
- package/Types/Kubernetes/KubernetesStorageHealth.js +76 -16
- package/Types/Kubernetes/KubernetesStorageHealth.mjs +4 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.mts +2 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.ts +2 -0
- package/Types/Kubernetes/OpenShiftObjectParser.js +6 -0
- package/Types/Log/LogAnalyticsAggregation.d.mts +9 -0
- package/Types/Log/LogAnalyticsAggregation.d.ts +9 -0
- package/Types/Log/LogAnalyticsAggregation.js +63 -0
- package/Types/Log/LogAnalyticsAggregation.mjs +8 -0
- package/Types/MeaningKeys.js +14 -0
- package/Types/MessageQueue/MessagingTelemetryResolver.js +4 -2
- package/Types/Metrics/MetricOutputReaders.d.mts +31 -0
- package/Types/Metrics/MetricOutputReaders.d.ts +31 -0
- package/Types/Metrics/MetricOutputReaders.js +179 -0
- package/Types/Metrics/MetricOutputReaders.mjs +7 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +23 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +23 -0
- package/Types/Monitor/CloudAlertTemplates.js +260 -2
- package/Types/Monitor/CloudAlertTemplates.mjs +7 -0
- package/Types/Monitor/CriteriaFilter.d.mts +2 -0
- package/Types/Monitor/CriteriaFilter.d.ts +2 -0
- package/Types/Monitor/CriteriaFilter.js +10 -0
- package/Types/Monitor/CriteriaFilterTerms.js +2 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.mts +7 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.ts +7 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.js +53 -9
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.mjs +3 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.mts +3 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.ts +3 -0
- package/Types/Monitor/HostAlertTemplates.d.mts +2 -0
- package/Types/Monitor/HostAlertTemplates.d.ts +2 -0
- package/Types/Monitor/HostAlertTemplates.js +75 -7
- package/Types/Monitor/HostAlertTemplates.mjs +1 -0
- package/Types/Monitor/KubernetesAlertTemplates.js +124 -22
- package/Types/Monitor/KubernetesMetricCatalog.js +29 -1
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.mts +43 -1
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.ts +43 -1
- package/Types/Monitor/ManagedDeviceAlertTemplates.js +1054 -68
- package/Types/Monitor/ManagedDeviceAlertTemplates.mjs +15 -0
- package/Types/Monitor/MonitorStep.d.mts +1 -0
- package/Types/Monitor/MonitorStep.d.ts +1 -0
- package/Types/Monitor/MonitorStep.js +31 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.mts +13 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.ts +13 -0
- package/Types/Monitor/MonitorStepMetricMonitor.js +103 -1
- package/Types/Monitor/MonitorStepMetricMonitor.mjs +3 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +106 -38
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.mjs +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +6 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +6 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.mts +2 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.ts +2 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +48 -16
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.mts +2 -1
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.ts +2 -1
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.js +4 -3
- package/Types/Monitor/RumAlertTemplates.d.mts +2 -0
- package/Types/Monitor/RumAlertTemplates.d.ts +2 -0
- package/Types/Monitor/RumAlertTemplates.js +80 -14
- package/Types/Monitor/RumAlertTemplates.mjs +2 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.mts +8 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.ts +8 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.js +150 -16
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.d.mts +15 -11
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.d.ts +15 -11
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.js +86 -5
- package/Types/Monitor/TelemetryAlertRule.d.mts +1 -0
- package/Types/Monitor/TelemetryAlertRule.d.ts +1 -0
- package/Types/Monitor/TelemetryAlertRule.js +10 -3
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.mts +1 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.ts +1 -0
- package/Types/NetworkController/NetworkControllerDeviceAdd.d.mts +13 -2
- package/Types/NetworkController/NetworkControllerDeviceAdd.d.ts +13 -2
- package/Types/NetworkController/NetworkControllerDeviceAdd.js +119 -18
- package/Types/NetworkController/NetworkControllerDeviceAdd.mjs +4 -1
- package/Types/NetworkDevice/NetworkDeviceTieSource.d.mts +10 -0
- package/Types/NetworkDevice/NetworkDeviceTieSource.d.ts +10 -0
- package/Types/NetworkDevice/NetworkDeviceTieSource.js +54 -0
- package/Types/NetworkDevice/NetworkDeviceTieSource.mjs +4 -0
- package/Types/ObservabilityImport/ObservabilityImport.d.mts +114 -0
- package/Types/ObservabilityImport/ObservabilityImport.d.ts +114 -0
- package/Types/ObservabilityImport/ObservabilityImport.js +105 -0
- package/Types/ObservabilityImport/ObservabilityImport.mjs +10 -0
- package/Types/OnCallDutyPolicy/EscalationRuleResponderOnce.d.mts +20 -0
- package/Types/OnCallDutyPolicy/EscalationRuleResponderOnce.d.ts +20 -0
- package/Types/OnCallDutyPolicy/EscalationRuleResponderOnce.js +79 -0
- package/Types/OnCallDutyPolicy/EscalationRuleResponderOnce.mjs +7 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.js +20 -1
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.mjs +2 -0
- package/Types/OnCallDutyPolicy/ScheduleTimeline.d.mts +1 -0
- package/Types/OnCallDutyPolicy/ScheduleTimeline.d.ts +1 -0
- package/Types/OnCallDutyPolicy/ScheduleTimeline.js +2 -0
- package/Types/OnCallDutyPolicy/ScheduleTimelineLayout.d.mts +0 -3
- package/Types/OnCallDutyPolicy/ScheduleTimelineLayout.d.ts +0 -3
- package/Types/OnCallDutyPolicy/ScheduleTimelineLayout.js +36 -21
- package/Types/PacketCapture/PacketCapturePermissions.js +24 -12
- package/Types/Permission.d.mts +125 -1
- package/Types/Permission.d.ts +125 -1
- package/Types/Permission.js +744 -5
- package/Types/Permission.mjs +1 -0
- package/Types/Probe/ProbeApiIngestResponse.d.mts +1 -0
- package/Types/Probe/ProbeApiIngestResponse.d.ts +1 -0
- package/Types/Probe/ProbeKeyHeaders.d.mts +17 -0
- package/Types/Probe/ProbeKeyHeaders.d.ts +17 -0
- package/Types/Probe/ProbeKeyHeaders.js +74 -0
- package/Types/Probe/ProbeKeyHeaders.mjs +4 -0
- package/Types/Product/ProductLevels.d.mts +54 -0
- package/Types/Product/ProductLevels.d.ts +54 -0
- package/Types/Product/ProductLevels.js +502 -0
- package/Types/Product/ProductLevels.mjs +20 -0
- package/Types/Product/ProductRecordTables.d.mts +0 -1
- package/Types/Product/ProductRecordTables.d.ts +0 -1
- package/Types/Product/ProductRecordTables.js +25 -167
- package/Types/Product/ProductRecordTables.mjs +0 -1
- package/Types/Product/TablesOfNoProduct.d.mts +1 -0
- package/Types/Product/TablesOfNoProduct.d.ts +1 -0
- package/Types/Product/TablesOfNoProduct.js +187 -0
- package/Types/Product/TablesOfNoProduct.mjs +2 -0
- package/Types/ProviderLogo/AllProviderLogoMarks.js +2 -0
- package/Types/ProviderLogo/Marks/crossplane.d.mts +3 -0
- package/Types/ProviderLogo/Marks/crossplane.d.ts +3 -0
- package/Types/ProviderLogo/Marks/crossplane.js +22 -0
- package/Types/ProviderLogo/Marks/crossplane.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +1 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +1 -0
- package/Types/ProviderLogo/ProviderLogo.js +2 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +1 -0
- package/Types/RecordAccess/RecordAccess.d.mts +50 -0
- package/Types/RecordAccess/RecordAccess.d.ts +50 -0
- package/Types/RecordAccess/RecordAccess.js +290 -0
- package/Types/RecordAccess/RecordAccess.mjs +6 -0
- package/Types/Rum/MobileAppTelemetry.d.mts +5 -0
- package/Types/Rum/MobileAppTelemetry.d.ts +5 -0
- package/Types/Rum/MobileAppTelemetry.js +71 -14
- package/Types/Rum/MobileAppTelemetry.mjs +5 -0
- package/Types/Runbook/HttpStepCertificates.d.mts +30 -0
- package/Types/Runbook/HttpStepCertificates.d.ts +30 -0
- package/Types/Runbook/HttpStepCertificates.js +166 -0
- package/Types/Runbook/HttpStepCertificates.mjs +18 -0
- package/Types/Runbook/RunbookStep.d.mts +2 -0
- package/Types/Runbook/RunbookStep.d.ts +2 -0
- package/Types/SSO/MobileSsoHandOff.d.mts +17 -0
- package/Types/SSO/MobileSsoHandOff.d.ts +17 -0
- package/Types/SSO/MobileSsoHandOff.js +39 -0
- package/Types/SSO/MobileSsoHandOff.mjs +6 -0
- package/Types/ScheduledMaintenance/MaintenanceTemplateSchedule.d.mts +50 -0
- package/Types/ScheduledMaintenance/MaintenanceTemplateSchedule.d.ts +50 -0
- package/Types/ScheduledMaintenance/MaintenanceTemplateSchedule.js +269 -0
- package/Types/ScheduledMaintenance/MaintenanceTemplateSchedule.mjs +2 -0
- package/Types/SecurityBlocklist/SecurityBlock.d.mts +130 -0
- package/Types/SecurityBlocklist/SecurityBlock.d.ts +130 -0
- package/Types/SecurityBlocklist/SecurityBlock.js +428 -0
- package/Types/SecurityBlocklist/SecurityBlock.mjs +40 -0
- package/Types/SecurityBlocklist/SecurityBlockEnforcement.d.mts +40 -0
- package/Types/SecurityBlocklist/SecurityBlockEnforcement.d.ts +40 -0
- package/Types/SecurityBlocklist/SecurityBlockEnforcement.js +153 -0
- package/Types/SecurityBlocklist/SecurityBlockEnforcement.mjs +11 -0
- package/Types/SecurityBlocklist/SecurityProtectedAddress.d.mts +50 -0
- package/Types/SecurityBlocklist/SecurityProtectedAddress.d.ts +50 -0
- package/Types/SecurityBlocklist/SecurityProtectedAddress.js +248 -0
- package/Types/SecurityBlocklist/SecurityProtectedAddress.mjs +16 -0
- package/Types/SecurityCase/SecurityCaseMatches.js +4 -1
- package/Types/SecurityCase/SecurityConnection.d.mts +7 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +7 -0
- package/Types/SecurityCase/SecurityConnection.js +10 -1
- package/Types/SecurityCase/SecurityConnection.mjs +3 -0
- package/Types/SecurityCase/SecurityDetectionText.d.mts +3 -0
- package/Types/SecurityCase/SecurityDetectionText.d.ts +3 -0
- package/Types/SecurityCase/SecurityDetectionText.js +37 -0
- package/Types/SecurityCase/SecurityDetectionText.mjs +4 -0
- package/Types/SecurityEvent/DetectionFindingConstants.d.mts +2 -0
- package/Types/SecurityEvent/DetectionFindingConstants.d.ts +2 -0
- package/Types/SecurityEvent/DetectionFindingConstants.js +29 -7
- package/Types/SecurityEvent/DetectionFindingConstants.mjs +2 -0
- package/Types/SecurityEvent/NormalizedSecurityEvent.d.mts +1 -0
- package/Types/SecurityEvent/NormalizedSecurityEvent.d.ts +1 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.d.mts +2 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.d.ts +2 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.js +13 -0
- package/Types/SecurityEvent/SecurityAttackCampaign.mjs +1 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.d.mts +5 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.d.ts +5 -0
- package/Types/SecurityEvent/SecurityEventRequestOutcome.js +12 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.mts +1 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.ts +1 -0
- package/Types/SecurityEvent/SecurityLogFormat.js +10 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.d.mts +2 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.d.ts +2 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.js +56 -15
- package/Types/SecurityPlaybook/SecurityProtectedEntity.mjs +2 -0
- package/Types/ServiceLevelObjective/SliType.js +3 -2
- package/Types/StatusPage/PrivateUserEmailAddressChangedEmail.d.mts +21 -0
- package/Types/StatusPage/PrivateUserEmailAddressChangedEmail.d.ts +21 -0
- package/Types/StatusPage/PrivateUserEmailAddressChangedEmail.js +98 -0
- package/Types/StatusPage/PrivateUserEmailAddressChangedEmail.mjs +5 -0
- package/Types/Team/CustomRole.js +6 -1
- package/Types/Team/InvitationEmailWords.d.mts +13 -0
- package/Types/Team/InvitationEmailWords.d.ts +13 -0
- package/Types/Team/InvitationEmailWords.js +78 -0
- package/Types/Team/InvitationEmailWords.mjs +4 -0
- package/Types/Telemetry/CompatibleIngest.d.mts +9 -0
- package/Types/Telemetry/CompatibleIngest.d.ts +9 -0
- package/Types/Telemetry/CompatibleIngest.js +80 -2
- package/Types/Telemetry/CompatibleIngest.mjs +9 -0
- package/Types/Telemetry/ExceptionSource.d.mts +10 -0
- package/Types/Telemetry/ExceptionSource.d.ts +10 -0
- package/Types/Telemetry/ExceptionSource.js +66 -0
- package/Types/Telemetry/ExceptionSource.mjs +7 -0
- package/Types/Telemetry/ScrubHashTokenFormat.d.mts +6 -0
- package/Types/Telemetry/ScrubHashTokenFormat.d.ts +6 -0
- package/Types/Telemetry/ScrubHashTokenFormat.js +36 -0
- package/Types/Telemetry/ScrubHashTokenFormat.mjs +7 -0
- package/Types/Telemetry/ScrubRule.d.mts +5 -0
- package/Types/Telemetry/ScrubRule.d.ts +5 -0
- package/Types/Telemetry/ScrubRule.js +44 -0
- package/Types/Telemetry/ScrubRule.mjs +1 -0
- package/Types/Telemetry/TelemetryIngestRefusal.js +19 -1
- package/Types/Telemetry/TelemetryIngestSurface.d.mts +1 -0
- package/Types/Telemetry/TelemetryIngestSurface.d.ts +1 -0
- package/Types/Telemetry/TelemetryIngestSurface.js +6 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +21 -2
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +21 -2
- package/Types/Telemetry/TelemetryIngestionBudget.js +130 -2
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +5 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.js +6 -4
- package/Types/Telemetry/TelemetryUsage.js +1 -1
- package/Types/Telemetry/TelemetryUsageMetricType.d.mts +4 -0
- package/Types/Telemetry/TelemetryUsageMetricType.d.ts +4 -0
- package/Types/Telemetry/TelemetryUsageMetricType.js +36 -0
- package/Types/Telemetry/TelemetryUsageMetricType.mjs +2 -0
- package/Types/ToolImport/ToolImportPlan.d.mts +1 -0
- package/Types/ToolImport/ToolImportPlan.d.ts +1 -0
- package/Types/UsedBy/UsedBy.d.mts +1 -0
- package/Types/UsedBy/UsedBy.d.ts +1 -0
- package/Types/UsedBy/UsedBy.js +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +1 -0
- package/Types/UserSession/SessionEndCause.d.mts +1 -0
- package/Types/UserSession/SessionEndCause.d.ts +1 -0
- package/Types/UserSession/SessionEndCause.js +10 -2
- package/Types/UserSession/SessionSignIn.d.mts +10 -0
- package/Types/UserSession/SessionSignIn.d.ts +10 -0
- package/Types/UserSession/SessionSignIn.js +51 -1
- package/Types/UserSession/SessionSignIn.mjs +2 -0
- package/Types/Workflow/Templates.d.mts +18 -0
- package/Types/Workflow/Templates.d.ts +18 -0
- package/Types/Workflow/Templates.js +194 -2
- package/Types/Workflow/Templates.mjs +1 -0
- package/Types/Workflow/WorkflowRunAs.d.mts +3 -3
- package/Types/Workflow/WorkflowRunAs.d.ts +3 -3
- package/Types/Workflow/WorkflowRunAs.js +6 -6
- package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
- package/UI/Utils/SharedNameOptions.d.mts +5 -0
- package/UI/Utils/SharedNameOptions.d.ts +5 -0
- package/UI/Utils/TranslateTemplate.d.mts +8 -0
- package/UI/Utils/TranslateTemplate.d.ts +8 -0
- package/Utils/API.d.mts +3 -0
- package/Utils/API.d.ts +3 -0
- package/Utils/API.js +48 -1
- package/Utils/CronScheduleText.js +21 -13
- package/Utils/Dashboard/ClockWidgetFormat.js +20 -3
- package/Utils/Dashboard/Components/DashboardChartComponent.js +7 -1
- package/Utils/Dashboard/Components/DashboardDataSourceChartComponent.js +12 -1
- package/Utils/Dashboard/Components/DashboardDataSourceGaugeComponent.js +3 -1
- package/Utils/Dashboard/Components/DashboardDataSourceTableComponent.js +3 -1
- package/Utils/Dashboard/Components/DashboardDataSourceValueComponent.js +3 -1
- package/Utils/Dashboard/DashboardWidgetLink.d.mts +8 -0
- package/Utils/Dashboard/DashboardWidgetLink.d.ts +8 -0
- package/Utils/Dashboard/DashboardWidgetLink.js +80 -0
- package/Utils/Dashboard/DashboardWidgetLink.mjs +7 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.d.mts +2 -3
- package/Utils/DataSecurity/CustomDataTypeDetector.d.ts +2 -3
- package/Utils/DataSecurity/CustomDataTypeDetector.js +5 -10
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.js +70 -38
- package/Utils/DataSecurity/Detectors/ContactDetectors.mjs +3 -0
- package/Utils/DataSource/DataSourceQueryText.d.mts +10 -0
- package/Utils/DataSource/DataSourceQueryText.d.ts +10 -0
- package/Utils/DataSource/DataSourceQueryText.js +287 -23
- package/Utils/DataSource/DataSourceTableRows.d.mts +7 -0
- package/Utils/DataSource/DataSourceTableRows.d.ts +7 -0
- package/Utils/DataSource/DataSourceTableRows.js +64 -0
- package/Utils/DataSource/DataSourceTableRows.mjs +3 -0
- package/Utils/DataSource/DataSourceWidgetQueries.d.mts +21 -0
- package/Utils/DataSource/DataSourceWidgetQueries.d.ts +21 -0
- package/Utils/DataSource/DataSourceWidgetQueries.js +145 -0
- package/Utils/DataSource/DataSourceWidgetQueries.mjs +3 -0
- package/Utils/DeveloperDocs/CliCommands.d.mts +1 -0
- package/Utils/DeveloperDocs/CliCommands.d.ts +1 -0
- package/Utils/DeveloperDocs/CliCommands.js +26 -0
- package/Utils/DeveloperDocs/CliCommands.mjs +1 -0
- package/Utils/DeveloperDocs/CliExamples.d.mts +6 -0
- package/Utils/DeveloperDocs/CliExamples.d.ts +6 -0
- package/Utils/DeveloperDocs/CliExamples.js +43 -0
- package/Utils/DeveloperDocs/CliExamples.mjs +2 -0
- package/Utils/DeveloperDocs/ClientResourceNames.js +6 -1
- package/Utils/DeveloperDocs/CrossplaneConfig.d.mts +74 -0
- package/Utils/DeveloperDocs/CrossplaneConfig.d.ts +74 -0
- package/Utils/DeveloperDocs/CrossplaneConfig.js +846 -0
- package/Utils/DeveloperDocs/CrossplaneConfig.mjs +21 -0
- package/Utils/DeveloperDocs/CrossplaneNames.d.mts +21 -0
- package/Utils/DeveloperDocs/CrossplaneNames.d.ts +21 -0
- package/Utils/DeveloperDocs/CrossplaneNames.js +334 -0
- package/Utils/DeveloperDocs/CrossplaneNames.mjs +15 -0
- package/Utils/DeveloperDocs/CrossplaneSchema.d.mts +20 -0
- package/Utils/DeveloperDocs/CrossplaneSchema.d.ts +20 -0
- package/Utils/DeveloperDocs/CrossplaneSchema.js +170 -0
- package/Utils/DeveloperDocs/CrossplaneSchema.mjs +9 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.mts +5 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.ts +5 -0
- package/Utils/DeveloperDocs/DeleteChoices.js +36 -0
- package/Utils/DeveloperDocs/DeleteChoices.mjs +2 -0
- package/Utils/DeveloperDocs/ExampleBuilder.d.mts +1 -1
- package/Utils/DeveloperDocs/ExampleBuilder.d.ts +1 -1
- package/Utils/DeveloperDocs/ExampleBuilder.js +9 -9
- package/Utils/DeveloperDocs/PageLookups.d.mts +2 -1
- package/Utils/DeveloperDocs/PageLookups.d.ts +2 -1
- package/Utils/DeveloperDocs/PageLookups.js +19 -5
- package/Utils/DeveloperDocs/ResourceProfiles.js +92 -10
- package/Utils/DeveloperDocs/TerraformConfig.d.mts +26 -3
- package/Utils/DeveloperDocs/TerraformConfig.d.ts +26 -3
- package/Utils/DeveloperDocs/TerraformConfig.js +70 -34
- package/Utils/DeveloperDocs/TerraformConfig.mjs +1 -0
- package/Utils/DeveloperDocs/TerraformSchema.d.mts +6 -1
- package/Utils/DeveloperDocs/TerraformSchema.d.ts +6 -1
- package/Utils/DeveloperDocs/TerraformSchema.js +60 -38
- package/Utils/DeveloperDocs/TerraformSchema.mjs +1 -0
- package/Utils/DeveloperDocs/Yaml.d.mts +50 -0
- package/Utils/DeveloperDocs/Yaml.d.ts +50 -0
- package/Utils/DeveloperDocs/Yaml.js +410 -0
- package/Utils/DeveloperDocs/Yaml.mjs +7 -0
- package/Utils/Host/AndroidAgentLogSessions.d.mts +1 -0
- package/Utils/Host/AndroidAgentLogSessions.d.ts +1 -0
- package/Utils/Host/AndroidAgentLogSessions.js +8 -1
- package/Utils/Host/AndroidAgentRedactor.d.mts +11 -0
- package/Utils/Host/AndroidAgentRedactor.d.ts +11 -0
- package/Utils/Host/AndroidAgentRedactor.js +129 -0
- package/Utils/Host/AndroidAgentRedactor.mjs +8 -0
- package/Utils/Host/HostLogSessionFile.d.mts +56 -0
- package/Utils/Host/HostLogSessionFile.d.ts +56 -0
- package/Utils/Host/HostLogSessionFile.js +245 -0
- package/Utils/Host/HostLogSessionFile.mjs +6 -0
- package/Utils/Host/HostLogSessionNote.d.mts +11 -0
- package/Utils/Host/HostLogSessionNote.d.ts +11 -0
- package/Utils/Host/HostLogSessionNote.js +80 -0
- package/Utils/Host/HostLogSessionNote.mjs +4 -0
- package/Utils/HostCollector/HostCollectorJournaldOperators.d.mts +14 -0
- package/Utils/HostCollector/HostCollectorJournaldOperators.d.ts +14 -0
- package/Utils/HostCollector/HostCollectorJournaldOperators.js +313 -0
- package/Utils/HostCollector/HostCollectorJournaldOperators.mjs +5 -0
- package/Utils/Incident/IncidentSlaStart.d.mts +31 -0
- package/Utils/Incident/IncidentSlaStart.d.ts +31 -0
- package/Utils/Incident/IncidentSlaStart.js +99 -0
- package/Utils/Incident/IncidentSlaStart.mjs +3 -0
- package/Utils/Incident/WhoOpenedItRootCause.js +15 -18
- package/Utils/IpCanonicalUtil.d.mts +2 -0
- package/Utils/IpCanonicalUtil.d.ts +2 -0
- package/Utils/IpCanonicalUtil.js +35 -0
- package/Utils/JsonElementCount.d.mts +54 -0
- package/Utils/JsonElementCount.d.ts +54 -0
- package/Utils/JsonElementCount.js +322 -0
- package/Utils/JsonElementCount.mjs +6 -0
- package/Utils/LogQL/LogQLAst.d.mts +125 -0
- package/Utils/LogQL/LogQLAst.d.ts +125 -0
- package/Utils/LogQL/LogQLAst.js +83 -0
- package/Utils/LogQL/LogQLAst.mjs +9 -0
- package/Utils/LogQL/LogQLEngine.d.mts +114 -0
- package/Utils/LogQL/LogQLEngine.d.ts +114 -0
- package/Utils/LogQL/LogQLEngine.js +716 -0
- package/Utils/LogQL/LogQLEngine.mjs +16 -0
- package/Utils/LogQL/LogQLLabels.d.mts +31 -0
- package/Utils/LogQL/LogQLLabels.d.ts +31 -0
- package/Utils/LogQL/LogQLLabels.js +131 -0
- package/Utils/LogQL/LogQLLabels.mjs +11 -0
- package/Utils/LogQL/LogQLParser.d.mts +2 -0
- package/Utils/LogQL/LogQLParser.d.ts +2 -0
- package/Utils/LogQL/LogQLParser.js +1207 -0
- package/Utils/LogQL/LogQLParser.mjs +2 -0
- package/Utils/LogQL/LogQLPipeline.d.mts +28 -0
- package/Utils/LogQL/LogQLPipeline.d.ts +28 -0
- package/Utils/LogQL/LogQLPipeline.js +441 -0
- package/Utils/LogQL/LogQLPipeline.mjs +7 -0
- package/Utils/LogQL/LogQLValues.d.mts +2 -0
- package/Utils/LogQL/LogQLValues.d.ts +2 -0
- package/Utils/LogQL/LogQLValues.js +101 -0
- package/Utils/LogQL/LogQLValues.mjs +3 -0
- package/Utils/Markdown/FeedLead.js +2 -0
- package/Utils/Metrics/MetricFormulaEvaluator.d.mts +13 -8
- package/Utils/Metrics/MetricFormulaEvaluator.d.ts +13 -8
- package/Utils/Metrics/MetricFormulaEvaluator.js +139 -3
- package/Utils/Metrics/MetricQueryOverlay.d.mts +20 -0
- package/Utils/Metrics/MetricQueryOverlay.d.ts +20 -0
- package/Utils/Metrics/MetricQueryOverlay.js +136 -12
- package/Utils/Metrics/MetricQueryOverlay.mjs +1 -0
- package/Utils/Metrics/MetricSeriesFingerprint.d.mts +6 -0
- package/Utils/Metrics/MetricSeriesFingerprint.d.ts +6 -0
- package/Utils/Metrics/MetricSeriesFingerprint.js +81 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.mts +2 -1
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.ts +2 -1
- package/Utils/Metrics/RetiredCloudMetricChartMoves.js +17 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.mjs +1 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.mts +1 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.ts +1 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.js +9 -3
- package/Utils/Metrics/RetiredCloudMetricMoves.mjs +1 -0
- package/Utils/ModelImportExport.js +57 -44
- package/Utils/Monitor/MetricTelemetrySnapshot.d.mts +1 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.ts +1 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.js +16 -0
- package/Utils/Monitor/MonitorLogSummaryUtil.js +18 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.mts +1 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.ts +1 -0
- package/Utils/Monitor/MonitorStepMetricQueries.js +24 -4
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +7 -7
- package/Utils/Monitor/RecordRootCauseWording.d.mts +12 -0
- package/Utils/Monitor/RecordRootCauseWording.d.ts +12 -0
- package/Utils/Monitor/RecordRootCauseWording.js +53 -0
- package/Utils/Monitor/RecordRootCauseWording.mjs +2 -0
- package/Utils/Monitor/StateChangeFeedCause.d.mts +8 -0
- package/Utils/Monitor/StateChangeFeedCause.d.ts +8 -0
- package/Utils/Monitor/StateChangeFeedCause.js +74 -0
- package/Utils/Monitor/StateChangeFeedCause.mjs +3 -0
- package/Utils/Monitor/StatusChangeCauseWording.js +24 -4
- package/Utils/Monitor/StatusChangeNotes.d.mts +39 -0
- package/Utils/Monitor/StatusChangeNotes.d.ts +39 -0
- package/Utils/Monitor/StatusChangeNotes.js +688 -98
- package/Utils/Monitor/StatusChangeNotes.mjs +24 -0
- package/Utils/Monitor/StoredCheckEvidence.d.mts +6 -0
- package/Utils/Monitor/StoredCheckEvidence.d.ts +6 -0
- package/Utils/Monitor/StoredCheckEvidence.js +9 -1
- package/Utils/Monitor/StoredCheckEvidence.mjs +1 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.mts +23 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.ts +23 -0
- package/Utils/NetworkDevice/DeviceAddressScope.js +96 -11
- package/Utils/NetworkDevice/DeviceAddressScope.mjs +4 -0
- package/Utils/NetworkDevice/MonitorTieAfterProbes.d.mts +21 -0
- package/Utils/NetworkDevice/MonitorTieAfterProbes.d.ts +21 -0
- package/Utils/NetworkDevice/MonitorTieAfterProbes.js +33 -0
- package/Utils/NetworkDevice/MonitorTieAfterProbes.mjs +2 -0
- package/Utils/NetworkDevice/UntiedDeviceMonitor.d.mts +26 -0
- package/Utils/NetworkDevice/UntiedDeviceMonitor.d.ts +26 -0
- package/Utils/NetworkDevice/UntiedDeviceMonitor.js +137 -0
- package/Utils/NetworkDevice/UntiedDeviceMonitor.mjs +4 -0
- package/Utils/NetworkDiscovery/DiscoveredHostRegistration.d.mts +15 -0
- package/Utils/NetworkDiscovery/DiscoveredHostRegistration.d.ts +15 -0
- package/Utils/NetworkDiscovery/DiscoveredHostRegistration.js +118 -0
- package/Utils/NetworkDiscovery/DiscoveredHostRegistration.mjs +6 -0
- package/Utils/NetworkTraffic/NetworkAddressBlock.d.mts +2 -0
- package/Utils/NetworkTraffic/NetworkAddressBlock.d.ts +2 -0
- package/Utils/NetworkTraffic/NetworkAddressBlock.js +25 -0
- package/Utils/ObservabilityImport/AlertImportCommon.d.mts +33 -0
- package/Utils/ObservabilityImport/AlertImportCommon.d.ts +33 -0
- package/Utils/ObservabilityImport/AlertImportCommon.js +198 -0
- package/Utils/ObservabilityImport/AlertImportCommon.mjs +12 -0
- package/Utils/ObservabilityImport/AlertImportMonitorBuilder.d.mts +20 -0
- package/Utils/ObservabilityImport/AlertImportMonitorBuilder.d.ts +20 -0
- package/Utils/ObservabilityImport/AlertImportMonitorBuilder.js +138 -0
- package/Utils/ObservabilityImport/AlertImportMonitorBuilder.mjs +3 -0
- package/Utils/ObservabilityImport/Datadog/DatadogDashboard.d.mts +18 -0
- package/Utils/ObservabilityImport/Datadog/DatadogDashboard.d.ts +18 -0
- package/Utils/ObservabilityImport/Datadog/DatadogDashboard.js +657 -0
- package/Utils/ObservabilityImport/Datadog/DatadogDashboard.mjs +12 -0
- package/Utils/ObservabilityImport/Datadog/DatadogMonitors.d.mts +23 -0
- package/Utils/ObservabilityImport/Datadog/DatadogMonitors.d.ts +23 -0
- package/Utils/ObservabilityImport/Datadog/DatadogMonitors.js +369 -0
- package/Utils/ObservabilityImport/Datadog/DatadogMonitors.mjs +13 -0
- package/Utils/ObservabilityImport/Datadog/DatadogPromQL.d.mts +42 -0
- package/Utils/ObservabilityImport/Datadog/DatadogPromQL.d.ts +42 -0
- package/Utils/ObservabilityImport/Datadog/DatadogPromQL.js +818 -0
- package/Utils/ObservabilityImport/Datadog/DatadogPromQL.mjs +24 -0
- package/Utils/ObservabilityImport/Datadog/DatadogQueryParser.d.mts +88 -0
- package/Utils/ObservabilityImport/Datadog/DatadogQueryParser.d.ts +88 -0
- package/Utils/ObservabilityImport/Datadog/DatadogQueryParser.js +584 -0
- package/Utils/ObservabilityImport/Datadog/DatadogQueryParser.mjs +7 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaAlertRules.d.mts +14 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaAlertRules.d.ts +14 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaAlertRules.js +431 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaAlertRules.mjs +11 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaDashboard.d.mts +42 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaDashboard.d.ts +42 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaDashboard.js +1349 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaDashboard.mjs +39 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaLoki.d.mts +29 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaLoki.d.ts +29 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaLoki.js +361 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaLoki.mjs +13 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaUnits.d.mts +31 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaUnits.d.ts +31 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaUnits.js +340 -0
- package/Utils/ObservabilityImport/Grafana/GrafanaUnits.mjs +10 -0
- package/Utils/ObservabilityImport/ImportLayout.d.mts +20 -0
- package/Utils/ObservabilityImport/ImportLayout.d.ts +20 -0
- package/Utils/ObservabilityImport/ImportLayout.js +71 -0
- package/Utils/ObservabilityImport/ImportLayout.mjs +6 -0
- package/Utils/ObservabilityImport/ImportSource.d.mts +37 -0
- package/Utils/ObservabilityImport/ImportSource.d.ts +37 -0
- package/Utils/ObservabilityImport/ImportSource.js +285 -0
- package/Utils/ObservabilityImport/ImportSource.mjs +16 -0
- package/Utils/ObservabilityImport/ImportValues.d.mts +11 -0
- package/Utils/ObservabilityImport/ImportValues.d.ts +11 -0
- package/Utils/ObservabilityImport/ImportValues.js +102 -0
- package/Utils/ObservabilityImport/ImportValues.mjs +11 -0
- package/Utils/ObservabilityImport/ImportWidgets.d.mts +48 -0
- package/Utils/ObservabilityImport/ImportWidgets.d.ts +48 -0
- package/Utils/ObservabilityImport/ImportWidgets.js +164 -0
- package/Utils/ObservabilityImport/ImportWidgets.mjs +9 -0
- package/Utils/ObservabilityImport/ObservabilityImport.d.mts +16 -0
- package/Utils/ObservabilityImport/ObservabilityImport.d.ts +16 -0
- package/Utils/ObservabilityImport/ObservabilityImport.js +102 -0
- package/Utils/ObservabilityImport/ObservabilityImport.mjs +6 -0
- package/Utils/ObservabilityImport/PromQLImportQuery.d.mts +31 -0
- package/Utils/ObservabilityImport/PromQLImportQuery.d.ts +31 -0
- package/Utils/ObservabilityImport/PromQLImportQuery.js +263 -0
- package/Utils/ObservabilityImport/PromQLImportQuery.mjs +13 -0
- package/Utils/ObservabilityImport/Prometheus/PrometheusRules.d.mts +12 -0
- package/Utils/ObservabilityImport/Prometheus/PrometheusRules.d.ts +12 -0
- package/Utils/ObservabilityImport/Prometheus/PrometheusRules.js +239 -0
- package/Utils/ObservabilityImport/Prometheus/PrometheusRules.mjs +9 -0
- package/Utils/PrivateKeyBlocks.d.mts +6 -0
- package/Utils/PrivateKeyBlocks.d.ts +6 -0
- package/Utils/PrivateKeyBlocks.js +24 -9
- package/Utils/PrivateKeyBlocks.mjs +1 -0
- package/Utils/PromQL/PromQLGrafanaMacros.d.mts +25 -0
- package/Utils/PromQL/PromQLGrafanaMacros.d.ts +25 -0
- package/Utils/PromQL/PromQLGrafanaMacros.js +116 -0
- package/Utils/PromQL/PromQLGrafanaMacros.mjs +8 -0
- package/Utils/PromQL/PromQLMetricNames.d.mts +47 -1
- package/Utils/PromQL/PromQLMetricNames.d.ts +47 -1
- package/Utils/PromQL/PromQLMetricNames.js +390 -16
- package/Utils/PromQL/PromQLMetricNames.mjs +11 -0
- package/Utils/PromQL/PromQLMonitorExpression.d.mts +21 -0
- package/Utils/PromQL/PromQLMonitorExpression.d.ts +21 -0
- package/Utils/PromQL/PromQLMonitorExpression.js +168 -0
- package/Utils/PromQL/PromQLMonitorExpression.mjs +7 -0
- package/Utils/PromQL/PromQLMonitorSeries.d.mts +9 -0
- package/Utils/PromQL/PromQLMonitorSeries.d.ts +9 -0
- package/Utils/PromQL/PromQLMonitorSeries.js +87 -0
- package/Utils/PromQL/PromQLMonitorSeries.mjs +5 -0
- package/Utils/Proxmox/ProxmoxGuestPowerTask.d.mts +46 -0
- package/Utils/Proxmox/ProxmoxGuestPowerTask.d.ts +46 -0
- package/Utils/Proxmox/ProxmoxGuestPowerTask.js +240 -0
- package/Utils/Proxmox/ProxmoxGuestPowerTask.mjs +17 -0
- package/Utils/Schema/ModelSchema.d.mts +7 -0
- package/Utils/Schema/ModelSchema.d.ts +7 -0
- package/Utils/Schema/ModelSchema.js +128 -16
- package/Utils/SecurityCase/SecurityConnectionMatch.d.mts +16 -1
- package/Utils/SecurityCase/SecurityConnectionMatch.d.ts +16 -1
- package/Utils/SecurityCase/SecurityConnectionMatch.js +241 -21
- package/Utils/SecurityCase/SecurityConnectionMatch.mjs +9 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.mts +3 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.ts +3 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +97 -4
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.mjs +3 -0
- package/Utils/SecurityEvent/LogParsers/AzureResourceLogParser.d.mts +50 -0
- package/Utils/SecurityEvent/LogParsers/AzureResourceLogParser.d.ts +50 -0
- package/Utils/SecurityEvent/LogParsers/AzureResourceLogParser.js +1121 -0
- package/Utils/SecurityEvent/LogParsers/AzureResourceLogParser.mjs +29 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.mts +1 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.ts +1 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.js +22 -9
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.mts +1 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.ts +1 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +12 -1
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +18 -6
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +21 -1
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.mts +7 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.ts +7 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.js +146 -15
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.mjs +1 -0
- package/Utils/SecurityEvent/NormalizerHelpers.js +15 -2
- package/Utils/SecurityEvent/RequestFollowUp.js +24 -0
- package/Utils/SecurityEvent/ScrubbedAddress.d.mts +71 -0
- package/Utils/SecurityEvent/ScrubbedAddress.d.ts +71 -0
- package/Utils/SecurityEvent/ScrubbedAddress.js +439 -0
- package/Utils/SecurityEvent/ScrubbedAddress.mjs +24 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.mts +1 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.ts +1 -0
- package/Utils/SecurityEvent/SecurityRecordReading.js +3 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.js +18 -1
- package/Utils/SlicedWork.d.mts +4 -0
- package/Utils/SlicedWork.d.ts +4 -0
- package/Utils/SlicedWork.js +34 -0
- package/Utils/SlicedWork.mjs +2 -0
- package/Utils/Slo/SloHealth.d.mts +5 -0
- package/Utils/Slo/SloHealth.d.ts +5 -0
- package/Utils/Slo/SloHealth.js +80 -1
- package/Utils/Slo/SloHealth.mjs +3 -0
- package/Utils/Slo/SloMetricSli.d.mts +8 -0
- package/Utils/Slo/SloMetricSli.d.ts +8 -0
- package/Utils/Slo/SloMetricSli.js +36 -1
- package/Utils/Slo/SloMetricSli.mjs +5 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +5 -4
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +5 -4
- package/Utils/StatusPage/StatusPageUptimeTimezone.js +5 -4
- package/Utils/Telemetry/AppleCrashMatch.d.mts +42 -0
- package/Utils/Telemetry/AppleCrashMatch.d.ts +42 -0
- package/Utils/Telemetry/AppleCrashMatch.js +205 -0
- package/Utils/Telemetry/AppleCrashMatch.mjs +11 -0
- package/Utils/Telemetry/AppleCrashReport.d.mts +47 -0
- package/Utils/Telemetry/AppleCrashReport.d.ts +47 -0
- package/Utils/Telemetry/AppleCrashReport.js +760 -0
- package/Utils/Telemetry/AppleCrashReport.mjs +9 -0
- package/Utils/Telemetry/AppleSymbolicate.d.mts +14 -0
- package/Utils/Telemetry/AppleSymbolicate.d.ts +14 -0
- package/Utils/Telemetry/AppleSymbolicate.js +102 -0
- package/Utils/Telemetry/AppleSymbolicate.mjs +5 -0
- package/Utils/Telemetry/AppleSymbols.d.mts +31 -0
- package/Utils/Telemetry/AppleSymbols.d.ts +31 -0
- package/Utils/Telemetry/AppleSymbols.js +200 -0
- package/Utils/Telemetry/AppleSymbols.mjs +9 -0
- package/Utils/Telemetry/OtlpRecordCount.d.mts +4 -0
- package/Utils/Telemetry/OtlpRecordCount.d.ts +4 -0
- package/Utils/Telemetry/OtlpRecordCount.js +82 -0
- package/Utils/Telemetry/OtlpRecordCount.mjs +5 -0
- package/Utils/Telemetry/ScrubIpAddress.d.mts +10 -0
- package/Utils/Telemetry/ScrubIpAddress.d.ts +10 -0
- package/Utils/Telemetry/ScrubIpAddress.js +116 -0
- package/Utils/Telemetry/ScrubIpAddress.mjs +4 -0
- package/Utils/Telemetry/SwiftDemangle.d.mts +2 -0
- package/Utils/Telemetry/SwiftDemangle.d.ts +2 -0
- package/Utils/Telemetry/SwiftDemangle.js +3479 -0
- package/Utils/Telemetry/SwiftDemangle.mjs +3 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +4 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +4 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.js +7 -2
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.mjs +4 -0
- package/Utils/Telemetry/TelemetryUsageMetricType.d.mts +18 -0
- package/Utils/Telemetry/TelemetryUsageMetricType.d.ts +18 -0
- package/Utils/Telemetry/TelemetryUsageMetricType.js +107 -0
- package/Utils/Telemetry/TelemetryUsageMetricType.mjs +9 -0
- package/Utils/Uptime/DayUptimeGraphUtil.js +1 -1
- package/Utils/Uptime/UptimeDayGrid.d.mts +38 -0
- package/Utils/Uptime/UptimeDayGrid.d.ts +38 -0
- package/Utils/Uptime/UptimeDayGrid.js +148 -0
- package/Utils/Uptime/UptimeDayGrid.mjs +2 -0
- package/Utils/ValueFormatter.d.mts +4 -0
- package/Utils/ValueFormatter.d.ts +4 -0
- package/Utils/ValueFormatter.js +436 -42
- package/package.json +1 -1
|
@@ -3,15 +3,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.CLOUD_ADDED_METRIC_REFUSALS = exports.AZURE_ADDED_METRIC_GRAINS = exports.GCP_ADDED_METRIC_ALIGNERS = exports.AWS_ADDED_METRIC_STATISTICS = exports.AZURE_ADDED_METRIC_AGGREGATIONS = exports.CLOUD_MAX_ADDED_METRICS_PER_CONNECTION = exports.CLOUD_MAX_ADDED_METRICS_PER_RESOURCE = exports.CloudAddedMetricScope = void 0;
|
|
6
|
+
exports.CLOUD_ADDED_METRIC_REFUSALS = exports.AZURE_ADDED_METRIC_GRAINS = exports.GCP_ADDED_METRIC_ALIGNERS = exports.AWS_ADDED_METRIC_STATISTICS = exports.AZURE_ADDED_METRIC_AGGREGATIONS = exports.CLOUD_MAX_ADDED_METRICS_PER_CONNECTION = exports.CLOUD_MAX_ADDED_METRICS_PER_RESOURCE = exports.GCP_SPLIT_ALIGNERS = exports.GCP_SPLIT_LEARN_EVERY_MINUTES = exports.CLOUD_ADDED_METRIC_MAX_SPLIT_VALUES = exports.CloudAddedMetricScope = void 0;
|
|
7
|
+
exports.isCloudAddedMetricSplit = isCloudAddedMetricSplit;
|
|
8
|
+
exports.isGcpFilterLabel = isGcpFilterLabel;
|
|
7
9
|
exports.getCloudAddedMetricKey = getCloudAddedMetricKey;
|
|
8
10
|
exports.getCloudAddedMetricStoredName = getCloudAddedMetricStoredName;
|
|
11
|
+
exports.getCloudAddedMetricSplitAttribute = getCloudAddedMetricSplitAttribute;
|
|
9
12
|
exports.getCloudAddedMetricsOfResource = getCloudAddedMetricsOfResource;
|
|
10
13
|
exports.getCloudAddedMetricsOfType = getCloudAddedMetricsOfType;
|
|
11
14
|
exports.readCloudAddedMetrics = readCloudAddedMetrics;
|
|
12
15
|
exports.toStoredCloudAddedMetrics = toStoredCloudAddedMetrics;
|
|
13
16
|
exports.validateCloudAddedMetric = validateCloudAddedMetric;
|
|
14
17
|
exports.addCloudAddedMetric = addCloudAddedMetric;
|
|
18
|
+
exports.keepCloudAddedMetricFor = keepCloudAddedMetricFor;
|
|
15
19
|
exports.removeCloudAddedMetric = removeCloudAddedMetric;
|
|
16
20
|
const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
|
|
17
21
|
const CloudPlatform_1 = require("./CloudPlatform");
|
|
@@ -48,6 +52,25 @@ var CloudAddedMetricScope;
|
|
|
48
52
|
// Every resource of its type the connection reads.
|
|
49
53
|
CloudAddedMetricScope["Type"] = "type";
|
|
50
54
|
})(CloudAddedMetricScope || (exports.CloudAddedMetricScope = CloudAddedMetricScope = {}));
|
|
55
|
+
/*
|
|
56
|
+
* The values of its dimension a split addition is read for, at most, per
|
|
57
|
+
* resource each read (#9808): Azure Monitor's own default for a split read
|
|
58
|
+
* (`top`), the busiest first; on AWS each value is a metric read, and on
|
|
59
|
+
* Google Cloud a time series, so this bounds what a split costs and stores.
|
|
60
|
+
*/
|
|
61
|
+
exports.CLOUD_ADDED_METRIC_MAX_SPLIT_VALUES = 10;
|
|
62
|
+
/*
|
|
63
|
+
* Google Cloud bills every series a call returns, and timeSeries.list has
|
|
64
|
+
* no top-N, so a split is read for each resource's busiest values alone
|
|
65
|
+
* (#10076): learned over the last hour, once an hour, by a PromQL topk that
|
|
66
|
+
* returns those alone. What it costs counts them (CloudConnectionCost).
|
|
67
|
+
*/
|
|
68
|
+
exports.GCP_SPLIT_LEARN_EVERY_MINUTES = 60;
|
|
69
|
+
// Google Cloud: the aligners a split read can add a metric's other labels up with.
|
|
70
|
+
exports.GCP_SPLIT_ALIGNERS = [
|
|
71
|
+
"ALIGN_RATE",
|
|
72
|
+
"ALIGN_MEAN",
|
|
73
|
+
];
|
|
51
74
|
/*
|
|
52
75
|
* At most this many additions apply to one resource - its type's and its
|
|
53
76
|
* own - and a connection holds at most this many: what bounds the reads
|
|
@@ -92,7 +115,42 @@ const GCP_METRIC_TYPE_PATTERN = /^[a-z0-9][a-z0-9._/-]*$/i;
|
|
|
92
115
|
const GCP_RESOURCE_TYPE_PATTERN = /^[a-z][a-z0-9_.]*$/i;
|
|
93
116
|
// A Cloud Monitoring label's key and value, as the filter of a call quotes them.
|
|
94
117
|
const GCP_LABEL_KEY_PATTERN = /^[a-z][a-z0-9_]*$/i;
|
|
118
|
+
// An Azure Monitor dimension a split call's $filter names: letters and digits.
|
|
119
|
+
const AZURE_DIMENSION_PATTERN = /^[A-Za-z][A-Za-z0-9]{0,63}$/;
|
|
120
|
+
// A CloudWatch dimension's name: up to 255 characters, none of them a control character.
|
|
121
|
+
function isAwsDimensionName(name) {
|
|
122
|
+
return (name.length > 0 &&
|
|
123
|
+
name.length <= 255 &&
|
|
124
|
+
name.trim() === name &&
|
|
125
|
+
Array.from(name).every((character) => {
|
|
126
|
+
return character.charCodeAt(0) >= 32;
|
|
127
|
+
}));
|
|
128
|
+
}
|
|
129
|
+
/*
|
|
130
|
+
* Whether a dimension can be what an addition is split by, on its cloud:
|
|
131
|
+
* one a split read can name safely.
|
|
132
|
+
*/
|
|
133
|
+
function isCloudAddedMetricSplit(provider, splitBy) {
|
|
134
|
+
switch (provider) {
|
|
135
|
+
case CloudPlatform_1.CloudProvider.Azure:
|
|
136
|
+
return AZURE_DIMENSION_PATTERN.test(splitBy);
|
|
137
|
+
case CloudPlatform_1.CloudProvider.AWS:
|
|
138
|
+
return isAwsDimensionName(splitBy);
|
|
139
|
+
case CloudPlatform_1.CloudProvider.GCP:
|
|
140
|
+
return GCP_LABEL_KEY_PATTERN.test(splitBy);
|
|
141
|
+
default:
|
|
142
|
+
return false;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
95
145
|
const GCP_LABEL_VALUE_PATTERN = /^[^"\\]*$/;
|
|
146
|
+
/*
|
|
147
|
+
* Whether a Cloud Monitoring label can be named in a call's filter as it
|
|
148
|
+
* is: a key of letters, digits and "_", a value with no quote or backslash
|
|
149
|
+
* to end its string early. A read narrows a call only by labels that can.
|
|
150
|
+
*/
|
|
151
|
+
function isGcpFilterLabel(key, value) {
|
|
152
|
+
return GCP_LABEL_KEY_PATTERN.test(key) && GCP_LABEL_VALUE_PATTERN.test(value);
|
|
153
|
+
}
|
|
96
154
|
// What tells two additions apart: the same metric, read for the same resources.
|
|
97
155
|
function getCloudAddedMetricKey(data) {
|
|
98
156
|
return [
|
|
@@ -121,6 +179,27 @@ function getCloudAddedMetricStoredName(metric) {
|
|
|
121
179
|
return metric.name.toLowerCase();
|
|
122
180
|
}
|
|
123
181
|
}
|
|
182
|
+
/*
|
|
183
|
+
* The datapoint attribute a split addition's series carry their value in
|
|
184
|
+
* (#9808), as each cloud's receivers write it - Azure's
|
|
185
|
+
* "metadata_<dimension>" in lower case, CloudWatch's
|
|
186
|
+
* "Dimensions.<dimension>", a Cloud Monitoring label by its key - so a
|
|
187
|
+
* chart or a monitor groups by it to draw or judge each value. "" for an
|
|
188
|
+
* addition read whole.
|
|
189
|
+
*/
|
|
190
|
+
function getCloudAddedMetricSplitAttribute(metric) {
|
|
191
|
+
if (!metric.splitBy) {
|
|
192
|
+
return "";
|
|
193
|
+
}
|
|
194
|
+
switch (metric.provider) {
|
|
195
|
+
case CloudPlatform_1.CloudProvider.Azure:
|
|
196
|
+
return `metadata_${metric.splitBy.toLowerCase()}`;
|
|
197
|
+
case CloudPlatform_1.CloudProvider.AWS:
|
|
198
|
+
return `Dimensions.${metric.splitBy}`;
|
|
199
|
+
default:
|
|
200
|
+
return metric.splitBy;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
124
203
|
/*
|
|
125
204
|
* The additions that apply to one resource, in the order they were
|
|
126
205
|
* added: its type's, and its own.
|
|
@@ -205,6 +284,21 @@ function readCloudAddedMetric(value) {
|
|
|
205
284
|
unit: readText(raw["unit"]),
|
|
206
285
|
addedAt: readText(raw["addedAt"]) || new Date(0).toISOString(),
|
|
207
286
|
};
|
|
287
|
+
const splitBy = readText(raw["splitBy"], MAX_NAME_LENGTH);
|
|
288
|
+
// A split no read could name is dropped, and the addition read whole.
|
|
289
|
+
if (splitBy && isCloudAddedMetricSplit(provider, splitBy)) {
|
|
290
|
+
metric.splitBy = splitBy;
|
|
291
|
+
}
|
|
292
|
+
if (Array.isArray(raw["resourceLabelKeys"])) {
|
|
293
|
+
const keys = raw["resourceLabelKeys"]
|
|
294
|
+
.slice(0, 30)
|
|
295
|
+
.filter((key) => {
|
|
296
|
+
return typeof key === "string" && GCP_LABEL_KEY_PATTERN.test(key);
|
|
297
|
+
});
|
|
298
|
+
if (keys.length > 0) {
|
|
299
|
+
metric.resourceLabelKeys = keys;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
208
302
|
for (const field of [
|
|
209
303
|
"cloudResourceId",
|
|
210
304
|
"azureResourceId",
|
|
@@ -274,6 +368,14 @@ exports.CLOUD_ADDED_METRIC_REFUSALS = {
|
|
|
274
368
|
connectionFull: `This cloud connection already reads ${exports.CLOUD_MAX_ADDED_METRICS_PER_CONNECTION} added metrics. Remove one to add another.`,
|
|
275
369
|
alreadyRead: "Its cloud connection already reads this metric for this resource.",
|
|
276
370
|
invalid: "This metric cannot be added: its cloud did not list it for this resource.",
|
|
371
|
+
invalidSplit: "This metric cannot be split that way: its cloud did not list that dimension for it. Pick one of the dimensions listed.",
|
|
372
|
+
splitRequired: "Its cloud reads this metric only split by one of its dimensions. Pick one to split it by.",
|
|
373
|
+
// Keeping a type's addition for some of its resources alone (#10078).
|
|
374
|
+
keepForNotTypeWide: "This metric is not added for every resource of its type, so there is nothing to keep it for. Remove it instead.",
|
|
375
|
+
keepForNone: "Pick the resources to keep this metric for: none were named.",
|
|
376
|
+
keepForOtherResource: "This metric can be kept only for resources of its type that this cloud connection reads. Open the list again and pick from it.",
|
|
377
|
+
keepForUnknownResource: "One of those resources is not known well enough yet to read this metric for it alone: what its cloud knows it by arrives with its next metrics. Keep the metric for every resource for now.",
|
|
378
|
+
keepForConnectionFull: `Kept for each of those resources on its own, this cloud connection would read more than ${exports.CLOUD_MAX_ADDED_METRICS_PER_CONNECTION} added metrics. Remove another added metric first, or keep this one for every resource.`,
|
|
277
379
|
};
|
|
278
380
|
/*
|
|
279
381
|
* Checks an addition's fields before it is kept: its name and how it is
|
|
@@ -285,6 +387,18 @@ function validateCloudAddedMetric(metric) {
|
|
|
285
387
|
if (!name || name.length > MAX_NAME_LENGTH) {
|
|
286
388
|
throw new BadDataException_1.default(exports.CLOUD_ADDED_METRIC_REFUSALS["invalid"]);
|
|
287
389
|
}
|
|
390
|
+
if (metric.splitBy !== undefined &&
|
|
391
|
+
!isCloudAddedMetricSplit(metric.provider, metric.splitBy)) {
|
|
392
|
+
throw new BadDataException_1.default(exports.CLOUD_ADDED_METRIC_REFUSALS["invalidSplit"]);
|
|
393
|
+
}
|
|
394
|
+
// Google Cloud adds the other labels up: a rate or a level, by the resource's labels.
|
|
395
|
+
if (metric.provider === CloudPlatform_1.CloudProvider.GCP &&
|
|
396
|
+
metric.splitBy &&
|
|
397
|
+
(!exports.GCP_SPLIT_ALIGNERS.includes(metric.aggregation) ||
|
|
398
|
+
!metric.resourceLabelKeys ||
|
|
399
|
+
metric.resourceLabelKeys.length === 0)) {
|
|
400
|
+
throw new BadDataException_1.default(exports.CLOUD_ADDED_METRIC_REFUSALS["invalidSplit"]);
|
|
401
|
+
}
|
|
288
402
|
switch (metric.provider) {
|
|
289
403
|
case CloudPlatform_1.CloudProvider.Azure:
|
|
290
404
|
// Azure takes a call's metric names separated by commas.
|
|
@@ -322,8 +436,7 @@ function validateCloudAddedMetric(metric) {
|
|
|
322
436
|
if (!metric.accountId ||
|
|
323
437
|
Object.keys(labels).length === 0 ||
|
|
324
438
|
!Object.entries(labels).every(([key, value]) => {
|
|
325
|
-
return (
|
|
326
|
-
GCP_LABEL_VALUE_PATTERN.test(value));
|
|
439
|
+
return isGcpFilterLabel(key, value);
|
|
327
440
|
})) {
|
|
328
441
|
throw new BadDataException_1.default(exports.CLOUD_ADDED_METRIC_REFUSALS["invalid"]);
|
|
329
442
|
}
|
|
@@ -394,6 +507,94 @@ function addCloudAddedMetric(data) {
|
|
|
394
507
|
}
|
|
395
508
|
return [...added, metric];
|
|
396
509
|
}
|
|
510
|
+
/*
|
|
511
|
+
* KEEPING A TYPE'S ADDITION FOR SOME OF ITS RESOURCES ALONE (#10078).
|
|
512
|
+
*
|
|
513
|
+
* A metric added for every resource of its type is read, and billed, for
|
|
514
|
+
* each of them, while a monitor or a chart often reads it of a few. Kept
|
|
515
|
+
* for those alone, the type's addition is replaced by each one's own
|
|
516
|
+
* addition of the same metric, read the same way - its aggregation, grain,
|
|
517
|
+
* unit and split - so their readers get the same data and the rest stop
|
|
518
|
+
* costing anything. Each resource keeps as many additions as it had (its
|
|
519
|
+
* own takes the place of its type's), so only the connection's cap can be
|
|
520
|
+
* met: refused then, with why.
|
|
521
|
+
*/
|
|
522
|
+
function keepCloudAddedMetricFor(data) {
|
|
523
|
+
const typeWide = data.added.find((metric) => {
|
|
524
|
+
return (metric.key === data.key && metric.scope === CloudAddedMetricScope.Type);
|
|
525
|
+
});
|
|
526
|
+
if (!typeWide) {
|
|
527
|
+
throw new BadDataException_1.default(exports.CLOUD_ADDED_METRIC_REFUSALS["keepForNotTypeWide"]);
|
|
528
|
+
}
|
|
529
|
+
const rest = data.added.filter((metric) => {
|
|
530
|
+
return metric.key !== typeWide.key;
|
|
531
|
+
});
|
|
532
|
+
const keys = new Set(rest.map((metric) => {
|
|
533
|
+
return metric.key;
|
|
534
|
+
}));
|
|
535
|
+
const own = [];
|
|
536
|
+
for (const resource of data.resources) {
|
|
537
|
+
if (!resource.cloudResourceId) {
|
|
538
|
+
continue;
|
|
539
|
+
}
|
|
540
|
+
const metric = {
|
|
541
|
+
key: "",
|
|
542
|
+
provider: typeWide.provider,
|
|
543
|
+
scope: CloudAddedMetricScope.Resource,
|
|
544
|
+
resourceType: typeWide.resourceType,
|
|
545
|
+
name: typeWide.name,
|
|
546
|
+
aggregation: typeWide.aggregation,
|
|
547
|
+
unit: data.unit || typeWide.unit,
|
|
548
|
+
addedAt: typeWide.addedAt,
|
|
549
|
+
...(typeWide.namespace ? { namespace: typeWide.namespace } : {}),
|
|
550
|
+
...(typeWide.grain ? { grain: typeWide.grain } : {}),
|
|
551
|
+
...(typeWide.splitBy ? { splitBy: typeWide.splitBy } : {}),
|
|
552
|
+
...(typeWide.resourceLabelKeys
|
|
553
|
+
? { resourceLabelKeys: [...typeWide.resourceLabelKeys] }
|
|
554
|
+
: {}),
|
|
555
|
+
...(typeWide.addedByUserId
|
|
556
|
+
? { addedByUserId: typeWide.addedByUserId }
|
|
557
|
+
: {}),
|
|
558
|
+
cloudResourceId: resource.cloudResourceId,
|
|
559
|
+
...(resource.azureResourceId
|
|
560
|
+
? { azureResourceId: resource.azureResourceId }
|
|
561
|
+
: {}),
|
|
562
|
+
...(resource.accountId ? { accountId: resource.accountId } : {}),
|
|
563
|
+
...(resource.region ? { region: resource.region } : {}),
|
|
564
|
+
...(resource.dimensions
|
|
565
|
+
? {
|
|
566
|
+
dimensions: resource.dimensions.map((dimension) => {
|
|
567
|
+
return { name: dimension.name, value: dimension.value };
|
|
568
|
+
}),
|
|
569
|
+
}
|
|
570
|
+
: {}),
|
|
571
|
+
...(resource.resourceLabels
|
|
572
|
+
? { resourceLabels: { ...resource.resourceLabels } }
|
|
573
|
+
: {}),
|
|
574
|
+
};
|
|
575
|
+
metric.key = getCloudAddedMetricKey(metric);
|
|
576
|
+
// Read by what its cloud knows it as: refused while that is not known.
|
|
577
|
+
try {
|
|
578
|
+
validateCloudAddedMetric(metric);
|
|
579
|
+
}
|
|
580
|
+
catch (_a) {
|
|
581
|
+
throw new BadDataException_1.default(exports.CLOUD_ADDED_METRIC_REFUSALS["keepForUnknownResource"]);
|
|
582
|
+
}
|
|
583
|
+
// Once each: a resource named twice, or read so already, adds nothing.
|
|
584
|
+
if (keys.has(metric.key)) {
|
|
585
|
+
continue;
|
|
586
|
+
}
|
|
587
|
+
keys.add(metric.key);
|
|
588
|
+
own.push(metric);
|
|
589
|
+
}
|
|
590
|
+
if (own.length === 0) {
|
|
591
|
+
throw new BadDataException_1.default(exports.CLOUD_ADDED_METRIC_REFUSALS["keepForNone"]);
|
|
592
|
+
}
|
|
593
|
+
if (rest.length + own.length > exports.CLOUD_MAX_ADDED_METRICS_PER_CONNECTION) {
|
|
594
|
+
throw new BadDataException_1.default(exports.CLOUD_ADDED_METRIC_REFUSALS["keepForConnectionFull"]);
|
|
595
|
+
}
|
|
596
|
+
return [...rest, ...own];
|
|
597
|
+
}
|
|
397
598
|
// The connection's additions without the one of this key.
|
|
398
599
|
function removeCloudAddedMetric(data) {
|
|
399
600
|
return data.added.filter((metric) => {
|
|
@@ -2,16 +2,23 @@ import commonJsModule from "./CloudAddedMetrics.js";
|
|
|
2
2
|
export const AWS_ADDED_METRIC_STATISTICS = commonJsModule.AWS_ADDED_METRIC_STATISTICS;
|
|
3
3
|
export const AZURE_ADDED_METRIC_AGGREGATIONS = commonJsModule.AZURE_ADDED_METRIC_AGGREGATIONS;
|
|
4
4
|
export const AZURE_ADDED_METRIC_GRAINS = commonJsModule.AZURE_ADDED_METRIC_GRAINS;
|
|
5
|
+
export const CLOUD_ADDED_METRIC_MAX_SPLIT_VALUES = commonJsModule.CLOUD_ADDED_METRIC_MAX_SPLIT_VALUES;
|
|
5
6
|
export const CLOUD_ADDED_METRIC_REFUSALS = commonJsModule.CLOUD_ADDED_METRIC_REFUSALS;
|
|
6
7
|
export const CLOUD_MAX_ADDED_METRICS_PER_CONNECTION = commonJsModule.CLOUD_MAX_ADDED_METRICS_PER_CONNECTION;
|
|
7
8
|
export const CLOUD_MAX_ADDED_METRICS_PER_RESOURCE = commonJsModule.CLOUD_MAX_ADDED_METRICS_PER_RESOURCE;
|
|
8
9
|
export const CloudAddedMetricScope = commonJsModule.CloudAddedMetricScope;
|
|
9
10
|
export const GCP_ADDED_METRIC_ALIGNERS = commonJsModule.GCP_ADDED_METRIC_ALIGNERS;
|
|
11
|
+
export const GCP_SPLIT_ALIGNERS = commonJsModule.GCP_SPLIT_ALIGNERS;
|
|
12
|
+
export const GCP_SPLIT_LEARN_EVERY_MINUTES = commonJsModule.GCP_SPLIT_LEARN_EVERY_MINUTES;
|
|
10
13
|
export const addCloudAddedMetric = commonJsModule.addCloudAddedMetric;
|
|
11
14
|
export const getCloudAddedMetricKey = commonJsModule.getCloudAddedMetricKey;
|
|
15
|
+
export const getCloudAddedMetricSplitAttribute = commonJsModule.getCloudAddedMetricSplitAttribute;
|
|
12
16
|
export const getCloudAddedMetricStoredName = commonJsModule.getCloudAddedMetricStoredName;
|
|
13
17
|
export const getCloudAddedMetricsOfResource = commonJsModule.getCloudAddedMetricsOfResource;
|
|
14
18
|
export const getCloudAddedMetricsOfType = commonJsModule.getCloudAddedMetricsOfType;
|
|
19
|
+
export const isCloudAddedMetricSplit = commonJsModule.isCloudAddedMetricSplit;
|
|
20
|
+
export const isGcpFilterLabel = commonJsModule.isGcpFilterLabel;
|
|
21
|
+
export const keepCloudAddedMetricFor = commonJsModule.keepCloudAddedMetricFor;
|
|
15
22
|
export const readCloudAddedMetrics = commonJsModule.readCloudAddedMetrics;
|
|
16
23
|
export const removeCloudAddedMetric = commonJsModule.removeCloudAddedMetric;
|
|
17
24
|
export const toStoredCloudAddedMetrics = commonJsModule.toStoredCloudAddedMetrics;
|
|
@@ -8,7 +8,8 @@ export declare enum CloudCostState {
|
|
|
8
8
|
Reading = "reading",
|
|
9
9
|
NotAllowed = "not-allowed",
|
|
10
10
|
NotSetUp = "not-set-up",
|
|
11
|
-
Failed = "failed"
|
|
11
|
+
Failed = "failed",
|
|
12
|
+
Queued = "queued"
|
|
12
13
|
}
|
|
13
14
|
export interface CloudAccountCostSummary {
|
|
14
15
|
state: CloudCostState;
|
|
@@ -28,6 +29,7 @@ export interface CloudAccountCostSummary {
|
|
|
28
29
|
anomalies?: Array<CloudCostAnomaly> | undefined;
|
|
29
30
|
tagKeys?: Array<CloudCostTagKey> | undefined;
|
|
30
31
|
resources?: CloudResourceCostsStatus | undefined;
|
|
32
|
+
nextReadAt?: string | undefined;
|
|
31
33
|
readAt: string;
|
|
32
34
|
}
|
|
33
35
|
export interface CloudCostTagKey {
|
|
@@ -101,6 +103,7 @@ export interface CloudCostTotals {
|
|
|
101
103
|
accountsNotAllowed: number;
|
|
102
104
|
accountsNotSetUp: number;
|
|
103
105
|
accountsFailed: number;
|
|
106
|
+
accountsQueued: number;
|
|
104
107
|
}
|
|
105
108
|
export declare function totalCloudCosts(summaries: Array<CloudAccountCostSummary | null>): CloudCostTotals;
|
|
106
109
|
export declare function getCloudCostChangePercent(data: {
|
|
@@ -8,7 +8,8 @@ export declare enum CloudCostState {
|
|
|
8
8
|
Reading = "reading",
|
|
9
9
|
NotAllowed = "not-allowed",
|
|
10
10
|
NotSetUp = "not-set-up",
|
|
11
|
-
Failed = "failed"
|
|
11
|
+
Failed = "failed",
|
|
12
|
+
Queued = "queued"
|
|
12
13
|
}
|
|
13
14
|
export interface CloudAccountCostSummary {
|
|
14
15
|
state: CloudCostState;
|
|
@@ -28,6 +29,7 @@ export interface CloudAccountCostSummary {
|
|
|
28
29
|
anomalies?: Array<CloudCostAnomaly> | undefined;
|
|
29
30
|
tagKeys?: Array<CloudCostTagKey> | undefined;
|
|
30
31
|
resources?: CloudResourceCostsStatus | undefined;
|
|
32
|
+
nextReadAt?: string | undefined;
|
|
31
33
|
readAt: string;
|
|
32
34
|
}
|
|
33
35
|
export interface CloudCostTagKey {
|
|
@@ -101,6 +103,7 @@ export interface CloudCostTotals {
|
|
|
101
103
|
accountsNotAllowed: number;
|
|
102
104
|
accountsNotSetUp: number;
|
|
103
105
|
accountsFailed: number;
|
|
106
|
+
accountsQueued: number;
|
|
104
107
|
}
|
|
105
108
|
export declare function totalCloudCosts(summaries: Array<CloudAccountCostSummary | null>): CloudCostTotals;
|
|
106
109
|
export declare function getCloudCostChangePercent(data: {
|
package/Types/Cloud/CloudCost.js
CHANGED
|
@@ -70,7 +70,11 @@ exports.CLOUD_COST_DEFAULT_CURRENCY = "USD";
|
|
|
70
70
|
* command again gives it the permission;
|
|
71
71
|
* - not-set-up: the cloud has nothing to read until someone sets it up
|
|
72
72
|
* (Cost Explorer turned on, a billing export to BigQuery chosen);
|
|
73
|
-
* - failed: the cloud answered with an error; the next read tries again
|
|
73
|
+
* - failed: the cloud answered with an error; the next read tries again;
|
|
74
|
+
* - queued: its first figures wait their turn - its cloud limits how fast
|
|
75
|
+
* costs are read (Azure Cost Management, a tenant at a time) - and are
|
|
76
|
+
* read at nextReadAt. An account that has figures keeps them, and stays
|
|
77
|
+
* reading, while its next read waits.
|
|
74
78
|
*/
|
|
75
79
|
var CloudCostState;
|
|
76
80
|
(function (CloudCostState) {
|
|
@@ -78,6 +82,7 @@ var CloudCostState;
|
|
|
78
82
|
CloudCostState["NotAllowed"] = "not-allowed";
|
|
79
83
|
CloudCostState["NotSetUp"] = "not-set-up";
|
|
80
84
|
CloudCostState["Failed"] = "failed";
|
|
85
|
+
CloudCostState["Queued"] = "queued";
|
|
81
86
|
})(CloudCostState || (exports.CloudCostState = CloudCostState = {}));
|
|
82
87
|
// At most this many tags are kept on an account's summary.
|
|
83
88
|
exports.CLOUD_COST_SUMMARY_TAG_KEYS = 25;
|
|
@@ -413,6 +418,10 @@ function readCloudAccountCostSummary(value) {
|
|
|
413
418
|
: undefined,
|
|
414
419
|
tagKeys: readCloudCostTagKeys(record["tagKeys"]),
|
|
415
420
|
resources: readCloudResourceCostsStatus(record["resources"]),
|
|
421
|
+
nextReadAt: typeof record["nextReadAt"] === "string" &&
|
|
422
|
+
Number.isFinite(Date.parse(record["nextReadAt"]))
|
|
423
|
+
? record["nextReadAt"]
|
|
424
|
+
: undefined,
|
|
416
425
|
readAt: typeof record["readAt"] === "string" ? record["readAt"] : "",
|
|
417
426
|
};
|
|
418
427
|
}
|
|
@@ -464,6 +473,7 @@ function totalCloudCosts(summaries) {
|
|
|
464
473
|
let accountsNotAllowed = 0;
|
|
465
474
|
let accountsNotSetUp = 0;
|
|
466
475
|
let accountsFailed = 0;
|
|
476
|
+
let accountsQueued = 0;
|
|
467
477
|
for (const summary of summaries) {
|
|
468
478
|
if (!summary) {
|
|
469
479
|
continue;
|
|
@@ -477,6 +487,9 @@ function totalCloudCosts(summaries) {
|
|
|
477
487
|
else if (summary.state === CloudCostState.NotSetUp) {
|
|
478
488
|
accountsNotSetUp++;
|
|
479
489
|
}
|
|
490
|
+
else if (summary.state === CloudCostState.Queued) {
|
|
491
|
+
accountsQueued++;
|
|
492
|
+
}
|
|
480
493
|
else {
|
|
481
494
|
accountsFailed++;
|
|
482
495
|
}
|
|
@@ -499,6 +512,7 @@ function totalCloudCosts(summaries) {
|
|
|
499
512
|
accountsNotAllowed,
|
|
500
513
|
accountsNotSetUp,
|
|
501
514
|
accountsFailed,
|
|
515
|
+
accountsQueued,
|
|
502
516
|
};
|
|
503
517
|
for (const summary of read) {
|
|
504
518
|
if (summary.currency !== currency) {
|
|
@@ -41,6 +41,14 @@ export declare function countAwsKeyMetricsAddedSince(templateVersion: number): n
|
|
|
41
41
|
export declare const AZURE_FIVE_MINUTE_GRAIN: string;
|
|
42
42
|
export declare const AZURE_FIVE_MINUTE_READ_MINUTES: number;
|
|
43
43
|
export declare const AZURE_HOURLY_GRAIN: string;
|
|
44
|
+
export declare const AZURE_SIX_HOURLY_GRAIN: string;
|
|
45
|
+
export declare enum CloudKeyMetricCadence {
|
|
46
|
+
FiveMinutes = "five-minutes",
|
|
47
|
+
Hourly = "hourly",
|
|
48
|
+
SixHourly = "six-hourly",
|
|
49
|
+
FewTimesADay = "few-times-a-day",
|
|
50
|
+
Daily = "daily"
|
|
51
|
+
}
|
|
44
52
|
export interface AzureKeyMetric {
|
|
45
53
|
name: string;
|
|
46
54
|
group: CloudKeyMetricGroup;
|
|
@@ -63,6 +71,7 @@ export declare const AZURE_ENTITY_NAME_DIMENSION: string;
|
|
|
63
71
|
export declare const AZURE_DIMENSION_ATTRIBUTE_PREFIX: string;
|
|
64
72
|
export declare const AZURE_ENTITY_NAME_ATTRIBUTE: string;
|
|
65
73
|
export declare const AZURE_MAX_SPLIT_SERIES_PER_METRIC: number;
|
|
74
|
+
export declare function getAzureKeyMetricCadence(metric: Pick<AzureKeyMetric, "grain">): CloudKeyMetricCadence | undefined;
|
|
66
75
|
export declare const AZURE_KEY_METRICS: ReadonlyArray<AzureTypeKeyMetrics>;
|
|
67
76
|
export declare function getAzureKeyMetrics(type: string): AzureTypeKeyMetrics | undefined;
|
|
68
77
|
export declare function getAzureKeyMetricNames(type: string): Array<string>;
|
|
@@ -119,7 +128,13 @@ export interface CloudKeyMetricReference {
|
|
|
119
128
|
group: CloudKeyMetricGroup;
|
|
120
129
|
rank: number;
|
|
121
130
|
intervalSeconds?: number | undefined;
|
|
131
|
+
cadence?: CloudKeyMetricCadence | undefined;
|
|
122
132
|
}
|
|
133
|
+
export declare function getAwsKeyMetricCadence(metric: Pick<AwsKeyMetric, "periodSeconds">): CloudKeyMetricCadence | undefined;
|
|
134
|
+
export declare function hasCloudKeyMetricsWithCadence(data: {
|
|
135
|
+
provider: string | null | undefined;
|
|
136
|
+
type: string | null | undefined;
|
|
137
|
+
}): boolean;
|
|
123
138
|
export declare function parseAwsStoredMetricName(storedMetricName: string): {
|
|
124
139
|
namespace: string;
|
|
125
140
|
metricName: string;
|
|
@@ -41,6 +41,14 @@ export declare function countAwsKeyMetricsAddedSince(templateVersion: number): n
|
|
|
41
41
|
export declare const AZURE_FIVE_MINUTE_GRAIN: string;
|
|
42
42
|
export declare const AZURE_FIVE_MINUTE_READ_MINUTES: number;
|
|
43
43
|
export declare const AZURE_HOURLY_GRAIN: string;
|
|
44
|
+
export declare const AZURE_SIX_HOURLY_GRAIN: string;
|
|
45
|
+
export declare enum CloudKeyMetricCadence {
|
|
46
|
+
FiveMinutes = "five-minutes",
|
|
47
|
+
Hourly = "hourly",
|
|
48
|
+
SixHourly = "six-hourly",
|
|
49
|
+
FewTimesADay = "few-times-a-day",
|
|
50
|
+
Daily = "daily"
|
|
51
|
+
}
|
|
44
52
|
export interface AzureKeyMetric {
|
|
45
53
|
name: string;
|
|
46
54
|
group: CloudKeyMetricGroup;
|
|
@@ -63,6 +71,7 @@ export declare const AZURE_ENTITY_NAME_DIMENSION: string;
|
|
|
63
71
|
export declare const AZURE_DIMENSION_ATTRIBUTE_PREFIX: string;
|
|
64
72
|
export declare const AZURE_ENTITY_NAME_ATTRIBUTE: string;
|
|
65
73
|
export declare const AZURE_MAX_SPLIT_SERIES_PER_METRIC: number;
|
|
74
|
+
export declare function getAzureKeyMetricCadence(metric: Pick<AzureKeyMetric, "grain">): CloudKeyMetricCadence | undefined;
|
|
66
75
|
export declare const AZURE_KEY_METRICS: ReadonlyArray<AzureTypeKeyMetrics>;
|
|
67
76
|
export declare function getAzureKeyMetrics(type: string): AzureTypeKeyMetrics | undefined;
|
|
68
77
|
export declare function getAzureKeyMetricNames(type: string): Array<string>;
|
|
@@ -119,7 +128,13 @@ export interface CloudKeyMetricReference {
|
|
|
119
128
|
group: CloudKeyMetricGroup;
|
|
120
129
|
rank: number;
|
|
121
130
|
intervalSeconds?: number | undefined;
|
|
131
|
+
cadence?: CloudKeyMetricCadence | undefined;
|
|
122
132
|
}
|
|
133
|
+
export declare function getAwsKeyMetricCadence(metric: Pick<AwsKeyMetric, "periodSeconds">): CloudKeyMetricCadence | undefined;
|
|
134
|
+
export declare function hasCloudKeyMetricsWithCadence(data: {
|
|
135
|
+
provider: string | null | undefined;
|
|
136
|
+
type: string | null | undefined;
|
|
137
|
+
}): boolean;
|
|
123
138
|
export declare function parseAwsStoredMetricName(storedMetricName: string): {
|
|
124
139
|
namespace: string;
|
|
125
140
|
metricName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GCP_KEY_METRICS = exports.GCP_ALIGNMENT_PERIOD_SECONDS = exports.GCP_OPS_AGENT_INSTALL_URL = exports.GCP_OPS_AGENT = exports.AZURE_KEY_METRICS = exports.AZURE_MAX_SPLIT_SERIES_PER_METRIC = exports.AZURE_ENTITY_NAME_ATTRIBUTE = exports.AZURE_DIMENSION_ATTRIBUTE_PREFIX = exports.AZURE_ENTITY_NAME_DIMENSION = exports.AZURE_MAX_METRICS_PER_RESOURCE = exports.AZURE_HOURLY_GRAIN = exports.AZURE_FIVE_MINUTE_READ_MINUTES = exports.AZURE_FIVE_MINUTE_GRAIN = exports.AWS_KEY_METRICS = exports.AWS_STREAM_TEMPLATE_VERSION = exports.AWS_STREAM_TEMPLATE_UNVERSIONED = exports.DAILY_PERIOD_SECONDS = exports.HOURLY_PERIOD_SECONDS = exports.AWS_DEFAULT_PERIOD_SECONDS = void 0;
|
|
3
|
+
exports.GCP_KEY_METRICS = exports.GCP_ALIGNMENT_PERIOD_SECONDS = exports.GCP_OPS_AGENT_INSTALL_URL = exports.GCP_OPS_AGENT = exports.AZURE_KEY_METRICS = exports.AZURE_MAX_SPLIT_SERIES_PER_METRIC = exports.AZURE_ENTITY_NAME_ATTRIBUTE = exports.AZURE_DIMENSION_ATTRIBUTE_PREFIX = exports.AZURE_ENTITY_NAME_DIMENSION = exports.AZURE_MAX_METRICS_PER_RESOURCE = exports.CloudKeyMetricCadence = exports.AZURE_SIX_HOURLY_GRAIN = exports.AZURE_HOURLY_GRAIN = exports.AZURE_FIVE_MINUTE_READ_MINUTES = exports.AZURE_FIVE_MINUTE_GRAIN = exports.AWS_KEY_METRICS = exports.AWS_STREAM_TEMPLATE_VERSION = exports.AWS_STREAM_TEMPLATE_UNVERSIONED = exports.DAILY_PERIOD_SECONDS = exports.HOURLY_PERIOD_SECONDS = exports.AWS_DEFAULT_PERIOD_SECONDS = void 0;
|
|
4
4
|
exports.getAwsKeyMetrics = getAwsKeyMetrics;
|
|
5
5
|
exports.getAwsProbeMetricNames = getAwsProbeMetricNames;
|
|
6
6
|
exports.getAwsStoredMetricName = getAwsStoredMetricName;
|
|
@@ -10,6 +10,7 @@ exports.isAwsKeyMetricSeries = isAwsKeyMetricSeries;
|
|
|
10
10
|
exports.isAwsKeyMetricStreamable = isAwsKeyMetricStreamable;
|
|
11
11
|
exports.isAwsKeyMetricInTemplate = isAwsKeyMetricInTemplate;
|
|
12
12
|
exports.countAwsKeyMetricsAddedSince = countAwsKeyMetricsAddedSince;
|
|
13
|
+
exports.getAzureKeyMetricCadence = getAzureKeyMetricCadence;
|
|
13
14
|
exports.getAzureKeyMetrics = getAzureKeyMetrics;
|
|
14
15
|
exports.getAzureKeyMetricNames = getAzureKeyMetricNames;
|
|
15
16
|
exports.getAzureReadMetricNames = getAzureReadMetricNames;
|
|
@@ -28,6 +29,8 @@ exports.getGcpRetiredMetricCount = getGcpRetiredMetricCount;
|
|
|
28
29
|
exports.getGcpResourceTypesOfMetric = getGcpResourceTypesOfMetric;
|
|
29
30
|
exports.getAwsNamespaceOfType = getAwsNamespaceOfType;
|
|
30
31
|
exports.getKeyMetricCount = getKeyMetricCount;
|
|
32
|
+
exports.getAwsKeyMetricCadence = getAwsKeyMetricCadence;
|
|
33
|
+
exports.hasCloudKeyMetricsWithCadence = hasCloudKeyMetricsWithCadence;
|
|
31
34
|
exports.parseAwsStoredMetricName = parseAwsStoredMetricName;
|
|
32
35
|
exports.getCloudKeyMetricOfStoredName = getCloudKeyMetricOfStoredName;
|
|
33
36
|
exports.compareCloudKeyMetrics = compareCloudKeyMetrics;
|
|
@@ -880,6 +883,34 @@ exports.AZURE_FIVE_MINUTE_READ_MINUTES = 15;
|
|
|
880
883
|
* read would leave it out.
|
|
881
884
|
*/
|
|
882
885
|
exports.AZURE_HOURLY_GRAIN = "PT1H";
|
|
886
|
+
/*
|
|
887
|
+
* The grain a key metric is marked with when Azure Monitor keeps it at six
|
|
888
|
+
* hours at its finest (#10026): an App Service app's FileSystemUsage, the
|
|
889
|
+
* one key metric that is. It is read as every six-hour metric always was,
|
|
890
|
+
* in its own call once a whole six hours is there - six hours after they
|
|
891
|
+
* end (CloudMetricWindows) - and its reading is kept between those reads
|
|
892
|
+
* (AZURE_SIX_HOURLY_READING_HOLD_MS, CloudResourceHealth).
|
|
893
|
+
*/
|
|
894
|
+
exports.AZURE_SIX_HOURLY_GRAIN = "PT6H";
|
|
895
|
+
/*
|
|
896
|
+
* HOW OFTEN A KEY METRIC'S POINTS COME, where that is not every read: what
|
|
897
|
+
* a resource's Metrics card says of it on its row ("every hour"), and of
|
|
898
|
+
* one it did not report, and what tells it from one that stopped - a range
|
|
899
|
+
* shorter than its points' age holds none of them (CloudUnreportedKeyMetrics).
|
|
900
|
+
*/
|
|
901
|
+
var CloudKeyMetricCadence;
|
|
902
|
+
(function (CloudKeyMetricCadence) {
|
|
903
|
+
// Azure Monitor keeps it at five minutes: three points every 15 minutes.
|
|
904
|
+
CloudKeyMetricCadence["FiveMinutes"] = "five-minutes";
|
|
905
|
+
// Azure Monitor keeps it at an hour: read once an hour, 2 to 3 hours on.
|
|
906
|
+
CloudKeyMetricCadence["Hourly"] = "hourly";
|
|
907
|
+
// Azure Monitor keeps it at six hours: read every 6 hours, 12 to 18 on.
|
|
908
|
+
CloudKeyMetricCadence["SixHourly"] = "six-hourly";
|
|
909
|
+
// CloudWatch publishes it a few times a day: read once an hour.
|
|
910
|
+
CloudKeyMetricCadence["FewTimesADay"] = "few-times-a-day";
|
|
911
|
+
// CloudWatch publishes it once a day: read the day and a half after.
|
|
912
|
+
CloudKeyMetricCadence["Daily"] = "daily";
|
|
913
|
+
})(CloudKeyMetricCadence || (exports.CloudKeyMetricCadence = CloudKeyMetricCadence = {}));
|
|
883
914
|
/*
|
|
884
915
|
* At most this many metrics are read per resource: Azure Monitor's own
|
|
885
916
|
* limit for one metrics call, which is billed as one read whatever the
|
|
@@ -916,6 +947,26 @@ function azure5(name, group) {
|
|
|
916
947
|
function azure60(name, group) {
|
|
917
948
|
return { name, group, grain: exports.AZURE_HOURLY_GRAIN };
|
|
918
949
|
}
|
|
950
|
+
// A metric Azure Monitor keeps at six hours at its finest, read every six.
|
|
951
|
+
function azure360(name, group) {
|
|
952
|
+
return { name, group, grain: exports.AZURE_SIX_HOURLY_GRAIN };
|
|
953
|
+
}
|
|
954
|
+
/*
|
|
955
|
+
* How often an Azure key metric's points come, by its mark: none for one
|
|
956
|
+
* read at its type's minute.
|
|
957
|
+
*/
|
|
958
|
+
function getAzureKeyMetricCadence(metric) {
|
|
959
|
+
switch (metric.grain) {
|
|
960
|
+
case exports.AZURE_FIVE_MINUTE_GRAIN:
|
|
961
|
+
return CloudKeyMetricCadence.FiveMinutes;
|
|
962
|
+
case exports.AZURE_HOURLY_GRAIN:
|
|
963
|
+
return CloudKeyMetricCadence.Hourly;
|
|
964
|
+
case exports.AZURE_SIX_HOURLY_GRAIN:
|
|
965
|
+
return CloudKeyMetricCadence.SixHourly;
|
|
966
|
+
default:
|
|
967
|
+
return undefined;
|
|
968
|
+
}
|
|
969
|
+
}
|
|
919
970
|
/*
|
|
920
971
|
* Microsoft's tables marked a virtual machine's network totals "DS Export:
|
|
921
972
|
* No" until 2026 and mark them Yes now. They stay marked here: a stream
|
|
@@ -1017,7 +1068,12 @@ exports.AZURE_KEY_METRICS = [
|
|
|
1017
1068
|
azure("BytesReceived", G.Network),
|
|
1018
1069
|
azure("BytesSent", G.Network),
|
|
1019
1070
|
when(C.Kind, azure("FunctionExecutionUnits", G.Compute)),
|
|
1020
|
-
|
|
1071
|
+
/*
|
|
1072
|
+
* The bytes its files take of its plan's storage quota. Kept at six
|
|
1073
|
+
* hours at its finest (#10026): read every six hours, and kept
|
|
1074
|
+
* between those reads.
|
|
1075
|
+
*/
|
|
1076
|
+
azure360("FileSystemUsage", G.Storage),
|
|
1021
1077
|
],
|
|
1022
1078
|
},
|
|
1023
1079
|
{
|
|
@@ -2231,8 +2287,53 @@ function getKeyMetricCount(provider, typeOrNamespace) {
|
|
|
2231
2287
|
return !metric.reportedBy;
|
|
2232
2288
|
}).length) || 0);
|
|
2233
2289
|
}
|
|
2234
|
-
// Azure Monitor's
|
|
2235
|
-
const
|
|
2290
|
+
// Azure Monitor's grains a key metric is marked with, as seconds between two points.
|
|
2291
|
+
const AZURE_GRAIN_SECONDS = {
|
|
2292
|
+
[exports.AZURE_FIVE_MINUTE_GRAIN]: 300,
|
|
2293
|
+
[exports.AZURE_HOURLY_GRAIN]: 3600,
|
|
2294
|
+
[exports.AZURE_SIX_HOURLY_GRAIN]: 21600,
|
|
2295
|
+
};
|
|
2296
|
+
/*
|
|
2297
|
+
* How often an AWS key metric's points come, by its period: none for the
|
|
2298
|
+
* five minutes almost every CloudWatch metric is read at.
|
|
2299
|
+
*/
|
|
2300
|
+
function getAwsKeyMetricCadence(metric) {
|
|
2301
|
+
if (metric.periodSeconds >= exports.DAILY_PERIOD_SECONDS) {
|
|
2302
|
+
return CloudKeyMetricCadence.Daily;
|
|
2303
|
+
}
|
|
2304
|
+
return metric.periodSeconds >= exports.HOURLY_PERIOD_SECONDS
|
|
2305
|
+
? CloudKeyMetricCadence.FewTimesADay
|
|
2306
|
+
: undefined;
|
|
2307
|
+
}
|
|
2308
|
+
/*
|
|
2309
|
+
* Whether a resource of this provider and type has a key metric whose
|
|
2310
|
+
* points come less often than its others' (CloudKeyMetricCadence): an App
|
|
2311
|
+
* Service app's health check and file system, a Storage account's used
|
|
2312
|
+
* capacity, an S3 bucket's daily storage. Google Cloud's all come a minute
|
|
2313
|
+
* apart.
|
|
2314
|
+
*/
|
|
2315
|
+
function hasCloudKeyMetricsWithCadence(data) {
|
|
2316
|
+
var _a;
|
|
2317
|
+
const type = (data.type || "").trim();
|
|
2318
|
+
switch ((data.provider || "").trim().toLowerCase()) {
|
|
2319
|
+
case CloudPlatform_1.CloudProvider.Azure:
|
|
2320
|
+
return Boolean((_a = getAzureKeyMetrics(type)) === null || _a === void 0 ? void 0 : _a.metrics.some((metric) => {
|
|
2321
|
+
return getAzureKeyMetricCadence(metric) !== undefined;
|
|
2322
|
+
}));
|
|
2323
|
+
case CloudPlatform_1.CloudProvider.AWS: {
|
|
2324
|
+
const wanted = type.toLowerCase();
|
|
2325
|
+
return CloudResourceCatalog_1.AWS_CLOUDWATCH_RESOURCE_RULES.some((rule) => {
|
|
2326
|
+
var _a;
|
|
2327
|
+
return (rule.type.toLowerCase() === wanted &&
|
|
2328
|
+
Boolean((_a = getAwsKeyMetrics(rule.namespace)) === null || _a === void 0 ? void 0 : _a.metrics.some((metric) => {
|
|
2329
|
+
return getAwsKeyMetricCadence(metric) !== undefined;
|
|
2330
|
+
})));
|
|
2331
|
+
});
|
|
2332
|
+
}
|
|
2333
|
+
default:
|
|
2334
|
+
return false;
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2236
2337
|
/*
|
|
2237
2338
|
* The CloudWatch namespace and metric of a stored CloudWatch name
|
|
2238
2339
|
* ("amazonaws.com/AWS/EC2/CPUUtilization" -> AWS/EC2, CPUUtilization),
|
|
@@ -2269,7 +2370,13 @@ function findAwsKeyMetric(storedMetricName) {
|
|
|
2269
2370
|
return null;
|
|
2270
2371
|
}
|
|
2271
2372
|
const metric = entry.metrics[rank];
|
|
2272
|
-
|
|
2373
|
+
const cadence = getAwsKeyMetricCadence(metric);
|
|
2374
|
+
return {
|
|
2375
|
+
name: metric.metricName,
|
|
2376
|
+
group: metric.group,
|
|
2377
|
+
rank,
|
|
2378
|
+
...(cadence ? { intervalSeconds: metric.periodSeconds, cadence } : {}),
|
|
2379
|
+
};
|
|
2273
2380
|
}
|
|
2274
2381
|
function findAzureKeyMetric(type, storedMetricName) {
|
|
2275
2382
|
var _a;
|
|
@@ -2284,12 +2391,13 @@ function findAzureKeyMetric(type, storedMetricName) {
|
|
|
2284
2391
|
return null;
|
|
2285
2392
|
}
|
|
2286
2393
|
const metric = metrics[rank];
|
|
2394
|
+
const cadence = getAzureKeyMetricCadence(metric);
|
|
2287
2395
|
return {
|
|
2288
2396
|
name: metric.name,
|
|
2289
2397
|
group: metric.group,
|
|
2290
2398
|
rank,
|
|
2291
|
-
...(metric.grain
|
|
2292
|
-
? { intervalSeconds:
|
|
2399
|
+
...(cadence && metric.grain
|
|
2400
|
+
? { intervalSeconds: AZURE_GRAIN_SECONDS[metric.grain], cadence }
|
|
2293
2401
|
: {}),
|
|
2294
2402
|
};
|
|
2295
2403
|
}
|