@oneuptime/common 14.0.99 → 14.0.101
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/ExceptionInstance.d.mts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.d.ts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.js +31 -0
- package/Models/AnalyticsModels/LogCountBaseline.d.mts +6 -0
- package/Models/AnalyticsModels/LogCountBaseline.d.ts +6 -0
- package/Models/AnalyticsModels/LogCountBaseline.js +7 -1
- package/Models/AnalyticsModels/MetricBaselineHourly.d.mts +11 -6
- package/Models/AnalyticsModels/MetricBaselineHourly.d.ts +11 -6
- package/Models/AnalyticsModels/MetricBaselineHourly.js +12 -7
- package/Models/AnalyticsModels/NetworkTrafficUsage.js +30 -10
- package/Models/AnalyticsModels/RumSessionChunk.js +1 -1
- package/Models/AnalyticsModels/SpanCountBaseline.d.mts +17 -9
- package/Models/AnalyticsModels/SpanCountBaseline.d.ts +17 -9
- package/Models/AnalyticsModels/SpanCountBaseline.js +18 -10
- package/Models/DatabaseModels/CloudApp.d.mts +27 -0
- package/Models/DatabaseModels/CloudApp.d.ts +27 -0
- package/Models/DatabaseModels/CloudApp.js +414 -0
- package/Models/DatabaseModels/CloudApp.mjs +2 -0
- package/Models/DatabaseModels/CloudAppRevision.d.mts +23 -0
- package/Models/DatabaseModels/CloudAppRevision.d.ts +23 -0
- package/Models/DatabaseModels/CloudAppRevision.js +351 -0
- package/Models/DatabaseModels/CloudAppRevision.mjs +2 -0
- package/Models/DatabaseModels/CloudResourceFeed.d.mts +4 -1
- package/Models/DatabaseModels/CloudResourceFeed.d.ts +4 -1
- package/Models/DatabaseModels/CloudResourceFeed.js +17 -1
- package/Models/DatabaseModels/CloudResourceFeed.mjs +1 -0
- package/Models/DatabaseModels/CloudResourceInstance.d.mts +4 -0
- package/Models/DatabaseModels/CloudResourceInstance.d.ts +4 -0
- package/Models/DatabaseModels/CloudResourceInstance.js +60 -1
- package/Models/DatabaseModels/CloudResourceLabelRule.d.mts +2 -0
- package/Models/DatabaseModels/CloudResourceLabelRule.d.ts +2 -0
- package/Models/DatabaseModels/CloudResourceLabelRule.js +44 -1
- package/Models/DatabaseModels/CloudResourceOwnerRule.d.mts +2 -0
- package/Models/DatabaseModels/CloudResourceOwnerRule.d.ts +2 -0
- package/Models/DatabaseModels/CloudResourceOwnerRule.js +44 -1
- package/Models/DatabaseModels/Dashboard.d.mts +2 -0
- package/Models/DatabaseModels/Dashboard.d.ts +2 -0
- package/Models/DatabaseModels/Dashboard.js +88 -0
- package/Models/DatabaseModels/DataSecurityIdentity.d.mts +29 -0
- package/Models/DatabaseModels/DataSecurityIdentity.d.ts +29 -0
- package/Models/DatabaseModels/DataSecurityIdentity.js +535 -0
- package/Models/DatabaseModels/DataSecurityIdentity.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +16 -0
- package/Models/DatabaseModels/DataStoreAccess.d.mts +1 -0
- package/Models/DatabaseModels/DataStoreAccess.d.ts +1 -0
- package/Models/DatabaseModels/DataStoreAccess.js +20 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +3 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +3 -0
- package/Models/DatabaseModels/DataStoreFinding.js +63 -1
- package/Models/DatabaseModels/DetectionRule.d.mts +1 -0
- package/Models/DatabaseModels/DetectionRule.d.ts +1 -0
- package/Models/DatabaseModels/DetectionRule.js +31 -0
- package/Models/DatabaseModels/ExceptionSavedView.d.mts +16 -0
- package/Models/DatabaseModels/ExceptionSavedView.d.ts +16 -0
- package/Models/DatabaseModels/ExceptionSavedView.js +413 -0
- package/Models/DatabaseModels/ExceptionSavedView.mjs +2 -0
- package/Models/DatabaseModels/FormDomain.d.mts +28 -0
- package/Models/DatabaseModels/FormDomain.d.ts +28 -0
- package/Models/DatabaseModels/FormDomain.js +598 -0
- package/Models/DatabaseModels/FormDomain.mjs +2 -0
- package/Models/DatabaseModels/IncidentEpisodeRoleMember.js +10 -1
- package/Models/DatabaseModels/Index.js +12 -0
- package/Models/DatabaseModels/KubernetesResource.d.mts +1 -0
- package/Models/DatabaseModels/KubernetesResource.d.ts +1 -0
- package/Models/DatabaseModels/KubernetesResource.js +36 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.mts +2 -1
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.ts +2 -1
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +2 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +2 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +62 -1
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +2 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +2 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +66 -0
- package/Models/DatabaseModels/ProxmoxResource.d.mts +13 -0
- package/Models/DatabaseModels/ProxmoxResource.d.ts +13 -0
- package/Models/DatabaseModels/ProxmoxResource.js +292 -0
- package/Models/DatabaseModels/StatusPageSubscriber.d.mts +1 -0
- package/Models/DatabaseModels/StatusPageSubscriber.d.ts +1 -0
- package/Models/DatabaseModels/StatusPageSubscriber.js +52 -0
- package/Models/DatabaseModels/TelemetryException.d.mts +5 -0
- package/Models/DatabaseModels/TelemetryException.d.ts +5 -0
- package/Models/DatabaseModels/TelemetryException.js +183 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.d.mts +42 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.d.ts +42 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.js +527 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.mjs +3 -0
- package/Server/Services/DatabaseService.d.mts +10 -0
- package/Server/Services/DatabaseService.d.ts +10 -0
- package/Types/AI/AIResourceContext.d.mts +2 -0
- package/Types/AI/AIResourceContext.d.ts +2 -0
- package/Types/AI/AIResourceContext.js +5 -0
- package/Types/Analytics/CookieConsent.d.mts +1 -0
- package/Types/Analytics/CookieConsent.d.ts +1 -0
- package/Types/Analytics/CookieConsent.js +10 -0
- package/Types/Analytics/CookieConsent.mjs +2 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.mts +3 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.ts +3 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.js +11 -2
- package/Types/AutoRemediation/RemediationTrackRecord.d.mts +26 -0
- package/Types/AutoRemediation/RemediationTrackRecord.d.ts +26 -0
- package/Types/AutoRemediation/RemediationTrackRecord.js +137 -0
- package/Types/AutoRemediation/RemediationTrackRecord.mjs +8 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.d.mts +10 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.d.ts +10 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.js +86 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.mjs +9 -0
- package/Types/BaseDatabase/AggregateBy.d.mts +13 -0
- package/Types/BaseDatabase/AggregateBy.d.ts +13 -0
- package/Types/Billing/SubscriptionPlanPricing.d.mts +2 -0
- package/Types/Billing/SubscriptionPlanPricing.d.ts +2 -0
- package/Types/Billing/SubscriptionPlanPricing.js +30 -0
- package/Types/Billing/SubscriptionPlanPricing.mjs +2 -0
- package/Types/Cloud/CloudPlatform.d.mts +3 -0
- package/Types/Cloud/CloudPlatform.d.ts +3 -0
- package/Types/Cloud/CloudPlatform.js +50 -0
- package/Types/Cloud/CloudResourceKind.d.mts +11 -0
- package/Types/Cloud/CloudResourceKind.d.ts +11 -0
- package/Types/Cloud/CloudResourceKind.js +78 -9
- package/Types/Cloud/CloudResourceKind.mjs +5 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +10 -8
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +32 -10
- package/Types/CustomField/CustomFieldFile.d.mts +69 -0
- package/Types/CustomField/CustomFieldFile.d.ts +69 -0
- package/Types/CustomField/CustomFieldFile.js +235 -0
- package/Types/CustomField/CustomFieldFile.mjs +16 -0
- package/Types/CustomField/CustomFieldRecordKinds.d.mts +25 -0
- package/Types/CustomField/CustomFieldRecordKinds.d.ts +25 -0
- package/Types/CustomField/CustomFieldRecordKinds.js +111 -0
- package/Types/CustomField/CustomFieldRecordKinds.mjs +6 -0
- package/Types/CustomField/CustomFieldType.d.mts +15 -1
- package/Types/CustomField/CustomFieldType.d.ts +15 -1
- package/Types/CustomField/CustomFieldType.js +14 -0
- package/Types/CustomField/CustomFieldValueFormat.d.mts +3 -2
- package/Types/CustomField/CustomFieldValueFormat.d.ts +3 -2
- package/Types/CustomField/CustomFieldValueFormat.js +8 -2
- package/Types/CustomField/CustomFieldValueMapping.js +31 -2
- package/Types/CustomField/CustomFieldValueValidator.js +41 -1
- package/Types/Dashboard/DashboardLanguage.d.mts +1 -0
- package/Types/Dashboard/DashboardLanguage.d.ts +1 -0
- package/Types/Dashboard/DashboardLanguage.js +7 -1
- package/Types/Dashboard/DashboardLanguage.mjs +1 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.d.mts +4 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.d.ts +4 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.js +42 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.mjs +4 -0
- package/Types/Dashboard/DashboardTemplates.js +34 -11
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +4 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +1 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +1 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +53 -0
- package/Types/DataSecurity/DataSecurityIdentity.d.mts +27 -0
- package/Types/DataSecurity/DataSecurityIdentity.d.ts +27 -0
- package/Types/DataSecurity/DataSecurityIdentity.js +160 -0
- package/Types/DataSecurity/DataSecurityIdentity.mjs +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.mts +9 -1
- package/Types/DataSecurity/DataSecurityResponseAction.d.ts +9 -1
- package/Types/DataSecurity/DataSecurityResponseAction.js +113 -26
- package/Types/DataSecurity/DataSecurityResponseAction.mjs +2 -0
- package/Types/DataSecurity/DataStoreAccess.d.mts +7 -0
- package/Types/DataSecurity/DataStoreAccess.d.ts +7 -0
- package/Types/DataSecurity/DataStoreAccess.js +23 -1
- package/Types/DataSecurity/DataStoreAccess.mjs +2 -0
- package/Types/Date.d.mts +30 -1
- package/Types/Date.d.ts +30 -1
- package/Types/Date.js +173 -5
- package/Types/Email/EmailMessage.d.mts +1 -0
- package/Types/Email/EmailMessage.d.ts +1 -0
- package/Types/Episode/EpisodeMembersAdd.d.mts +2 -0
- package/Types/Episode/EpisodeMembersAdd.d.ts +2 -0
- package/Types/Episode/EpisodeMembersAdd.js +9 -1
- package/Types/Episode/EpisodeMembersAdd.mjs +2 -0
- package/Types/File/FileContentCheck.d.mts +13 -0
- package/Types/File/FileContentCheck.d.ts +13 -0
- package/Types/File/FileContentCheck.js +301 -0
- package/Types/File/FileContentCheck.mjs +4 -0
- package/Types/File/FileSize.d.mts +3 -0
- package/Types/File/FileSize.d.ts +3 -0
- package/Types/File/FileSize.js +30 -0
- package/Types/File/FileSize.mjs +3 -0
- package/Types/File/FileTypeIcon.d.mts +4 -0
- package/Types/File/FileTypeIcon.d.ts +4 -0
- package/Types/File/FileTypeIcon.js +26 -0
- package/Types/File/FileTypeIcon.mjs +3 -0
- package/Types/File/MimeTypeLabel.d.mts +3 -0
- package/Types/File/MimeTypeLabel.d.ts +3 -0
- package/Types/File/MimeTypeLabel.js +39 -0
- package/Types/File/MimeTypeLabel.mjs +3 -0
- package/Types/Form/FormCustomDomain.d.mts +19 -0
- package/Types/Form/FormCustomDomain.d.ts +19 -0
- package/Types/Form/FormCustomDomain.js +86 -0
- package/Types/Form/FormCustomDomain.mjs +13 -0
- package/Types/Form/FormField.js +6 -0
- package/Types/Form/FormFileAnswer.d.mts +34 -0
- package/Types/Form/FormFileAnswer.d.ts +34 -0
- package/Types/Form/FormFileAnswer.js +203 -0
- package/Types/Form/FormFileAnswer.mjs +10 -0
- package/Types/Form/FormPublic.d.mts +16 -1
- package/Types/Form/FormPublic.d.ts +16 -1
- package/Types/Form/FormPublic.js +184 -2
- package/Types/Form/FormPublic.mjs +5 -0
- package/Types/Form/FormSubmissionAnswer.js +29 -0
- package/Types/InstallScripts/InstallScripts.d.mts +28 -0
- package/Types/InstallScripts/InstallScripts.d.ts +28 -0
- package/Types/InstallScripts/InstallScripts.js +225 -0
- package/Types/InstallScripts/InstallScripts.mjs +11 -0
- package/Types/Kubernetes/KubernetesClusterProvider.d.mts +10 -0
- package/Types/Kubernetes/KubernetesClusterProvider.d.ts +10 -0
- package/Types/Kubernetes/KubernetesClusterProvider.js +95 -0
- package/Types/Kubernetes/KubernetesClusterProvider.mjs +8 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +92 -0
- package/Types/Kubernetes/KubernetesHealth.d.ts +92 -0
- package/Types/Kubernetes/KubernetesHealth.js +1273 -0
- package/Types/Kubernetes/KubernetesHealth.mjs +32 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.d.mts +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.d.ts +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.js +30 -16
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +54 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +54 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +228 -38
- package/Types/Kubernetes/KubernetesObjectParser.mjs +6 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.d.mts +20 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.d.ts +20 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.js +124 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.mjs +5 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.mts +140 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.ts +140 -0
- package/Types/Kubernetes/OpenShiftObjectParser.js +436 -0
- package/Types/Kubernetes/OpenShiftObjectParser.mjs +22 -0
- package/Types/Metrics/MetricQueryConfigData.d.mts +2 -0
- package/Types/Metrics/MetricQueryConfigData.d.ts +2 -0
- package/Types/Metrics/MetricQueryFallback.d.mts +10 -0
- package/Types/Metrics/MetricQueryFallback.d.ts +10 -0
- package/Types/Metrics/MetricQueryFallback.js +2 -0
- package/Types/Metrics/MetricQueryFallback.mjs +1 -0
- package/Types/Monitor/CephAlertTemplates.d.mts +2 -2
- package/Types/Monitor/CephAlertTemplates.d.ts +2 -2
- package/Types/Monitor/CephAlertTemplates.js +17 -14
- package/Types/Monitor/CephMetricCatalog.d.mts +2 -0
- package/Types/Monitor/CephMetricCatalog.d.ts +2 -0
- package/Types/Monitor/CephMetricCatalog.js +72 -29
- package/Types/Monitor/CephMetricCatalog.mjs +2 -0
- package/Types/Monitor/CriteriaFilter.d.mts +17 -0
- package/Types/Monitor/CriteriaFilter.d.ts +17 -0
- package/Types/Monitor/CriteriaFilter.js +23 -1
- package/Types/Monitor/CriteriaFilter.mjs +3 -0
- package/Types/Monitor/DockerAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerAlertTemplates.js +63 -52
- package/Types/Monitor/DockerMetricCatalog.js +16 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.js +13 -2
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.mts +34 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.ts +34 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.js +170 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.mjs +12 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.mts +17 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.ts +17 -0
- package/Types/Monitor/HostMetricCatalog.d.mts +2 -0
- package/Types/Monitor/HostMetricCatalog.d.ts +2 -0
- package/Types/Monitor/HostMetricCatalog.js +20 -11
- package/Types/Monitor/IotAlertTemplates.d.mts +1 -0
- package/Types/Monitor/IotAlertTemplates.d.ts +1 -0
- package/Types/Monitor/IotAlertTemplates.js +11 -7
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +15 -12
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +15 -12
- package/Types/Monitor/KubernetesAlertTemplates.js +393 -73
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.js +119 -1
- package/Types/Monitor/LogMonitor/LogMonitorResponse.d.mts +1 -0
- package/Types/Monitor/LogMonitor/LogMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.mts +24 -1
- package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.ts +24 -1
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +1 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MonitorStepCephMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepCephMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepDockerMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepDockerMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.mts +10 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +10 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +3 -1
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.mjs +1 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.js +13 -2
- package/Types/Monitor/MonitorStepHostMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepHostMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepIoTMonitor.d.mts +9 -0
- package/Types/Monitor/MonitorStepIoTMonitor.d.ts +9 -0
- package/Types/Monitor/MonitorStepIoTMonitor.js +21 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.mts +11 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +11 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.js +15 -4
- package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +2 -0
- package/Types/Monitor/MonitorStepPodmanMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepPodmanMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepProxmoxMonitor.d.mts +5 -3
- package/Types/Monitor/MonitorStepProxmoxMonitor.d.ts +5 -3
- package/Types/Monitor/MonitorStepProxmoxMonitor.js +1 -1
- package/Types/Monitor/MonitorStepStorageArrayMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepStorageArrayMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepVMwareMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepVMwareMonitor.d.ts +1 -0
- package/Types/Monitor/OpenShiftAlertTemplates.d.mts +29 -0
- package/Types/Monitor/OpenShiftAlertTemplates.d.ts +29 -0
- package/Types/Monitor/OpenShiftAlertTemplates.js +220 -0
- package/Types/Monitor/OpenShiftAlertTemplates.mjs +9 -0
- package/Types/Monitor/PodmanAlertTemplates.d.mts +1 -10
- package/Types/Monitor/PodmanAlertTemplates.d.ts +1 -10
- package/Types/Monitor/PodmanAlertTemplates.js +40 -85
- package/Types/Monitor/PodmanAlertTemplates.mjs +0 -1
- package/Types/Monitor/PodmanMetricCatalog.js +16 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.mts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.ts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.js +190 -4
- package/Types/Monitor/ProxmoxAlertTemplates.mjs +1 -0
- package/Types/Monitor/ProxmoxMetricCatalog.js +43 -22
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.d.mts +24 -0
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.d.ts +24 -0
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.js +251 -0
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.mjs +12 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +71 -3
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +23 -7
- package/Types/Monitor/ServiceAlertTemplates.js +111 -3
- package/Types/Monitor/SnmpMonitor/NetworkTopology.d.mts +9 -0
- package/Types/Monitor/SnmpMonitor/NetworkTopology.d.ts +9 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.d.mts +5 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.d.ts +5 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.js +2 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.mjs +1 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.d.mts +27 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.d.ts +27 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.js +97 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.mjs +4 -0
- package/Types/Monitor/StorageArrayAlertTemplates.d.mts +1 -0
- package/Types/Monitor/StorageArrayAlertTemplates.d.ts +1 -0
- package/Types/Monitor/StorageArrayAlertTemplates.js +8 -1
- package/Types/Monitor/StorageArrayMetricCatalog.js +10 -1
- package/Types/Monitor/TelemetryAlertRule.d.mts +8 -1
- package/Types/Monitor/TelemetryAlertRule.d.ts +8 -1
- package/Types/Monitor/TelemetryAlertRule.js +62 -35
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.mts +1 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.ts +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.mts +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.ts +1 -0
- package/Types/Monitor/VMwareAlertTemplates.js +41 -19
- package/Types/NetFlow/NetworkTrafficUsage.d.mts +40 -1
- package/Types/NetFlow/NetworkTrafficUsage.d.ts +40 -1
- package/Types/NetFlow/NetworkTrafficUsage.js +58 -6
- package/Types/NetFlow/NetworkTrafficUsage.mjs +1 -0
- package/Types/NetworkController/NetworkControllerProvider.d.mts +1 -0
- package/Types/NetworkController/NetworkControllerProvider.d.ts +1 -0
- package/Types/NetworkController/NetworkControllerProvider.js +8 -0
- package/Types/NetworkController/NetworkControllerProvider.mjs +1 -0
- package/Types/NetworkController/NetworkControllerReadSummary.d.mts +3 -0
- package/Types/NetworkController/NetworkControllerReadSummary.d.ts +3 -0
- package/Types/NetworkController/NetworkControllerReadSummary.js +7 -1
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +49 -2
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +49 -2
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +252 -17
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +7 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +9 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +1 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +1 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +8 -0
- package/Types/Permission.d.mts +5 -0
- package/Types/Permission.d.ts +5 -0
- package/Types/Permission.js +59 -1
- package/Types/PrivateRecord/PrivateRecordHeld.d.mts +18 -0
- package/Types/PrivateRecord/PrivateRecordHeld.d.ts +18 -0
- package/Types/PrivateRecord/PrivateRecordHeld.js +101 -0
- package/Types/PrivateRecord/PrivateRecordHeld.mjs +2 -0
- package/Types/PrivateRecord/PrivateRecordParts.d.mts +14 -0
- package/Types/PrivateRecord/PrivateRecordParts.d.ts +14 -0
- package/Types/PrivateRecord/PrivateRecordParts.js +95 -0
- package/Types/PrivateRecord/PrivateRecordParts.mjs +4 -0
- package/Types/ReaderLanguage.d.mts +11 -0
- package/Types/ReaderLanguage.d.ts +11 -0
- package/Types/ReaderLanguage.js +173 -0
- package/Types/ReaderLanguage.mjs +12 -0
- package/Types/ReadingDirection.d.mts +4 -0
- package/Types/ReadingDirection.d.ts +4 -0
- package/Types/ReadingDirection.js +52 -1
- package/Types/ReadingDirection.mjs +4 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +3 -1
- package/Types/Rules/RuleCriteriaSubject.d.ts +3 -1
- package/Types/Rules/RuleCriteriaSubject.js +16 -1
- package/Types/Rules/RuleCriteriaSubject.mjs +1 -0
- package/Types/Rules/RuleRun.d.mts +5 -1
- package/Types/Rules/RuleRun.d.ts +5 -1
- package/Types/Rules/RuleRun.js +10 -2
- package/Types/Rum/SessionReplay.d.mts +1 -0
- package/Types/Rum/SessionReplay.d.ts +1 -0
- package/Types/Rum/SessionReplay.js +4 -2
- package/Types/Rum/SessionReplay.mjs +1 -0
- package/Types/Rum/UserFlow.d.mts +11 -0
- package/Types/Rum/UserFlow.d.ts +11 -0
- package/Types/Rum/UserFlow.js +27 -12
- package/Types/SecurityCase/SecurityCaseContext.d.mts +33 -1
- package/Types/SecurityCase/SecurityCaseContext.d.ts +33 -1
- package/Types/SecurityCase/SecurityCaseContext.js +6 -1
- package/Types/SecurityCase/SecurityCaseContext.mjs +2 -0
- package/Types/SecurityEvent/RealTimeDetection.d.mts +13 -0
- package/Types/SecurityEvent/RealTimeDetection.d.ts +13 -0
- package/Types/SecurityEvent/RealTimeDetection.js +60 -0
- package/Types/SecurityEvent/RealTimeDetection.mjs +8 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +7 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +7 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +80 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +15 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +15 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +112 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.mjs +5 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.mts +44 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.ts +44 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.js +188 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.mjs +9 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepResult.d.mts +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepResult.d.ts +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepResult.js +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.d.mts +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.d.ts +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.js +67 -16
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.mjs +2 -0
- package/Types/StatusPage/DefaultStatusNames.d.mts +4 -0
- package/Types/StatusPage/DefaultStatusNames.d.ts +4 -0
- package/Types/StatusPage/DefaultStatusNames.js +50 -0
- package/Types/StatusPage/DefaultStatusNames.mjs +4 -0
- package/Types/StatusPage/StateChangeNoteMessage.d.mts +18 -1
- package/Types/StatusPage/StateChangeNoteMessage.d.ts +18 -1
- package/Types/StatusPage/StateChangeNoteMessage.js +60 -9
- package/Types/StatusPage/StateChangeNoteMessage.mjs +1 -0
- package/Types/StatusPage/StatusPageLanguage.d.mts +2 -0
- package/Types/StatusPage/StatusPageLanguage.d.ts +2 -0
- package/Types/StatusPage/StatusPageLanguage.js +10 -1
- package/Types/StatusPage/StatusPageLanguage.mjs +2 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.d.mts +9 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.d.ts +9 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.js +55 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.mjs +4 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.d.mts +10 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.d.ts +10 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.js +114 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.mjs +6 -0
- package/Types/Telemetry/ExceptionListStats.d.mts +19 -0
- package/Types/Telemetry/ExceptionListStats.d.ts +19 -0
- package/Types/Telemetry/ExceptionListStats.js +122 -0
- package/Types/Telemetry/ExceptionListStats.mjs +9 -0
- package/Types/Telemetry/ExceptionSpanScope.d.mts +3 -0
- package/Types/Telemetry/ExceptionSpanScope.d.ts +3 -0
- package/Types/Telemetry/ExceptionSpanScope.js +39 -3
- package/Types/Telemetry/ExceptionSpanScope.mjs +2 -0
- package/Types/Telemetry/SimilarExceptions.d.mts +33 -0
- package/Types/Telemetry/SimilarExceptions.d.ts +33 -0
- package/Types/Telemetry/SimilarExceptions.js +109 -0
- package/Types/Telemetry/SimilarExceptions.mjs +10 -0
- package/Types/Telemetry/TelemetrySavedViewState.d.mts +4 -0
- package/Types/Telemetry/TelemetrySavedViewState.d.ts +4 -0
- package/Types/Telemetry/TraceSpanType.d.mts +1 -0
- package/Types/Telemetry/TraceSpanType.d.ts +1 -0
- package/Types/Telemetry/TraceSpanType.js +17 -3
- package/Types/Telemetry/TraceSpanType.mjs +1 -0
- package/Types/Theme/ThemePreference.js +2 -1
- package/Types/Translator.d.mts +77 -0
- package/Types/Translator.d.ts +77 -0
- package/Types/Translator.js +582 -0
- package/Types/Translator.mjs +18 -0
- package/Types/VideoCall/VideoCallProvider.js +6 -3
- package/Types/Workflow/ComponentID.d.mts +5 -0
- package/Types/Workflow/ComponentID.d.ts +5 -0
- package/Types/Workflow/ComponentID.js +12 -0
- package/Types/Workflow/Components/API.js +91 -0
- package/Types/Workflow/Components/ApiGetById.d.mts +16 -0
- package/Types/Workflow/Components/ApiGetById.d.ts +16 -0
- package/Types/Workflow/Components/ApiGetById.js +69 -0
- package/Types/Workflow/Components/ApiGetById.mjs +4 -0
- package/Types/Workflow/Components/FromAnotherTool.d.mts +94 -0
- package/Types/Workflow/Components/FromAnotherTool.d.ts +94 -0
- package/Types/Workflow/Components/FromAnotherTool.js +541 -0
- package/Types/Workflow/Components/FromAnotherTool.mjs +23 -0
- package/Types/Workflow/Components/JavaScriptCheck.d.mts +16 -0
- package/Types/Workflow/Components/JavaScriptCheck.d.ts +16 -0
- package/Types/Workflow/Components/JavaScriptCheck.js +145 -0
- package/Types/Workflow/Components/JavaScriptCheck.mjs +5 -0
- package/Types/Workflow/Components/Zabbix.d.mts +62 -0
- package/Types/Workflow/Components/Zabbix.d.ts +62 -0
- package/Types/Workflow/Components/Zabbix.js +343 -0
- package/Types/Workflow/Components/Zabbix.mjs +17 -0
- package/Types/Workflow/Components.js +21 -0
- package/Types/Workflow/Documentation/APIDocumentation.d.mts +1 -0
- package/Types/Workflow/Documentation/APIDocumentation.d.ts +1 -0
- package/Types/Workflow/Documentation/APIDocumentation.js +48 -1
- package/Types/Workflow/Documentation/APIDocumentation.mjs +1 -0
- package/Types/Workflow/Documentation/DocumentationContext.js +2 -0
- package/Types/Workflow/Documentation/DocumentationLinks.d.mts +3 -0
- package/Types/Workflow/Documentation/DocumentationLinks.d.ts +3 -0
- package/Types/Workflow/Documentation/DocumentationLinks.js +3 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.d.mts +5 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.d.ts +5 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.js +89 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.mjs +3 -0
- package/Types/Workflow/Documentation/Index.js +7 -0
- package/Types/Workflow/Documentation/UtilityDocumentation.d.mts +1 -0
- package/Types/Workflow/Documentation/UtilityDocumentation.d.ts +1 -0
- package/Types/Workflow/Documentation/UtilityDocumentation.js +40 -1
- package/Types/Workflow/Documentation/UtilityDocumentation.mjs +1 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.d.mts +4 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.d.ts +4 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.js +67 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.mjs +2 -0
- package/Types/Workflow/TemplateLayout.d.mts +44 -0
- package/Types/Workflow/TemplateLayout.d.ts +44 -0
- package/Types/Workflow/TemplateLayout.js +125 -0
- package/Types/Workflow/TemplateLayout.mjs +7 -0
- package/Types/Workflow/Templates.d.mts +42 -12
- package/Types/Workflow/Templates.d.ts +42 -12
- package/Types/Workflow/Templates.js +2046 -6220
- package/Types/Workflow/Templates.mjs +1 -0
- package/Types/Workflow/UnhandledStepFailure.d.mts +15 -0
- package/Types/Workflow/UnhandledStepFailure.d.ts +15 -0
- package/Types/Workflow/UnhandledStepFailure.js +68 -0
- package/Types/Workflow/UnhandledStepFailure.mjs +5 -0
- package/Types/Workspace/MicrosoftTeamsCloud.d.mts +26 -0
- package/Types/Workspace/MicrosoftTeamsCloud.d.ts +26 -0
- package/Types/Workspace/MicrosoftTeamsCloud.js +214 -0
- package/Types/Workspace/MicrosoftTeamsCloud.mjs +4 -0
- package/Types/Workspace/WorkspaceChannelLink.d.mts +1 -0
- package/Types/Workspace/WorkspaceChannelLink.d.ts +1 -0
- package/Types/Workspace/WorkspaceChannelLink.js +45 -6
- package/UI/Utils/TranslateTemplate.d.mts +3 -68
- package/UI/Utils/TranslateTemplate.d.ts +3 -68
- package/Utils/AI/InvestigationReport.d.mts +9 -0
- package/Utils/AI/InvestigationReport.d.ts +9 -0
- package/Utils/AI/InvestigationReport.js +122 -10
- package/Utils/AI/InvestigationReport.mjs +3 -0
- package/Utils/AiRemediation/CloudChangeWords.d.mts +32 -0
- package/Utils/AiRemediation/CloudChangeWords.d.ts +32 -0
- package/Utils/AiRemediation/CloudChangeWords.js +242 -0
- package/Utils/AiRemediation/CloudChangeWords.mjs +8 -0
- package/Utils/AiRemediation/RemediationChangeKey.d.mts +2 -0
- package/Utils/AiRemediation/RemediationChangeKey.d.ts +2 -0
- package/Utils/AiRemediation/RemediationChangeKey.js +132 -0
- package/Utils/AiRemediation/RemediationChangeKey.mjs +2 -0
- package/Utils/Dashboard/DashboardBoardLayout.d.mts +46 -0
- package/Utils/Dashboard/DashboardBoardLayout.d.ts +46 -0
- package/Utils/Dashboard/DashboardBoardLayout.js +238 -0
- package/Utils/Dashboard/DashboardBoardLayout.mjs +11 -0
- package/Utils/Dashboard/ValueWidgetLayout.js +9 -1
- package/Utils/Dashboard/VariableInterpolation.d.mts +1 -0
- package/Utils/Dashboard/VariableInterpolation.d.ts +1 -0
- package/Utils/Dashboard/VariableInterpolation.js +19 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/UnplacedFields.d.mts +35 -0
- package/Utils/DataSecurity/UnplacedFields.d.ts +35 -0
- package/Utils/DataSecurity/UnplacedFields.js +407 -0
- package/Utils/DataSecurity/UnplacedFields.mjs +19 -0
- package/Utils/Exceptions/ExceptionActivity.d.mts +22 -0
- package/Utils/Exceptions/ExceptionActivity.d.ts +22 -0
- package/Utils/Exceptions/ExceptionActivity.js +141 -0
- package/Utils/Exceptions/ExceptionActivity.mjs +6 -0
- package/Utils/Exceptions/ExceptionUserId.d.mts +8 -0
- package/Utils/Exceptions/ExceptionUserId.d.ts +8 -0
- package/Utils/Exceptions/ExceptionUserId.js +79 -0
- package/Utils/Exceptions/ExceptionUserId.mjs +6 -0
- package/Utils/Inventory/InventoryAssetDetails.d.mts +7 -0
- package/Utils/Inventory/InventoryAssetDetails.d.ts +7 -0
- package/Utils/Inventory/InventoryAssetDetails.js +70 -1
- package/Utils/Inventory/InventoryAssetDetails.mjs +1 -0
- package/Utils/Metrics/MetricQueryFallback.d.mts +24 -0
- package/Utils/Metrics/MetricQueryFallback.d.ts +24 -0
- package/Utils/Metrics/MetricQueryFallback.js +208 -0
- package/Utils/Metrics/MetricQueryFallback.mjs +2 -0
- package/Utils/Monitor/EndpointAttachmentUtil.d.mts +15 -2
- package/Utils/Monitor/EndpointAttachmentUtil.d.ts +15 -2
- package/Utils/Monitor/EndpointAttachmentUtil.js +83 -1
- package/Utils/Monitor/EndpointAttachmentUtil.mjs +1 -0
- package/Utils/Monitor/NeighborIdentityUtil.d.mts +15 -0
- package/Utils/Monitor/NeighborIdentityUtil.d.ts +15 -0
- package/Utils/Monitor/NeighborIdentityUtil.js +58 -0
- package/Utils/Monitor/NeighborIdentityUtil.mjs +3 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.mts +13 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.ts +13 -0
- package/Utils/Monitor/NetworkTopologyUtil.js +293 -70
- package/Utils/NetworkDevice/DeviceOwnMacUtil.d.mts +20 -0
- package/Utils/NetworkDevice/DeviceOwnMacUtil.d.ts +20 -0
- package/Utils/NetworkDevice/DeviceOwnMacUtil.js +81 -0
- package/Utils/NetworkDevice/DeviceOwnMacUtil.mjs +4 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.d.mts +20 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.d.ts +20 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.js +139 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.mjs +4 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +1 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +1 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +64 -6
- package/Utils/NetworkDevice/SystemDescriptionUtil.d.mts +10 -0
- package/Utils/NetworkDevice/SystemDescriptionUtil.d.ts +10 -0
- package/Utils/NetworkDevice/SystemDescriptionUtil.js +69 -5
- package/Utils/NetworkDevice/SystemDescriptionUtil.mjs +2 -0
- package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.js +19 -6
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.d.mts +1 -1
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.d.ts +1 -1
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.js +18 -1
- package/Utils/Proxmox/ProxmoxNotifications.d.mts +62 -0
- package/Utils/Proxmox/ProxmoxNotifications.d.ts +62 -0
- package/Utils/Proxmox/ProxmoxNotifications.js +458 -0
- package/Utils/Proxmox/ProxmoxNotifications.mjs +20 -0
- package/Utils/Rules/RuleRunSummary.d.mts +6 -3
- package/Utils/Rules/RuleRunSummary.d.ts +6 -3
- package/Utils/Rules/RuleRunSummary.js +11 -7
- package/Utils/Rum/UserFlow.d.mts +20 -0
- package/Utils/Rum/UserFlow.d.ts +20 -0
- package/Utils/Rum/UserFlow.js +41 -3
- package/Utils/Rum/UserFlow.mjs +1 -0
- package/Utils/Schema/MonitorSchemas.js +2 -0
- package/Utils/Sms/Gsm7Text.d.mts +3 -0
- package/Utils/Sms/Gsm7Text.d.ts +3 -0
- package/Utils/Sms/Gsm7Text.js +109 -8
- package/Utils/Sms/Gsm7Text.mjs +3 -0
- package/Utils/Sms/SubscriberSms.js +9 -1
- package/Utils/Telemetry/ChangeEventFields.d.mts +11 -0
- package/Utils/Telemetry/ChangeEventFields.d.ts +11 -0
- package/Utils/Telemetry/ChangeEventFields.js +33 -3
- package/Utils/Telemetry/CloudAppRevisionName.d.mts +4 -0
- package/Utils/Telemetry/CloudAppRevisionName.d.ts +4 -0
- package/Utils/Telemetry/CloudAppRevisionName.js +27 -0
- package/Utils/Telemetry/CloudAppRevisionName.mjs +2 -0
- package/Utils/Telemetry/CloudInstanceIdentity.d.mts +1 -0
- package/Utils/Telemetry/CloudInstanceIdentity.d.ts +1 -0
- package/Utils/Telemetry/CloudInstanceIdentity.js +10 -0
- package/Utils/Telemetry/CloudInstanceIdentity.mjs +1 -0
- package/package.json +1 -1
|
@@ -62,6 +62,18 @@ var FaasCloudPlatform;
|
|
|
62
62
|
FaasCloudPlatform["TencentCloudScf"] = "tencent_cloud_scf";
|
|
63
63
|
FaasCloudPlatform["AlibabaCloudFc"] = "alibaba_cloud_fc";
|
|
64
64
|
})(FaasCloudPlatform || (exports.FaasCloudPlatform = FaasCloudPlatform = {}));
|
|
65
|
+
/*
|
|
66
|
+
* The attributes most platforms name their apps and revisions by, when the
|
|
67
|
+
* platform has no name of its own: OpenTelemetry's service.name and
|
|
68
|
+
* service.version, and the image tag a container was started from.
|
|
69
|
+
*/
|
|
70
|
+
const SERVICE_NAME_ATTRIBUTE = "service.name";
|
|
71
|
+
const SERVICE_VERSION_ATTRIBUTE = "service.version";
|
|
72
|
+
const IMAGE_TAG_ATTRIBUTE = "container.image.tag";
|
|
73
|
+
const DEPLOYMENT_ENVIRONMENT_ATTRIBUTES = [
|
|
74
|
+
"deployment.environment.name",
|
|
75
|
+
"deployment.environment",
|
|
76
|
+
];
|
|
65
77
|
exports.MANAGED_CLOUD_PLATFORMS = [
|
|
66
78
|
{
|
|
67
79
|
platform: ManagedCloudPlatform.AwsEcs,
|
|
@@ -72,6 +84,14 @@ exports.MANAGED_CLOUD_PLATFORMS = [
|
|
|
72
84
|
docsUrl: "/docs/telemetry/cloud-aws-ecs",
|
|
73
85
|
detection: "detector",
|
|
74
86
|
instanceAttribute: "aws.ecs.task.arn",
|
|
87
|
+
appAttributes: ["aws.ecs.task.family", SERVICE_NAME_ATTRIBUTE],
|
|
88
|
+
// A family can run in two clusters of one account: staging and production.
|
|
89
|
+
appGroupAttributes: ["aws.ecs.cluster.arn"],
|
|
90
|
+
revisionAttributes: [
|
|
91
|
+
"aws.ecs.task.revision",
|
|
92
|
+
SERVICE_VERSION_ATTRIBUTE,
|
|
93
|
+
IMAGE_TAG_ATTRIBUTE,
|
|
94
|
+
],
|
|
75
95
|
},
|
|
76
96
|
{
|
|
77
97
|
platform: ManagedCloudPlatform.AwsElasticBeanstalk,
|
|
@@ -82,6 +102,11 @@ exports.MANAGED_CLOUD_PLATFORMS = [
|
|
|
82
102
|
docsUrl: "/docs/telemetry/cloud-other-platforms",
|
|
83
103
|
detection: "detector",
|
|
84
104
|
instanceAttribute: "host.id",
|
|
105
|
+
appAttributes: [SERVICE_NAME_ATTRIBUTE],
|
|
106
|
+
// The Elastic Beanstalk detector names the environment here.
|
|
107
|
+
appGroupAttributes: DEPLOYMENT_ENVIRONMENT_ATTRIBUTES,
|
|
108
|
+
// The detector sets it to the application version label.
|
|
109
|
+
revisionAttributes: [SERVICE_VERSION_ATTRIBUTE],
|
|
85
110
|
},
|
|
86
111
|
{
|
|
87
112
|
platform: ManagedCloudPlatform.AwsAppRunner,
|
|
@@ -92,6 +117,9 @@ exports.MANAGED_CLOUD_PLATFORMS = [
|
|
|
92
117
|
docsUrl: "/docs/telemetry/cloud-other-platforms",
|
|
93
118
|
detection: "manual",
|
|
94
119
|
instanceAttribute: "host.name",
|
|
120
|
+
appAttributes: [SERVICE_NAME_ATTRIBUTE],
|
|
121
|
+
appGroupAttributes: [],
|
|
122
|
+
revisionAttributes: [SERVICE_VERSION_ATTRIBUTE, IMAGE_TAG_ATTRIBUTE],
|
|
95
123
|
},
|
|
96
124
|
{
|
|
97
125
|
platform: ManagedCloudPlatform.GcpCloudRun,
|
|
@@ -102,6 +130,10 @@ exports.MANAGED_CLOUD_PLATFORMS = [
|
|
|
102
130
|
docsUrl: "/docs/telemetry/cloud-gcp-cloud-run",
|
|
103
131
|
detection: "detector",
|
|
104
132
|
instanceAttribute: "faas.instance",
|
|
133
|
+
// K_SERVICE and K_REVISION, as the Google Cloud detector reads them.
|
|
134
|
+
appAttributes: ["faas.name", SERVICE_NAME_ATTRIBUTE],
|
|
135
|
+
appGroupAttributes: [],
|
|
136
|
+
revisionAttributes: ["faas.version", SERVICE_VERSION_ATTRIBUTE],
|
|
105
137
|
},
|
|
106
138
|
{
|
|
107
139
|
platform: ManagedCloudPlatform.GcpAppEngine,
|
|
@@ -112,6 +144,10 @@ exports.MANAGED_CLOUD_PLATFORMS = [
|
|
|
112
144
|
docsUrl: "/docs/telemetry/cloud-other-platforms",
|
|
113
145
|
detection: "detector",
|
|
114
146
|
instanceAttribute: "faas.instance",
|
|
147
|
+
// GAE_SERVICE and GAE_VERSION, as the Google Cloud detector reads them.
|
|
148
|
+
appAttributes: ["faas.name", SERVICE_NAME_ATTRIBUTE],
|
|
149
|
+
appGroupAttributes: [],
|
|
150
|
+
revisionAttributes: ["faas.version", SERVICE_VERSION_ATTRIBUTE],
|
|
115
151
|
},
|
|
116
152
|
{
|
|
117
153
|
platform: ManagedCloudPlatform.AzureContainerApps,
|
|
@@ -128,6 +164,13 @@ exports.MANAGED_CLOUD_PLATFORMS = [
|
|
|
128
164
|
*/
|
|
129
165
|
detection: "detector",
|
|
130
166
|
instanceAttribute: "azure.container_app.instance.id",
|
|
167
|
+
/*
|
|
168
|
+
* The Azure detectors set service.name to CONTAINER_APP_NAME and
|
|
169
|
+
* service.version to CONTAINER_APP_REVISION.
|
|
170
|
+
*/
|
|
171
|
+
appAttributes: [SERVICE_NAME_ATTRIBUTE],
|
|
172
|
+
appGroupAttributes: [],
|
|
173
|
+
revisionAttributes: [SERVICE_VERSION_ATTRIBUTE, IMAGE_TAG_ATTRIBUTE],
|
|
131
174
|
},
|
|
132
175
|
{
|
|
133
176
|
platform: ManagedCloudPlatform.AzureContainerInstances,
|
|
@@ -138,6 +181,9 @@ exports.MANAGED_CLOUD_PLATFORMS = [
|
|
|
138
181
|
docsUrl: "/docs/telemetry/cloud-other-platforms",
|
|
139
182
|
detection: "manual",
|
|
140
183
|
instanceAttribute: "host.name",
|
|
184
|
+
appAttributes: [SERVICE_NAME_ATTRIBUTE],
|
|
185
|
+
appGroupAttributes: [],
|
|
186
|
+
revisionAttributes: [SERVICE_VERSION_ATTRIBUTE, IMAGE_TAG_ATTRIBUTE],
|
|
141
187
|
},
|
|
142
188
|
{
|
|
143
189
|
platform: ManagedCloudPlatform.AzureAppService,
|
|
@@ -148,6 +194,10 @@ exports.MANAGED_CLOUD_PLATFORMS = [
|
|
|
148
194
|
docsUrl: "/docs/telemetry/cloud-other-platforms",
|
|
149
195
|
detection: "detector",
|
|
150
196
|
instanceAttribute: "host.id",
|
|
197
|
+
// The App Service detector names the site and its deployment slot.
|
|
198
|
+
appAttributes: [SERVICE_NAME_ATTRIBUTE],
|
|
199
|
+
appGroupAttributes: DEPLOYMENT_ENVIRONMENT_ATTRIBUTES,
|
|
200
|
+
revisionAttributes: [SERVICE_VERSION_ATTRIBUTE],
|
|
151
201
|
},
|
|
152
202
|
];
|
|
153
203
|
const DESCRIPTORS_BY_PLATFORM = new Map(exports.MANAGED_CLOUD_PLATFORMS.map((descriptor) => {
|
|
@@ -4,3 +4,14 @@ export declare enum CloudResourceKind {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const CLOUD_RESOURCE_KIND_LABELS: Readonly<Record<CloudResourceKind, string>>;
|
|
6
6
|
export declare function isCloudResourceKindResource(kind: string | null | undefined): boolean;
|
|
7
|
+
export declare function isCloudResourceKind(value: unknown): value is CloudResourceKind;
|
|
8
|
+
export declare function doesCloudRuleApplyToKind(data: {
|
|
9
|
+
ruleKind: string | null | undefined;
|
|
10
|
+
rowKind: string | null | undefined;
|
|
11
|
+
}): boolean;
|
|
12
|
+
export declare function getCloudResourceDashboardPath(data: {
|
|
13
|
+
cloudResourceId: string;
|
|
14
|
+
cloudResourceKind?: string | null | undefined;
|
|
15
|
+
}): string;
|
|
16
|
+
export declare function getCloudResourceKindNoun(kind: string | null | undefined): string;
|
|
17
|
+
export declare function assertCloudRuleKind(value: unknown): void;
|
|
@@ -4,3 +4,14 @@ export declare enum CloudResourceKind {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const CLOUD_RESOURCE_KIND_LABELS: Readonly<Record<CloudResourceKind, string>>;
|
|
6
6
|
export declare function isCloudResourceKindResource(kind: string | null | undefined): boolean;
|
|
7
|
+
export declare function isCloudResourceKind(value: unknown): value is CloudResourceKind;
|
|
8
|
+
export declare function doesCloudRuleApplyToKind(data: {
|
|
9
|
+
ruleKind: string | null | undefined;
|
|
10
|
+
rowKind: string | null | undefined;
|
|
11
|
+
}): boolean;
|
|
12
|
+
export declare function getCloudResourceDashboardPath(data: {
|
|
13
|
+
cloudResourceId: string;
|
|
14
|
+
cloudResourceKind?: string | null | undefined;
|
|
15
|
+
}): string;
|
|
16
|
+
export declare function getCloudResourceKindNoun(kind: string | null | undefined): string;
|
|
17
|
+
export declare function assertCloudRuleKind(value: unknown): void;
|
|
@@ -1,26 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.CLOUD_RESOURCE_KIND_LABELS = exports.CloudResourceKind = void 0;
|
|
4
7
|
exports.isCloudResourceKindResource = isCloudResourceKindResource;
|
|
8
|
+
exports.isCloudResourceKind = isCloudResourceKind;
|
|
9
|
+
exports.doesCloudRuleApplyToKind = doesCloudRuleApplyToKind;
|
|
10
|
+
exports.getCloudResourceDashboardPath = getCloudResourceDashboardPath;
|
|
11
|
+
exports.getCloudResourceKindNoun = getCloudResourceKindNoun;
|
|
12
|
+
exports.assertCloudRuleKind = assertCloudRuleKind;
|
|
13
|
+
const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
|
|
5
14
|
/*
|
|
6
|
-
* The two kinds of row the CloudResource table holds -
|
|
7
|
-
* two
|
|
15
|
+
* The two kinds of row the CloudResource table holds - and since Cloud and
|
|
16
|
+
* App Platforms became two products, which product each kind is in.
|
|
8
17
|
*
|
|
9
|
-
* - An ENVIRONMENT is where managed containers run: one per
|
|
18
|
+
* - An ENVIRONMENT is where managed containers and apps run: one per
|
|
10
19
|
* cloud.platform + cloud.account.id + cloud.region, created by ingest
|
|
11
20
|
* from the resource attributes an OpenTelemetry resource detector
|
|
12
21
|
* stamps on a workload's own telemetry (ECS, Cloud Run, Container Apps,
|
|
13
|
-
* ...). See CloudPlatform.
|
|
22
|
+
* ...). See CloudPlatform. Environments are App Platforms'.
|
|
14
23
|
* - A RESOURCE is one IaaS or PaaS resource a cloud provider runs for
|
|
15
24
|
* you - a virtual machine, a load balancer, a bucket, a database, a
|
|
16
25
|
* queue - created by ingest from the metrics the provider's monitoring
|
|
17
26
|
* API publishes about it (Azure Monitor, CloudWatch, Cloud Monitoring),
|
|
18
|
-
* read by an OpenTelemetry Collector. See
|
|
27
|
+
* read by an OpenTelemetry Collector or by a cloud connection. See
|
|
28
|
+
* CloudMonitoredResource. Resources are Cloud's.
|
|
19
29
|
*
|
|
20
|
-
* Both share the
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
30
|
+
* Both share the table's owners, labels, feed, archive and permissions.
|
|
31
|
+
* They differ in identity (an environment key, a provider resource id), in
|
|
32
|
+
* what their telemetry is (every signal a workload sends, the provider's
|
|
33
|
+
* metrics about one resource) and so in their pages, each in its own
|
|
34
|
+
* product (Dashboard Utils/CloudResourceViewPages). Owner and label rules
|
|
35
|
+
* name the kind they are for (doesCloudRuleApplyToKind).
|
|
24
36
|
*
|
|
25
37
|
* Rows written before resources existed are environments: the column
|
|
26
38
|
* defaults to it, and a person can only ever create an environment.
|
|
@@ -42,3 +54,60 @@ exports.CLOUD_RESOURCE_KIND_LABELS = {
|
|
|
42
54
|
function isCloudResourceKindResource(kind) {
|
|
43
55
|
return kind === CloudResourceKind.Resource;
|
|
44
56
|
}
|
|
57
|
+
// Whether a value is one of the two kinds, spelled exactly as stored.
|
|
58
|
+
function isCloudResourceKind(value) {
|
|
59
|
+
return (value === CloudResourceKind.Environment ||
|
|
60
|
+
value === CloudResourceKind.Resource);
|
|
61
|
+
}
|
|
62
|
+
/*
|
|
63
|
+
* Whether a cloud owner or label rule is for a row. A rule names the kind
|
|
64
|
+
* it is for - the product it was written in: App Platforms' rules are for
|
|
65
|
+
* environments, Cloud's for resources. A rule written before the two
|
|
66
|
+
* products split names neither, and keeps matching every row, as it always
|
|
67
|
+
* did. A row is read as isCloudResourceKindResource reads it.
|
|
68
|
+
*/
|
|
69
|
+
function doesCloudRuleApplyToKind(data) {
|
|
70
|
+
if (!data.ruleKind) {
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
const rowKind = isCloudResourceKindResource(data.rowKind)
|
|
74
|
+
? CloudResourceKind.Resource
|
|
75
|
+
: CloudResourceKind.Environment;
|
|
76
|
+
return data.ruleKind === rowKind;
|
|
77
|
+
}
|
|
78
|
+
/*
|
|
79
|
+
* Where a row's page is in the Dashboard, after its project id: an
|
|
80
|
+
* environment's in App Platforms (app-platforms/:id), a resource's in Cloud
|
|
81
|
+
* (cloud/:id). A link whose writer cannot tell - a notification that names
|
|
82
|
+
* the rows an incident is linked to, without reading their kind - goes to
|
|
83
|
+
* Cloud's page, which forwards an environment to App Platforms, as it does
|
|
84
|
+
* every link written before the two products split.
|
|
85
|
+
*/
|
|
86
|
+
function getCloudResourceDashboardPath(data) {
|
|
87
|
+
if (data.cloudResourceKind !== undefined &&
|
|
88
|
+
!isCloudResourceKindResource(data.cloudResourceKind)) {
|
|
89
|
+
return `app-platforms/${data.cloudResourceId}`;
|
|
90
|
+
}
|
|
91
|
+
return `cloud/${data.cloudResourceId}`;
|
|
92
|
+
}
|
|
93
|
+
// What a feed entry calls a row: "Cloud Environment" or "Cloud Resource".
|
|
94
|
+
function getCloudResourceKindNoun(kind) {
|
|
95
|
+
return isCloudResourceKindResource(kind)
|
|
96
|
+
? "Cloud Resource"
|
|
97
|
+
: "Cloud Environment";
|
|
98
|
+
}
|
|
99
|
+
/*
|
|
100
|
+
* The kind an owner or label rule may be written for: one of the two, or
|
|
101
|
+
* none (a rule for both). Anything else would be a rule that matches no
|
|
102
|
+
* row and that neither product's rules page lists, so the rule services
|
|
103
|
+
* refuse it (CloudResourceOwnerRuleService, CloudResourceLabelRuleService),
|
|
104
|
+
* whoever writes it: the Dashboard, the API, Terraform or a workflow.
|
|
105
|
+
*/
|
|
106
|
+
function assertCloudRuleKind(value) {
|
|
107
|
+
if (value === undefined || value === null || value === "") {
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
if (!isCloudResourceKind(value)) {
|
|
111
|
+
throw new BadDataException_1.default(`A cloud rule applies to "${CloudResourceKind.Environment}" (App Platforms' environments), "${CloudResourceKind.Resource}" (Cloud's resources) or, left empty, both.`);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import commonJsModule from "./CloudResourceKind.js";
|
|
2
2
|
export const CLOUD_RESOURCE_KIND_LABELS = commonJsModule.CLOUD_RESOURCE_KIND_LABELS;
|
|
3
3
|
export const CloudResourceKind = commonJsModule.CloudResourceKind;
|
|
4
|
+
export const assertCloudRuleKind = commonJsModule.assertCloudRuleKind;
|
|
5
|
+
export const doesCloudRuleApplyToKind = commonJsModule.doesCloudRuleApplyToKind;
|
|
6
|
+
export const getCloudResourceDashboardPath = commonJsModule.getCloudResourceDashboardPath;
|
|
7
|
+
export const getCloudResourceKindNoun = commonJsModule.getCloudResourceKindNoun;
|
|
8
|
+
export const isCloudResourceKind = commonJsModule.isCloudResourceKind;
|
|
4
9
|
export const isCloudResourceKindResource = commonJsModule.isCloudResourceKindResource;
|
|
@@ -119,12 +119,14 @@ function dataSecurityField() {
|
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
/*
|
|
122
|
-
* The setting that records whether the connection may also
|
|
123
|
-
* store
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
122
|
+
* The setting that records whether the connection may also fix a data
|
|
123
|
+
* store, as its setup command granted it: a person on the store's issue,
|
|
124
|
+
* or a Security Operations playbook, blocks a store's public access and
|
|
125
|
+
* revokes its sharing, and a person on the issue turns on a setting that
|
|
126
|
+
* protects it - versioning, soft delete, secure transfer...
|
|
127
|
+
* (DataSecurityResponse). The only writes a connection is ever given,
|
|
128
|
+
* granted on their own and off until someone picks "block", the value it
|
|
129
|
+
* has kept since it did the first two alone.
|
|
128
130
|
*/
|
|
129
131
|
exports.DATA_SECURITY_RESPONSE_FIELD_KEY = "dataSecurityResponse";
|
|
130
132
|
exports.CLOUD_CONNECTION_DATA_SECURITY_RESPONSES = ["off", "block"];
|
|
@@ -136,12 +138,12 @@ function dataSecurityResponseField() {
|
|
|
136
138
|
return {
|
|
137
139
|
key: exports.DATA_SECURITY_RESPONSE_FIELD_KEY,
|
|
138
140
|
title: "Data security response",
|
|
139
|
-
description: "Lets Data Security
|
|
141
|
+
description: "Lets Data Security fix a data store through this connection: block its public access and revoke its sharing, from its issue or in a playbook, and turn on a setting that protects it, such as versioning or secure transfer, from its issue. Each change is approved by a person unless a playbook says otherwise. The command changes with it.",
|
|
140
142
|
type: "dropdown",
|
|
141
143
|
required: false,
|
|
142
144
|
options: [
|
|
143
145
|
{ label: "Off", value: "off" },
|
|
144
|
-
{ label: "
|
|
146
|
+
{ label: "Close exposures and fix settings", value: "block" },
|
|
145
147
|
],
|
|
146
148
|
defaultValue: "off",
|
|
147
149
|
isAdvanced: true,
|
|
@@ -270,8 +270,10 @@ exports.GCP_SERVICES = [
|
|
|
270
270
|
exports.AWS_DATA_SECURITY_POLICY_NAME = "OneUptimeDataSecurity";
|
|
271
271
|
/*
|
|
272
272
|
* Every AWS action the data security reader calls (AwsDataSecurityReader),
|
|
273
|
-
* by what it is for. Each reads a setting; none reads data or writes
|
|
274
|
-
*
|
|
273
|
+
* by what it is for. Each reads a setting; none reads data or writes - the
|
|
274
|
+
* credential report IAM makes on request holds dates and flags, never a
|
|
275
|
+
* secret. A few are in the read-only policy too: this one stands on its
|
|
276
|
+
* own.
|
|
275
277
|
* organizations:ListAccounts, which an organization's read also calls,
|
|
276
278
|
* stays in the management account's role alone.
|
|
277
279
|
*/
|
|
@@ -323,6 +325,14 @@ exports.AWS_DATA_SECURITY_CONFIGURATION_ACTION_GROUPS = [
|
|
|
323
325
|
purpose: "Tell AWS's own keys (alias/aws/...) from the keys you manage",
|
|
324
326
|
actions: ["kms:ListAliases"],
|
|
325
327
|
},
|
|
328
|
+
{
|
|
329
|
+
purpose: "Read which users and roles reach each bucket and table through their own IAM policies, who may assume each role, and when each was last used",
|
|
330
|
+
actions: [
|
|
331
|
+
"iam:GetAccountAuthorizationDetails",
|
|
332
|
+
"iam:GenerateCredentialReport",
|
|
333
|
+
"iam:GetCredentialReport",
|
|
334
|
+
],
|
|
335
|
+
},
|
|
326
336
|
];
|
|
327
337
|
exports.AWS_DATA_SECURITY_CONFIGURATION_ACTIONS = exports.AWS_DATA_SECURITY_CONFIGURATION_ACTION_GROUPS.flatMap((group) => {
|
|
328
338
|
return group.actions;
|
|
@@ -407,29 +417,41 @@ function getAwsDataSecurityPolicyDocument(level) {
|
|
|
407
417
|
* Nothing it grants deletes, reads data, or changes who may sign in.
|
|
408
418
|
*
|
|
409
419
|
* AWS: a third inline policy, OneUptimeDataSecurityResponse: read and
|
|
410
|
-
* turn on a bucket's Block Public Access,
|
|
411
|
-
* manual snapshot is
|
|
420
|
+
* turn on a bucket's Block Public Access, versioning and Bucket owner
|
|
421
|
+
* enforced ownership; read and narrow whom an RDS manual snapshot is
|
|
422
|
+
* shared with; read and turn on a DynamoDB table's point-in-time
|
|
423
|
+
* recovery.
|
|
412
424
|
* Azure: a custom role, OneUptime Data Security Response, that reads and
|
|
413
|
-
* updates storage accounts' settings (public blob access,
|
|
414
|
-
*
|
|
425
|
+
* updates storage accounts' settings (public blob access, secure
|
|
426
|
+
* transfer) and their blob services' (soft delete) on the same scope -
|
|
427
|
+
* never their keys.
|
|
415
428
|
* Google Cloud: a custom role, oneuptimeDataSecurityResponse, that reads
|
|
416
|
-
* and updates buckets' settings (public access prevention
|
|
417
|
-
* project or organization the command
|
|
429
|
+
* and updates buckets' settings (public access prevention, uniform
|
|
430
|
+
* access, versioning), on the project or organization the command
|
|
431
|
+
* targets.
|
|
418
432
|
*/
|
|
419
433
|
exports.AWS_DATA_SECURITY_RESPONSE_POLICY_NAME = "OneUptimeDataSecurityResponse";
|
|
420
434
|
exports.AWS_DATA_SECURITY_RESPONSE_ACTIONS = [
|
|
421
435
|
"s3:GetBucketPublicAccessBlock",
|
|
422
436
|
"s3:PutBucketPublicAccessBlock",
|
|
437
|
+
"s3:GetBucketVersioning",
|
|
438
|
+
"s3:PutBucketVersioning",
|
|
439
|
+
"s3:GetBucketOwnershipControls",
|
|
440
|
+
"s3:PutBucketOwnershipControls",
|
|
423
441
|
"rds:DescribeDBSnapshotAttributes",
|
|
424
442
|
"rds:DescribeDBClusterSnapshotAttributes",
|
|
425
443
|
"rds:ModifyDBSnapshotAttribute",
|
|
426
444
|
"rds:ModifyDBClusterSnapshotAttribute",
|
|
445
|
+
"dynamodb:DescribeContinuousBackups",
|
|
446
|
+
"dynamodb:UpdateContinuousBackups",
|
|
427
447
|
];
|
|
428
448
|
exports.AZURE_DATA_SECURITY_RESPONSE_ROLE = "OneUptime Data Security Response";
|
|
429
|
-
// Reading and updating a storage account's settings; never listKeys.
|
|
449
|
+
// Reading and updating a storage account's settings and its blob service's; never listKeys.
|
|
430
450
|
exports.AZURE_DATA_SECURITY_RESPONSE_ACTIONS = [
|
|
431
451
|
"Microsoft.Storage/storageAccounts/read",
|
|
432
452
|
"Microsoft.Storage/storageAccounts/write",
|
|
453
|
+
"Microsoft.Storage/storageAccounts/blobServices/read",
|
|
454
|
+
"Microsoft.Storage/storageAccounts/blobServices/write",
|
|
433
455
|
];
|
|
434
456
|
exports.GCP_DATA_SECURITY_RESPONSE_ROLE_ID = "oneuptimeDataSecurityResponse";
|
|
435
457
|
exports.GCP_DATA_SECURITY_RESPONSE_PERMISSIONS = [
|
|
@@ -466,7 +488,7 @@ function getAzureResponseRoleLines() {
|
|
|
466
488
|
return `"${action}"`;
|
|
467
489
|
}).join(", ");
|
|
468
490
|
return [
|
|
469
|
-
`RESPONSE_ROLE=$(jq -n --arg scope "$SCOPE" '{Name: "${exports.AZURE_DATA_SECURITY_RESPONSE_ROLE}", IsCustom: true, Description: "OneUptime: turn off public access to storage accounts. Never lists their keys.", Actions: [${actions}], NotActions: [], AssignableScopes: [$scope]}')`,
|
|
491
|
+
`RESPONSE_ROLE=$(jq -n --arg scope "$SCOPE" '{Name: "${exports.AZURE_DATA_SECURITY_RESPONSE_ROLE}", IsCustom: true, Description: "OneUptime: turn off public access to storage accounts, and turn on secure transfer and soft delete. Never lists their keys.", Actions: [${actions}], NotActions: [], AssignableScopes: [$scope]}')`,
|
|
470
492
|
`az role definition create --role-definition "$RESPONSE_ROLE" > /dev/null 2>&1 || az role definition update --role-definition "$RESPONSE_ROLE" > /dev/null`,
|
|
471
493
|
`az role assignment create --assignee "$APP" --role "${exports.AZURE_DATA_SECURITY_RESPONSE_ROLE}" --scope "$SCOPE" > /dev/null`,
|
|
472
494
|
];
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import MimeType from "../File/MimeType.mjs";
|
|
2
|
+
export interface CustomFieldFile {
|
|
3
|
+
fileId: string;
|
|
4
|
+
name: string;
|
|
5
|
+
fileType: string;
|
|
6
|
+
size: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const CUSTOM_FIELD_FILE_MAX_SIZE_IN_BYTES: number;
|
|
9
|
+
export declare const CUSTOM_FIELD_MAX_FILES: number;
|
|
10
|
+
export declare const CUSTOM_FIELD_FILES_MAX_TOTAL_SIZE_IN_BYTES: number;
|
|
11
|
+
export declare const CUSTOM_FIELD_FILE_NAME_MAX_LENGTH: number;
|
|
12
|
+
export declare const CUSTOM_FIELD_FILE_TYPES: ReadonlyArray<MimeType>;
|
|
13
|
+
export type IsCustomFieldFileTypeFunction = (type: unknown) => boolean;
|
|
14
|
+
export declare const isCustomFieldFileType: IsCustomFieldFileTypeFunction;
|
|
15
|
+
export type IsCustomFieldFileMimeTypeFunction = (fileType: unknown) => boolean;
|
|
16
|
+
export declare const isCustomFieldFileMimeType: IsCustomFieldFileMimeTypeFunction;
|
|
17
|
+
export type ReadCustomFieldFileReferenceFunction = (entry: unknown) => string | null;
|
|
18
|
+
/**
|
|
19
|
+
* The file one entry of a write names - its id as text, { fileId }, or an
|
|
20
|
+
* uploaded File's { _id } or { id } - in lower case; null for anything else.
|
|
21
|
+
*/
|
|
22
|
+
export declare const readCustomFieldFileReference: ReadCustomFieldFileReferenceFunction;
|
|
23
|
+
export interface CustomFieldFileReferences {
|
|
24
|
+
fileIds: Array<string>;
|
|
25
|
+
isList: boolean;
|
|
26
|
+
unreadableCount: number;
|
|
27
|
+
duplicateCount: number;
|
|
28
|
+
entryCount: number;
|
|
29
|
+
}
|
|
30
|
+
export type ReadCustomFieldFileReferencesFunction = (value: unknown) => CustomFieldFileReferences;
|
|
31
|
+
/**
|
|
32
|
+
* The files a write names for a field: a list's entries, or the one value
|
|
33
|
+
* given. Counts what does not name a file, and what names one twice, for
|
|
34
|
+
* the checks to refuse.
|
|
35
|
+
*/
|
|
36
|
+
export declare const readCustomFieldFileReferences: ReadCustomFieldFileReferencesFunction;
|
|
37
|
+
export type IsCustomFieldFileFunction = (value: unknown) => value is CustomFieldFile;
|
|
38
|
+
/**
|
|
39
|
+
* Whether a value is a stored file reference: an object with the file's id
|
|
40
|
+
* and its name. (Its type and size are read leniently: readCustomFieldFiles.)
|
|
41
|
+
*/
|
|
42
|
+
export declare const isCustomFieldFile: IsCustomFieldFileFunction;
|
|
43
|
+
export type ReadCustomFieldFilesFunction = (value: unknown) => Array<CustomFieldFile>;
|
|
44
|
+
/**
|
|
45
|
+
* A stored value as the files it holds, in order, for showing: one file or a
|
|
46
|
+
* list of them. An entry that is not a file reference is left out, and so is
|
|
47
|
+
* a file listed twice. Never throws.
|
|
48
|
+
*/
|
|
49
|
+
export declare const readCustomFieldFiles: ReadCustomFieldFilesFunction;
|
|
50
|
+
export type GetCustomFieldFileIdsFunction = (value: unknown) => Array<string>;
|
|
51
|
+
export declare const getCustomFieldFileIds: GetCustomFieldFileIdsFunction;
|
|
52
|
+
export type FormatCustomFieldFileNamesFunction = (value: unknown) => string;
|
|
53
|
+
/**
|
|
54
|
+
* A stored value as people read it outside the dashboard - an email, a chat
|
|
55
|
+
* message, a note, an export: its files' names, joined with commas. "" when
|
|
56
|
+
* it holds none.
|
|
57
|
+
*/
|
|
58
|
+
export declare const formatCustomFieldFileNames: FormatCustomFieldFileNamesFunction;
|
|
59
|
+
export type FormatCustomFieldFileSizeFunction = (bytes: number) => string;
|
|
60
|
+
export declare const formatCustomFieldFileSize: FormatCustomFieldFileSizeFunction;
|
|
61
|
+
export type GetCustomFieldValueEntryKeyFunction = (entry: unknown) => string;
|
|
62
|
+
/**
|
|
63
|
+
* One value - or one entry of a list - as "the same answer" is decided: a
|
|
64
|
+
* file reference, in any shape a write names one, by its file alone; any
|
|
65
|
+
* other object as its JSON; anything else as its text. So a list of files
|
|
66
|
+
* sent back as the dashboard holds them reads as the list the record holds,
|
|
67
|
+
* and two different lists of files never read as one.
|
|
68
|
+
*/
|
|
69
|
+
export declare const getCustomFieldValueEntryKey: GetCustomFieldValueEntryKeyFunction;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import MimeType from "../File/MimeType";
|
|
2
|
+
export interface CustomFieldFile {
|
|
3
|
+
fileId: string;
|
|
4
|
+
name: string;
|
|
5
|
+
fileType: string;
|
|
6
|
+
size: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const CUSTOM_FIELD_FILE_MAX_SIZE_IN_BYTES: number;
|
|
9
|
+
export declare const CUSTOM_FIELD_MAX_FILES: number;
|
|
10
|
+
export declare const CUSTOM_FIELD_FILES_MAX_TOTAL_SIZE_IN_BYTES: number;
|
|
11
|
+
export declare const CUSTOM_FIELD_FILE_NAME_MAX_LENGTH: number;
|
|
12
|
+
export declare const CUSTOM_FIELD_FILE_TYPES: ReadonlyArray<MimeType>;
|
|
13
|
+
export type IsCustomFieldFileTypeFunction = (type: unknown) => boolean;
|
|
14
|
+
export declare const isCustomFieldFileType: IsCustomFieldFileTypeFunction;
|
|
15
|
+
export type IsCustomFieldFileMimeTypeFunction = (fileType: unknown) => boolean;
|
|
16
|
+
export declare const isCustomFieldFileMimeType: IsCustomFieldFileMimeTypeFunction;
|
|
17
|
+
export type ReadCustomFieldFileReferenceFunction = (entry: unknown) => string | null;
|
|
18
|
+
/**
|
|
19
|
+
* The file one entry of a write names - its id as text, { fileId }, or an
|
|
20
|
+
* uploaded File's { _id } or { id } - in lower case; null for anything else.
|
|
21
|
+
*/
|
|
22
|
+
export declare const readCustomFieldFileReference: ReadCustomFieldFileReferenceFunction;
|
|
23
|
+
export interface CustomFieldFileReferences {
|
|
24
|
+
fileIds: Array<string>;
|
|
25
|
+
isList: boolean;
|
|
26
|
+
unreadableCount: number;
|
|
27
|
+
duplicateCount: number;
|
|
28
|
+
entryCount: number;
|
|
29
|
+
}
|
|
30
|
+
export type ReadCustomFieldFileReferencesFunction = (value: unknown) => CustomFieldFileReferences;
|
|
31
|
+
/**
|
|
32
|
+
* The files a write names for a field: a list's entries, or the one value
|
|
33
|
+
* given. Counts what does not name a file, and what names one twice, for
|
|
34
|
+
* the checks to refuse.
|
|
35
|
+
*/
|
|
36
|
+
export declare const readCustomFieldFileReferences: ReadCustomFieldFileReferencesFunction;
|
|
37
|
+
export type IsCustomFieldFileFunction = (value: unknown) => value is CustomFieldFile;
|
|
38
|
+
/**
|
|
39
|
+
* Whether a value is a stored file reference: an object with the file's id
|
|
40
|
+
* and its name. (Its type and size are read leniently: readCustomFieldFiles.)
|
|
41
|
+
*/
|
|
42
|
+
export declare const isCustomFieldFile: IsCustomFieldFileFunction;
|
|
43
|
+
export type ReadCustomFieldFilesFunction = (value: unknown) => Array<CustomFieldFile>;
|
|
44
|
+
/**
|
|
45
|
+
* A stored value as the files it holds, in order, for showing: one file or a
|
|
46
|
+
* list of them. An entry that is not a file reference is left out, and so is
|
|
47
|
+
* a file listed twice. Never throws.
|
|
48
|
+
*/
|
|
49
|
+
export declare const readCustomFieldFiles: ReadCustomFieldFilesFunction;
|
|
50
|
+
export type GetCustomFieldFileIdsFunction = (value: unknown) => Array<string>;
|
|
51
|
+
export declare const getCustomFieldFileIds: GetCustomFieldFileIdsFunction;
|
|
52
|
+
export type FormatCustomFieldFileNamesFunction = (value: unknown) => string;
|
|
53
|
+
/**
|
|
54
|
+
* A stored value as people read it outside the dashboard - an email, a chat
|
|
55
|
+
* message, a note, an export: its files' names, joined with commas. "" when
|
|
56
|
+
* it holds none.
|
|
57
|
+
*/
|
|
58
|
+
export declare const formatCustomFieldFileNames: FormatCustomFieldFileNamesFunction;
|
|
59
|
+
export type FormatCustomFieldFileSizeFunction = (bytes: number) => string;
|
|
60
|
+
export declare const formatCustomFieldFileSize: FormatCustomFieldFileSizeFunction;
|
|
61
|
+
export type GetCustomFieldValueEntryKeyFunction = (entry: unknown) => string;
|
|
62
|
+
/**
|
|
63
|
+
* One value - or one entry of a list - as "the same answer" is decided: a
|
|
64
|
+
* file reference, in any shape a write names one, by its file alone; any
|
|
65
|
+
* other object as its JSON; anything else as its text. So a list of files
|
|
66
|
+
* sent back as the dashboard holds them reads as the list the record holds,
|
|
67
|
+
* and two different lists of files never read as one.
|
|
68
|
+
*/
|
|
69
|
+
export declare const getCustomFieldValueEntryKey: GetCustomFieldValueEntryKeyFunction;
|