@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
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
37
|
};
|
|
5
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MAX_API_KEY_LENGTH = exports.MIN_API_KEY_LENGTH = exports.ESPER_CLOUD_DOMAIN = exports.MAX_ESPER_TENANT_LENGTH = exports.MANAGED_DEVICE_APPS_READ_INTERVAL_IN_HOURS = exports.DEFAULT_DEVICE_MANAGEMENT_READ_INTERVAL_IN_MINUTES = exports.DEVICE_MANAGEMENT_READ_INTERVALS_IN_MINUTES = exports.SECRET_API_KEY = exports.CONFIG_READ_INTERVAL_KEY = exports.CONFIG_TENANT_KEY = void 0;
|
|
39
|
+
exports.SOTI_SERVER_HELP = exports.WORKSPACE_ONE_SERVER_HELP = exports.WORKSPACE_ONE_SAAS_DOMAIN = exports.WORKSPACE_ONE_TOKEN_DOMAIN = exports.DEFAULT_WORKSPACE_ONE_REGION = exports.WORKSPACE_ONE_REGIONS = exports.DEFAULT_WORKSPACE_ONE_AUTH_METHOD = exports.WORKSPACE_ONE_AUTH_METHODS = exports.MAX_USERNAME_LENGTH = exports.MAX_SERVER_HOST_LENGTH = exports.INTUNE_CLOUD_TITLES = exports.DEFAULT_INTUNE_CLOUD = exports.INTUNE_CLOUDS = exports.MAX_API_KEY_LENGTH = exports.MIN_API_KEY_LENGTH = exports.ESPER_CLOUD_DOMAIN = exports.MAX_ESPER_TENANT_LENGTH = exports.MANAGED_DEVICE_APPS_READ_INTERVAL_IN_HOURS = exports.DEFAULT_DEVICE_MANAGEMENT_READ_INTERVAL_IN_MINUTES = exports.DEVICE_MANAGEMENT_READ_INTERVALS_IN_MINUTES = exports.SECRET_PASSWORD_KEY = exports.SECRET_CLIENT_SECRET_KEY = exports.SECRET_API_KEY = exports.CONFIG_USERNAME_KEY = exports.CONFIG_REGION_KEY = exports.CONFIG_AUTH_METHOD_KEY = exports.CONFIG_CLOUD_KEY = exports.CONFIG_CLIENT_ID_KEY = exports.CONFIG_READ_INTERVAL_KEY = exports.CONFIG_TENANT_KEY = void 0;
|
|
7
40
|
exports.readDeviceManagementReadInterval = readDeviceManagementReadInterval;
|
|
8
41
|
exports.readEsperTenant = readEsperTenant;
|
|
9
42
|
exports.readEsperApiKey = readEsperApiKey;
|
|
@@ -11,10 +44,43 @@ exports.getEsperApiBaseUrl = getEsperApiBaseUrl;
|
|
|
11
44
|
exports.getEsperApiHost = getEsperApiHost;
|
|
12
45
|
exports.getEsperConsoleHost = getEsperConsoleHost;
|
|
13
46
|
exports.getEsperConsoleUrl = getEsperConsoleUrl;
|
|
47
|
+
exports.isIntuneCloud = isIntuneCloud;
|
|
48
|
+
exports.getIntuneCloudHosts = getIntuneCloudHosts;
|
|
49
|
+
exports.isGuid = isGuid;
|
|
50
|
+
exports.readIntuneTenant = readIntuneTenant;
|
|
51
|
+
exports.readIntuneClientId = readIntuneClientId;
|
|
52
|
+
exports.readIntuneCloud = readIntuneCloud;
|
|
53
|
+
exports.readIntuneClientSecret = readIntuneClientSecret;
|
|
54
|
+
exports.getIntuneTokenUrl = getIntuneTokenUrl;
|
|
55
|
+
exports.readServerAddress = readServerAddress;
|
|
56
|
+
exports.getServerOrigin = getServerOrigin;
|
|
57
|
+
exports.readDeviceManagementUsername = readDeviceManagementUsername;
|
|
58
|
+
exports.readDeviceManagementPassword = readDeviceManagementPassword;
|
|
59
|
+
exports.isWorkspaceOneAuthMethod = isWorkspaceOneAuthMethod;
|
|
60
|
+
exports.isWorkspaceOneRegion = isWorkspaceOneRegion;
|
|
61
|
+
exports.getWorkspaceOneTokenHost = getWorkspaceOneTokenHost;
|
|
62
|
+
exports.getWorkspaceOneTokenUrl = getWorkspaceOneTokenUrl;
|
|
63
|
+
exports.getWorkspaceOneApiBaseUrl = getWorkspaceOneApiBaseUrl;
|
|
64
|
+
exports.readWorkspaceOneServer = readWorkspaceOneServer;
|
|
65
|
+
exports.readWorkspaceOneAuthMethod = readWorkspaceOneAuthMethod;
|
|
66
|
+
exports.readWorkspaceOneRegion = readWorkspaceOneRegion;
|
|
67
|
+
exports.readWorkspaceOneClientId = readWorkspaceOneClientId;
|
|
68
|
+
exports.readWorkspaceOneClientSecret = readWorkspaceOneClientSecret;
|
|
69
|
+
exports.readWorkspaceOneUsername = readWorkspaceOneUsername;
|
|
70
|
+
exports.readWorkspaceOnePassword = readWorkspaceOnePassword;
|
|
71
|
+
exports.readWorkspaceOneApiKey = readWorkspaceOneApiKey;
|
|
72
|
+
exports.getSotiApiBaseUrl = getSotiApiBaseUrl;
|
|
73
|
+
exports.readSotiServer = readSotiServer;
|
|
74
|
+
exports.readSotiClientId = readSotiClientId;
|
|
75
|
+
exports.readSotiClientSecret = readSotiClientSecret;
|
|
76
|
+
exports.readSotiUsername = readSotiUsername;
|
|
77
|
+
exports.readSotiPassword = readSotiPassword;
|
|
78
|
+
exports.getDeviceManagementConnectionAddress = getDeviceManagementConnectionAddress;
|
|
14
79
|
exports.readDeviceManagementConfig = readDeviceManagementConfig;
|
|
15
80
|
exports.validateDeviceManagementConfig = validateDeviceManagementConfig;
|
|
16
81
|
exports.toDeviceManagementConfigJson = toDeviceManagementConfigJson;
|
|
17
82
|
const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
|
|
83
|
+
const DeviceManagementProvider_1 = __importStar(require("./DeviceManagementProvider"));
|
|
18
84
|
/*
|
|
19
85
|
* What a device management connection keeps besides its secret
|
|
20
86
|
* (DeviceManagementConnection.config), and the rules every writer of it is
|
|
@@ -23,12 +89,33 @@ const BadDataException_1 = __importDefault(require("../Exception/BadDataExceptio
|
|
|
23
89
|
*
|
|
24
90
|
* Plain logic, free of React and of the server, so the dashboard's form,
|
|
25
91
|
* the server and the tests all read the same rules.
|
|
92
|
+
*
|
|
93
|
+
* Each service keeps its own settings (#9837):
|
|
94
|
+
* - Esper: its tenant, the sub-domain of its console;
|
|
95
|
+
* - Microsoft Intune: its Microsoft Entra tenant (the directory ID, or a
|
|
96
|
+
* domain of it), the application (client) ID of the app registration
|
|
97
|
+
* OneUptime signs in as, and the Microsoft cloud the tenant is in;
|
|
98
|
+
* - Workspace ONE UEM (#10086): its API server's host, how OneUptime
|
|
99
|
+
* signs in - an OAuth client (its ID, and the token service's region)
|
|
100
|
+
* or an administrator's account (its username) - and their secrets;
|
|
101
|
+
* - SOTI MobiControl (#10087): its server's host, the ID of the API
|
|
102
|
+
* client OneUptime signs in through, and the API user it signs in as.
|
|
103
|
+
* `tenant` is the one the connection reads, whatever the service: a
|
|
104
|
+
* project connects it once. For a service answering at the customer's own
|
|
105
|
+
* server (Workspace ONE, SOTI), it is that server's host.
|
|
26
106
|
*/
|
|
27
107
|
// Keys of `config`.
|
|
28
108
|
exports.CONFIG_TENANT_KEY = "tenant";
|
|
29
109
|
exports.CONFIG_READ_INTERVAL_KEY = "readIntervalInMinutes";
|
|
110
|
+
exports.CONFIG_CLIENT_ID_KEY = "clientId";
|
|
111
|
+
exports.CONFIG_CLOUD_KEY = "cloud";
|
|
112
|
+
exports.CONFIG_AUTH_METHOD_KEY = "authMethod";
|
|
113
|
+
exports.CONFIG_REGION_KEY = "region";
|
|
114
|
+
exports.CONFIG_USERNAME_KEY = "username";
|
|
30
115
|
// Keys of `secrets`.
|
|
31
116
|
exports.SECRET_API_KEY = "apiKey";
|
|
117
|
+
exports.SECRET_CLIENT_SECRET_KEY = "clientSecret";
|
|
118
|
+
exports.SECRET_PASSWORD_KEY = "password";
|
|
32
119
|
/*
|
|
33
120
|
* How often the device list, the groups and the check-ins are read, in
|
|
34
121
|
* minutes. Fifteen by default: a read of the device list is one request per
|
|
@@ -190,25 +277,654 @@ function getEsperConsoleHost(tenant) {
|
|
|
190
277
|
function getEsperConsoleUrl(tenant) {
|
|
191
278
|
return `https://${getEsperConsoleHost(tenant)}`;
|
|
192
279
|
}
|
|
280
|
+
exports.INTUNE_CLOUDS = [
|
|
281
|
+
"public",
|
|
282
|
+
"gcc",
|
|
283
|
+
"usgov",
|
|
284
|
+
"dod",
|
|
285
|
+
];
|
|
286
|
+
exports.DEFAULT_INTUNE_CLOUD = "public";
|
|
287
|
+
const INTUNE_CLOUD_HOSTS = {
|
|
288
|
+
public: {
|
|
289
|
+
loginHost: "https://login.microsoftonline.com",
|
|
290
|
+
graphHost: "https://graph.microsoft.com",
|
|
291
|
+
},
|
|
292
|
+
gcc: {
|
|
293
|
+
loginHost: "https://login.microsoftonline.com",
|
|
294
|
+
graphHost: "https://graph.microsoft.com",
|
|
295
|
+
},
|
|
296
|
+
usgov: {
|
|
297
|
+
loginHost: "https://login.microsoftonline.us",
|
|
298
|
+
graphHost: "https://graph.microsoft.us",
|
|
299
|
+
},
|
|
300
|
+
dod: {
|
|
301
|
+
loginHost: "https://login.microsoftonline.us",
|
|
302
|
+
graphHost: "https://dod-graph.microsoft.us",
|
|
303
|
+
},
|
|
304
|
+
};
|
|
305
|
+
// What each cloud is called, under the form's Cloud label: product names.
|
|
306
|
+
exports.INTUNE_CLOUD_TITLES = {
|
|
307
|
+
public: "Microsoft Azure (worldwide)",
|
|
308
|
+
gcc: "Microsoft 365 GCC",
|
|
309
|
+
usgov: "Microsoft 365 GCC High",
|
|
310
|
+
dod: "Microsoft 365 DoD",
|
|
311
|
+
};
|
|
312
|
+
function isIntuneCloud(value) {
|
|
313
|
+
return (typeof value === "string" &&
|
|
314
|
+
exports.INTUNE_CLOUDS.includes(value));
|
|
315
|
+
}
|
|
316
|
+
function getIntuneCloudHosts(cloud) {
|
|
317
|
+
return INTUNE_CLOUD_HOSTS[isIntuneCloud(cloud) ? cloud : exports.DEFAULT_INTUNE_CLOUD];
|
|
318
|
+
}
|
|
319
|
+
// The longest DNS name, and a GUID's shape (8-4-4-4-12 hex digits).
|
|
320
|
+
const MAX_DOMAIN_LENGTH = 253;
|
|
321
|
+
const GUID_GROUP_LENGTHS = [8, 4, 4, 4, 12];
|
|
322
|
+
// A GUID, as Microsoft writes a directory or an application ID. A loop, not a pattern.
|
|
323
|
+
function isGuid(text) {
|
|
324
|
+
const groups = text.split("-");
|
|
325
|
+
if (groups.length !== GUID_GROUP_LENGTHS.length) {
|
|
326
|
+
return false;
|
|
327
|
+
}
|
|
328
|
+
return groups.every((group, index) => {
|
|
329
|
+
if (group.length !== GUID_GROUP_LENGTHS[index]) {
|
|
330
|
+
return false;
|
|
331
|
+
}
|
|
332
|
+
for (let at = 0; at < group.length; at++) {
|
|
333
|
+
const code = group.charCodeAt(at);
|
|
334
|
+
const isDigit = code >= 0x30 && code <= 0x39;
|
|
335
|
+
const isHexLetter = code >= 0x61 && code <= 0x66;
|
|
336
|
+
if (!isDigit && !isHexLetter) {
|
|
337
|
+
return false;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
return true;
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
// A domain of two labels or more: contoso.onmicrosoft.com.
|
|
344
|
+
function isDomainName(text) {
|
|
345
|
+
if (!text || text.length > MAX_DOMAIN_LENGTH) {
|
|
346
|
+
return false;
|
|
347
|
+
}
|
|
348
|
+
const labels = text.split(".");
|
|
349
|
+
return labels.length >= 2 && labels.every(isDnsLabel);
|
|
350
|
+
}
|
|
351
|
+
const INTUNE_TENANT_HELP = "Enter your tenant ID: the Directory (tenant) ID on the app registration's Overview in the Microsoft Entra admin center, or a domain of the tenant like contoso.onmicrosoft.com.";
|
|
193
352
|
/*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
353
|
+
* The Intune tenant a value names, lowercased: a directory ID or a domain.
|
|
354
|
+
* "" for none. Throws, with what to do, for anything else - "common" and
|
|
355
|
+
* "organizations" included, which name no one tenant: the tenant is a
|
|
356
|
+
* segment of the sign-in address, so nothing else is ever accepted.
|
|
357
|
+
*/
|
|
358
|
+
function readIntuneTenant(value) {
|
|
359
|
+
if (value === undefined || value === null || value === "") {
|
|
360
|
+
return "";
|
|
361
|
+
}
|
|
362
|
+
if (typeof value !== "string") {
|
|
363
|
+
throw new BadDataException_1.default(INTUNE_TENANT_HELP);
|
|
364
|
+
}
|
|
365
|
+
let text = value.trim().toLowerCase();
|
|
366
|
+
if (!text) {
|
|
367
|
+
return "";
|
|
368
|
+
}
|
|
369
|
+
// A GUID copied in braces, as some tools write it.
|
|
370
|
+
if (text.startsWith("{") && text.endsWith("}")) {
|
|
371
|
+
text = text.substring(1, text.length - 1);
|
|
372
|
+
}
|
|
373
|
+
if (text.endsWith(".")) {
|
|
374
|
+
text = text.substring(0, text.length - 1);
|
|
375
|
+
}
|
|
376
|
+
if (isGuid(text) || isDomainName(text)) {
|
|
377
|
+
return text;
|
|
378
|
+
}
|
|
379
|
+
throw new BadDataException_1.default(INTUNE_TENANT_HELP);
|
|
380
|
+
}
|
|
381
|
+
const INTUNE_CLIENT_ID_HELP = "Enter the Application (client) ID: a GUID on the app registration's Overview in the Microsoft Entra admin center.";
|
|
382
|
+
// The application (client) ID a value is, lowercased. Throws for anything else.
|
|
383
|
+
function readIntuneClientId(value) {
|
|
384
|
+
const text = typeof value === "string" ? value.trim().toLowerCase() : "";
|
|
385
|
+
if (!isGuid(text)) {
|
|
386
|
+
throw new BadDataException_1.default(INTUNE_CLIENT_ID_HELP);
|
|
387
|
+
}
|
|
388
|
+
return text;
|
|
389
|
+
}
|
|
390
|
+
// The cloud a value names; none is the commercial cloud. Throws for anything else.
|
|
391
|
+
function readIntuneCloud(value) {
|
|
392
|
+
if (value === undefined || value === null || value === "") {
|
|
393
|
+
return exports.DEFAULT_INTUNE_CLOUD;
|
|
394
|
+
}
|
|
395
|
+
if (!isIntuneCloud(value)) {
|
|
396
|
+
throw new BadDataException_1.default(`Cloud must be one of ${exports.INTUNE_CLOUDS.join(", ")}.`);
|
|
397
|
+
}
|
|
398
|
+
return value;
|
|
399
|
+
}
|
|
400
|
+
/*
|
|
401
|
+
* A client secret's value, trimmed. Microsoft's are 40 visible characters
|
|
402
|
+
* today; the check is loose on purpose, like an Esper key's. A GUID is the
|
|
403
|
+
* secret's ID, which the same page shows beside its value, and is said so.
|
|
404
|
+
*/
|
|
405
|
+
function readIntuneClientSecret(value) {
|
|
406
|
+
if (typeof value !== "string" || !value.trim()) {
|
|
407
|
+
throw new BadDataException_1.default("Enter the client secret's value. Make one under Certificates & secrets on the app registration.");
|
|
408
|
+
}
|
|
409
|
+
const secret = value.trim();
|
|
410
|
+
if (isGuid(secret.toLowerCase())) {
|
|
411
|
+
throw new BadDataException_1.default("This is the client secret's ID. Copy its Value instead: Microsoft shows it once, when the secret is made.");
|
|
412
|
+
}
|
|
413
|
+
if (secret.length < exports.MIN_API_KEY_LENGTH ||
|
|
414
|
+
secret.length > exports.MAX_API_KEY_LENGTH ||
|
|
415
|
+
!isVisibleAscii(secret)) {
|
|
416
|
+
throw new BadDataException_1.default("This is not a client secret: a secret's value is letters, digits and symbols, with no spaces. Copy it again from Certificates & secrets.");
|
|
417
|
+
}
|
|
418
|
+
return secret;
|
|
419
|
+
}
|
|
420
|
+
// The address of a tenant's Microsoft Entra token endpoint.
|
|
421
|
+
function getIntuneTokenUrl(data) {
|
|
422
|
+
return `${getIntuneCloudHosts(data.cloud).loginHost}/${encodeURIComponent(data.tenant)}/oauth2/v2.0/token`;
|
|
423
|
+
}
|
|
424
|
+
/*
|
|
425
|
+
* A SERVER THE CUSTOMER NAMES (#10086, #10087).
|
|
426
|
+
*
|
|
427
|
+
* Workspace ONE UEM and SOTI MobiControl answer at the tenant's own
|
|
428
|
+
* server: a host in the vendor's cloud (as1234.awmdm.com,
|
|
429
|
+
* acme.mobicontrolcloud.com) or one on premises. That host is what the
|
|
430
|
+
* customer types that becomes where OneUptime connects, with the
|
|
431
|
+
* credentials, so it is read strictly:
|
|
432
|
+
*
|
|
433
|
+
* - over HTTPS only: an address that names another scheme is refused,
|
|
434
|
+
* never quietly upgraded;
|
|
435
|
+
* - a host name (letters, digits and hyphens, in labels between dots) or
|
|
436
|
+
* an IPv4 address, with a port when it is not 443;
|
|
437
|
+
* - nothing else of an address: a user or a password in it is refused,
|
|
438
|
+
* and its path, query and fragment are dropped, since the API's path is
|
|
439
|
+
* the service's own (/API on Workspace ONE, /MobiControl/api on SOTI).
|
|
440
|
+
*
|
|
441
|
+
* Whether OneUptime may connect to it at all is the egress guard's to say,
|
|
442
|
+
* on every request (DataSourceHttpFetch): never to a loopback, link-local
|
|
443
|
+
* or cloud metadata address, and to a private one only on a self-hosted
|
|
444
|
+
* OneUptime.
|
|
445
|
+
*/
|
|
446
|
+
// The longest host name DNS has.
|
|
447
|
+
exports.MAX_SERVER_HOST_LENGTH = 253;
|
|
448
|
+
const HTTPS_SCHEME = "https://";
|
|
449
|
+
const DEFAULT_HTTPS_PORT = 443;
|
|
450
|
+
/*
|
|
451
|
+
* An IPv4 address written as four decimal numbers: 10.1.2.3. A number with
|
|
452
|
+
* a leading zero is not one: a URL reads "010" as octal, so 010.0.0.1
|
|
453
|
+
* would connect to 8.0.0.1.
|
|
454
|
+
*/
|
|
455
|
+
function isIpv4Address(text) {
|
|
456
|
+
const parts = text.split(".");
|
|
457
|
+
if (parts.length !== 4) {
|
|
458
|
+
return false;
|
|
459
|
+
}
|
|
460
|
+
return parts.every((part) => {
|
|
461
|
+
if (!part || part.length > 3 || (part.length > 1 && part[0] === "0")) {
|
|
462
|
+
return false;
|
|
463
|
+
}
|
|
464
|
+
for (const character of part) {
|
|
465
|
+
if (character < "0" || character > "9") {
|
|
466
|
+
return false;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
return Number(part) <= 255;
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
/*
|
|
473
|
+
* Whether a label is a number as a URL reads one: decimal digits, or 0x
|
|
474
|
+
* and hex digits.
|
|
475
|
+
*/
|
|
476
|
+
function isNumericLabel(label) {
|
|
477
|
+
const lower = label.toLowerCase();
|
|
478
|
+
const isHex = lower.startsWith("0x");
|
|
479
|
+
const digits = isHex ? lower.substring(2) : lower;
|
|
480
|
+
if (!isHex && !digits) {
|
|
481
|
+
return false;
|
|
482
|
+
}
|
|
483
|
+
for (const character of digits) {
|
|
484
|
+
const isDecimal = character >= "0" && character <= "9";
|
|
485
|
+
const isHexDigit = isHex && character >= "a" && character <= "f";
|
|
486
|
+
if (!isDecimal && !isHexDigit) {
|
|
487
|
+
return false;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
return true;
|
|
491
|
+
}
|
|
492
|
+
/*
|
|
493
|
+
* A host name - one label or more - or an IPv4 address. A URL reads a host
|
|
494
|
+
* whose last label is a number as an IPv4 address in any of its forms
|
|
495
|
+
* (0x7f.1 is 127.0.0.1), so such a host is taken only as the plain four
|
|
496
|
+
* numbers it connects to.
|
|
497
|
+
*/
|
|
498
|
+
function isServerHost(text) {
|
|
499
|
+
if (!text || text.length > exports.MAX_SERVER_HOST_LENGTH) {
|
|
500
|
+
return false;
|
|
501
|
+
}
|
|
502
|
+
const labels = text.split(".");
|
|
503
|
+
if (isNumericLabel(labels[labels.length - 1] || "")) {
|
|
504
|
+
return isIpv4Address(text);
|
|
505
|
+
}
|
|
506
|
+
return labels.every(isDnsLabel);
|
|
507
|
+
}
|
|
508
|
+
/*
|
|
509
|
+
* The host (and port, when it is not 443) a server's address names,
|
|
510
|
+
* lowercased: "as1234.awmdm.com", "mdm.acme.com:8443". "" for none.
|
|
511
|
+
* Throws `help` - or, for an address of another scheme, that only HTTPS is
|
|
512
|
+
* read - for anything else.
|
|
513
|
+
*/
|
|
514
|
+
function readServerAddress(value, help) {
|
|
515
|
+
if (value === undefined || value === null || value === "") {
|
|
516
|
+
return "";
|
|
517
|
+
}
|
|
518
|
+
if (typeof value !== "string") {
|
|
519
|
+
throw new BadDataException_1.default(help);
|
|
520
|
+
}
|
|
521
|
+
let text = value.trim();
|
|
522
|
+
if (!text) {
|
|
523
|
+
return "";
|
|
524
|
+
}
|
|
525
|
+
const schemeEnd = text.indexOf("://");
|
|
526
|
+
if (schemeEnd >= 0) {
|
|
527
|
+
if (text.substring(0, schemeEnd + 3).toLowerCase() !== HTTPS_SCHEME) {
|
|
528
|
+
throw new BadDataException_1.default("OneUptime connects to the server over HTTPS only. Enter its address starting with https://.");
|
|
529
|
+
}
|
|
530
|
+
text = text.substring(schemeEnd + 3);
|
|
531
|
+
}
|
|
532
|
+
for (const separator of ["/", "?", "#", "\\"]) {
|
|
533
|
+
const at = text.indexOf(separator);
|
|
534
|
+
if (at >= 0) {
|
|
535
|
+
text = text.substring(0, at);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
// Credentials are never part of a server's address.
|
|
539
|
+
if (text.includes("@")) {
|
|
540
|
+
throw new BadDataException_1.default(help);
|
|
541
|
+
}
|
|
542
|
+
let host = text.toLowerCase();
|
|
543
|
+
let port = null;
|
|
544
|
+
const colon = host.lastIndexOf(":");
|
|
545
|
+
if (colon >= 0) {
|
|
546
|
+
const portText = host.substring(colon + 1);
|
|
547
|
+
host = host.substring(0, colon);
|
|
548
|
+
let isNumber = portText.length > 0 && portText.length <= 5;
|
|
549
|
+
for (const character of portText) {
|
|
550
|
+
if (character < "0" || character > "9") {
|
|
551
|
+
isNumber = false;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
const portNumber = Number(portText);
|
|
555
|
+
if (!isNumber || portNumber < 1 || portNumber > 65535) {
|
|
556
|
+
throw new BadDataException_1.default(help);
|
|
557
|
+
}
|
|
558
|
+
port = portNumber === DEFAULT_HTTPS_PORT ? null : portNumber;
|
|
559
|
+
}
|
|
560
|
+
if (host.endsWith(".")) {
|
|
561
|
+
host = host.substring(0, host.length - 1);
|
|
562
|
+
}
|
|
563
|
+
if (!isServerHost(host)) {
|
|
564
|
+
throw new BadDataException_1.default(help);
|
|
565
|
+
}
|
|
566
|
+
return port === null ? host : `${host}:${port}`;
|
|
567
|
+
}
|
|
568
|
+
// The HTTPS origin of a server a connection reads: https://as1234.awmdm.com.
|
|
569
|
+
function getServerOrigin(tenant) {
|
|
570
|
+
return `${HTTPS_SCHEME}${tenant}`;
|
|
571
|
+
}
|
|
572
|
+
/*
|
|
573
|
+
* A username, trimmed: an administrator's or an API user's, as the service
|
|
574
|
+
* keeps it ("api-reader", "ACME\\oneuptime", "oneuptime@acme.com"). Any
|
|
575
|
+
* visible text up to 256 characters. Throws `help` for anything else.
|
|
576
|
+
*/
|
|
577
|
+
exports.MAX_USERNAME_LENGTH = 256;
|
|
578
|
+
function readDeviceManagementUsername(value, help) {
|
|
579
|
+
const text = typeof value === "string" ? value.trim() : "";
|
|
580
|
+
if (!text || text.length > exports.MAX_USERNAME_LENGTH) {
|
|
581
|
+
throw new BadDataException_1.default(help);
|
|
582
|
+
}
|
|
583
|
+
for (let index = 0; index < text.length; index++) {
|
|
584
|
+
const code = text.charCodeAt(index);
|
|
585
|
+
if (code < 0x20 || code === 0x7f) {
|
|
586
|
+
throw new BadDataException_1.default(help);
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
return text;
|
|
590
|
+
}
|
|
591
|
+
/*
|
|
592
|
+
* A password, exactly as typed: a space at either end can be part of one.
|
|
593
|
+
* Anything up to 512 characters without a control character. Throws `help`
|
|
594
|
+
* for none, or for anything else.
|
|
595
|
+
*/
|
|
596
|
+
function readDeviceManagementPassword(value, help) {
|
|
597
|
+
if (typeof value !== "string" || !value.trim()) {
|
|
598
|
+
throw new BadDataException_1.default(help);
|
|
599
|
+
}
|
|
600
|
+
if (value.length > exports.MAX_API_KEY_LENGTH) {
|
|
601
|
+
throw new BadDataException_1.default(help);
|
|
602
|
+
}
|
|
603
|
+
for (let index = 0; index < value.length; index++) {
|
|
604
|
+
const code = value.charCodeAt(index);
|
|
605
|
+
if (code < 0x20 || code === 0x7f) {
|
|
606
|
+
throw new BadDataException_1.default(help);
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
return value;
|
|
610
|
+
}
|
|
611
|
+
/*
|
|
612
|
+
* A credential the service generated (a client ID, a client secret, an
|
|
613
|
+
* API key), trimmed: visible characters, no spaces, loose on purpose like
|
|
614
|
+
* an Esper key, so a credential of a future shape is never refused before
|
|
615
|
+
* the service has seen it. Throws `help` for anything else.
|
|
616
|
+
*/
|
|
617
|
+
function readGeneratedCredential(value, help, minLength = exports.MIN_API_KEY_LENGTH) {
|
|
618
|
+
const text = typeof value === "string" ? value.trim() : "";
|
|
619
|
+
if (text.length < minLength ||
|
|
620
|
+
text.length > exports.MAX_API_KEY_LENGTH ||
|
|
621
|
+
!isVisibleAscii(text)) {
|
|
622
|
+
throw new BadDataException_1.default(help);
|
|
623
|
+
}
|
|
624
|
+
return text;
|
|
625
|
+
}
|
|
626
|
+
exports.WORKSPACE_ONE_AUTH_METHODS = ["oauth", "basic"];
|
|
627
|
+
exports.DEFAULT_WORKSPACE_ONE_AUTH_METHOD = "oauth";
|
|
628
|
+
exports.WORKSPACE_ONE_REGIONS = [
|
|
629
|
+
"na",
|
|
630
|
+
"emea",
|
|
631
|
+
"apac",
|
|
632
|
+
"uat",
|
|
633
|
+
];
|
|
634
|
+
exports.DEFAULT_WORKSPACE_ONE_REGION = "na";
|
|
635
|
+
// The domain every Workspace ONE token service host is under.
|
|
636
|
+
exports.WORKSPACE_ONE_TOKEN_DOMAIN = "uemauth.workspaceone.com";
|
|
637
|
+
// The domain of a SaaS tenant's console and API hosts.
|
|
638
|
+
exports.WORKSPACE_ONE_SAAS_DOMAIN = "awmdm.com";
|
|
639
|
+
function isWorkspaceOneAuthMethod(value) {
|
|
640
|
+
return (typeof value === "string" &&
|
|
641
|
+
exports.WORKSPACE_ONE_AUTH_METHODS.includes(value));
|
|
642
|
+
}
|
|
643
|
+
function isWorkspaceOneRegion(value) {
|
|
644
|
+
return (typeof value === "string" &&
|
|
645
|
+
exports.WORKSPACE_ONE_REGIONS.includes(value));
|
|
646
|
+
}
|
|
647
|
+
// The token service's host of a region: na.uemauth.workspaceone.com.
|
|
648
|
+
function getWorkspaceOneTokenHost(region) {
|
|
649
|
+
return `${isWorkspaceOneRegion(region) ? region : exports.DEFAULT_WORKSPACE_ONE_REGION}.${exports.WORKSPACE_ONE_TOKEN_DOMAIN}`;
|
|
650
|
+
}
|
|
651
|
+
// Where an OAuth client signs in: https://na.uemauth.workspaceone.com/connect/token.
|
|
652
|
+
function getWorkspaceOneTokenUrl(region) {
|
|
653
|
+
return `${HTTPS_SCHEME}${getWorkspaceOneTokenHost(region)}/connect/token`;
|
|
654
|
+
}
|
|
655
|
+
// The API's base address on a server: https://as1234.awmdm.com/api.
|
|
656
|
+
function getWorkspaceOneApiBaseUrl(tenant) {
|
|
657
|
+
return `${getServerOrigin(tenant)}/api`;
|
|
658
|
+
}
|
|
659
|
+
exports.WORKSPACE_ONE_SERVER_HELP = "Enter your Workspace ONE REST API URL, like https://as1234.awmdm.com. Find it under Groups & Settings > All Settings > System > Advanced > API > REST API.";
|
|
660
|
+
/*
|
|
661
|
+
* A SaaS tenant's console is at cnNNNN.awmdm.com and its API at
|
|
662
|
+
* asNNNN.awmdm.com: people copy the console's address from the browser, so
|
|
663
|
+
* a console host is read as its API's.
|
|
664
|
+
*/
|
|
665
|
+
function toWorkspaceOneApiHost(host) {
|
|
666
|
+
const suffix = `.${exports.WORKSPACE_ONE_SAAS_DOMAIN}`;
|
|
667
|
+
if (!host.startsWith("cn") || !host.endsWith(suffix)) {
|
|
668
|
+
return host;
|
|
669
|
+
}
|
|
670
|
+
const number = host.substring(2, host.length - suffix.length);
|
|
671
|
+
if (!number) {
|
|
672
|
+
return host;
|
|
673
|
+
}
|
|
674
|
+
for (const character of number) {
|
|
675
|
+
if (character < "0" || character > "9") {
|
|
676
|
+
return host;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
return `as${number}${suffix}`;
|
|
680
|
+
}
|
|
681
|
+
/*
|
|
682
|
+
* The API server a value names: its host (and port), lowercased. The REST
|
|
683
|
+
* API URL as the console shows it (https://as1234.awmdm.com/API), the
|
|
684
|
+
* console's own address (cn1234.awmdm.com, read as as1234.awmdm.com) and a
|
|
685
|
+
* bare host all name it. "" for none; throws, with what to do, for
|
|
686
|
+
* anything else.
|
|
197
687
|
*/
|
|
198
|
-
function
|
|
199
|
-
const
|
|
688
|
+
function readWorkspaceOneServer(value) {
|
|
689
|
+
const address = readServerAddress(value, exports.WORKSPACE_ONE_SERVER_HELP);
|
|
690
|
+
if (!address) {
|
|
691
|
+
return "";
|
|
692
|
+
}
|
|
693
|
+
const colon = address.indexOf(":");
|
|
694
|
+
return colon >= 0
|
|
695
|
+
? `${toWorkspaceOneApiHost(address.substring(0, colon))}${address.substring(colon)}`
|
|
696
|
+
: toWorkspaceOneApiHost(address);
|
|
697
|
+
}
|
|
698
|
+
// How a value says OneUptime signs in; none is an OAuth client. Throws for anything else.
|
|
699
|
+
function readWorkspaceOneAuthMethod(value) {
|
|
700
|
+
if (value === undefined || value === null || value === "") {
|
|
701
|
+
return exports.DEFAULT_WORKSPACE_ONE_AUTH_METHOD;
|
|
702
|
+
}
|
|
703
|
+
if (!isWorkspaceOneAuthMethod(value)) {
|
|
704
|
+
throw new BadDataException_1.default(`Sign in with must be one of ${exports.WORKSPACE_ONE_AUTH_METHODS.join(", ")}.`);
|
|
705
|
+
}
|
|
706
|
+
return value;
|
|
707
|
+
}
|
|
708
|
+
// The token service region a value names; none is na. Throws for anything else.
|
|
709
|
+
function readWorkspaceOneRegion(value) {
|
|
710
|
+
if (value === undefined || value === null || value === "") {
|
|
711
|
+
return exports.DEFAULT_WORKSPACE_ONE_REGION;
|
|
712
|
+
}
|
|
713
|
+
if (!isWorkspaceOneRegion(value)) {
|
|
714
|
+
throw new BadDataException_1.default(`Region must be one of ${exports.WORKSPACE_ONE_REGIONS.join(", ")}.`);
|
|
715
|
+
}
|
|
716
|
+
return value;
|
|
717
|
+
}
|
|
718
|
+
const WORKSPACE_ONE_CLIENT_ID_HELP = "Enter the OAuth client's Client ID. Workspace ONE shows it under Groups & Settings > Configurations > OAuth Client Management.";
|
|
719
|
+
// An OAuth client's ID, trimmed. Throws for anything that cannot be one.
|
|
720
|
+
function readWorkspaceOneClientId(value) {
|
|
721
|
+
return readGeneratedCredential(value, WORKSPACE_ONE_CLIENT_ID_HELP, 4);
|
|
722
|
+
}
|
|
723
|
+
/*
|
|
724
|
+
* An OAuth client's secret, trimmed. Workspace ONE shows it once, when the
|
|
725
|
+
* client is made.
|
|
726
|
+
*/
|
|
727
|
+
function readWorkspaceOneClientSecret(value) {
|
|
728
|
+
return readGeneratedCredential(value, "Enter the OAuth client's Client Secret. Workspace ONE shows it once, when the OAuth client is made: if it is lost, regenerate it on the client.");
|
|
729
|
+
}
|
|
730
|
+
const WORKSPACE_ONE_USERNAME_HELP = "Enter the username of the administrator OneUptime signs in as.";
|
|
731
|
+
function readWorkspaceOneUsername(value) {
|
|
732
|
+
return readDeviceManagementUsername(value, WORKSPACE_ONE_USERNAME_HELP);
|
|
733
|
+
}
|
|
734
|
+
function readWorkspaceOnePassword(value) {
|
|
735
|
+
return readDeviceManagementPassword(value, "Enter the password of the administrator OneUptime signs in as.");
|
|
736
|
+
}
|
|
737
|
+
/*
|
|
738
|
+
* The tenant's REST API key, the aw-tenant-code, trimmed: Groups & Settings
|
|
739
|
+
* > All Settings > System > Advanced > API > REST API shows it.
|
|
740
|
+
*/
|
|
741
|
+
function readWorkspaceOneApiKey(value) {
|
|
742
|
+
return readGeneratedCredential(value, "Enter the REST API key. Find it under Groups & Settings > All Settings > System > Advanced > API > REST API.");
|
|
743
|
+
}
|
|
744
|
+
/*
|
|
745
|
+
* SOTI MOBICONTROL (#10087)
|
|
746
|
+
*
|
|
747
|
+
* OneUptime reads SOTI MobiControl through its REST API, at the server's
|
|
748
|
+
* own address (https://acme.mobicontrolcloud.com for SOTI's cloud, the
|
|
749
|
+
* server's host on premises), under /MobiControl/api. It signs in at the
|
|
750
|
+
* server's token endpoint (POST /MobiControl/api/token) with the resource
|
|
751
|
+
* owner password grant: an API client's ID and secret (made under Global
|
|
752
|
+
* Settings > Services > API Client in the web console, or with MCAdmin
|
|
753
|
+
* APIClientAdd on the server), and the username and password of a
|
|
754
|
+
* MobiControl user whose permissions are read-only: Web Console Access and
|
|
755
|
+
* View Installed Applications among the general permissions, and View
|
|
756
|
+
* Groups on the device groups to read.
|
|
757
|
+
*/
|
|
758
|
+
// The API's base address on a server: https://acme.mobicontrolcloud.com/MobiControl/api.
|
|
759
|
+
function getSotiApiBaseUrl(tenant) {
|
|
760
|
+
return `${getServerOrigin(tenant)}/MobiControl/api`;
|
|
761
|
+
}
|
|
762
|
+
exports.SOTI_SERVER_HELP = "Enter your MobiControl server's address, like https://acme.mobicontrolcloud.com: the address of its web console, without /MobiControl.";
|
|
763
|
+
/*
|
|
764
|
+
* The server a value names: its host (and port), lowercased. The web
|
|
765
|
+
* console's address (https://acme.mobicontrolcloud.com/MobiControl/WebConsole)
|
|
766
|
+
* and a bare host both name it. "" for none; throws, with what to do, for
|
|
767
|
+
* anything else.
|
|
768
|
+
*/
|
|
769
|
+
function readSotiServer(value) {
|
|
770
|
+
return readServerAddress(value, exports.SOTI_SERVER_HELP);
|
|
771
|
+
}
|
|
772
|
+
const SOTI_CLIENT_ID_HELP = "Enter the API client's Client ID. Make one in the MobiControl web console under Global Settings > Services > API Client.";
|
|
773
|
+
function readSotiClientId(value) {
|
|
774
|
+
return readGeneratedCredential(value, SOTI_CLIENT_ID_HELP, 4);
|
|
775
|
+
}
|
|
776
|
+
function readSotiClientSecret(value) {
|
|
777
|
+
return readGeneratedCredential(value, "Enter the API client's Client Secret. MobiControl shows it once, when the API client is made.");
|
|
778
|
+
}
|
|
779
|
+
const SOTI_USERNAME_HELP = "Enter the username of the MobiControl user OneUptime signs in as.";
|
|
780
|
+
function readSotiUsername(value) {
|
|
781
|
+
return readDeviceManagementUsername(value, SOTI_USERNAME_HELP);
|
|
782
|
+
}
|
|
783
|
+
function readSotiPassword(value) {
|
|
784
|
+
return readDeviceManagementPassword(value, "Enter the password of the MobiControl user OneUptime signs in as.");
|
|
785
|
+
}
|
|
786
|
+
/*
|
|
787
|
+
* What a connection reads, in a line: the Esper console's host
|
|
788
|
+
* (acme.esper.cloud), the Intune tenant, with its cloud when it is not the
|
|
789
|
+
* commercial one, or the server a Workspace ONE or SOTI connection reads
|
|
790
|
+
* (as1234.awmdm.com, acme.mobicontrolcloud.com). Product words, the same
|
|
791
|
+
* in every language.
|
|
792
|
+
*/
|
|
793
|
+
function getDeviceManagementConnectionAddress(data) {
|
|
794
|
+
if (data.provider === DeviceManagementProvider_1.default.WorkspaceOne ||
|
|
795
|
+
data.provider === DeviceManagementProvider_1.default.Soti) {
|
|
796
|
+
return data.config.tenant;
|
|
797
|
+
}
|
|
798
|
+
if (data.provider === DeviceManagementProvider_1.default.Intune) {
|
|
799
|
+
const cloud = isIntuneCloud(data.config.cloud)
|
|
800
|
+
? data.config.cloud
|
|
801
|
+
: exports.DEFAULT_INTUNE_CLOUD;
|
|
802
|
+
return cloud === exports.DEFAULT_INTUNE_CLOUD
|
|
803
|
+
? data.config.tenant
|
|
804
|
+
: `${data.config.tenant} (${exports.INTUNE_CLOUD_TITLES[cloud]})`;
|
|
805
|
+
}
|
|
806
|
+
return data.config.tenant ? getEsperConsoleHost(data.config.tenant) : "";
|
|
807
|
+
}
|
|
808
|
+
// The settings each service takes, besides how often to read.
|
|
809
|
+
const CONFIG_KEYS = {
|
|
810
|
+
[DeviceManagementProvider_1.default.Esper]: [
|
|
811
|
+
exports.CONFIG_TENANT_KEY,
|
|
812
|
+
exports.CONFIG_READ_INTERVAL_KEY,
|
|
813
|
+
],
|
|
814
|
+
[DeviceManagementProvider_1.default.Intune]: [
|
|
815
|
+
exports.CONFIG_TENANT_KEY,
|
|
816
|
+
exports.CONFIG_CLIENT_ID_KEY,
|
|
817
|
+
exports.CONFIG_CLOUD_KEY,
|
|
818
|
+
exports.CONFIG_READ_INTERVAL_KEY,
|
|
819
|
+
],
|
|
820
|
+
[DeviceManagementProvider_1.default.WorkspaceOne]: [
|
|
821
|
+
exports.CONFIG_TENANT_KEY,
|
|
822
|
+
exports.CONFIG_AUTH_METHOD_KEY,
|
|
823
|
+
exports.CONFIG_REGION_KEY,
|
|
824
|
+
exports.CONFIG_CLIENT_ID_KEY,
|
|
825
|
+
exports.CONFIG_USERNAME_KEY,
|
|
826
|
+
exports.CONFIG_READ_INTERVAL_KEY,
|
|
827
|
+
],
|
|
828
|
+
[DeviceManagementProvider_1.default.Soti]: [
|
|
829
|
+
exports.CONFIG_TENANT_KEY,
|
|
830
|
+
exports.CONFIG_CLIENT_ID_KEY,
|
|
831
|
+
exports.CONFIG_USERNAME_KEY,
|
|
832
|
+
exports.CONFIG_READ_INTERVAL_KEY,
|
|
833
|
+
],
|
|
834
|
+
};
|
|
835
|
+
// What a refused key says a connection of the service takes: the end of a sentence.
|
|
836
|
+
const CONFIG_KEYS_SENTENCE = {
|
|
837
|
+
[DeviceManagementProvider_1.default.Esper]: "an Esper connection takes tenant and readIntervalInMinutes",
|
|
838
|
+
[DeviceManagementProvider_1.default.Intune]: "an Intune connection takes tenant, clientId, cloud and readIntervalInMinutes",
|
|
839
|
+
[DeviceManagementProvider_1.default.WorkspaceOne]: "a Workspace ONE connection takes tenant, authMethod, region, clientId, username and readIntervalInMinutes",
|
|
840
|
+
[DeviceManagementProvider_1.default.Soti]: "a SOTI connection takes tenant, clientId, username and readIntervalInMinutes",
|
|
841
|
+
};
|
|
842
|
+
// A value that is set: not undefined, null or "".
|
|
843
|
+
function isSet(value) {
|
|
844
|
+
return value !== undefined && value !== null && value !== "";
|
|
845
|
+
}
|
|
846
|
+
function readConfigObject(value) {
|
|
847
|
+
return value && typeof value === "object" && !Array.isArray(value)
|
|
200
848
|
? value
|
|
201
849
|
: {};
|
|
202
|
-
|
|
850
|
+
}
|
|
851
|
+
// A value read by `read`, or `fallback` when it throws: a stored value is never trusted.
|
|
852
|
+
function readQuietly(read, fallback) {
|
|
203
853
|
try {
|
|
204
|
-
|
|
854
|
+
return read();
|
|
205
855
|
}
|
|
206
856
|
catch (_a) {
|
|
207
|
-
|
|
857
|
+
return fallback;
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
/*
|
|
861
|
+
* A connection's settings as they are stored, read without trusting them:
|
|
862
|
+
* an interval that is not one of the choices is the default, a tenant or an
|
|
863
|
+
* ID that is not one is "". Read as its service's: Esper's when none is
|
|
864
|
+
* given, as a connection made before there was a choice is.
|
|
865
|
+
*/
|
|
866
|
+
function readDeviceManagementConfig(value, provider) {
|
|
867
|
+
const config = readConfigObject(value);
|
|
868
|
+
const readIntervalInMinutes = readDeviceManagementReadInterval(config[exports.CONFIG_READ_INTERVAL_KEY]);
|
|
869
|
+
if (provider === DeviceManagementProvider_1.default.Intune) {
|
|
870
|
+
return {
|
|
871
|
+
tenant: readQuietly(() => {
|
|
872
|
+
return readIntuneTenant(config[exports.CONFIG_TENANT_KEY]);
|
|
873
|
+
}, ""),
|
|
874
|
+
readIntervalInMinutes,
|
|
875
|
+
clientId: readQuietly(() => {
|
|
876
|
+
return readIntuneClientId(config[exports.CONFIG_CLIENT_ID_KEY]);
|
|
877
|
+
}, ""),
|
|
878
|
+
cloud: readQuietly(() => {
|
|
879
|
+
return readIntuneCloud(config[exports.CONFIG_CLOUD_KEY]);
|
|
880
|
+
}, exports.DEFAULT_INTUNE_CLOUD),
|
|
881
|
+
};
|
|
882
|
+
}
|
|
883
|
+
if (provider === DeviceManagementProvider_1.default.WorkspaceOne) {
|
|
884
|
+
const authMethod = readQuietly(() => {
|
|
885
|
+
return readWorkspaceOneAuthMethod(config[exports.CONFIG_AUTH_METHOD_KEY]);
|
|
886
|
+
}, exports.DEFAULT_WORKSPACE_ONE_AUTH_METHOD);
|
|
887
|
+
return {
|
|
888
|
+
tenant: readQuietly(() => {
|
|
889
|
+
return readWorkspaceOneServer(config[exports.CONFIG_TENANT_KEY]);
|
|
890
|
+
}, ""),
|
|
891
|
+
readIntervalInMinutes,
|
|
892
|
+
authMethod,
|
|
893
|
+
...(authMethod === "basic"
|
|
894
|
+
? {
|
|
895
|
+
username: readQuietly(() => {
|
|
896
|
+
return readWorkspaceOneUsername(config[exports.CONFIG_USERNAME_KEY]);
|
|
897
|
+
}, ""),
|
|
898
|
+
}
|
|
899
|
+
: {
|
|
900
|
+
region: readQuietly(() => {
|
|
901
|
+
return readWorkspaceOneRegion(config[exports.CONFIG_REGION_KEY]);
|
|
902
|
+
}, exports.DEFAULT_WORKSPACE_ONE_REGION),
|
|
903
|
+
clientId: readQuietly(() => {
|
|
904
|
+
return readWorkspaceOneClientId(config[exports.CONFIG_CLIENT_ID_KEY]);
|
|
905
|
+
}, ""),
|
|
906
|
+
}),
|
|
907
|
+
};
|
|
908
|
+
}
|
|
909
|
+
if (provider === DeviceManagementProvider_1.default.Soti) {
|
|
910
|
+
return {
|
|
911
|
+
tenant: readQuietly(() => {
|
|
912
|
+
return readSotiServer(config[exports.CONFIG_TENANT_KEY]);
|
|
913
|
+
}, ""),
|
|
914
|
+
readIntervalInMinutes,
|
|
915
|
+
clientId: readQuietly(() => {
|
|
916
|
+
return readSotiClientId(config[exports.CONFIG_CLIENT_ID_KEY]);
|
|
917
|
+
}, ""),
|
|
918
|
+
username: readQuietly(() => {
|
|
919
|
+
return readSotiUsername(config[exports.CONFIG_USERNAME_KEY]);
|
|
920
|
+
}, ""),
|
|
921
|
+
};
|
|
208
922
|
}
|
|
209
923
|
return {
|
|
210
|
-
tenant:
|
|
211
|
-
|
|
924
|
+
tenant: readQuietly(() => {
|
|
925
|
+
return readEsperTenant(config[exports.CONFIG_TENANT_KEY]);
|
|
926
|
+
}, ""),
|
|
927
|
+
readIntervalInMinutes,
|
|
212
928
|
};
|
|
213
929
|
}
|
|
214
930
|
/*
|
|
@@ -224,9 +940,14 @@ function validateDeviceManagementConfig(value, options) {
|
|
|
224
940
|
throw new BadDataException_1.default("Settings must be an object.");
|
|
225
941
|
}
|
|
226
942
|
const config = value || {};
|
|
943
|
+
const provider = (0, DeviceManagementProvider_1.isDeviceManagementProvider)(options.provider)
|
|
944
|
+
? options.provider
|
|
945
|
+
: DeviceManagementProvider_1.default.Esper;
|
|
946
|
+
const isIntune = provider === DeviceManagementProvider_1.default.Intune;
|
|
947
|
+
const keys = CONFIG_KEYS[provider];
|
|
227
948
|
for (const key of Object.keys(config)) {
|
|
228
|
-
if (!
|
|
229
|
-
throw new BadDataException_1.default(`Settings has no "${key.substring(0, 50)}":
|
|
949
|
+
if (!keys.includes(key)) {
|
|
950
|
+
throw new BadDataException_1.default(`Settings has no "${key.substring(0, 50)}": ${CONFIG_KEYS_SENTENCE[provider]}.`);
|
|
230
951
|
}
|
|
231
952
|
}
|
|
232
953
|
const interval = config[exports.CONFIG_READ_INTERVAL_KEY];
|
|
@@ -236,6 +957,68 @@ function validateDeviceManagementConfig(value, options) {
|
|
|
236
957
|
throw new BadDataException_1.default(`Read every takes a number of minutes: one of ${exports.DEVICE_MANAGEMENT_READ_INTERVALS_IN_MINUTES.join(", ")}.`);
|
|
237
958
|
}
|
|
238
959
|
}
|
|
960
|
+
if (isIntune) {
|
|
961
|
+
const tenant = readIntuneTenant(config[exports.CONFIG_TENANT_KEY]);
|
|
962
|
+
if (options.requireTenant && !tenant) {
|
|
963
|
+
throw new BadDataException_1.default(INTUNE_TENANT_HELP);
|
|
964
|
+
}
|
|
965
|
+
return {
|
|
966
|
+
tenant: tenant,
|
|
967
|
+
readIntervalInMinutes: readDeviceManagementReadInterval(interval),
|
|
968
|
+
// Required with the tenant: the two sign in together.
|
|
969
|
+
clientId: options.requireTenant ||
|
|
970
|
+
(config[exports.CONFIG_CLIENT_ID_KEY] !== undefined &&
|
|
971
|
+
config[exports.CONFIG_CLIENT_ID_KEY] !== null &&
|
|
972
|
+
config[exports.CONFIG_CLIENT_ID_KEY] !== "")
|
|
973
|
+
? readIntuneClientId(config[exports.CONFIG_CLIENT_ID_KEY])
|
|
974
|
+
: "",
|
|
975
|
+
cloud: readIntuneCloud(config[exports.CONFIG_CLOUD_KEY]),
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
if (provider === DeviceManagementProvider_1.default.WorkspaceOne) {
|
|
979
|
+
const tenant = readWorkspaceOneServer(config[exports.CONFIG_TENANT_KEY]);
|
|
980
|
+
if (options.requireTenant && !tenant) {
|
|
981
|
+
throw new BadDataException_1.default(exports.WORKSPACE_ONE_SERVER_HELP);
|
|
982
|
+
}
|
|
983
|
+
const authMethod = readWorkspaceOneAuthMethod(config[exports.CONFIG_AUTH_METHOD_KEY]);
|
|
984
|
+
// Required with the server: the two sign in together.
|
|
985
|
+
if (authMethod === "basic") {
|
|
986
|
+
return {
|
|
987
|
+
tenant: tenant,
|
|
988
|
+
readIntervalInMinutes: readDeviceManagementReadInterval(interval),
|
|
989
|
+
authMethod,
|
|
990
|
+
username: options.requireTenant || isSet(config[exports.CONFIG_USERNAME_KEY])
|
|
991
|
+
? readWorkspaceOneUsername(config[exports.CONFIG_USERNAME_KEY])
|
|
992
|
+
: "",
|
|
993
|
+
};
|
|
994
|
+
}
|
|
995
|
+
return {
|
|
996
|
+
tenant: tenant,
|
|
997
|
+
readIntervalInMinutes: readDeviceManagementReadInterval(interval),
|
|
998
|
+
authMethod,
|
|
999
|
+
region: readWorkspaceOneRegion(config[exports.CONFIG_REGION_KEY]),
|
|
1000
|
+
clientId: options.requireTenant || isSet(config[exports.CONFIG_CLIENT_ID_KEY])
|
|
1001
|
+
? readWorkspaceOneClientId(config[exports.CONFIG_CLIENT_ID_KEY])
|
|
1002
|
+
: "",
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
if (provider === DeviceManagementProvider_1.default.Soti) {
|
|
1006
|
+
const tenant = readSotiServer(config[exports.CONFIG_TENANT_KEY]);
|
|
1007
|
+
if (options.requireTenant && !tenant) {
|
|
1008
|
+
throw new BadDataException_1.default(exports.SOTI_SERVER_HELP);
|
|
1009
|
+
}
|
|
1010
|
+
return {
|
|
1011
|
+
tenant: tenant,
|
|
1012
|
+
readIntervalInMinutes: readDeviceManagementReadInterval(interval),
|
|
1013
|
+
// Required with the server: the three sign in together.
|
|
1014
|
+
clientId: options.requireTenant || isSet(config[exports.CONFIG_CLIENT_ID_KEY])
|
|
1015
|
+
? readSotiClientId(config[exports.CONFIG_CLIENT_ID_KEY])
|
|
1016
|
+
: "",
|
|
1017
|
+
username: options.requireTenant || isSet(config[exports.CONFIG_USERNAME_KEY])
|
|
1018
|
+
? readSotiUsername(config[exports.CONFIG_USERNAME_KEY])
|
|
1019
|
+
: "",
|
|
1020
|
+
};
|
|
1021
|
+
}
|
|
239
1022
|
const tenant = readEsperTenant(config[exports.CONFIG_TENANT_KEY]);
|
|
240
1023
|
if (options.requireTenant && !tenant) {
|
|
241
1024
|
throw new BadDataException_1.default(TENANT_HELP);
|
|
@@ -245,10 +1028,26 @@ function validateDeviceManagementConfig(value, options) {
|
|
|
245
1028
|
readIntervalInMinutes: readDeviceManagementReadInterval(interval),
|
|
246
1029
|
};
|
|
247
1030
|
}
|
|
248
|
-
// The JSON a config is stored as.
|
|
1031
|
+
// The JSON a config is stored as: only the settings its service takes.
|
|
249
1032
|
function toDeviceManagementConfigJson(config) {
|
|
250
|
-
|
|
1033
|
+
const json = {
|
|
251
1034
|
[exports.CONFIG_TENANT_KEY]: config.tenant,
|
|
252
1035
|
[exports.CONFIG_READ_INTERVAL_KEY]: config.readIntervalInMinutes,
|
|
253
1036
|
};
|
|
1037
|
+
if (config.clientId !== undefined) {
|
|
1038
|
+
json[exports.CONFIG_CLIENT_ID_KEY] = config.clientId;
|
|
1039
|
+
}
|
|
1040
|
+
if (config.cloud !== undefined) {
|
|
1041
|
+
json[exports.CONFIG_CLOUD_KEY] = config.cloud;
|
|
1042
|
+
}
|
|
1043
|
+
if (config.authMethod !== undefined) {
|
|
1044
|
+
json[exports.CONFIG_AUTH_METHOD_KEY] = config.authMethod;
|
|
1045
|
+
}
|
|
1046
|
+
if (config.region !== undefined) {
|
|
1047
|
+
json[exports.CONFIG_REGION_KEY] = config.region;
|
|
1048
|
+
}
|
|
1049
|
+
if (config.username !== undefined) {
|
|
1050
|
+
json[exports.CONFIG_USERNAME_KEY] = config.username;
|
|
1051
|
+
}
|
|
1052
|
+
return json;
|
|
254
1053
|
}
|