@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,68 +1,185 @@
|
|
|
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.MANAGED_DEVICE_CHECK_IN_GROUP_BY_ATTRIBUTES = exports.MANAGED_DEVICE_ALERT_MONITORING_INTERVAL = exports.MANAGED_DEVICE_CHECK_IN_ROLLING_TIME = exports.MANAGED_DEVICE_STOPPED_CHECKING_IN_MINUTES = void 0;
|
|
39
|
+
exports.MANAGED_DEVICE_STORAGE_NEARLY_FULL_PERCENT = exports.MANAGED_DEVICE_LOW_BATTERY_PERCENT = exports.MANAGED_DEVICE_NON_APPLE_PLATFORMS = exports.MANAGED_DEVICE_APPLE_PLATFORMS = exports.MANAGED_DEVICE_CONNECTION_GROUP_BY_ATTRIBUTES = exports.MANAGED_DEVICE_CONNECTION_READ_ROLLING_TIME = exports.MANAGED_DEVICE_CHECK_IN_GROUP_BY_ATTRIBUTES = exports.MANAGED_DEVICE_ALERT_MONITORING_INTERVAL = exports.MANAGED_DEVICE_CHECK_IN_ROLLING_TIME = exports.MANAGED_DEVICE_STOPPED_SYNCING_MINUTES = exports.MANAGED_DEVICE_STOPPED_CHECKING_IN_MINUTES = void 0;
|
|
40
|
+
exports.getManagedDeviceConnectionStoppedReadingMinutes = getManagedDeviceConnectionStoppedReadingMinutes;
|
|
7
41
|
exports.buildManagedDeviceCheckInMetricMonitor = buildManagedDeviceCheckInMetricMonitor;
|
|
42
|
+
exports.buildManagedDeviceSecurityPatchMetricMonitor = buildManagedDeviceSecurityPatchMetricMonitor;
|
|
43
|
+
exports.buildManagedDeviceBatteryMetricMonitor = buildManagedDeviceBatteryMetricMonitor;
|
|
44
|
+
exports.buildManagedDeviceStorageMetricMonitor = buildManagedDeviceStorageMetricMonitor;
|
|
45
|
+
exports.buildManagedDeviceConnectionReadMetricMonitor = buildManagedDeviceConnectionReadMetricMonitor;
|
|
8
46
|
exports.getAllManagedDeviceAlertTemplates = getAllManagedDeviceAlertTemplates;
|
|
47
|
+
exports.getManagedDeviceAlertTemplatesFor = getManagedDeviceAlertTemplatesFor;
|
|
9
48
|
exports.getManagedDeviceAlertTemplateById = getManagedDeviceAlertTemplateById;
|
|
49
|
+
exports.hasManagedDeviceAlertTemplateEquivalentSteps = hasManagedDeviceAlertTemplateEquivalentSteps;
|
|
50
|
+
exports.getManagedDeviceAlertTemplateEquivalentSteps = getManagedDeviceAlertTemplateEquivalentSteps;
|
|
51
|
+
const Includes_1 = __importDefault(require("../BaseDatabase/Includes"));
|
|
10
52
|
const MonitorStep_1 = __importDefault(require("./MonitorStep"));
|
|
11
53
|
const MonitorCriteria_1 = __importDefault(require("./MonitorCriteria"));
|
|
12
54
|
const CriteriaFilter_1 = require("./CriteriaFilter");
|
|
55
|
+
const FilterCondition_1 = __importDefault(require("../Filter/FilterCondition"));
|
|
13
56
|
const MonitorType_1 = __importDefault(require("./MonitorType"));
|
|
14
57
|
const RollingTime_1 = __importDefault(require("../RollingTime/RollingTime"));
|
|
15
58
|
const MetricsAggregationType_1 = __importDefault(require("../Metrics/MetricsAggregationType"));
|
|
59
|
+
const DeviceManagementProvider_1 = __importStar(require("../DeviceManagement/DeviceManagementProvider"));
|
|
60
|
+
const DeviceManagementConnectionHealth_1 = require("../DeviceManagement/DeviceManagementConnectionHealth");
|
|
61
|
+
const DeviceManagementConnectionSettings_1 = require("../DeviceManagement/DeviceManagementConnectionSettings");
|
|
62
|
+
const DeviceManagementConnectionReading_1 = require("../DeviceManagement/DeviceManagementConnectionReading");
|
|
16
63
|
const ManagedDeviceCheckIn_1 = require("../DeviceManagement/ManagedDeviceCheckIn");
|
|
64
|
+
const AndroidSecurityPatch_1 = require("../Host/AndroidSecurityPatch");
|
|
65
|
+
const ManagedDevicePlatform_1 = require("../DeviceManagement/ManagedDevicePlatform");
|
|
17
66
|
const RecommendationCriteriaBuilder_1 = require("./Recommendation/RecommendationCriteriaBuilder");
|
|
18
67
|
/*
|
|
19
68
|
* The curated alert library for ONE device management connection (a
|
|
20
69
|
* DeviceManagementConnection row: an Esper tenant, #9835): Metrics monitors
|
|
21
70
|
* over the readings each read of the connection writes for its devices
|
|
22
|
-
* (ManagedDeviceCheckIn), filtered on the connection's id
|
|
23
|
-
* watches every device the connection imports - one
|
|
24
|
-
* too - and alerts once per device.
|
|
71
|
+
* (ManagedDeviceCheckIn), filtered on the connection's id and its service,
|
|
72
|
+
* so one monitor watches every device the connection imports - one
|
|
73
|
+
* enrolled next week too - and alerts once per device.
|
|
25
74
|
*
|
|
26
|
-
*
|
|
27
|
-
* with
|
|
75
|
+
* A connection is offered its own service's templates
|
|
76
|
+
* (getManagedDeviceAlertTemplatesFor), each with the silence that says a
|
|
77
|
+
* device of that kind is gone:
|
|
28
78
|
*
|
|
29
|
-
* - AN HOUR, for
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* for the hours it is off.
|
|
79
|
+
* - AN HOUR, for an Esper Android device ("Esper Android Device Stopped
|
|
80
|
+
* Checking In"). Esper itself calls a device offline 30 minutes after
|
|
81
|
+
* its last check-in, and so do the Managed Devices list and the device's
|
|
82
|
+
* card; an hour is two of those, so a reboot for an update, a store's
|
|
83
|
+
* Wi-Fi dropping for a few minutes or one missed check-in does not page
|
|
84
|
+
* anyone, and a kiosk that is really gone is seen within the hour. A
|
|
85
|
+
* fleet switched off at night alerts every night: raise the threshold
|
|
86
|
+
* above the night, or schedule maintenance for the hours it is off.
|
|
87
|
+
* - A DAY, for a device that checks in hours apart (#9837): an Esper Apple
|
|
88
|
+
* device ("Esper Apple Device Stopped Checking In"), which checks in
|
|
89
|
+
* when Apple's push service wakes it - Esper says its iOS devices
|
|
90
|
+
* reporting more than 30 minutes is expected - and is offline after a
|
|
91
|
+
* day, Esper's own next bucket. The two Esper templates read their
|
|
92
|
+
* devices apart, by platform, so neither alerts for the other's.
|
|
93
|
+
* - A DAY for every device of a Workspace ONE UEM connection (#10086),
|
|
94
|
+
* which reports on its own sample schedule, hours apart on an iPhone,
|
|
95
|
+
* as Intune's devices do; AN HOUR for a SOTI MobiControl device (#10087)
|
|
96
|
+
* whose agent keeps a live connection to its server - Android, Windows,
|
|
97
|
+
* Linux - and A DAY for a SOTI Apple device, which checks in through
|
|
98
|
+
* Apple's push service. The two SOTI templates read their devices
|
|
99
|
+
* apart, by platform, as Esper's do.
|
|
37
100
|
* - ITS LATEST READING. A reading is written once per read, every 15
|
|
38
101
|
* minutes by default and as seldom as every hour, so the window is two
|
|
39
102
|
* hours - a read at the longest interval, a late one and one that
|
|
40
103
|
* failed still leave a reading in it - and each device is judged on the
|
|
41
104
|
* newest (judgeLatestReading): the alert opens with the first read that
|
|
42
|
-
* finds the device silent for
|
|
43
|
-
* first that finds it checked in again.
|
|
44
|
-
* - ONE ALERT PER DEVICE, by its name in
|
|
45
|
-
*
|
|
46
|
-
* from the Recommendations page it is an
|
|
47
|
-
* recommended monitor is
|
|
48
|
-
* kiosk of a fleet is the
|
|
49
|
-
* publish. It stays open while the
|
|
50
|
-
* when it checks in again.
|
|
105
|
+
* finds the device silent for longer than its threshold, and resolves
|
|
106
|
+
* with the first that finds it checked in again.
|
|
107
|
+
* - ONE ALERT PER DEVICE, by its name in the service, which names it
|
|
108
|
+
* uniquely (Esper generates ESP-ID-AAAAW and never changes it); not its
|
|
109
|
+
* alias, which people edit. Made from the Recommendations page it is an
|
|
110
|
+
* alert by default, as every recommended monitor is
|
|
111
|
+
* (MonitorRecommendationCreateSideOver): one kiosk of a fleet is the
|
|
112
|
+
* team's to fix, not a status page's to publish. It stays open while the
|
|
113
|
+
* device is quiet and resolves once, when it checks in again.
|
|
51
114
|
* - NOT A DEVICE THE ANDROID AGENT REPORTS. Such a device is a host in
|
|
52
115
|
* Hosts, and Host Stopped Reporting watches it, ten minutes after the
|
|
53
116
|
* agent goes quiet: the query reads only the devices that are not
|
|
54
117
|
* (IsHost "false"), so a device that goes dark is told of once.
|
|
55
|
-
* - SILENCE IS NOT RECOVERY. A device that leaves
|
|
56
|
-
* starts running the agent has no new reading: once its last
|
|
57
|
-
* left the window, its alert resolves while the others' readings
|
|
58
|
-
* When no device has a reading at all, the connection stopped
|
|
59
|
-
* a refused key,
|
|
60
|
-
* alerts stay open until readings arrive again
|
|
118
|
+
* - SILENCE IS NOT RECOVERY. A device that leaves the service, is
|
|
119
|
+
* disabled or starts running the agent has no new reading: once its last
|
|
120
|
+
* one has left the window, its alert resolves while the others' readings
|
|
121
|
+
* go on. When no device has a reading at all, the connection stopped
|
|
122
|
+
* reading - a refused key, the service down, the connection turned off -
|
|
123
|
+
* and the open alerts stay open until readings arrive again
|
|
61
124
|
* (MonitorResource.isSilentInfrastructureWindow); the connection's row
|
|
62
|
-
* on Managed Devices says why.
|
|
125
|
+
* on Managed Devices says why. A connection deleted is never read
|
|
126
|
+
* again: every monitor that reads it alone is turned off with it, what
|
|
127
|
+
* it had open resolved, saying why (DeviceManagementConnectionAlerts,
|
|
128
|
+
* #10286).
|
|
129
|
+
*
|
|
130
|
+
* First of each service's, CONNECTION STOPPED READING (#10006): the
|
|
131
|
+
* connection itself, which every other template is fed by. Every read of
|
|
132
|
+
* it, and every read it falls due for, records how long since one worked
|
|
133
|
+
* (DeviceManagementConnectionReading), and the template alerts once no read
|
|
134
|
+
* has worked for longer than three of its read intervals and ten minutes -
|
|
135
|
+
* as long as its Status chip waits before it says Stale
|
|
136
|
+
* (getDeviceManagementStaleAfterMinutes), so a read that fails once and
|
|
137
|
+
* works at the next try never alerts - and resolves with the first read
|
|
138
|
+
* that works. One alert, for the connection, named after it; its first
|
|
139
|
+
* command lists the connection's last readings, each with the error its
|
|
140
|
+
* read failed with. Without it a revoked key or a service out of reach
|
|
141
|
+
* froze every device alert of the fleet, and nobody learned the fleet was
|
|
142
|
+
* unwatched. Turning the connection off resolves it, saying who did: no
|
|
143
|
+
* read of a connection that is off is overdue, and its last reading, 0,
|
|
144
|
+
* says so to the monitor (DeviceManagementConnectionAlerts, #10286).
|
|
145
|
+
*
|
|
146
|
+
* Where a service reports them, LOW BATTERY and STORAGE NEARLY FULL
|
|
147
|
+
* (#10008): a device's battery, as its service last heard it, under 20%,
|
|
148
|
+
* and its own storage more than 90% in use - the thresholds of the Android
|
|
149
|
+
* agent's own Low Battery and Storage Nearly Full, so a device reads the
|
|
150
|
+
* same alert whichever reports it. Each read writes them beside the
|
|
151
|
+
* device's check-in, and the templates read them the way the check-in
|
|
152
|
+
* templates read theirs: each device's latest reading, one alert per
|
|
153
|
+
* device, never a device the agent reports - whose host's own templates
|
|
154
|
+
* read the agent's hw.battery.charge and system.filesystem.utilization, and
|
|
155
|
+
* none of the import's - and no resolving on a connection gone quiet. A
|
|
156
|
+
* dying battery shows hours before the device stops checking in. Esper,
|
|
157
|
+
* Workspace ONE and SOTI report a battery in their device lists; Intune's
|
|
158
|
+
* says none, and its reads ask each iPhone and iPad alone once it has
|
|
159
|
+
* checked in since (#10287): Graph says no other device's battery.
|
|
160
|
+
* Workspace ONE's and MobiControl's lists say whether a device is on its
|
|
161
|
+
* charger too, and their Low Battery reads that beside the battery and
|
|
162
|
+
* leaves a device on its charger be (#10288).
|
|
163
|
+
*
|
|
164
|
+
* And, for every service, SECURITY PATCH OUT OF DATE (#10098): an Android
|
|
165
|
+
* device whose security patch level, as the service reports it, is more than
|
|
166
|
+
* 90 days old - the rule Inventory's Security Patch Level filter and the
|
|
167
|
+
* Android agent's own Host template read (Host/AndroidSecurityPatch). Each
|
|
168
|
+
* read writes every Android device's patch age beside its check-in
|
|
169
|
+
* (ManagedDeviceCheckIn), and the template reads them the way the check-in
|
|
170
|
+
* templates read theirs: each device's latest reading, one alert per device,
|
|
171
|
+
* never a device the agent reports - whose host's Security Patch Out of Date
|
|
172
|
+
* reads the agent's own age - and no resolving on a connection gone quiet.
|
|
173
|
+
* It resolves at the first read that finds the device updated.
|
|
63
174
|
*/
|
|
64
|
-
// The threshold: more than this many minutes since
|
|
175
|
+
// The threshold of a device with a heartbeat: more than this many minutes since its last check-in.
|
|
65
176
|
exports.MANAGED_DEVICE_STOPPED_CHECKING_IN_MINUTES = 60;
|
|
177
|
+
/*
|
|
178
|
+
* The threshold of a device that checks in hours apart: more than a day,
|
|
179
|
+
* its offline window (MANAGED_DEVICE_SYNC_ONLINE_WINDOW_MINUTES), which
|
|
180
|
+
* already holds three missed check-ins.
|
|
181
|
+
*/
|
|
182
|
+
exports.MANAGED_DEVICE_STOPPED_SYNCING_MINUTES = 24 * 60;
|
|
66
183
|
// The window each evaluation reads: one read at the longest interval, and then some.
|
|
67
184
|
exports.MANAGED_DEVICE_CHECK_IN_ROLLING_TIME = RollingTime_1.default.Past2Hours;
|
|
68
185
|
/*
|
|
@@ -73,14 +190,185 @@ exports.MANAGED_DEVICE_CHECK_IN_ROLLING_TIME = RollingTime_1.default.Past2Hours;
|
|
|
73
190
|
exports.MANAGED_DEVICE_ALERT_MONITORING_INTERVAL = "*/5 * * * *";
|
|
74
191
|
// One series, and one alert, per device: its name in the service.
|
|
75
192
|
exports.MANAGED_DEVICE_CHECK_IN_GROUP_BY_ATTRIBUTES = [ManagedDeviceCheckIn_1.ManagedDeviceCheckInAttribute.DeviceName];
|
|
193
|
+
/*
|
|
194
|
+
* Connection Stopped Reading's window (#10006). A connection writes its
|
|
195
|
+
* reading at every read and whenever a read of it falls due: an interval
|
|
196
|
+
* apart at the longest while it reads, and an hour apart while a refused
|
|
197
|
+
* key waits for its retry. Two hours always holds one, and the connection
|
|
198
|
+
* is judged on its newest.
|
|
199
|
+
*/
|
|
200
|
+
exports.MANAGED_DEVICE_CONNECTION_READ_ROLLING_TIME = RollingTime_1.default.Past2Hours;
|
|
201
|
+
/*
|
|
202
|
+
* One series, and one alert, per connection - the monitor reads one - by
|
|
203
|
+
* its name, as Managed Devices lists it, so the alert says which.
|
|
204
|
+
*/
|
|
205
|
+
exports.MANAGED_DEVICE_CONNECTION_GROUP_BY_ATTRIBUTES = [DeviceManagementConnectionReading_1.DeviceManagementConnectionReadingAttribute.ConnectionName];
|
|
206
|
+
/*
|
|
207
|
+
* How long Connection Stopped Reading lets a connection go without a read
|
|
208
|
+
* that worked, at its read interval (the default one when not known): as
|
|
209
|
+
* long as its Status chip waits before it says Stale - three intervals and
|
|
210
|
+
* ten minutes, half an hour at the least - so a read that fails once and
|
|
211
|
+
* works at its retry never alerts.
|
|
212
|
+
*/
|
|
213
|
+
function getManagedDeviceConnectionStoppedReadingMinutes(readIntervalInMinutes) {
|
|
214
|
+
return (0, DeviceManagementConnectionHealth_1.getDeviceManagementStaleAfterMinutes)(readIntervalInMinutes !== null && readIntervalInMinutes !== void 0 ? readIntervalInMinutes : DeviceManagementConnectionSettings_1.DEFAULT_DEVICE_MANAGEMENT_READ_INTERVAL_IN_MINUTES);
|
|
215
|
+
}
|
|
216
|
+
// Apple's platforms, as an Esper connection's Apple devices are read apart.
|
|
217
|
+
exports.MANAGED_DEVICE_APPLE_PLATFORMS = [
|
|
218
|
+
ManagedDevicePlatform_1.ManagedDevicePlatform.IOS,
|
|
219
|
+
ManagedDevicePlatform_1.ManagedDevicePlatform.IPadOS,
|
|
220
|
+
ManagedDevicePlatform_1.ManagedDevicePlatform.TvOS,
|
|
221
|
+
ManagedDevicePlatform_1.ManagedDevicePlatform.MacOS,
|
|
222
|
+
];
|
|
223
|
+
/*
|
|
224
|
+
* Every platform but Apple's: the devices a SOTI agent keeps a live
|
|
225
|
+
* connection from, read apart from its Apple devices.
|
|
226
|
+
*/
|
|
227
|
+
exports.MANAGED_DEVICE_NON_APPLE_PLATFORMS = [
|
|
228
|
+
ManagedDevicePlatform_1.ManagedDevicePlatform.Android,
|
|
229
|
+
ManagedDevicePlatform_1.ManagedDevicePlatform.Windows,
|
|
230
|
+
ManagedDevicePlatform_1.ManagedDevicePlatform.Linux,
|
|
231
|
+
ManagedDevicePlatform_1.ManagedDevicePlatform.Other,
|
|
232
|
+
];
|
|
233
|
+
/*
|
|
234
|
+
* Low Battery's threshold (#10008): less than this many percent, the
|
|
235
|
+
* Android agent's own Low Battery's, so a device reads the same alert
|
|
236
|
+
* whether its device manager or the agent reports it.
|
|
237
|
+
*/
|
|
238
|
+
exports.MANAGED_DEVICE_LOW_BATTERY_PERCENT = 20;
|
|
239
|
+
/*
|
|
240
|
+
* Storage Nearly Full's (#10008): more than this many percent of its own
|
|
241
|
+
* storage in use, the agent's own Storage Nearly Full's.
|
|
242
|
+
*/
|
|
243
|
+
exports.MANAGED_DEVICE_STORAGE_NEARLY_FULL_PERCENT = 90;
|
|
76
244
|
const METRIC_ALIAS = "minutes_since_check_in";
|
|
245
|
+
const SECURITY_PATCH_METRIC_ALIAS = "days_since_security_patch";
|
|
246
|
+
const BATTERY_METRIC_ALIAS = "battery_percent";
|
|
247
|
+
const CHARGING_METRIC_ALIAS = "on_charger";
|
|
248
|
+
const STORAGE_METRIC_ALIAS = "storage_used_percent";
|
|
77
249
|
/*
|
|
78
250
|
* The query of a connection's devices' check-ins: the minutes since each
|
|
79
|
-
* one's last check-in, the devices no agent reports
|
|
251
|
+
* one's last check-in, the devices no agent reports - of the given
|
|
252
|
+
* platforms, where the template reads some apart - one series per device.
|
|
80
253
|
* Max per minute: two reads in one minute ("Read now" beside a scheduled
|
|
81
|
-
* one) say the longer silence, never a mix of the two.
|
|
254
|
+
* one) say the longer silence, never a mix of the two. The service, where
|
|
255
|
+
* it is given, is read too (see buildManagedDeviceReadingMetricMonitor).
|
|
82
256
|
*/
|
|
83
257
|
function buildManagedDeviceCheckInMetricMonitor(data) {
|
|
258
|
+
return buildManagedDeviceReadingMetricMonitor({
|
|
259
|
+
deviceManagementConnectionId: data.deviceManagementConnectionId,
|
|
260
|
+
provider: data.provider,
|
|
261
|
+
platforms: data.platforms,
|
|
262
|
+
metricName: ManagedDeviceCheckIn_1.MANAGED_DEVICE_CHECK_IN_AGE_METRIC_NAME,
|
|
263
|
+
metricAlias: METRIC_ALIAS,
|
|
264
|
+
title: "Minutes since last check-in",
|
|
265
|
+
description: "How long since each device last checked in, at the connection's latest read.",
|
|
266
|
+
legendUnit: ManagedDeviceCheckIn_1.MANAGED_DEVICE_CHECK_IN_AGE_UNIT,
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
/*
|
|
270
|
+
* The query of a connection's Android devices' security patches (#10098):
|
|
271
|
+
* the days since each one's patch level, of the devices no agent reports,
|
|
272
|
+
* one series per device. Max per minute, as the check-ins read theirs, and
|
|
273
|
+
* the service read too where it is given.
|
|
274
|
+
*/
|
|
275
|
+
function buildManagedDeviceSecurityPatchMetricMonitor(data) {
|
|
276
|
+
return buildManagedDeviceReadingMetricMonitor({
|
|
277
|
+
deviceManagementConnectionId: data.deviceManagementConnectionId,
|
|
278
|
+
provider: data.provider,
|
|
279
|
+
// Android's alone: no other platform has a security patch level.
|
|
280
|
+
platforms: [ManagedDevicePlatform_1.ManagedDevicePlatform.Android],
|
|
281
|
+
metricName: ManagedDeviceCheckIn_1.MANAGED_DEVICE_SECURITY_PATCH_AGE_METRIC_NAME,
|
|
282
|
+
metricAlias: SECURITY_PATCH_METRIC_ALIAS,
|
|
283
|
+
title: "Days since security patch",
|
|
284
|
+
description: "How old each Android device's security patch level is, at the connection's latest read.",
|
|
285
|
+
legendUnit: ManagedDeviceCheckIn_1.MANAGED_DEVICE_SECURITY_PATCH_AGE_UNIT,
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
/*
|
|
289
|
+
* The query of a connection's devices' batteries (#10008): each one's
|
|
290
|
+
* battery in percent, of the devices no agent reports, one series per
|
|
291
|
+
* device. Min per minute: two reads in one minute say the lower charge.
|
|
292
|
+
*/
|
|
293
|
+
function buildManagedDeviceBatteryMetricMonitor(data) {
|
|
294
|
+
const batteries = buildManagedDeviceReadingMetricMonitor({
|
|
295
|
+
deviceManagementConnectionId: data.deviceManagementConnectionId,
|
|
296
|
+
provider: data.provider,
|
|
297
|
+
metricName: ManagedDeviceCheckIn_1.MANAGED_DEVICE_BATTERY_LEVEL_METRIC_NAME,
|
|
298
|
+
metricAlias: BATTERY_METRIC_ALIAS,
|
|
299
|
+
title: "Battery",
|
|
300
|
+
description: "Each device's battery, as its device manager last heard it, at the connection's latest read.",
|
|
301
|
+
legendUnit: ManagedDeviceCheckIn_1.MANAGED_DEVICE_BATTERY_LEVEL_UNIT,
|
|
302
|
+
aggregationType: MetricsAggregationType_1.default.Min,
|
|
303
|
+
});
|
|
304
|
+
if (!data.readsCharging) {
|
|
305
|
+
return batteries;
|
|
306
|
+
}
|
|
307
|
+
// Max per minute: on its charger at either of two reads is on it.
|
|
308
|
+
const charging = buildManagedDeviceReadingMetricMonitor({
|
|
309
|
+
deviceManagementConnectionId: data.deviceManagementConnectionId,
|
|
310
|
+
provider: data.provider,
|
|
311
|
+
metricName: ManagedDeviceCheckIn_1.MANAGED_DEVICE_BATTERY_CHARGING_METRIC_NAME,
|
|
312
|
+
metricAlias: CHARGING_METRIC_ALIAS,
|
|
313
|
+
title: "On charger",
|
|
314
|
+
description: "Whether each device is on its charger, 1 on power and 0 on its battery, as its device manager last heard it, at the connection's latest read.",
|
|
315
|
+
legendUnit: ManagedDeviceCheckIn_1.MANAGED_DEVICE_BATTERY_CHARGING_UNIT,
|
|
316
|
+
});
|
|
317
|
+
batteries.metricViewConfig.queryConfigs.push(...charging.metricViewConfig.queryConfigs);
|
|
318
|
+
return batteries;
|
|
319
|
+
}
|
|
320
|
+
/*
|
|
321
|
+
* The query of a connection's devices' storage (#10008): how much of each
|
|
322
|
+
* one's own storage is in use, in percent, of the devices no agent reports,
|
|
323
|
+
* one series per device. Max per minute: the fuller of two reads.
|
|
324
|
+
*/
|
|
325
|
+
function buildManagedDeviceStorageMetricMonitor(data) {
|
|
326
|
+
return buildManagedDeviceReadingMetricMonitor({
|
|
327
|
+
deviceManagementConnectionId: data.deviceManagementConnectionId,
|
|
328
|
+
provider: data.provider,
|
|
329
|
+
metricName: ManagedDeviceCheckIn_1.MANAGED_DEVICE_STORAGE_USED_METRIC_NAME,
|
|
330
|
+
metricAlias: STORAGE_METRIC_ALIAS,
|
|
331
|
+
title: "Storage used",
|
|
332
|
+
description: "How much of each device's own storage is in use, as its device manager last heard it, at the connection's latest read.",
|
|
333
|
+
legendUnit: ManagedDeviceCheckIn_1.MANAGED_DEVICE_STORAGE_USED_UNIT,
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
/*
|
|
337
|
+
* A connection's readings of its devices, of one metric: the devices no
|
|
338
|
+
* agent reports, of the given platforms, one series per device. Max per
|
|
339
|
+
* minute unless the metric says otherwise.
|
|
340
|
+
*
|
|
341
|
+
* The service, where it is given, is read as well - every template gives
|
|
342
|
+
* it: it changes no reading the connection's id does not already pick (a
|
|
343
|
+
* connection reads one service, and every reading names it), and it keeps
|
|
344
|
+
* each service's template of a metric apart from the others' in the
|
|
345
|
+
* recommendations' fingerprint (MonitorRecommendationUtil), so a monitor
|
|
346
|
+
* made from Esper's is never another service's. The battery and storage
|
|
347
|
+
* templates read it from the start (#10008); the check-in and security
|
|
348
|
+
* patch templates since their services' templates of one metric were told
|
|
349
|
+
* apart, and a monitor made from one of them before is still theirs
|
|
350
|
+
* (getEarlierMonitorSteps).
|
|
351
|
+
*/
|
|
352
|
+
function buildManagedDeviceReadingMetricMonitor(data) {
|
|
353
|
+
const attributes = {
|
|
354
|
+
[ManagedDeviceCheckIn_1.ManagedDeviceCheckInAttribute.ConnectionId]: data.deviceManagementConnectionId,
|
|
355
|
+
/*
|
|
356
|
+
* A device the Android agent reports is its host's to alert on: Host
|
|
357
|
+
* Stopped Reporting, and its own Security Patch Out of Date.
|
|
358
|
+
*/
|
|
359
|
+
[ManagedDeviceCheckIn_1.ManagedDeviceCheckInAttribute.IsHost]: "false",
|
|
360
|
+
};
|
|
361
|
+
if (data.provider) {
|
|
362
|
+
attributes[ManagedDeviceCheckIn_1.ManagedDeviceCheckInAttribute.Provider] = data.provider;
|
|
363
|
+
}
|
|
364
|
+
if (data.platforms && data.platforms.length === 1) {
|
|
365
|
+
attributes[ManagedDeviceCheckIn_1.ManagedDeviceCheckInAttribute.Platform] = data.platforms[0];
|
|
366
|
+
}
|
|
367
|
+
else if (data.platforms && data.platforms.length > 1) {
|
|
368
|
+
attributes[ManagedDeviceCheckIn_1.ManagedDeviceCheckInAttribute.Platform] = new Includes_1.default([
|
|
369
|
+
...data.platforms,
|
|
370
|
+
]);
|
|
371
|
+
}
|
|
84
372
|
return {
|
|
85
373
|
rollingTime: exports.MANAGED_DEVICE_CHECK_IN_ROLLING_TIME,
|
|
86
374
|
judgeLatestReading: true,
|
|
@@ -88,21 +376,17 @@ function buildManagedDeviceCheckInMetricMonitor(data) {
|
|
|
88
376
|
queryConfigs: [
|
|
89
377
|
{
|
|
90
378
|
metricAliasData: {
|
|
91
|
-
metricVariable:
|
|
92
|
-
title:
|
|
93
|
-
description:
|
|
94
|
-
legend:
|
|
95
|
-
legendUnit:
|
|
379
|
+
metricVariable: data.metricAlias,
|
|
380
|
+
title: data.title,
|
|
381
|
+
description: data.description,
|
|
382
|
+
legend: data.title,
|
|
383
|
+
legendUnit: data.legendUnit,
|
|
96
384
|
},
|
|
97
385
|
metricQueryData: {
|
|
98
386
|
filterData: {
|
|
99
|
-
metricName:
|
|
100
|
-
attributes:
|
|
101
|
-
|
|
102
|
-
// A device the Android agent reports is Host Stopped Reporting's.
|
|
103
|
-
[ManagedDeviceCheckIn_1.ManagedDeviceCheckInAttribute.IsHost]: "false",
|
|
104
|
-
},
|
|
105
|
-
aggegationType: MetricsAggregationType_1.default.Max,
|
|
387
|
+
metricName: data.metricName,
|
|
388
|
+
attributes: attributes,
|
|
389
|
+
aggegationType: data.aggregationType || MetricsAggregationType_1.default.Max,
|
|
106
390
|
aggregateBy: {},
|
|
107
391
|
},
|
|
108
392
|
groupByAttributeKeys: [
|
|
@@ -115,15 +399,12 @@ function buildManagedDeviceCheckInMetricMonitor(data) {
|
|
|
115
399
|
},
|
|
116
400
|
};
|
|
117
401
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
severity: "Warning",
|
|
125
|
-
monitoringInterval: exports.MANAGED_DEVICE_ALERT_MONITORING_INTERVAL,
|
|
126
|
-
getMonitorStep: (args) => {
|
|
402
|
+
function buildCheckInTemplate(spec) {
|
|
403
|
+
/*
|
|
404
|
+
* The template's step, its query reading the template's service - or,
|
|
405
|
+
* for a monitor made before it did, the connection alone.
|
|
406
|
+
*/
|
|
407
|
+
const buildStep = (args, provider) => {
|
|
127
408
|
const step = MonitorStep_1.default.getDefaultMonitorStep({
|
|
128
409
|
monitorName: args.monitorName,
|
|
129
410
|
monitorType: MonitorType_1.default.Metrics,
|
|
@@ -134,6 +415,8 @@ const esperDeviceStoppedCheckingInTemplate = {
|
|
|
134
415
|
});
|
|
135
416
|
step.setMetricMonitor(buildManagedDeviceCheckInMetricMonitor({
|
|
136
417
|
deviceManagementConnectionId: args.deviceManagementConnectionId,
|
|
418
|
+
platforms: spec.platforms,
|
|
419
|
+
provider,
|
|
137
420
|
}));
|
|
138
421
|
const unhealthy = (0, RecommendationCriteriaBuilder_1.buildUnhealthyCriteriaInstance)({
|
|
139
422
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
@@ -142,11 +425,11 @@ const esperDeviceStoppedCheckingInTemplate = {
|
|
|
142
425
|
monitorName: args.monitorName,
|
|
143
426
|
metricAlias: METRIC_ALIAS,
|
|
144
427
|
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
145
|
-
value:
|
|
146
|
-
incidentTitle:
|
|
147
|
-
incidentDescription:
|
|
428
|
+
value: spec.thresholdInMinutes,
|
|
429
|
+
incidentTitle: spec.incidentTitle,
|
|
430
|
+
incidentDescription: spec.incidentDescription,
|
|
148
431
|
criteriaName: "A device stopped checking in",
|
|
149
|
-
criteriaDescription:
|
|
432
|
+
criteriaDescription: spec.criteriaDescription,
|
|
150
433
|
resourceNoun: "device",
|
|
151
434
|
/*
|
|
152
435
|
* Each device holds one reading here, its latest
|
|
@@ -160,32 +443,735 @@ const esperDeviceStoppedCheckingInTemplate = {
|
|
|
160
443
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
161
444
|
metricAlias: METRIC_ALIAS,
|
|
162
445
|
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
163
|
-
value:
|
|
446
|
+
value: spec.thresholdInMinutes,
|
|
164
447
|
/*
|
|
165
448
|
* No dead band: a device that checks in again reads a few minutes,
|
|
166
449
|
* nowhere near the threshold, and a band would only keep the monitor
|
|
167
|
-
* offline for a device that reads exactly
|
|
450
|
+
* offline for a device that reads exactly the threshold.
|
|
168
451
|
*/
|
|
169
|
-
recoveryValue:
|
|
452
|
+
recoveryValue: spec.thresholdInMinutes,
|
|
170
453
|
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.AnyValue,
|
|
171
454
|
});
|
|
172
455
|
const criteria = new MonitorCriteria_1.default();
|
|
173
456
|
criteria.data = { monitorCriteriaInstanceArray: [unhealthy, healthy] };
|
|
174
457
|
step.setMonitorCriteria(criteria);
|
|
175
458
|
return step;
|
|
176
|
-
}
|
|
177
|
-
|
|
459
|
+
};
|
|
460
|
+
return {
|
|
461
|
+
id: spec.id,
|
|
462
|
+
provider: spec.provider,
|
|
463
|
+
name: spec.name,
|
|
464
|
+
summary: spec.summary,
|
|
465
|
+
description: spec.description,
|
|
466
|
+
category: "Availability",
|
|
467
|
+
severity: "Warning",
|
|
468
|
+
monitoringInterval: exports.MANAGED_DEVICE_ALERT_MONITORING_INTERVAL,
|
|
469
|
+
metricName: ManagedDeviceCheckIn_1.MANAGED_DEVICE_CHECK_IN_AGE_METRIC_NAME,
|
|
470
|
+
thresholdInMinutes: spec.thresholdInMinutes,
|
|
471
|
+
platforms: spec.platforms,
|
|
472
|
+
getMonitorStep: (args) => {
|
|
473
|
+
return buildStep(args, spec.provider);
|
|
474
|
+
},
|
|
475
|
+
// A monitor made before the query read its service (#9835, #9837, #10086, #10087).
|
|
476
|
+
getEarlierMonitorSteps: (args) => {
|
|
477
|
+
return [buildStep(args, undefined)];
|
|
478
|
+
},
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
/*
|
|
482
|
+
* An Esper connection's Android devices. Its id and query are the ones a
|
|
483
|
+
* monitor made before Esper's Apple devices were imported was made with,
|
|
484
|
+
* the platform aside: a data migration
|
|
485
|
+
* (KeepManagedDeviceCheckInMonitorsOnAndroid) gives those monitors the
|
|
486
|
+
* platform filter, so they keep reading what they read and still cover this
|
|
487
|
+
* recommendation.
|
|
488
|
+
*/
|
|
489
|
+
const esperAndroidDeviceStoppedCheckingInTemplate = buildCheckInTemplate({
|
|
490
|
+
id: "esper-device-stopped-checking-in",
|
|
491
|
+
provider: DeviceManagementProvider_1.default.Esper,
|
|
492
|
+
name: "Esper Android Device Stopped Checking In",
|
|
493
|
+
summary: "An Android device has not checked in with Esper for more than an hour.",
|
|
494
|
+
description: "Alert when an Android device Esper manages has not checked in for more than an hour, one alert per device, resolved once it checks in again. Every read of the connection records how long each device has been quiet. A device that runs the OneUptime Android agent is left to Host Stopped Reporting.",
|
|
495
|
+
thresholdInMinutes: exports.MANAGED_DEVICE_STOPPED_CHECKING_IN_MINUTES,
|
|
496
|
+
platforms: [ManagedDevicePlatform_1.ManagedDevicePlatform.Android],
|
|
497
|
+
incidentTitle: "[Esper] Device stopped checking in",
|
|
498
|
+
incidentDescription: "An Android device Esper manages has not checked in with Esper for more than an hour, so it is off, has lost its network, or its Esper agent stopped. Check its power and its network first; the Esper console shows its last known battery, network and location. This resolves on its own once it checks in again.",
|
|
499
|
+
criteriaDescription: "Triggers when a device's latest reading says it has not checked in with Esper for more than an hour, once for each such device.",
|
|
500
|
+
});
|
|
501
|
+
const esperAppleDeviceStoppedCheckingInTemplate = buildCheckInTemplate({
|
|
502
|
+
id: "esper-apple-device-stopped-checking-in",
|
|
503
|
+
provider: DeviceManagementProvider_1.default.Esper,
|
|
504
|
+
name: "Esper Apple Device Stopped Checking In",
|
|
505
|
+
summary: "An iPhone, iPad or Apple TV has not checked in with Esper for more than a day.",
|
|
506
|
+
description: "Alert when an Apple device Esper manages has not checked in for more than a day, one alert per device, resolved once it checks in again. An Apple device checks in when Apple's push service wakes it, often hours apart, so a day without one is what says it is gone.",
|
|
507
|
+
thresholdInMinutes: exports.MANAGED_DEVICE_STOPPED_SYNCING_MINUTES,
|
|
508
|
+
platforms: exports.MANAGED_DEVICE_APPLE_PLATFORMS,
|
|
509
|
+
incidentTitle: "[Esper] Apple device stopped checking in",
|
|
510
|
+
incidentDescription: "An iPhone, iPad or Apple TV Esper manages has not checked in with Esper for more than a day, so it is off, cannot reach Apple's push service, or was taken out of Esper on the device. Check its power and its network first; the Esper console shows its last known battery and network. This resolves on its own once it checks in again.",
|
|
511
|
+
criteriaDescription: "Triggers when a device's latest reading says it has not checked in with Esper for more than a day, once for each such device.",
|
|
512
|
+
});
|
|
513
|
+
/*
|
|
514
|
+
* A Microsoft Intune connection's devices, every platform (#9837): each
|
|
515
|
+
* checks in with Intune about every eight hours, and when someone opens the
|
|
516
|
+
* Company Portal or a policy changes, so a day without a check-in is what
|
|
517
|
+
* says it is gone - as Inventory's Offline does.
|
|
518
|
+
*/
|
|
519
|
+
const intuneDeviceStoppedCheckingInTemplate = buildCheckInTemplate({
|
|
520
|
+
id: "intune-device-stopped-checking-in",
|
|
521
|
+
provider: DeviceManagementProvider_1.default.Intune,
|
|
522
|
+
name: "Intune Device Stopped Checking In",
|
|
523
|
+
summary: "A device has not checked in with Intune for more than a day.",
|
|
524
|
+
description: "Alert when a device Intune manages has not checked in for more than a day, one alert per device, resolved once it checks in again. A device checks in with Intune about every eight hours, so a day without one is what says it is gone. A laptop left off over a weekend reads the same: raise the threshold for those. A device that is a host in Hosts, because a OneUptime agent reports it, is left to Host Stopped Reporting.",
|
|
525
|
+
thresholdInMinutes: exports.MANAGED_DEVICE_STOPPED_SYNCING_MINUTES,
|
|
526
|
+
incidentTitle: "[Intune] Device stopped checking in",
|
|
527
|
+
incidentDescription: "A device Intune manages has not checked in with Intune for more than a day, so it is off, has lost its network, or was taken out of management on the device. Check its power and its network first; the Microsoft Intune admin center shows its last check-in and its compliance. This resolves on its own once it checks in again.",
|
|
528
|
+
criteriaDescription: "Triggers when a device's latest reading says it has not checked in with Intune for more than a day, once for each such device.",
|
|
529
|
+
});
|
|
530
|
+
/*
|
|
531
|
+
* A Workspace ONE UEM connection's devices, every platform (#10086): each
|
|
532
|
+
* reports on its own sample schedule - an iPhone hours apart, when Apple's
|
|
533
|
+
* push service wakes it - so a day without a report is what says it is
|
|
534
|
+
* gone, as Inventory's Offline does.
|
|
535
|
+
*/
|
|
536
|
+
const workspaceOneDeviceStoppedCheckingInTemplate = buildCheckInTemplate({
|
|
537
|
+
id: "workspace-one-device-stopped-checking-in",
|
|
538
|
+
provider: DeviceManagementProvider_1.default.WorkspaceOne,
|
|
539
|
+
name: "Workspace ONE Device Stopped Checking In",
|
|
540
|
+
summary: "A device has not reported to Workspace ONE for more than a day.",
|
|
541
|
+
description: "Alert when a device Workspace ONE UEM manages has not reported for more than a day, one alert per device, resolved once it reports again. A device reports on its own schedule, an iPhone hours apart, so a day without a report is what says it is gone. A laptop left off over a weekend reads the same: raise the threshold for those. A device that is a host in Hosts, because a OneUptime agent reports it, is left to Host Stopped Reporting.",
|
|
542
|
+
thresholdInMinutes: exports.MANAGED_DEVICE_STOPPED_SYNCING_MINUTES,
|
|
543
|
+
incidentTitle: "[Workspace ONE] Device stopped checking in",
|
|
544
|
+
incidentDescription: "A device Workspace ONE UEM manages has not reported to Workspace ONE for more than a day, so it is off, has lost its network, or its Intelligent Hub stopped. Check its power and its network first; its Device Details page in the Workspace ONE UEM console shows when it was last seen. This resolves on its own once it reports again.",
|
|
545
|
+
criteriaDescription: "Triggers when a device's latest reading says it has not reported to Workspace ONE for more than a day, once for each such device.",
|
|
546
|
+
});
|
|
547
|
+
/*
|
|
548
|
+
* A SOTI MobiControl connection's devices whose agent keeps a live
|
|
549
|
+
* connection to the server (#10087): Android, Windows, Linux. MobiControl
|
|
550
|
+
* shows such a device offline the moment its agent disconnects, and an
|
|
551
|
+
* hour without it is what says it is gone - a reboot or a dropped Wi-Fi
|
|
552
|
+
* reconnects well within it.
|
|
553
|
+
*/
|
|
554
|
+
const sotiDeviceStoppedCheckingInTemplate = buildCheckInTemplate({
|
|
555
|
+
id: "soti-device-stopped-checking-in",
|
|
556
|
+
provider: DeviceManagementProvider_1.default.Soti,
|
|
557
|
+
name: "SOTI Device Stopped Checking In",
|
|
558
|
+
summary: "An Android, Windows or Linux device's MobiControl agent has been disconnected for more than an hour.",
|
|
559
|
+
description: "Alert when the MobiControl agent of an Android, Windows or Linux device has not been connected to its server for more than an hour, one alert per device, resolved once it connects again. A MobiControl agent keeps a live connection, so an hour without one is what says the device is gone. A fleet switched off at night alerts every night: raise the threshold above the night. A device that is a host in Hosts, because a OneUptime agent reports it, is left to Host Stopped Reporting.",
|
|
560
|
+
thresholdInMinutes: exports.MANAGED_DEVICE_STOPPED_CHECKING_IN_MINUTES,
|
|
561
|
+
platforms: exports.MANAGED_DEVICE_NON_APPLE_PLATFORMS,
|
|
562
|
+
incidentTitle: "[SOTI] Device stopped checking in",
|
|
563
|
+
incidentDescription: "The MobiControl agent of a device SOTI MobiControl manages has not been connected to its server for more than an hour, so the device is off, has lost its network, or its agent stopped. Check its power and its network first; the MobiControl web console shows when its agent last connected. This resolves on its own once it connects again.",
|
|
564
|
+
criteriaDescription: "Triggers when a device's latest reading says its MobiControl agent has not been connected for more than an hour, once for each such device.",
|
|
565
|
+
});
|
|
178
566
|
/*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* the connection's service.
|
|
567
|
+
* A SOTI MobiControl connection's Apple devices (#10087): an iPhone, iPad
|
|
568
|
+
* or Mac checks in through Apple's push service, hours apart, so a day
|
|
569
|
+
* without a check-in is what says it is gone.
|
|
183
570
|
*/
|
|
571
|
+
const sotiAppleDeviceStoppedCheckingInTemplate = buildCheckInTemplate({
|
|
572
|
+
id: "soti-apple-device-stopped-checking-in",
|
|
573
|
+
provider: DeviceManagementProvider_1.default.Soti,
|
|
574
|
+
name: "SOTI Apple Device Stopped Checking In",
|
|
575
|
+
summary: "An iPhone, iPad or Mac has not checked in with MobiControl for more than a day.",
|
|
576
|
+
description: "Alert when an Apple device SOTI MobiControl manages has not checked in for more than a day, one alert per device, resolved once it checks in again. An Apple device checks in when Apple's push service wakes it, often hours apart, so a day without one is what says it is gone.",
|
|
577
|
+
thresholdInMinutes: exports.MANAGED_DEVICE_STOPPED_SYNCING_MINUTES,
|
|
578
|
+
platforms: exports.MANAGED_DEVICE_APPLE_PLATFORMS,
|
|
579
|
+
incidentTitle: "[SOTI] Apple device stopped checking in",
|
|
580
|
+
incidentDescription: "An iPhone, iPad or Mac SOTI MobiControl manages has not checked in with MobiControl for more than a day, so it is off, cannot reach Apple's push service, or was taken out of management on the device. Check its power and its network first; the MobiControl web console shows when it last checked in. This resolves on its own once it checks in again.",
|
|
581
|
+
criteriaDescription: "Triggers when a device's latest reading says it has not checked in with MobiControl for more than a day, once for each such device.",
|
|
582
|
+
});
|
|
583
|
+
const CONNECTION_METRIC_ALIAS = "minutes_since_read";
|
|
584
|
+
/*
|
|
585
|
+
* The query of a connection's own readings (#10006): the minutes since a
|
|
586
|
+
* read of it worked, of this connection alone, one series named after it.
|
|
587
|
+
* Min per minute: a read that worked and the claim that queued it, in one
|
|
588
|
+
* minute, say it read - the claim was taken before the read ended. Its
|
|
589
|
+
* service is read too, as the devices' battery and storage are: it keeps
|
|
590
|
+
* each service's template apart in the recommendations' fingerprint.
|
|
591
|
+
*/
|
|
592
|
+
function buildManagedDeviceConnectionReadMetricMonitor(data) {
|
|
593
|
+
return {
|
|
594
|
+
rollingTime: exports.MANAGED_DEVICE_CONNECTION_READ_ROLLING_TIME,
|
|
595
|
+
judgeLatestReading: true,
|
|
596
|
+
metricViewConfig: {
|
|
597
|
+
queryConfigs: [
|
|
598
|
+
{
|
|
599
|
+
metricAliasData: {
|
|
600
|
+
metricVariable: CONNECTION_METRIC_ALIAS,
|
|
601
|
+
title: "Minutes since a read worked",
|
|
602
|
+
description: "How long since a read of the connection last worked, at each read and whenever one is due.",
|
|
603
|
+
legend: "Minutes since a read worked",
|
|
604
|
+
legendUnit: DeviceManagementConnectionReading_1.MANAGED_DEVICE_CONNECTION_READ_AGE_UNIT,
|
|
605
|
+
},
|
|
606
|
+
metricQueryData: {
|
|
607
|
+
filterData: {
|
|
608
|
+
metricName: DeviceManagementConnectionReading_1.MANAGED_DEVICE_CONNECTION_READ_AGE_METRIC_NAME,
|
|
609
|
+
attributes: {
|
|
610
|
+
[DeviceManagementConnectionReading_1.DeviceManagementConnectionReadingAttribute.ConnectionId]: data.deviceManagementConnectionId,
|
|
611
|
+
[DeviceManagementConnectionReading_1.DeviceManagementConnectionReadingAttribute.Provider]: data.provider,
|
|
612
|
+
},
|
|
613
|
+
aggegationType: MetricsAggregationType_1.default.Min,
|
|
614
|
+
aggregateBy: {},
|
|
615
|
+
},
|
|
616
|
+
groupByAttributeKeys: [
|
|
617
|
+
...exports.MANAGED_DEVICE_CONNECTION_GROUP_BY_ATTRIBUTES,
|
|
618
|
+
],
|
|
619
|
+
},
|
|
620
|
+
},
|
|
621
|
+
],
|
|
622
|
+
formulaConfigs: [],
|
|
623
|
+
},
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
/*
|
|
627
|
+
* Connection Stopped Reading, for one service's connections (#10006): the
|
|
628
|
+
* connection's latest reading of how long since a read of it worked, more
|
|
629
|
+
* than its Stale point fires, one alert for the connection; a read that
|
|
630
|
+
* works resolves it, with no dead band - the reading drops to 0 then, far
|
|
631
|
+
* under the threshold.
|
|
632
|
+
*/
|
|
633
|
+
function buildConnectionStoppedReadingTemplate(spec) {
|
|
634
|
+
return {
|
|
635
|
+
id: spec.id,
|
|
636
|
+
provider: spec.provider,
|
|
637
|
+
name: spec.name,
|
|
638
|
+
summary: spec.summary,
|
|
639
|
+
description: `Alert when no read of a ${spec.serviceName} connection has worked for longer than three of its read intervals and ten minutes, as long as its Status waits before it says Stale: 55 minutes at the default 15-minute interval. One alert for the connection, resolved by the first read that works. While it lasts, OneUptime sees nothing new of the connection's devices, so their alerts can neither open nor resolve. ${spec.usualCauses} Every read of the connection, and every read it falls due for, records how long since one worked.`,
|
|
640
|
+
category: "Availability",
|
|
641
|
+
severity: "Critical",
|
|
642
|
+
monitoringInterval: exports.MANAGED_DEVICE_ALERT_MONITORING_INTERVAL,
|
|
643
|
+
metricName: DeviceManagementConnectionReading_1.MANAGED_DEVICE_CONNECTION_READ_AGE_METRIC_NAME,
|
|
644
|
+
thresholdInMinutes: getManagedDeviceConnectionStoppedReadingMinutes(),
|
|
645
|
+
followsReadInterval: true,
|
|
646
|
+
getMonitorStep: (args) => {
|
|
647
|
+
const thresholdInMinutes = getManagedDeviceConnectionStoppedReadingMinutes(args.readIntervalInMinutes);
|
|
648
|
+
const step = MonitorStep_1.default.getDefaultMonitorStep({
|
|
649
|
+
monitorName: args.monitorName,
|
|
650
|
+
monitorType: MonitorType_1.default.Metrics,
|
|
651
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
652
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
653
|
+
defaultIncidentSeverityId: args.defaultIncidentSeverityId,
|
|
654
|
+
defaultAlertSeverityId: args.defaultAlertSeverityId,
|
|
655
|
+
});
|
|
656
|
+
step.setMetricMonitor(buildManagedDeviceConnectionReadMetricMonitor({
|
|
657
|
+
deviceManagementConnectionId: args.deviceManagementConnectionId,
|
|
658
|
+
provider: spec.provider,
|
|
659
|
+
}));
|
|
660
|
+
const unhealthy = (0, RecommendationCriteriaBuilder_1.buildUnhealthyCriteriaInstance)({
|
|
661
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
662
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
663
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
664
|
+
monitorName: args.monitorName,
|
|
665
|
+
metricAlias: CONNECTION_METRIC_ALIAS,
|
|
666
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
667
|
+
value: thresholdInMinutes,
|
|
668
|
+
// Tagged as its devices' alerts are: [Esper], [Intune], [Workspace ONE], [SOTI].
|
|
669
|
+
incidentTitle: `[${(0, DeviceManagementProvider_1.getDeviceManagementProviderShortTitle)(spec.provider)}] Connection stopped reading`,
|
|
670
|
+
incidentDescription: `No read of this ${spec.serviceName} connection has worked for longer than three of its read intervals, so OneUptime sees nothing new of its devices: their alerts can neither open nor resolve until it reads again. ${spec.usualCauses} The connection's row on Inventory, Managed Devices says why its last read failed (View error); its first command below lists its last readings, each with the error its read failed with. If no read failed, OneUptime's workers may have stopped. This resolves on its own with the first read that works.`,
|
|
671
|
+
criteriaName: "The connection stopped reading",
|
|
672
|
+
criteriaDescription: "Triggers when the connection's latest reading says no read of it has worked for longer than three of its read intervals.",
|
|
673
|
+
resourceNoun: "connection",
|
|
674
|
+
// One reading here, its latest (judgeLatestReading): Any Value is that reading.
|
|
675
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.AnyValue,
|
|
676
|
+
});
|
|
677
|
+
const healthy = (0, RecommendationCriteriaBuilder_1.buildHealthyCriteriaInstance)({
|
|
678
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
679
|
+
metricAlias: CONNECTION_METRIC_ALIAS,
|
|
680
|
+
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
681
|
+
value: thresholdInMinutes,
|
|
682
|
+
// No dead band: a read that works reads 0.
|
|
683
|
+
recoveryValue: thresholdInMinutes,
|
|
684
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.AnyValue,
|
|
685
|
+
});
|
|
686
|
+
const criteria = new MonitorCriteria_1.default();
|
|
687
|
+
criteria.data = { monitorCriteriaInstanceArray: [unhealthy, healthy] };
|
|
688
|
+
step.setMonitorCriteria(criteria);
|
|
689
|
+
return step;
|
|
690
|
+
},
|
|
691
|
+
};
|
|
692
|
+
}
|
|
693
|
+
const esperConnectionStoppedReadingTemplate = buildConnectionStoppedReadingTemplate({
|
|
694
|
+
id: "esper-connection-stopped-reading",
|
|
695
|
+
provider: DeviceManagementProvider_1.default.Esper,
|
|
696
|
+
name: "Esper Connection Stopped Reading",
|
|
697
|
+
summary: "No read of this Esper connection has worked for three read intervals.",
|
|
698
|
+
serviceName: "Esper",
|
|
699
|
+
usualCauses: "Most often its API key was revoked or replaced, the Esper user it belongs to was deleted or lost the role that reads devices, or Esper could not be reached.",
|
|
700
|
+
});
|
|
701
|
+
const intuneConnectionStoppedReadingTemplate = buildConnectionStoppedReadingTemplate({
|
|
702
|
+
id: "intune-connection-stopped-reading",
|
|
703
|
+
provider: DeviceManagementProvider_1.default.Intune,
|
|
704
|
+
name: "Intune Connection Stopped Reading",
|
|
705
|
+
summary: "No read of this Intune connection has worked for three read intervals.",
|
|
706
|
+
serviceName: "Intune",
|
|
707
|
+
usualCauses: "Most often its client secret expired or was deleted, the app registration lost its admin consent to DeviceManagementManagedDevices.Read.All, or Microsoft Graph could not be reached.",
|
|
708
|
+
});
|
|
709
|
+
const workspaceOneConnectionStoppedReadingTemplate = buildConnectionStoppedReadingTemplate({
|
|
710
|
+
id: "workspace-one-connection-stopped-reading",
|
|
711
|
+
provider: DeviceManagementProvider_1.default.WorkspaceOne,
|
|
712
|
+
name: "Workspace ONE Connection Stopped Reading",
|
|
713
|
+
summary: "No read of this Workspace ONE connection has worked for three read intervals.",
|
|
714
|
+
serviceName: "Workspace ONE",
|
|
715
|
+
usualCauses: "Most often its OAuth client was deleted or its secret regenerated, its admin role lost Read on Devices and Apps, the tenant's daily API quota was used up, or its server could not be reached.",
|
|
716
|
+
});
|
|
717
|
+
const sotiConnectionStoppedReadingTemplate = buildConnectionStoppedReadingTemplate({
|
|
718
|
+
id: "soti-connection-stopped-reading",
|
|
719
|
+
provider: DeviceManagementProvider_1.default.Soti,
|
|
720
|
+
name: "SOTI Connection Stopped Reading",
|
|
721
|
+
summary: "No read of this MobiControl connection has worked for three read intervals.",
|
|
722
|
+
serviceName: "MobiControl",
|
|
723
|
+
usualCauses: "Most often its API client was removed or its secret changed, the MobiControl user's password changed or the user lost Web Console Access, or the server could not be reached.",
|
|
724
|
+
});
|
|
725
|
+
/*
|
|
726
|
+
* Security Patch Out of Date, for one service's Android devices (#10098):
|
|
727
|
+
* their latest reading of how old their patch level is, more than 90 days
|
|
728
|
+
* fires, one alert per device; 90 days or newer - the device updated -
|
|
729
|
+
* resolves, with no dead band: the age only grows, a day at a time, until
|
|
730
|
+
* an update takes it back under the threshold, as the Android agent's Host
|
|
731
|
+
* template reads it.
|
|
732
|
+
*/
|
|
733
|
+
function buildSecurityPatchTemplate(spec) {
|
|
734
|
+
/*
|
|
735
|
+
* The criteria read the rule's own number; the words write it out, "90
|
|
736
|
+
* days", as the Host template's do, so no code joins a figure to its word
|
|
737
|
+
* (NumbersKeepTheirUnitsInCodeGuard). The templates' tests hold the two
|
|
738
|
+
* together.
|
|
739
|
+
*/
|
|
740
|
+
const maxAge = AndroidSecurityPatch_1.ANDROID_SECURITY_PATCH_MAX_AGE_DAYS;
|
|
741
|
+
// Its step, its query reading its service - or, made before, the connection alone.
|
|
742
|
+
const buildStep = (args, provider) => {
|
|
743
|
+
const step = MonitorStep_1.default.getDefaultMonitorStep({
|
|
744
|
+
monitorName: args.monitorName,
|
|
745
|
+
monitorType: MonitorType_1.default.Metrics,
|
|
746
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
747
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
748
|
+
defaultIncidentSeverityId: args.defaultIncidentSeverityId,
|
|
749
|
+
defaultAlertSeverityId: args.defaultAlertSeverityId,
|
|
750
|
+
});
|
|
751
|
+
step.setMetricMonitor(buildManagedDeviceSecurityPatchMetricMonitor({
|
|
752
|
+
deviceManagementConnectionId: args.deviceManagementConnectionId,
|
|
753
|
+
provider,
|
|
754
|
+
}));
|
|
755
|
+
const unhealthy = (0, RecommendationCriteriaBuilder_1.buildUnhealthyCriteriaInstance)({
|
|
756
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
757
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
758
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
759
|
+
monitorName: args.monitorName,
|
|
760
|
+
metricAlias: SECURITY_PATCH_METRIC_ALIAS,
|
|
761
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
762
|
+
value: maxAge,
|
|
763
|
+
incidentTitle: `[${spec.serviceName}] Security patch out of date`,
|
|
764
|
+
incidentDescription: `An Android device ${spec.serviceName} manages has a security patch level more than 90 days old, so it misses the fixes of the Android security bulletins since then. Update its operating system: through the system update policy ${spec.serviceName} sets on it, or on the device in Settings, System, Software update. A device whose maker no longer ships updates stays out of date until it is replaced. This resolves on its own once ${spec.serviceName} reports a patch level from the last 90 days.`,
|
|
765
|
+
criteriaName: "A device's security patch is out of date",
|
|
766
|
+
criteriaDescription: `Triggers when a device's latest reading says its security patch level is more than 90 days old, once for each such device.`,
|
|
767
|
+
resourceNoun: "device",
|
|
768
|
+
// Each device holds one reading here, its latest: Any Value is that reading.
|
|
769
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.AnyValue,
|
|
770
|
+
});
|
|
771
|
+
const healthy = (0, RecommendationCriteriaBuilder_1.buildHealthyCriteriaInstance)({
|
|
772
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
773
|
+
metricAlias: SECURITY_PATCH_METRIC_ALIAS,
|
|
774
|
+
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
775
|
+
value: maxAge,
|
|
776
|
+
// No dead band: an update to a patch from the last 90 days is up to date.
|
|
777
|
+
recoveryValue: maxAge,
|
|
778
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.AnyValue,
|
|
779
|
+
});
|
|
780
|
+
const criteria = new MonitorCriteria_1.default();
|
|
781
|
+
criteria.data = { monitorCriteriaInstanceArray: [unhealthy, healthy] };
|
|
782
|
+
step.setMonitorCriteria(criteria);
|
|
783
|
+
return step;
|
|
784
|
+
};
|
|
785
|
+
return {
|
|
786
|
+
id: spec.id,
|
|
787
|
+
provider: spec.provider,
|
|
788
|
+
name: spec.name,
|
|
789
|
+
summary: spec.summary,
|
|
790
|
+
description: `Alert when an Android device ${spec.serviceName} manages has a security patch level more than 90 days old, one alert per device, resolved once it is updated. Android Enterprise Recommended devices get each monthly Android security bulletin within 90 days, so a device further behind misses fixes for known vulnerabilities. Every read of the connection records how old each device's patch level is. A device that runs the OneUptime Android agent is left to its host's Security Patch Out of Date.`,
|
|
791
|
+
category: "Security",
|
|
792
|
+
severity: "Warning",
|
|
793
|
+
monitoringInterval: exports.MANAGED_DEVICE_ALERT_MONITORING_INTERVAL,
|
|
794
|
+
metricName: ManagedDeviceCheckIn_1.MANAGED_DEVICE_SECURITY_PATCH_AGE_METRIC_NAME,
|
|
795
|
+
maxSecurityPatchAgeInDays: maxAge,
|
|
796
|
+
platforms: [ManagedDevicePlatform_1.ManagedDevicePlatform.Android],
|
|
797
|
+
getMonitorStep: (args) => {
|
|
798
|
+
return buildStep(args, spec.provider);
|
|
799
|
+
},
|
|
800
|
+
// A monitor made before the query read its service (#10098).
|
|
801
|
+
getEarlierMonitorSteps: (args) => {
|
|
802
|
+
return [buildStep(args, undefined)];
|
|
803
|
+
},
|
|
804
|
+
};
|
|
805
|
+
}
|
|
806
|
+
const esperSecurityPatchOutOfDateTemplate = buildSecurityPatchTemplate({
|
|
807
|
+
id: "esper-security-patch-out-of-date",
|
|
808
|
+
provider: DeviceManagementProvider_1.default.Esper,
|
|
809
|
+
name: "Esper Security Patch Out of Date",
|
|
810
|
+
summary: "An Android device Esper manages has a security patch over 90 days old.",
|
|
811
|
+
serviceName: "Esper",
|
|
812
|
+
});
|
|
813
|
+
const intuneSecurityPatchOutOfDateTemplate = buildSecurityPatchTemplate({
|
|
814
|
+
id: "intune-security-patch-out-of-date",
|
|
815
|
+
provider: DeviceManagementProvider_1.default.Intune,
|
|
816
|
+
name: "Intune Security Patch Out of Date",
|
|
817
|
+
summary: "An Android device Intune manages has a security patch over 90 days old.",
|
|
818
|
+
serviceName: "Intune",
|
|
819
|
+
});
|
|
820
|
+
const workspaceOneSecurityPatchOutOfDateTemplate = buildSecurityPatchTemplate({
|
|
821
|
+
id: "workspace-one-security-patch-out-of-date",
|
|
822
|
+
provider: DeviceManagementProvider_1.default.WorkspaceOne,
|
|
823
|
+
name: "Workspace ONE Security Patch Out of Date",
|
|
824
|
+
summary: "An Android device Workspace ONE manages has a patch over 90 days old.",
|
|
825
|
+
serviceName: "Workspace ONE",
|
|
826
|
+
});
|
|
827
|
+
const sotiSecurityPatchOutOfDateTemplate = buildSecurityPatchTemplate({
|
|
828
|
+
id: "soti-security-patch-out-of-date",
|
|
829
|
+
provider: DeviceManagementProvider_1.default.Soti,
|
|
830
|
+
name: "SOTI Security Patch Out of Date",
|
|
831
|
+
summary: "An Android device MobiControl manages has a patch over 90 days old.",
|
|
832
|
+
serviceName: "MobiControl",
|
|
833
|
+
});
|
|
834
|
+
/*
|
|
835
|
+
* Low Battery, for one service's devices (#10008): each device's latest
|
|
836
|
+
* reading of its battery, under 20% fires, one alert per device; 20% or
|
|
837
|
+
* more resolves. No dead band: a battery only falls between two reads
|
|
838
|
+
* until it is charged, and then it climbs past the threshold.
|
|
839
|
+
*
|
|
840
|
+
* Where the service says whether a device is on its charger (#10288,
|
|
841
|
+
* spec.chargingNote), the step reads that too, per device, and a device on
|
|
842
|
+
* its charger is left be: it fires only below 20% and off its charger, and
|
|
843
|
+
* resolves once the device reports 20% or more or is put on its charger.
|
|
844
|
+
* A device its service says neither of has no charging reading, which
|
|
845
|
+
* counts as off its charger (Treat As Zero), so it alerts as before. A
|
|
846
|
+
* monitor made before, which reads the battery alone, is still this
|
|
847
|
+
* template's (getEarlierMonitorSteps).
|
|
848
|
+
*/
|
|
849
|
+
function buildLowBatteryTemplate(spec) {
|
|
850
|
+
// The words write the number out, "20%", as the agent's template's do.
|
|
851
|
+
const minPercent = exports.MANAGED_DEVICE_LOW_BATTERY_PERCENT;
|
|
852
|
+
const readsCharging = Boolean(spec.chargingNote);
|
|
853
|
+
const buildStep = (args, withCharging) => {
|
|
854
|
+
const step = MonitorStep_1.default.getDefaultMonitorStep({
|
|
855
|
+
monitorName: args.monitorName,
|
|
856
|
+
monitorType: MonitorType_1.default.Metrics,
|
|
857
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
858
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
859
|
+
defaultIncidentSeverityId: args.defaultIncidentSeverityId,
|
|
860
|
+
defaultAlertSeverityId: args.defaultAlertSeverityId,
|
|
861
|
+
});
|
|
862
|
+
step.setMetricMonitor(buildManagedDeviceBatteryMetricMonitor({
|
|
863
|
+
deviceManagementConnectionId: args.deviceManagementConnectionId,
|
|
864
|
+
provider: spec.provider,
|
|
865
|
+
readsCharging: withCharging,
|
|
866
|
+
}));
|
|
867
|
+
const unhealthy = (0, RecommendationCriteriaBuilder_1.buildUnhealthyCriteriaInstance)({
|
|
868
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
869
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
870
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
871
|
+
monitorName: args.monitorName,
|
|
872
|
+
metricAlias: BATTERY_METRIC_ALIAS,
|
|
873
|
+
filterType: CriteriaFilter_1.FilterType.LessThan,
|
|
874
|
+
value: minPercent,
|
|
875
|
+
incidentTitle: `[${(0, DeviceManagementProvider_1.getDeviceManagementProviderShortTitle)(spec.provider)}] Low battery`,
|
|
876
|
+
incidentDescription: `A device ${spec.serviceName} manages reports less than 20% battery, so it will shut down soon unless it is charged, and then stops checking in. Put it on its charger or swap its battery; a kiosk or a terminal meant to stay on power has lost it, so check its cable, adapter and socket. The battery is the one the device last reported to ${spec.serviceName}. This resolves on its own once it reports 20% or more${withCharging ? `, or ${spec.serviceName} reports it on its charger` : ""}.`,
|
|
877
|
+
criteriaName: "A device's battery is low",
|
|
878
|
+
criteriaDescription: withCharging
|
|
879
|
+
? "Triggers when a device's latest reading says its battery is below 20% and it is not on its charger, once for each such device."
|
|
880
|
+
: "Triggers when a device's latest reading says its battery is below 20%, once for each such device.",
|
|
881
|
+
resourceNoun: "device",
|
|
882
|
+
// Each device holds one reading here, its latest: Any Value is that reading.
|
|
883
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.AnyValue,
|
|
884
|
+
...(withCharging
|
|
885
|
+
? {
|
|
886
|
+
// Both of a device's readings: low, and not on its charger.
|
|
887
|
+
filterCondition: FilterCondition_1.default.All,
|
|
888
|
+
additionalFilters: [
|
|
889
|
+
{
|
|
890
|
+
metricAlias: CHARGING_METRIC_ALIAS,
|
|
891
|
+
filterType: CriteriaFilter_1.FilterType.LessThan,
|
|
892
|
+
value: 1,
|
|
893
|
+
// A device its service says neither of is off its charger.
|
|
894
|
+
onNoDataPolicy: CriteriaFilter_1.NoDataPolicy.TreatAsZero,
|
|
895
|
+
},
|
|
896
|
+
],
|
|
897
|
+
}
|
|
898
|
+
: {}),
|
|
899
|
+
});
|
|
900
|
+
const healthy = (0, RecommendationCriteriaBuilder_1.buildHealthyCriteriaInstance)({
|
|
901
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
902
|
+
metricAlias: BATTERY_METRIC_ALIAS,
|
|
903
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThanOrEqualTo,
|
|
904
|
+
value: minPercent,
|
|
905
|
+
recoveryValue: minPercent,
|
|
906
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.AnyValue,
|
|
907
|
+
...(withCharging
|
|
908
|
+
? {
|
|
909
|
+
// 20% or more, or on its charger: either is well.
|
|
910
|
+
filterCondition: FilterCondition_1.default.Any,
|
|
911
|
+
additionalFilters: [
|
|
912
|
+
{
|
|
913
|
+
metricAlias: CHARGING_METRIC_ALIAS,
|
|
914
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThanOrEqualTo,
|
|
915
|
+
value: 1,
|
|
916
|
+
},
|
|
917
|
+
],
|
|
918
|
+
// 0 or 1: on its charger is 1, with no dead band below it.
|
|
919
|
+
isBinaryMetric: true,
|
|
920
|
+
}
|
|
921
|
+
: {}),
|
|
922
|
+
});
|
|
923
|
+
const criteria = new MonitorCriteria_1.default();
|
|
924
|
+
criteria.data = { monitorCriteriaInstanceArray: [unhealthy, healthy] };
|
|
925
|
+
step.setMonitorCriteria(criteria);
|
|
926
|
+
return step;
|
|
927
|
+
};
|
|
928
|
+
return {
|
|
929
|
+
id: spec.id,
|
|
930
|
+
provider: spec.provider,
|
|
931
|
+
name: spec.name,
|
|
932
|
+
summary: spec.summary,
|
|
933
|
+
description: `Alert when a device ${spec.serviceName} manages reports less than 20% battery, one alert per device, resolved once it reports 20% or more: a handheld is about to shut down, or a kiosk lost its power, and a device that runs out stops checking in. Every read of the connection records each device's battery as ${spec.serviceName} last heard it.${spec.devicesNote ? ` ${spec.devicesNote}` : ""}${spec.chargingNote ? ` ${spec.chargingNote}` : ""} A device without a battery reports none and never raises it. A device that runs the OneUptime Android agent is left to its host's Low Battery.`,
|
|
934
|
+
category: "Resource",
|
|
935
|
+
severity: "Warning",
|
|
936
|
+
monitoringInterval: exports.MANAGED_DEVICE_ALERT_MONITORING_INTERVAL,
|
|
937
|
+
metricName: ManagedDeviceCheckIn_1.MANAGED_DEVICE_BATTERY_LEVEL_METRIC_NAME,
|
|
938
|
+
minBatteryPercent: minPercent,
|
|
939
|
+
getMonitorStep: (args) => {
|
|
940
|
+
return buildStep(args, readsCharging);
|
|
941
|
+
},
|
|
942
|
+
// A monitor made before it read the charging state: the battery alone.
|
|
943
|
+
...(readsCharging
|
|
944
|
+
? {
|
|
945
|
+
getEarlierMonitorSteps: (args) => {
|
|
946
|
+
return [buildStep(args, false)];
|
|
947
|
+
},
|
|
948
|
+
}
|
|
949
|
+
: {}),
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
/*
|
|
953
|
+
* Storage Nearly Full, for one service's devices (#10008): each device's
|
|
954
|
+
* latest reading of how much of its own storage is in use, more than 90%
|
|
955
|
+
* fires, one alert per device; 90% or less resolves.
|
|
956
|
+
*/
|
|
957
|
+
function buildStorageNearlyFullTemplate(spec) {
|
|
958
|
+
// The words write the number out, "90%", as the agent's template's do.
|
|
959
|
+
const maxPercent = exports.MANAGED_DEVICE_STORAGE_NEARLY_FULL_PERCENT;
|
|
960
|
+
return {
|
|
961
|
+
id: spec.id,
|
|
962
|
+
provider: spec.provider,
|
|
963
|
+
name: spec.name,
|
|
964
|
+
summary: spec.summary,
|
|
965
|
+
description: `Alert when a device ${spec.serviceName} manages has more than 90% of its own storage in use, one alert per device, resolved once it has 90% or less: a device refuses app installs and updates as its storage fills, and apps that keep caches or logs start failing. Every read of the connection records how full each device's storage is, as ${spec.serviceName} last heard it. A device that reports no free space never raises it. A device that runs the OneUptime Android agent is left to its host's Storage Nearly Full.`,
|
|
966
|
+
category: "Resource",
|
|
967
|
+
severity: "Warning",
|
|
968
|
+
monitoringInterval: exports.MANAGED_DEVICE_ALERT_MONITORING_INTERVAL,
|
|
969
|
+
metricName: ManagedDeviceCheckIn_1.MANAGED_DEVICE_STORAGE_USED_METRIC_NAME,
|
|
970
|
+
maxStorageUsedPercent: maxPercent,
|
|
971
|
+
getMonitorStep: (args) => {
|
|
972
|
+
const step = MonitorStep_1.default.getDefaultMonitorStep({
|
|
973
|
+
monitorName: args.monitorName,
|
|
974
|
+
monitorType: MonitorType_1.default.Metrics,
|
|
975
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
976
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
977
|
+
defaultIncidentSeverityId: args.defaultIncidentSeverityId,
|
|
978
|
+
defaultAlertSeverityId: args.defaultAlertSeverityId,
|
|
979
|
+
});
|
|
980
|
+
step.setMetricMonitor(buildManagedDeviceStorageMetricMonitor({
|
|
981
|
+
deviceManagementConnectionId: args.deviceManagementConnectionId,
|
|
982
|
+
provider: spec.provider,
|
|
983
|
+
}));
|
|
984
|
+
const unhealthy = (0, RecommendationCriteriaBuilder_1.buildUnhealthyCriteriaInstance)({
|
|
985
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
986
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
987
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
988
|
+
monitorName: args.monitorName,
|
|
989
|
+
metricAlias: STORAGE_METRIC_ALIAS,
|
|
990
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
991
|
+
value: maxPercent,
|
|
992
|
+
incidentTitle: `[${(0, DeviceManagementProvider_1.getDeviceManagementProviderShortTitle)(spec.provider)}] Storage nearly full`,
|
|
993
|
+
incidentDescription: `A device ${spec.serviceName} manages has more than 90% of its own storage in use. As it fills, the device refuses app installs and updates, ${spec.serviceName}'s included, and apps that keep caches or logs start failing. Clear what its apps keep, or remove apps it does not need, through ${spec.serviceName}. This resolves on its own once ${spec.serviceName} reports 90% or less in use.`,
|
|
994
|
+
criteriaName: "A device's storage is nearly full",
|
|
995
|
+
criteriaDescription: "Triggers when a device's latest reading says more than 90% of its storage is in use, once for each such device.",
|
|
996
|
+
resourceNoun: "device",
|
|
997
|
+
// Each device holds one reading here, its latest: Any Value is that reading.
|
|
998
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.AnyValue,
|
|
999
|
+
});
|
|
1000
|
+
const healthy = (0, RecommendationCriteriaBuilder_1.buildHealthyCriteriaInstance)({
|
|
1001
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
1002
|
+
metricAlias: STORAGE_METRIC_ALIAS,
|
|
1003
|
+
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
1004
|
+
value: maxPercent,
|
|
1005
|
+
recoveryValue: maxPercent,
|
|
1006
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.AnyValue,
|
|
1007
|
+
});
|
|
1008
|
+
const criteria = new MonitorCriteria_1.default();
|
|
1009
|
+
criteria.data = { monitorCriteriaInstanceArray: [unhealthy, healthy] };
|
|
1010
|
+
step.setMonitorCriteria(criteria);
|
|
1011
|
+
return step;
|
|
1012
|
+
},
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
/*
|
|
1016
|
+
* Low Battery for every service. Esper's, Workspace ONE's and SOTI's device
|
|
1017
|
+
* lists say a device's battery; Intune's says none, so an Intune
|
|
1018
|
+
* connection's reads ask each iPhone and iPad on its own, once it has
|
|
1019
|
+
* checked in since it was last asked (#10287): Graph's beta
|
|
1020
|
+
* hardwareInformation holds a battery level of an iOS or iPadOS device
|
|
1021
|
+
* alone, as of its last check-in.
|
|
1022
|
+
*
|
|
1023
|
+
* Workspace ONE's and SOTI's lists also say whether a device is on its
|
|
1024
|
+
* charger (#10288): Workspace ONE's AcLineStatus of every device but an
|
|
1025
|
+
* Apple one (whose MDM reports no power source), and MobiControl's
|
|
1026
|
+
* IsCharging of an Android+ device. Their Low Battery leaves such a device
|
|
1027
|
+
* be. Esper's device list and Intune's hardwareInformation say neither.
|
|
1028
|
+
*/
|
|
1029
|
+
const esperLowBatteryTemplate = buildLowBatteryTemplate({
|
|
1030
|
+
id: "esper-low-battery",
|
|
1031
|
+
provider: DeviceManagementProvider_1.default.Esper,
|
|
1032
|
+
name: "Esper Low Battery",
|
|
1033
|
+
summary: "A device Esper manages has less than 20% battery left.",
|
|
1034
|
+
serviceName: "Esper",
|
|
1035
|
+
});
|
|
1036
|
+
const intuneLowBatteryTemplate = buildLowBatteryTemplate({
|
|
1037
|
+
id: "intune-low-battery",
|
|
1038
|
+
provider: DeviceManagementProvider_1.default.Intune,
|
|
1039
|
+
name: "Intune Low Battery",
|
|
1040
|
+
summary: "An iPhone or iPad Intune manages has less than 20% battery left.",
|
|
1041
|
+
serviceName: "Intune",
|
|
1042
|
+
devicesNote: "Intune says the battery of an iPhone or an iPad alone, as of its last check-in, about every eight hours.",
|
|
1043
|
+
});
|
|
1044
|
+
const workspaceOneLowBatteryTemplate = buildLowBatteryTemplate({
|
|
1045
|
+
id: "workspace-one-low-battery",
|
|
1046
|
+
provider: DeviceManagementProvider_1.default.WorkspaceOne,
|
|
1047
|
+
name: "Workspace ONE Low Battery",
|
|
1048
|
+
summary: "A device Workspace ONE manages has less than 20% battery left.",
|
|
1049
|
+
serviceName: "Workspace ONE",
|
|
1050
|
+
// #10288: its device list says whether each is on power (AcLineStatus).
|
|
1051
|
+
chargingNote: "A device Workspace ONE says is on power, on its charger or its dock, is left be, and its alert resolves.",
|
|
1052
|
+
});
|
|
1053
|
+
const sotiLowBatteryTemplate = buildLowBatteryTemplate({
|
|
1054
|
+
id: "soti-low-battery",
|
|
1055
|
+
provider: DeviceManagementProvider_1.default.Soti,
|
|
1056
|
+
name: "SOTI Low Battery",
|
|
1057
|
+
summary: "A device MobiControl manages has less than 20% battery left.",
|
|
1058
|
+
serviceName: "MobiControl",
|
|
1059
|
+
// #10288: its device list says whether an Android+ device is charging.
|
|
1060
|
+
chargingNote: "An Android device MobiControl says is charging is left be, and its alert resolves.",
|
|
1061
|
+
});
|
|
1062
|
+
// Storage Nearly Full for every service: each says a device's storage and its free space.
|
|
1063
|
+
const esperStorageNearlyFullTemplate = buildStorageNearlyFullTemplate({
|
|
1064
|
+
id: "esper-storage-nearly-full",
|
|
1065
|
+
provider: DeviceManagementProvider_1.default.Esper,
|
|
1066
|
+
name: "Esper Storage Nearly Full",
|
|
1067
|
+
summary: "A device Esper manages has more than 90% of its storage in use.",
|
|
1068
|
+
serviceName: "Esper",
|
|
1069
|
+
});
|
|
1070
|
+
const intuneStorageNearlyFullTemplate = buildStorageNearlyFullTemplate({
|
|
1071
|
+
id: "intune-storage-nearly-full",
|
|
1072
|
+
provider: DeviceManagementProvider_1.default.Intune,
|
|
1073
|
+
name: "Intune Storage Nearly Full",
|
|
1074
|
+
summary: "A device Intune manages has more than 90% of its storage in use.",
|
|
1075
|
+
serviceName: "Intune",
|
|
1076
|
+
});
|
|
1077
|
+
const workspaceOneStorageNearlyFullTemplate = buildStorageNearlyFullTemplate({
|
|
1078
|
+
id: "workspace-one-storage-nearly-full",
|
|
1079
|
+
provider: DeviceManagementProvider_1.default.WorkspaceOne,
|
|
1080
|
+
name: "Workspace ONE Storage Nearly Full",
|
|
1081
|
+
summary: "A device Workspace ONE manages has over 90% of its storage in use.",
|
|
1082
|
+
serviceName: "Workspace ONE",
|
|
1083
|
+
});
|
|
1084
|
+
const sotiStorageNearlyFullTemplate = buildStorageNearlyFullTemplate({
|
|
1085
|
+
id: "soti-storage-nearly-full",
|
|
1086
|
+
provider: DeviceManagementProvider_1.default.Soti,
|
|
1087
|
+
name: "SOTI Storage Nearly Full",
|
|
1088
|
+
summary: "A device MobiControl manages has more than 90% of its storage in use.",
|
|
1089
|
+
serviceName: "MobiControl",
|
|
1090
|
+
});
|
|
1091
|
+
/*
|
|
1092
|
+
* Each service's templates in the order its connection is offered them: the
|
|
1093
|
+
* connection itself first, which feeds every other one, then its devices'
|
|
1094
|
+
* check-ins, their batteries and their storage, then its Android devices'
|
|
1095
|
+
* security patches.
|
|
1096
|
+
*/
|
|
1097
|
+
const ALL_TEMPLATES = [
|
|
1098
|
+
esperConnectionStoppedReadingTemplate,
|
|
1099
|
+
esperAndroidDeviceStoppedCheckingInTemplate,
|
|
1100
|
+
esperAppleDeviceStoppedCheckingInTemplate,
|
|
1101
|
+
esperLowBatteryTemplate,
|
|
1102
|
+
esperStorageNearlyFullTemplate,
|
|
1103
|
+
esperSecurityPatchOutOfDateTemplate,
|
|
1104
|
+
intuneConnectionStoppedReadingTemplate,
|
|
1105
|
+
intuneDeviceStoppedCheckingInTemplate,
|
|
1106
|
+
intuneLowBatteryTemplate,
|
|
1107
|
+
intuneStorageNearlyFullTemplate,
|
|
1108
|
+
intuneSecurityPatchOutOfDateTemplate,
|
|
1109
|
+
workspaceOneConnectionStoppedReadingTemplate,
|
|
1110
|
+
workspaceOneDeviceStoppedCheckingInTemplate,
|
|
1111
|
+
workspaceOneLowBatteryTemplate,
|
|
1112
|
+
workspaceOneStorageNearlyFullTemplate,
|
|
1113
|
+
workspaceOneSecurityPatchOutOfDateTemplate,
|
|
1114
|
+
sotiConnectionStoppedReadingTemplate,
|
|
1115
|
+
sotiDeviceStoppedCheckingInTemplate,
|
|
1116
|
+
sotiAppleDeviceStoppedCheckingInTemplate,
|
|
1117
|
+
sotiLowBatteryTemplate,
|
|
1118
|
+
sotiStorageNearlyFullTemplate,
|
|
1119
|
+
sotiSecurityPatchOutOfDateTemplate,
|
|
1120
|
+
];
|
|
1121
|
+
// Every template, of every service.
|
|
184
1122
|
function getAllManagedDeviceAlertTemplates() {
|
|
185
|
-
return [
|
|
1123
|
+
return [...ALL_TEMPLATES];
|
|
1124
|
+
}
|
|
1125
|
+
/*
|
|
1126
|
+
* The templates a connection of a service is offered. A connection whose
|
|
1127
|
+
* service is not known is Esper's, as every connection was before #9837.
|
|
1128
|
+
*/
|
|
1129
|
+
function getManagedDeviceAlertTemplatesFor(provider) {
|
|
1130
|
+
const service = provider || DeviceManagementProvider_1.default.Esper;
|
|
1131
|
+
return ALL_TEMPLATES.filter((template) => {
|
|
1132
|
+
return template.provider === service;
|
|
1133
|
+
});
|
|
186
1134
|
}
|
|
187
1135
|
function getManagedDeviceAlertTemplateById(id) {
|
|
188
1136
|
return getAllManagedDeviceAlertTemplates().find((template) => {
|
|
189
1137
|
return template.id === id;
|
|
190
1138
|
});
|
|
191
1139
|
}
|
|
1140
|
+
// Whether a monitor made from a template may have another step than the template's own.
|
|
1141
|
+
function hasManagedDeviceAlertTemplateEquivalentSteps(template) {
|
|
1142
|
+
return Boolean(template.followsReadInterval || template.getEarlierMonitorSteps);
|
|
1143
|
+
}
|
|
1144
|
+
/*
|
|
1145
|
+
* The other steps a monitor made from a template may have and still be it
|
|
1146
|
+
* (MonitorRecommendation.getEquivalentMonitorSteps), each of which counts
|
|
1147
|
+
* as made, so the template is never offered a second time:
|
|
1148
|
+
*
|
|
1149
|
+
* - those of an earlier version of it (getEarlierMonitorSteps): a
|
|
1150
|
+
* check-in or security patch template's from before its query read its
|
|
1151
|
+
* service;
|
|
1152
|
+
* - Connection Stopped Reading's at each wait another read interval a
|
|
1153
|
+
* connection may have gives it, for a monitor made before its
|
|
1154
|
+
* connection's interval changed, which keeps the wait it was made
|
|
1155
|
+
* with. No other template's step follows the interval.
|
|
1156
|
+
*/
|
|
1157
|
+
function getManagedDeviceAlertTemplateEquivalentSteps(template, args) {
|
|
1158
|
+
var _a;
|
|
1159
|
+
const steps = [
|
|
1160
|
+
...(((_a = template.getEarlierMonitorSteps) === null || _a === void 0 ? void 0 : _a.call(template, args)) || []),
|
|
1161
|
+
];
|
|
1162
|
+
if (!template.followsReadInterval) {
|
|
1163
|
+
return steps;
|
|
1164
|
+
}
|
|
1165
|
+
const waits = new Set([
|
|
1166
|
+
getManagedDeviceConnectionStoppedReadingMinutes(args.readIntervalInMinutes),
|
|
1167
|
+
]);
|
|
1168
|
+
for (const interval of DeviceManagementConnectionSettings_1.DEVICE_MANAGEMENT_READ_INTERVALS_IN_MINUTES) {
|
|
1169
|
+
const wait = getManagedDeviceConnectionStoppedReadingMinutes(interval);
|
|
1170
|
+
if (waits.has(wait)) {
|
|
1171
|
+
continue;
|
|
1172
|
+
}
|
|
1173
|
+
waits.add(wait);
|
|
1174
|
+
steps.push(template.getMonitorStep({ ...args, readIntervalInMinutes: interval }));
|
|
1175
|
+
}
|
|
1176
|
+
return steps;
|
|
1177
|
+
}
|