@oneuptime/common 14.0.98 → 14.0.100
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/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/CloudAccount.d.mts +8 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +8 -0
- package/Models/DatabaseModels/CloudAccount.js +167 -0
- package/Models/DatabaseModels/CloudAccountFeed.d.mts +27 -0
- package/Models/DatabaseModels/CloudAccountFeed.d.ts +27 -0
- package/Models/DatabaseModels/CloudAccountFeed.js +557 -0
- package/Models/DatabaseModels/CloudAccountFeed.mjs +3 -0
- 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/DataSecurityCheckSetting.d.mts +17 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.d.ts +17 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.js +304 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.d.mts +25 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.d.ts +25 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.js +431 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityFlow.d.mts +26 -0
- package/Models/DatabaseModels/DataSecurityFlow.d.ts +26 -0
- package/Models/DatabaseModels/DataSecurityFlow.js +456 -0
- package/Models/DatabaseModels/DataSecurityFlow.mjs +2 -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/DataSecurityIssue.d.mts +49 -0
- package/Models/DatabaseModels/DataSecurityIssue.d.ts +49 -0
- package/Models/DatabaseModels/DataSecurityIssue.js +797 -0
- package/Models/DatabaseModels/DataSecurityIssue.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.d.mts +43 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.d.ts +43 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.js +382 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.mjs +3 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.d.mts +18 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.d.ts +18 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.js +331 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityScan.d.mts +29 -0
- package/Models/DatabaseModels/DataSecurityScan.d.ts +29 -0
- package/Models/DatabaseModels/DataSecurityScan.js +520 -0
- package/Models/DatabaseModels/DataSecurityScan.mjs +2 -0
- package/Models/DatabaseModels/DataSecuritySetting.d.mts +35 -0
- package/Models/DatabaseModels/DataSecuritySetting.d.ts +35 -0
- package/Models/DatabaseModels/DataSecuritySetting.js +631 -0
- package/Models/DatabaseModels/DataSecuritySetting.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +84 -0
- package/Models/DatabaseModels/DataStore.d.ts +84 -0
- package/Models/DatabaseModels/DataStore.js +1359 -0
- package/Models/DatabaseModels/DataStore.mjs +2 -0
- package/Models/DatabaseModels/DataStoreAccess.d.mts +23 -0
- package/Models/DatabaseModels/DataStoreAccess.d.ts +23 -0
- package/Models/DatabaseModels/DataStoreAccess.js +427 -0
- package/Models/DatabaseModels/DataStoreAccess.mjs +2 -0
- package/Models/DatabaseModels/DataStoreFeed.d.mts +36 -0
- package/Models/DatabaseModels/DataStoreFeed.d.ts +36 -0
- package/Models/DatabaseModels/DataStoreFeed.js +613 -0
- package/Models/DatabaseModels/DataStoreFeed.mjs +3 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +41 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +41 -0
- package/Models/DatabaseModels/DataStoreFinding.js +745 -0
- package/Models/DatabaseModels/DataStoreFinding.mjs +2 -0
- package/Models/DatabaseModels/DataStoreLabelRule.d.mts +21 -0
- package/Models/DatabaseModels/DataStoreLabelRule.d.ts +21 -0
- package/Models/DatabaseModels/DataStoreLabelRule.js +623 -0
- package/Models/DatabaseModels/DataStoreLabelRule.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.d.mts +24 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.d.ts +24 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.js +714 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.mjs +2 -0
- 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/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +110 -0
- package/Models/DatabaseModels/IncidentEpisodeRoleMember.js +10 -1
- package/Models/DatabaseModels/Index.js +47 -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/OnCallDutyPolicyExecutionLog.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +43 -0
- 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/ResourceAiAgent.js +3 -1
- package/Models/DatabaseModels/SecurityEntityCriticality.js +7 -6
- package/Models/DatabaseModels/SecurityEntityRisk.js +2 -2
- 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 +10 -0
- package/Models/DatabaseModels/TelemetryException.d.ts +10 -0
- package/Models/DatabaseModels/TelemetryException.js +353 -8
- 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/AIChatPageContext.d.mts +4 -1
- package/Types/AI/AIChatPageContext.d.ts +4 -1
- package/Types/AI/AIChatPageContext.js +7 -0
- package/Types/AI/AIChatTypes.d.mts +6 -1
- package/Types/AI/AIChatTypes.d.ts +6 -1
- package/Types/AI/AIChatTypes.js +9 -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/AI/AiAffectedResources.js +5 -3
- package/Types/AI/CodeFixTaskContext.d.mts +21 -0
- package/Types/AI/CodeFixTaskContext.d.ts +21 -0
- package/Types/AI/CodeFixTaskContext.js +61 -4
- package/Types/AI/CodeFixTaskContext.mjs +2 -0
- package/Types/AI/CodeTask.d.mts +2 -0
- package/Types/AI/CodeTask.d.ts +2 -0
- package/Types/AI/CodeTask.js +4 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +1 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +1 -0
- package/Types/AI/ResourceAiAccessPermissions.js +6 -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 +19 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.ts +19 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.js +85 -10
- package/Types/AutoRemediation/AiRemediationCommandPlan.mjs +4 -0
- package/Types/AutoRemediation/RemediationTryAgain.d.mts +17 -0
- package/Types/AutoRemediation/RemediationTryAgain.d.ts +17 -0
- package/Types/AutoRemediation/RemediationTryAgain.js +104 -0
- package/Types/AutoRemediation/RemediationTryAgain.mjs +6 -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/CloudAiAgentCost.d.mts +19 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.ts +19 -0
- package/Types/CloudConnection/CloudAiAgentCost.js +95 -0
- package/Types/CloudConnection/CloudAiAgentCost.mjs +15 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +70 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +70 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +1107 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +37 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +8 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +8 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +77 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +6 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +48 -4
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +48 -4
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +432 -16
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +21 -0
- package/Types/CodeRepository/CodeHost.d.mts +2 -1
- package/Types/CodeRepository/CodeHost.d.ts +2 -1
- package/Types/CodeRepository/CodeHost.js +12 -5
- package/Types/CodeRepository/ProductionReview.d.mts +7 -0
- package/Types/CodeRepository/ProductionReview.d.ts +7 -0
- package/Types/CodeRepository/ProductionReview.js +67 -1
- package/Types/CodeRepository/ProductionReview.mjs +1 -0
- 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/ComplianceFramework.d.mts +21 -0
- package/Types/DataSecurity/ComplianceFramework.d.ts +21 -0
- package/Types/DataSecurity/ComplianceFramework.js +97 -0
- package/Types/DataSecurity/ComplianceFramework.mjs +5 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.mts +41 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.ts +41 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +203 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.mjs +7 -0
- package/Types/DataSecurity/DataCategory.d.mts +15 -0
- package/Types/DataSecurity/DataCategory.d.ts +15 -0
- package/Types/DataSecurity/DataCategory.js +61 -0
- package/Types/DataSecurity/DataCategory.mjs +7 -0
- package/Types/DataSecurity/DataConfidence.d.mts +11 -0
- package/Types/DataSecurity/DataConfidence.d.ts +11 -0
- package/Types/DataSecurity/DataConfidence.js +49 -0
- package/Types/DataSecurity/DataConfidence.mjs +7 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +106 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +106 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +53 -0
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +3 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +94 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +94 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +1236 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.mjs +10 -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/DataSecurityIssueStatus.d.mts +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.d.ts +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.js +38 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.mjs +5 -0
- package/Types/DataSecurity/DataSecurityResidency.d.mts +21 -0
- package/Types/DataSecurity/DataSecurityResidency.d.ts +21 -0
- package/Types/DataSecurity/DataSecurityResidency.js +92 -0
- package/Types/DataSecurity/DataSecurityResidency.mjs +5 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.mts +22 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.ts +22 -0
- package/Types/DataSecurity/DataSecurityResponseAction.js +202 -0
- package/Types/DataSecurity/DataSecurityResponseAction.mjs +13 -0
- package/Types/DataSecurity/DataSecurityRisk.d.mts +38 -0
- package/Types/DataSecurity/DataSecurityRisk.d.ts +38 -0
- package/Types/DataSecurity/DataSecurityRisk.js +138 -0
- package/Types/DataSecurity/DataSecurityRisk.mjs +7 -0
- package/Types/DataSecurity/DataSensitivity.d.mts +13 -0
- package/Types/DataSecurity/DataSensitivity.d.ts +13 -0
- package/Types/DataSecurity/DataSensitivity.js +68 -0
- package/Types/DataSecurity/DataSensitivity.mjs +8 -0
- package/Types/DataSecurity/DataStoreAccess.d.mts +34 -0
- package/Types/DataSecurity/DataStoreAccess.d.ts +34 -0
- package/Types/DataSecurity/DataStoreAccess.js +57 -0
- package/Types/DataSecurity/DataStoreAccess.mjs +6 -0
- package/Types/DataSecurity/DataStoreEnvironment.d.mts +11 -0
- package/Types/DataSecurity/DataStoreEnvironment.d.ts +11 -0
- package/Types/DataSecurity/DataStoreEnvironment.js +80 -0
- package/Types/DataSecurity/DataStoreEnvironment.mjs +5 -0
- package/Types/DataSecurity/DataStoreKey.d.mts +18 -0
- package/Types/DataSecurity/DataStoreKey.d.ts +18 -0
- package/Types/DataSecurity/DataStoreKey.js +49 -0
- package/Types/DataSecurity/DataStoreKey.mjs +7 -0
- package/Types/DataSecurity/DataStoreKind.d.mts +67 -0
- package/Types/DataSecurity/DataStoreKind.d.ts +67 -0
- package/Types/DataSecurity/DataStoreKind.js +230 -0
- package/Types/DataSecurity/DataStoreKind.mjs +10 -0
- package/Types/DataSecurity/DataStorePosture.d.mts +40 -0
- package/Types/DataSecurity/DataStorePosture.d.ts +40 -0
- package/Types/DataSecurity/DataStorePosture.js +100 -0
- package/Types/DataSecurity/DataStorePosture.mjs +7 -0
- package/Types/DataSecurity/DataTypeCatalog.d.mts +17 -0
- package/Types/DataSecurity/DataTypeCatalog.d.ts +17 -0
- package/Types/DataSecurity/DataTypeCatalog.js +434 -0
- package/Types/DataSecurity/DataTypeCatalog.mjs +4 -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/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +6 -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/KubernetesInventoryExtractor.js +23 -16
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +24 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +24 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +64 -0
- package/Types/Kubernetes/KubernetesObjectParser.mjs +3 -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 +4 -3
- package/Types/Monitor/CephAlertTemplates.d.ts +4 -3
- package/Types/Monitor/CephAlertTemplates.js +63 -11
- package/Types/Monitor/CephAlertTemplates.mjs +1 -0
- 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 +3 -1
- package/Types/Monitor/DockerAlertTemplates.d.ts +3 -1
- package/Types/Monitor/DockerAlertTemplates.js +159 -76
- package/Types/Monitor/DockerAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerMetricCatalog.d.mts +1 -0
- package/Types/Monitor/DockerMetricCatalog.d.ts +1 -0
- package/Types/Monitor/DockerMetricCatalog.js +42 -52
- package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +2 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +2 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.js +78 -10
- package/Types/Monitor/DockerSwarmAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerSwarmMetricCatalog.js +7 -4
- 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/HostAlertTemplates.d.mts +2 -1
- package/Types/Monitor/HostAlertTemplates.d.ts +2 -1
- package/Types/Monitor/HostAlertTemplates.js +48 -0
- package/Types/Monitor/HostAlertTemplates.mjs +1 -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 +2 -0
- package/Types/Monitor/IotAlertTemplates.d.ts +2 -0
- package/Types/Monitor/IotAlertTemplates.js +22 -7
- package/Types/Monitor/IotAlertTemplates.mjs +1 -0
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +53 -2
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +53 -2
- package/Types/Monitor/KubernetesAlertTemplates.js +475 -76
- package/Types/Monitor/KubernetesAlertTemplates.mjs +2 -0
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.js +74 -3
- 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 +4 -4
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +4 -4
- package/Types/Monitor/MonitorCriteriaInstance.js +107 -10
- package/Types/Monitor/MonitorStep.js +50 -3
- 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 +43 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +43 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +68 -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 +16 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +16 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.js +49 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +4 -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/MonitorType.d.mts +1 -0
- package/Types/Monitor/MonitorType.d.ts +1 -0
- package/Types/Monitor/MonitorType.js +18 -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 +3 -1
- package/Types/Monitor/PodmanAlertTemplates.d.ts +3 -1
- package/Types/Monitor/PodmanAlertTemplates.js +119 -36
- package/Types/Monitor/PodmanAlertTemplates.mjs +1 -0
- package/Types/Monitor/PodmanMetricCatalog.d.mts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.d.ts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.js +42 -52
- package/Types/Monitor/ProxmoxAlertTemplates.d.mts +2 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.ts +2 -0
- package/Types/Monitor/ProxmoxAlertTemplates.js +239 -4
- package/Types/Monitor/ProxmoxAlertTemplates.mjs +2 -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/Recommendation/RecommendationCriteriaBuilder.d.mts +19 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.ts +19 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.js +50 -2
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.mjs +2 -0
- package/Types/Monitor/ServiceAlertTemplates.js +111 -3
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.mts +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.ts +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.js +31 -2
- 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 +3 -1
- package/Types/Monitor/StorageArrayAlertTemplates.d.ts +3 -1
- package/Types/Monitor/StorageArrayAlertTemplates.js +77 -1
- package/Types/Monitor/StorageArrayAlertTemplates.mjs +1 -0
- 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 +3 -1
- package/Types/Monitor/VMwareAlertTemplates.d.ts +3 -1
- package/Types/Monitor/VMwareAlertTemplates.js +91 -19
- package/Types/Monitor/VMwareAlertTemplates.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/OnCallDutyPolicy/OnCallPersonPage.d.mts +44 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +44 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.js +171 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +14 -0
- package/Types/Permission.d.mts +56 -0
- package/Types/Permission.d.ts +56 -0
- package/Types/Permission.js +601 -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/Probe/ProbeCapability.d.mts +2 -1
- package/Types/Probe/ProbeCapability.d.ts +2 -1
- package/Types/Probe/ProbeCapability.js +8 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +2 -0
- package/Types/ProviderLogo/ProviderLogo.js +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/ResourceAiAgent/AiResourceType.d.mts +7 -1
- package/Types/ResourceAiAgent/AiResourceType.d.ts +7 -1
- package/Types/ResourceAiAgent/AiResourceType.js +76 -2
- package/Types/ResourceAiAgent/AiResourceType.mjs +3 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +19 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +19 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +75 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +16 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +12 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +12 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +28 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +6 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +13 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +4 -1
- package/Types/Rules/RuleCriteriaSubject.d.ts +4 -1
- package/Types/Rules/RuleCriteriaSubject.js +19 -1
- package/Types/Rules/RuleCriteriaSubject.mjs +1 -0
- package/Types/Rules/RuleRun.d.mts +7 -1
- package/Types/Rules/RuleRun.d.ts +7 -1
- package/Types/Rules/RuleRun.js +14 -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/SecurityCase/SecurityDetectionSource.d.mts +2 -1
- package/Types/SecurityCase/SecurityDetectionSource.d.ts +2 -1
- package/Types/SecurityCase/SecurityDetectionSource.js +5 -2
- package/Types/SecurityCase/SecurityEntity.d.mts +5 -0
- package/Types/SecurityCase/SecurityEntity.d.ts +5 -0
- package/Types/SecurityCase/SecurityEntity.js +39 -1
- package/Types/SecurityCase/SecurityEntity.mjs +4 -0
- package/Types/SecurityCase/SecurityEntityRisk.js +14 -6
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.mts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.ts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +124 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.mjs +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.mts +3 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.ts +3 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.js +4 -0
- package/Types/SecurityEvent/DataSecuritySignal.d.mts +33 -0
- package/Types/SecurityEvent/DataSecuritySignal.d.ts +33 -0
- package/Types/SecurityEvent/DataSecuritySignal.js +114 -0
- package/Types/SecurityEvent/DataSecuritySignal.mjs +14 -0
- package/Types/SecurityEvent/DetectionRuleDataKind.d.mts +7 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.d.ts +7 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.js +74 -0
- package/Types/SecurityEvent/DetectionRuleLibrary.d.mts +2 -1
- package/Types/SecurityEvent/DetectionRuleLibrary.d.ts +2 -1
- package/Types/SecurityEvent/DetectionRuleLibrary.js +730 -0
- package/Types/SecurityEvent/OcsfEventClass.js +31 -2
- 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/SecurityEvent/SecurityLogFormat.d.mts +15 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.ts +15 -0
- package/Types/SecurityEvent/SecurityLogFormat.js +123 -10
- package/Types/SecurityEvent/SecurityLogFormat.mjs +4 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +10 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +10 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +117 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +18 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +18 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +121 -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/SecurityPlaybook/SecurityProtectedEntity.js +8 -1
- 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/ExceptionAIDigest.d.mts +31 -0
- package/Types/Telemetry/ExceptionAIDigest.d.ts +31 -0
- package/Types/Telemetry/ExceptionAIDigest.js +131 -0
- package/Types/Telemetry/ExceptionAIDigest.mjs +13 -0
- package/Types/Telemetry/ExceptionAIExplanation.d.mts +37 -0
- package/Types/Telemetry/ExceptionAIExplanation.d.ts +37 -0
- package/Types/Telemetry/ExceptionAIExplanation.js +110 -0
- package/Types/Telemetry/ExceptionAIExplanation.mjs +12 -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 +2 -1
- package/Types/Telemetry/TraceSpanType.d.ts +2 -1
- package/Types/Telemetry/TraceSpanType.js +50 -11
- package/Types/Telemetry/TraceSpanType.mjs +2 -1
- 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/UpdateCheck/SecurityAdvisory.d.mts +39 -0
- package/Types/UpdateCheck/SecurityAdvisory.d.ts +39 -0
- package/Types/UpdateCheck/SecurityAdvisory.js +221 -0
- package/Types/UpdateCheck/SecurityAdvisory.mjs +7 -0
- package/Types/UpdateCheck/UpdateCheckFailure.d.mts +9 -0
- package/Types/UpdateCheck/UpdateCheckFailure.d.ts +9 -0
- package/Types/UpdateCheck/UpdateCheckFailure.js +32 -0
- package/Types/UpdateCheck/UpdateCheckFailure.mjs +3 -0
- package/Types/UpdateCheck/UpdateStatus.d.mts +44 -0
- package/Types/UpdateCheck/UpdateStatus.d.ts +44 -0
- package/Types/UpdateCheck/UpdateStatus.js +195 -0
- package/Types/UpdateCheck/UpdateStatus.mjs +3 -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/Types/Workspace/WorkspaceMessagePayload.d.mts +1 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +1 -0
- package/UI/Utils/TranslateTemplate.d.mts +3 -68
- package/UI/Utils/TranslateTemplate.d.ts +3 -68
- package/Utils/AiRemediation/CloudChangeDryRunPlan.d.mts +17 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.d.ts +17 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.js +122 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.mjs +7 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.mts +4 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.ts +4 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +177 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.mjs +4 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +144 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +144 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +1964 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +48 -0
- package/Utils/AiRemediation/Resource/ResourceCommandPolicy.js +4 -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/CustomDataTypeDetector.d.mts +23 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.d.ts +23 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.js +130 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.mjs +8 -0
- package/Utils/DataSecurity/Detector.d.mts +26 -0
- package/Utils/DataSecurity/Detector.d.ts +26 -0
- package/Utils/DataSecurity/Detector.js +83 -0
- package/Utils/DataSecurity/Detector.mjs +8 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.mts +12 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.ts +12 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.js +915 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.mjs +12 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.js +52 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.d.mts +8 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.d.ts +8 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.js +566 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.mjs +8 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.js +2415 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.js +258 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.js +115 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/Index.d.mts +4 -0
- package/Utils/DataSecurity/Detectors/Index.d.ts +4 -0
- package/Utils/DataSecurity/Detectors/Index.js +47 -0
- package/Utils/DataSecurity/Detectors/Index.mjs +4 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.d.mts +11 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.d.ts +11 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.js +1733 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.mjs +11 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +22 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +22 -0
- package/Utils/DataSecurity/FieldClassifier.js +247 -0
- package/Utils/DataSecurity/FieldClassifier.mjs +5 -0
- package/Utils/DataSecurity/FieldCollector.d.mts +23 -0
- package/Utils/DataSecurity/FieldCollector.d.ts +23 -0
- package/Utils/DataSecurity/FieldCollector.js +81 -0
- package/Utils/DataSecurity/FieldCollector.mjs +3 -0
- package/Utils/DataSecurity/FieldNameHints.d.mts +9 -0
- package/Utils/DataSecurity/FieldNameHints.d.ts +9 -0
- package/Utils/DataSecurity/FieldNameHints.js +184 -0
- package/Utils/DataSecurity/FieldNameHints.mjs +6 -0
- package/Utils/DataSecurity/FindingTally.d.mts +44 -0
- package/Utils/DataSecurity/FindingTally.d.ts +44 -0
- package/Utils/DataSecurity/FindingTally.js +138 -0
- package/Utils/DataSecurity/FindingTally.mjs +6 -0
- package/Utils/DataSecurity/Masking.d.mts +6 -0
- package/Utils/DataSecurity/Masking.d.ts +6 -0
- package/Utils/DataSecurity/Masking.js +159 -0
- package/Utils/DataSecurity/Masking.mjs +7 -0
- package/Utils/DataSecurity/PathPattern.d.mts +3 -0
- package/Utils/DataSecurity/PathPattern.d.ts +3 -0
- package/Utils/DataSecurity/PathPattern.js +55 -0
- package/Utils/DataSecurity/PathPattern.mjs +4 -0
- package/Utils/DataSecurity/Sha256.d.mts +1 -0
- package/Utils/DataSecurity/Sha256.d.ts +1 -0
- package/Utils/DataSecurity/Sha256.js +94 -0
- package/Utils/DataSecurity/Sha256.mjs +2 -0
- package/Utils/DataSecurity/TextScanner.d.mts +35 -0
- package/Utils/DataSecurity/TextScanner.d.ts +35 -0
- package/Utils/DataSecurity/TextScanner.js +303 -0
- package/Utils/DataSecurity/TextScanner.mjs +8 -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/DataSecurity/Validators.d.mts +16 -0
- package/Utils/DataSecurity/Validators.d.ts +16 -0
- package/Utils/DataSecurity/Validators.js +339 -0
- package/Utils/DataSecurity/Validators.mjs +17 -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/ExceptionIssueState.d.mts +18 -0
- package/Utils/Exceptions/ExceptionIssueState.d.ts +18 -0
- package/Utils/Exceptions/ExceptionIssueState.js +131 -0
- package/Utils/Exceptions/ExceptionIssueState.mjs +8 -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/HostCollector/HostCollectorDefaultConfig.d.mts +2 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +2 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.js +39 -1
- package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +2 -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/LabelRuleImportExport.js +17 -3
- 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/Monitor/PlatformResourceIdentity.js +7 -4
- 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/SecurityAdvisoryMatcher.d.mts +33 -0
- package/Utils/SecurityAdvisoryMatcher.d.ts +33 -0
- package/Utils/SecurityAdvisoryMatcher.js +291 -0
- package/Utils/SecurityAdvisoryMatcher.mjs +2 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.mts +24 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.ts +24 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.js +380 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.mjs +15 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.mts +29 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.ts +29 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.js +527 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.mjs +13 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.mts +21 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.ts +21 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.js +365 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.mjs +11 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.mts +17 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.ts +17 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +344 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.mjs +12 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.mts +27 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.ts +27 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +326 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.mjs +10 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.mts +38 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.ts +38 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.js +629 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.mjs +13 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +9 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +9 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +63 -3
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +4 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +54 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.mts +26 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.ts +26 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.js +1046 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.mjs +11 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.mts +19 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.ts +19 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.js +724 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.mjs +7 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.mts +32 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.ts +32 -0
- package/Utils/SecurityEvent/SecurityRecordReading.js +78 -0
- package/Utils/SecurityEvent/SecurityRecordReading.mjs +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/OnCallPageSms.d.mts +1 -0
- package/Utils/Sms/OnCallPageSms.d.ts +1 -0
- package/Utils/Sms/OnCallPageSms.js +16 -2
- package/Utils/Sms/SubscriberSms.js +9 -1
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +44 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +44 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +223 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +8 -0
- package/Utils/Syslog/LeefParser.d.mts +28 -0
- package/Utils/Syslog/LeefParser.d.ts +28 -0
- package/Utils/Syslog/LeefParser.js +326 -0
- package/Utils/Syslog/LeefParser.mjs +10 -0
- 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/Utils/VersionRange.d.mts +34 -0
- package/Utils/VersionRange.d.ts +34 -0
- package/Utils/VersionRange.js +422 -0
- package/Utils/VersionRange.mjs +5 -0
- package/package.json +1 -1
|
@@ -8,13 +8,16 @@ exports.buildOfflineCriteriaInstance = buildOfflineCriteriaInstance;
|
|
|
8
8
|
exports.buildOnlineCriteriaInstance = buildOnlineCriteriaInstance;
|
|
9
9
|
exports.buildKubernetesMonitorConfig = buildKubernetesMonitorConfig;
|
|
10
10
|
exports.buildKubernetesRatioMonitorConfig = buildKubernetesRatioMonitorConfig;
|
|
11
|
+
exports.buildKubernetesMultiQueryMonitorConfig = buildKubernetesMultiQueryMonitorConfig;
|
|
11
12
|
exports.getAllKubernetesAlertTemplates = getAllKubernetesAlertTemplates;
|
|
12
13
|
exports.getKubernetesAlertTemplatesByCategory = getKubernetesAlertTemplatesByCategory;
|
|
13
14
|
exports.getKubernetesAlertTemplateById = getKubernetesAlertTemplateById;
|
|
15
|
+
exports.getKubernetesDefaultAlertTemplateId = getKubernetesDefaultAlertTemplateId;
|
|
14
16
|
const ObjectID_1 = __importDefault(require("../ObjectID"));
|
|
15
17
|
const MonitorStep_1 = __importDefault(require("./MonitorStep"));
|
|
16
18
|
const MonitorCriteria_1 = __importDefault(require("./MonitorCriteria"));
|
|
17
19
|
const RecommendationCriteriaBuilder_1 = require("./Recommendation/RecommendationCriteriaBuilder");
|
|
20
|
+
const FilterCondition_1 = __importDefault(require("../Filter/FilterCondition"));
|
|
18
21
|
const CriteriaFilter_1 = require("./CriteriaFilter");
|
|
19
22
|
const MonitorStepKubernetesMonitor_1 = require("./MonitorStepKubernetesMonitor");
|
|
20
23
|
const RollingTime_1 = __importDefault(require("../RollingTime/RollingTime"));
|
|
@@ -233,41 +236,240 @@ function buildKubernetesRatioMonitorConfig(args) {
|
|
|
233
236
|
rollingTime: args.rollingTime,
|
|
234
237
|
};
|
|
235
238
|
}
|
|
239
|
+
/**
|
|
240
|
+
* Several queries over the SAME object, and the formulas over them that the
|
|
241
|
+
* criteria compare: a count next to the gauge that qualifies it
|
|
242
|
+
* (CrashLoopBackOff: the restarts the agent sends with each sample, and
|
|
243
|
+
* readiness), a titled count of its own (Job Failures: the failed pods the
|
|
244
|
+
* agent sends with each sample), or two derived values that must both hold
|
|
245
|
+
* (an HPA at its ceiling AND above its floor).
|
|
246
|
+
*
|
|
247
|
+
* Every query carries the same group-by key set, which is what lines the
|
|
248
|
+
* series up (see buildKubernetesRatioMonitorConfig: a key only one query
|
|
249
|
+
* carries splits the fingerprints and the formula silently evaluates
|
|
250
|
+
* against an empty operand), so pass only keys every metric's receiver
|
|
251
|
+
* stamps itself.
|
|
252
|
+
*
|
|
253
|
+
* A counter's growth is NOT taken here. The monitor path has no cross-bucket
|
|
254
|
+
* rate, so a Max and a Min query over a lifetime counter and a formula
|
|
255
|
+
* subtracting them (buildDockerDeltaMonitorConfig) see only its growth
|
|
256
|
+
* between two samples of the SAME minute: at the agent's 30-second
|
|
257
|
+
* collection interval, about half of the real increments. The Kubernetes
|
|
258
|
+
* templates that count restarts or failures read the increase the agent
|
|
259
|
+
* sends with every sample instead (the chart's restarts-increase and
|
|
260
|
+
* job-failures-increase processors), summed over the window.
|
|
261
|
+
*/
|
|
262
|
+
function buildKubernetesMultiQueryMonitorConfig(args) {
|
|
263
|
+
return {
|
|
264
|
+
clusterIdentifier: args.clusterIdentifier,
|
|
265
|
+
resourceScope: args.resourceScope,
|
|
266
|
+
resourceFilters: {},
|
|
267
|
+
metricViewConfig: {
|
|
268
|
+
queryConfigs: args.queries.map((query) => {
|
|
269
|
+
const title = query.title || query.alias;
|
|
270
|
+
return {
|
|
271
|
+
metricAliasData: {
|
|
272
|
+
metricVariable: query.alias,
|
|
273
|
+
title: title,
|
|
274
|
+
description: title,
|
|
275
|
+
legend: title,
|
|
276
|
+
// Unset, so MetricResultUnitConverter passes the raw value through.
|
|
277
|
+
legendUnit: undefined,
|
|
278
|
+
},
|
|
279
|
+
metricQueryData: {
|
|
280
|
+
filterData: {
|
|
281
|
+
metricName: query.metricName,
|
|
282
|
+
attributes: {},
|
|
283
|
+
aggegationType: query.aggregationType,
|
|
284
|
+
aggregateBy: {},
|
|
285
|
+
},
|
|
286
|
+
groupByAttributeKeys: args.groupByAttributeKeys,
|
|
287
|
+
},
|
|
288
|
+
};
|
|
289
|
+
}),
|
|
290
|
+
formulaConfigs: args.formulas.map((formula) => {
|
|
291
|
+
return {
|
|
292
|
+
metricAliasData: {
|
|
293
|
+
metricVariable: formula.alias,
|
|
294
|
+
title: formula.legend,
|
|
295
|
+
description: formula.legend,
|
|
296
|
+
legend: formula.legend,
|
|
297
|
+
legendUnit: formula.legendUnit,
|
|
298
|
+
},
|
|
299
|
+
metricFormulaData: {
|
|
300
|
+
metricFormula: formula.formula,
|
|
301
|
+
},
|
|
302
|
+
};
|
|
303
|
+
}),
|
|
304
|
+
},
|
|
305
|
+
rollingTime: args.rollingTime,
|
|
306
|
+
};
|
|
307
|
+
}
|
|
236
308
|
// --- Template Definitions ---
|
|
309
|
+
const clusterStoppedReportingTemplate = {
|
|
310
|
+
id: "k8s-cluster-stopped-reporting",
|
|
311
|
+
name: "Cluster Stopped Reporting",
|
|
312
|
+
summary: "The cluster's agent sends no data for 10 minutes.",
|
|
313
|
+
// See etcdNoLeaderTemplate for why no backticks.
|
|
314
|
+
description: "Alert when the cluster's agent sends no data for ten minutes: the agent was uninstalled or keeps crashing, its API key was revoked, it lost its route to OneUptime, or the cluster's API server stopped answering it. Reads k8s.node.condition_ready, which the agent's cluster receiver reports for every node every 30 seconds while it runs. Without this, every other template simply stops being evaluated when the data stops.",
|
|
315
|
+
category: "Availability",
|
|
316
|
+
severity: "Critical",
|
|
317
|
+
getMonitorStep: (args) => {
|
|
318
|
+
const metricAlias = RecommendationCriteriaBuilder_1.STOPPED_REPORTING_METRIC_ALIAS;
|
|
319
|
+
return buildKubernetesMonitorStep(Object.assign({ kubernetesMonitor: buildKubernetesMonitorConfig({
|
|
320
|
+
clusterIdentifier: args.clusterIdentifier,
|
|
321
|
+
/*
|
|
322
|
+
* The heartbeat. The k8s_cluster receiver (the agent's Deployment,
|
|
323
|
+
* configmap-deployment.yaml, collection_interval 30s) reports the
|
|
324
|
+
* Ready condition of EVERY node on every scrape whatever its value
|
|
325
|
+
* (True 1, False 0, Unknown -1), and a cluster always has a node,
|
|
326
|
+
* so this series is never empty while the agent runs. Ungrouped
|
|
327
|
+
* and counted: the whole cluster is one series, and only a window
|
|
328
|
+
* with no row at all is the breach.
|
|
329
|
+
*/
|
|
330
|
+
metricName: "k8s.node.condition_ready",
|
|
331
|
+
metricAlias,
|
|
332
|
+
resourceScope: MonitorStepKubernetesMonitor_1.KubernetesResourceScope.Cluster,
|
|
333
|
+
rollingTime: RollingTime_1.default.Past10Minutes,
|
|
334
|
+
aggregationType: MetricsAggregationType_1.default.Count,
|
|
335
|
+
}) }, (0, RecommendationCriteriaBuilder_1.buildStoppedReportingCriteriaInstances)({
|
|
336
|
+
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
337
|
+
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
338
|
+
incidentSeverityId: args.defaultIncidentSeverityId,
|
|
339
|
+
alertSeverityId: args.defaultAlertSeverityId,
|
|
340
|
+
monitorName: args.monitorName,
|
|
341
|
+
metricAlias,
|
|
342
|
+
resourceNoun: "Kubernetes cluster",
|
|
343
|
+
incidentTitle: `[K8s] Cluster Stopped Reporting - ${args.monitorName}`,
|
|
344
|
+
incidentDescription: `OneUptime has received no data from this cluster's agent for ten minutes, so the cluster's other monitors have nothing to evaluate either. Check, in order: whether the agent's pods are running and what their logs say (\`kubectl get pods\` in the namespace the agent was installed in), whether its API key is still valid, and whether the cluster can reach OneUptime. The incident resolves on its own once data arrives again.`,
|
|
345
|
+
criteriaName: "Cluster Stopped Reporting - No data for 10 minutes",
|
|
346
|
+
criteriaDescription: "Triggers when the cluster's agent sends no node readiness data for the whole ten-minute window.",
|
|
347
|
+
})));
|
|
348
|
+
},
|
|
349
|
+
};
|
|
350
|
+
/*
|
|
351
|
+
* The id stays "k8s-crashloopbackoff": it is the stable key the
|
|
352
|
+
* recommendation catalog and the already-created-monitor diff match on.
|
|
353
|
+
*
|
|
354
|
+
* It used to read the growth of k8s.container.restarts (the container
|
|
355
|
+
* status' restartCount) between two samples of the same minute: a Max and
|
|
356
|
+
* a Min query per minute and a formula subtracting them. At the agent's
|
|
357
|
+
* 30-second interval a restart between the last sample of one minute and
|
|
358
|
+
* the first of the next was never counted - about half of a crash loop,
|
|
359
|
+
* so a loop restarting every few minutes could go unseen for a whole
|
|
360
|
+
* window, and a single restart had even odds - and a pod recreated under
|
|
361
|
+
* the same name (a StatefulSet's) read its old count against the new
|
|
362
|
+
* one's 0 as that many restarts in one minute. The alerting path cannot
|
|
363
|
+
* difference values across minutes (no rate or delta in AggregationType or
|
|
364
|
+
* EvaluateOverTimeType, and formulas are evaluated point by point), so the
|
|
365
|
+
* agent does it: its metrics/restarts-increase pipeline sends
|
|
366
|
+
* k8s.container.restarts.increase with every sample, the restarts since
|
|
367
|
+
* its previous sample of the same pod and container, however far back
|
|
368
|
+
* that was (HelmChart/Public/kubernetes-agent/templates/
|
|
369
|
+
* configmap-deployment.yaml, transform/restarts-increase). Summed per
|
|
370
|
+
* minute and over the window, that is every restart in the window. The
|
|
371
|
+
* k8s_cluster receiver reports every container of every pod at each
|
|
372
|
+
* interval, a container waiting in its back-off included, so a crash loop
|
|
373
|
+
* is sampled between its runs too.
|
|
374
|
+
*
|
|
375
|
+
* A cluster whose agent predates k8s.container.restarts.increase sends
|
|
376
|
+
* nothing the restart query reads, so the template never fires there, and
|
|
377
|
+
* the docs tell it to upgrade the agent. That is also why monitors made
|
|
378
|
+
* from the old query are left as they are rather than rewritten to this
|
|
379
|
+
* one: against an older agent the rewrite would stop alerting.
|
|
380
|
+
*/
|
|
237
381
|
const crashLoopBackOffTemplate = {
|
|
238
382
|
id: "k8s-crashloopbackoff",
|
|
239
383
|
name: "CrashLoopBackOff Detection",
|
|
240
|
-
summary: "A container
|
|
384
|
+
summary: "A container restarts within 15 minutes and is mostly not ready.",
|
|
241
385
|
/*
|
|
242
386
|
* No backticks in here. `template.description` is rendered as raw JSX
|
|
243
387
|
* text on the recommendation card
|
|
244
388
|
* (KubernetesTemplatePicker.tsx renders `{template.description}` inside a
|
|
245
389
|
* <p>, not markdown), so a code span would show up as literal backticks.
|
|
246
390
|
*/
|
|
247
|
-
description: "Alert when a container
|
|
391
|
+
description: "Alert when a container restarts within fifteen minutes and was ready for less than half of them: the kubelet keeps restarting a container that keeps crashing, with a growing back-off, and it is not ready in between. Reads k8s.container.restarts.increase, the restarts since the agent's previous sample of the container, so every restart counts however far apart the samples are, and the average of k8s.container.ready. A recreated pod starts a new count and is not a restart. An older Kubernetes agent does not send the increase: upgrade the agent first. One incident per container.",
|
|
248
392
|
category: "Workload",
|
|
249
393
|
severity: "Critical",
|
|
250
394
|
getMonitorStep: (args) => {
|
|
251
395
|
const metricAlias = "container_restarts";
|
|
396
|
+
const readyAlias = "container_ready";
|
|
252
397
|
return buildKubernetesMonitorStep({
|
|
253
|
-
|
|
398
|
+
/*
|
|
399
|
+
* NOT the restart count itself. `k8s.container.restarts` is the
|
|
400
|
+
* container status' restartCount, a lifetime total for the pod: a
|
|
401
|
+
* long-lived pod that crashed six times over a month opened a
|
|
402
|
+
* Critical incident at once and held it until the pod was replaced,
|
|
403
|
+
* while a container crash-looping right now with only its third
|
|
404
|
+
* restart did not fire at all.
|
|
405
|
+
*
|
|
406
|
+
* A current-state signal would be better - kube-state-metrics'
|
|
407
|
+
* kube_pod_container_status_waiting_reason{reason="CrashLoopBackOff"}
|
|
408
|
+
* or the receiver's k8s.container.status.reason - but the agent
|
|
409
|
+
* collects neither by default (kubeStateMetrics.enabled is false,
|
|
410
|
+
* and the k8s_cluster receiver runs with its default metrics).
|
|
411
|
+
*
|
|
412
|
+
* So the template reads what the agent always sends: the restarts it
|
|
413
|
+
* sends with each sample, summed over the window - a container
|
|
414
|
+
* restarting now - qualified by k8s.container.ready, so a one-off
|
|
415
|
+
* restart (an OOM kill, a node drain's replacement) of a container
|
|
416
|
+
* that came straight back and stayed ready does not page as a crash
|
|
417
|
+
* loop. A crash-looping container sits in its back-off, not ready,
|
|
418
|
+
* between restarts.
|
|
419
|
+
*/
|
|
420
|
+
kubernetesMonitor: buildKubernetesMultiQueryMonitorConfig({
|
|
254
421
|
clusterIdentifier: args.clusterIdentifier,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
422
|
+
queries: [
|
|
423
|
+
{
|
|
424
|
+
alias: metricAlias,
|
|
425
|
+
title: "Container Restarts",
|
|
426
|
+
metricName: "k8s.container.restarts.increase",
|
|
427
|
+
/*
|
|
428
|
+
* Sum WITHIN each container's series: the restarts in each
|
|
429
|
+
* minute. A minute with no sample of the container has no row,
|
|
430
|
+
* not a zero, and the increase a later sample sends still
|
|
431
|
+
* counts its restarts.
|
|
432
|
+
*/
|
|
433
|
+
aggregationType: MetricsAggregationType_1.default.Sum,
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
alias: readyAlias,
|
|
437
|
+
metricName: "k8s.container.ready",
|
|
438
|
+
// The share of the minute's samples that were ready.
|
|
439
|
+
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
440
|
+
},
|
|
441
|
+
],
|
|
442
|
+
formulas: [],
|
|
260
443
|
/*
|
|
261
|
-
* Per
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
444
|
+
* Per container: a crash-looping container must page on its own
|
|
445
|
+
* rather than dedupe behind whichever one in the cluster crashed
|
|
446
|
+
* first. Both metrics come from the k8s_cluster receiver, which
|
|
447
|
+
* stamps all three keys itself (the restarts pipeline takes only
|
|
448
|
+
* container.id off), so the queries line up.
|
|
449
|
+
*
|
|
450
|
+
* Both also carry the pod's workload names, from the same
|
|
451
|
+
* k8sattributes in the agent's metrics pipeline: the restarts
|
|
452
|
+
* pipeline hands the increase to it once it is made. So a Workload
|
|
453
|
+
* scope (a Deployment's name, say) filters both queries alike, and
|
|
454
|
+
* the alert names the workload its container belongs to. An agent
|
|
455
|
+
* from before that sends the increase without them, and a scoped
|
|
456
|
+
* monitor reads no restart from it.
|
|
265
457
|
*/
|
|
266
458
|
groupByAttributeKeys: [
|
|
267
459
|
"resource.k8s.namespace.name",
|
|
268
460
|
"resource.k8s.pod.name",
|
|
269
461
|
"resource.k8s.container.name",
|
|
270
462
|
],
|
|
463
|
+
resourceScope: MonitorStepKubernetesMonitor_1.KubernetesResourceScope.Cluster,
|
|
464
|
+
/*
|
|
465
|
+
* Fifteen minutes: a crash loop's back-off doubles from 10 seconds
|
|
466
|
+
* to its 5-minute cap, so even a loop at the cap restarts three
|
|
467
|
+
* times in the window, and every one of them is counted. A longer
|
|
468
|
+
* window would hold more of them, but every query reads at most
|
|
469
|
+
* 10,000 rows (LIMIT_PER_PROJECT): 15 minutes of 30-second samples
|
|
470
|
+
* covers about 330 containers.
|
|
471
|
+
*/
|
|
472
|
+
rollingTime: RollingTime_1.default.Past15Minutes,
|
|
271
473
|
}),
|
|
272
474
|
offlineCriteriaInstance: buildOfflineCriteriaInstance({
|
|
273
475
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
@@ -276,15 +478,29 @@ const crashLoopBackOffTemplate = {
|
|
|
276
478
|
monitorName: args.monitorName,
|
|
277
479
|
metricAlias,
|
|
278
480
|
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
279
|
-
value:
|
|
481
|
+
value: 0,
|
|
482
|
+
/*
|
|
483
|
+
* Sum, not the sustained AllValues default: each sample is ONE
|
|
484
|
+
* MINUTE'S restarts and most minutes of a crash loop have none, so
|
|
485
|
+
* "every minute breached" is unreachable. The window total is the
|
|
486
|
+
* count.
|
|
487
|
+
*/
|
|
488
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Sum,
|
|
489
|
+
filterCondition: FilterCondition_1.default.All,
|
|
490
|
+
additionalFilters: [
|
|
491
|
+
{
|
|
492
|
+
/*
|
|
493
|
+
* Ready for less than half the window. The same container,
|
|
494
|
+
* because both filters are evaluated per series.
|
|
495
|
+
*/
|
|
496
|
+
metricAlias: readyAlias,
|
|
497
|
+
filterType: CriteriaFilter_1.FilterType.LessThan,
|
|
498
|
+
value: 0.5,
|
|
499
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Average,
|
|
500
|
+
},
|
|
501
|
+
],
|
|
280
502
|
incidentTitle: `[K8s] CrashLoopBackOff Detected - ${args.monitorName}`,
|
|
281
503
|
/*
|
|
282
|
-
* `k8s.container.restarts` is containerStatus.restartCount: it only
|
|
283
|
-
* ever goes up for the life of the pod object. Everything this copy
|
|
284
|
-
* says follows from that, so keep the two facts in it — the count is
|
|
285
|
-
* cumulative, and the alert therefore clears on pod replacement
|
|
286
|
-
* rather than when the crashing stops.
|
|
287
|
-
*
|
|
288
504
|
* No bare angle-bracket placeholders in here. Incident.description
|
|
289
505
|
* is a Markdown column, and the subscriber path runs it through
|
|
290
506
|
* Markdown.convertToPlainText, which strips a tag-shaped <pod> as
|
|
@@ -299,15 +515,29 @@ const crashLoopBackOffTemplate = {
|
|
|
299
515
|
* lives in the block SeriesContextEnricher appends to the
|
|
300
516
|
* description.
|
|
301
517
|
*/
|
|
302
|
-
incidentDescription: `A container
|
|
303
|
-
criteriaName: "CrashLoopBackOff -
|
|
304
|
-
criteriaDescription: "Triggers when a container
|
|
518
|
+
incidentDescription: `A container restarted within the last fifteen minutes and was ready for less than half of them — the signature of a CrashLoopBackOff: the kubelet keeps restarting a container that keeps crashing, waiting longer each time. The alert clears once the container stops restarting for fifteen minutes or stays ready. Common causes: a crash on startup, a missing config map or secret, an OOMKill against the container's memory limit, or a failing liveness probe. The affected namespace, pod and container are named under "Affected resource" below, with the kubectl commands to inspect them — including the previous instance's logs — under "Start here".`,
|
|
519
|
+
criteriaName: "CrashLoopBackOff - Restarts in 15 min > 0, Ready < 50%",
|
|
520
|
+
criteriaDescription: "Triggers when a container restarts within the monitoring window, counted from the restarts the agent sends with each sample, and the container was ready for less than half of it.",
|
|
305
521
|
}),
|
|
306
522
|
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
307
523
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
308
524
|
metricAlias,
|
|
309
525
|
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
310
|
-
value:
|
|
526
|
+
value: 0,
|
|
527
|
+
// Must match the unhealthy side: a sum of per-minute restarts.
|
|
528
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Sum,
|
|
529
|
+
/*
|
|
530
|
+
* Either clears it: no restart in the window, or a container ready
|
|
531
|
+
* for most of it (with the shared dead band, 55%).
|
|
532
|
+
*/
|
|
533
|
+
additionalFilters: [
|
|
534
|
+
{
|
|
535
|
+
metricAlias: readyAlias,
|
|
536
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThanOrEqualTo,
|
|
537
|
+
value: 0.5,
|
|
538
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Average,
|
|
539
|
+
},
|
|
540
|
+
],
|
|
311
541
|
}),
|
|
312
542
|
});
|
|
313
543
|
},
|
|
@@ -358,9 +588,9 @@ const podPendingTemplate = {
|
|
|
358
588
|
* Min also avoids the trap the previous `Sum` walked into, which
|
|
359
589
|
* Common/Types/Dashboard/DashboardTemplates.ts documents: a
|
|
360
590
|
* per-resource gauge re-emitted on every scrape sums to
|
|
361
|
-
* (pods x scrapes).
|
|
362
|
-
*
|
|
363
|
-
*
|
|
591
|
+
* (pods x scrapes). k8s-node-not-ready reads its
|
|
592
|
+
* `k8s.node.condition_ready` the same way (Min per node), with a
|
|
593
|
+
* `< 1` because that metric has two bad values.
|
|
364
594
|
*/
|
|
365
595
|
aggregationType: MetricsAggregationType_1.default.Min,
|
|
366
596
|
/*
|
|
@@ -421,8 +651,8 @@ const podPendingTemplate = {
|
|
|
421
651
|
const nodeNotReadyTemplate = {
|
|
422
652
|
id: "k8s-node-not-ready",
|
|
423
653
|
name: "Node Not Ready",
|
|
424
|
-
summary: "A node reports NotReady.",
|
|
425
|
-
description: "Alert when a node condition
|
|
654
|
+
summary: "A node reports NotReady, or stops reporting its status.",
|
|
655
|
+
description: "Alert when a node's Ready condition is not True: NotReady (the kubelet reports a problem) or Unknown (the kubelet stopped reporting, which is what a node that crashed, lost power or lost its network looks like). k8s.node.condition_ready is 1 for Ready, 0 for NotReady and -1 for Unknown.",
|
|
426
656
|
category: "Node",
|
|
427
657
|
severity: "Critical",
|
|
428
658
|
getMonitorStep: (args) => {
|
|
@@ -437,8 +667,8 @@ const nodeNotReadyTemplate = {
|
|
|
437
667
|
aggregationType: MetricsAggregationType_1.default.Min,
|
|
438
668
|
/*
|
|
439
669
|
* Per node: one incident per NotReady node. Ungrouped, the Min
|
|
440
|
-
* across the fleet
|
|
441
|
-
* second node to fail dedupes behind the first one's incident.
|
|
670
|
+
* across the fleet drops below 1 as soon as ANY node is down, and
|
|
671
|
+
* the second node to fail dedupes behind the first one's incident.
|
|
442
672
|
*/
|
|
443
673
|
groupByAttributeKeys: ["resource.k8s.node.name"],
|
|
444
674
|
}),
|
|
@@ -448,18 +678,34 @@ const nodeNotReadyTemplate = {
|
|
|
448
678
|
alertSeverityId: args.defaultAlertSeverityId,
|
|
449
679
|
monitorName: args.monitorName,
|
|
450
680
|
metricAlias,
|
|
451
|
-
|
|
452
|
-
|
|
681
|
+
/*
|
|
682
|
+
* `< 1`, NOT `= 0`. The k8s_cluster receiver maps the Ready
|
|
683
|
+
* condition's status to a number: True 1, False 0, Unknown -1
|
|
684
|
+
* (k8sclusterreceiver's nodeConditionValues). A node that goes
|
|
685
|
+
* down - crashed, powered off, partitioned - does not report
|
|
686
|
+
* False: its kubelet stops posting status, and after the node
|
|
687
|
+
* monitor grace period the node controller sets Ready to
|
|
688
|
+
* Unknown. `= 0` therefore never matched the outage this template
|
|
689
|
+
* exists for; it only caught a kubelet that was alive enough to
|
|
690
|
+
* say it was unhealthy. Every value below 1 is "not Ready".
|
|
691
|
+
*/
|
|
692
|
+
filterType: CriteriaFilter_1.FilterType.LessThan,
|
|
693
|
+
value: 1,
|
|
453
694
|
incidentTitle: `[K8s] Node Not Ready - ${args.monitorName}`,
|
|
454
|
-
incidentDescription: `A Kubernetes node
|
|
455
|
-
criteriaName: "Node
|
|
456
|
-
criteriaDescription: "Triggers when
|
|
695
|
+
incidentDescription: `A Kubernetes node is not Ready: it reports NotReady, or its kubelet has stopped reporting and the node's Ready condition is Unknown, which is how a node that crashed, lost power or lost its network looks. This is a critical condition that affects all pods scheduled on this node. The affected node is named under "Affected resource" below; use the kubectl commands under "Start here" to read its conditions and list what it is still hosting.`,
|
|
696
|
+
criteriaName: "Node Not Ready - Ready Condition < 1",
|
|
697
|
+
criteriaDescription: "Triggers when a node's Ready condition stays below 1 (0 = NotReady, -1 = Unknown) for every sample in the monitoring window.",
|
|
457
698
|
}),
|
|
458
699
|
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
459
700
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
460
701
|
metricAlias,
|
|
461
|
-
filterType: CriteriaFilter_1.FilterType.
|
|
462
|
-
value:
|
|
702
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThanOrEqualTo,
|
|
703
|
+
value: 1,
|
|
704
|
+
/*
|
|
705
|
+
* Ready is exactly 1, so the shared 10% dead band (recover at
|
|
706
|
+
* `>= 1.1`) could never be reached.
|
|
707
|
+
*/
|
|
708
|
+
isBinaryMetric: true,
|
|
463
709
|
}),
|
|
464
710
|
});
|
|
465
711
|
},
|
|
@@ -519,7 +765,7 @@ const highMemoryTemplate = {
|
|
|
519
765
|
id: "k8s-high-memory",
|
|
520
766
|
name: "High Node Memory Utilization",
|
|
521
767
|
summary: "A node uses more than 85% of its allocatable memory.",
|
|
522
|
-
description: "Alert when a node's average memory
|
|
768
|
+
description: "Alert when a node's average memory working set exceeds 85% of its allocatable memory. Computed per node as k8s.node.memory.working_set ÷ k8s.node.allocatable_memory × 100 — both are bytes, so this is a true percentage. The working set is the memory the kubelet counts when it evicts pods; k8s.node.memory.usage also counts page cache the kernel can reclaim, so a node full of cache would read near 100% without being under pressure.",
|
|
523
769
|
category: "Node",
|
|
524
770
|
severity: "Warning",
|
|
525
771
|
getMonitorStep: (args) => {
|
|
@@ -527,7 +773,16 @@ const highMemoryTemplate = {
|
|
|
527
773
|
return buildKubernetesMonitorStep({
|
|
528
774
|
kubernetesMonitor: buildKubernetesRatioMonitorConfig({
|
|
529
775
|
clusterIdentifier: args.clusterIdentifier,
|
|
530
|
-
|
|
776
|
+
/*
|
|
777
|
+
* The WORKING SET, not `k8s.node.memory.usage`. kubeletstats'
|
|
778
|
+
* usage is the cgroup's total, page cache included; the working
|
|
779
|
+
* set is usage minus inactive file pages - the figure the kubelet
|
|
780
|
+
* compares against its eviction thresholds and that `kubectl top
|
|
781
|
+
* node` prints. A node whose memory is mostly reclaimable cache
|
|
782
|
+
* read near 100% on `usage` while nothing was under pressure. Both
|
|
783
|
+
* are default kubeletstats node metrics, from the same scrape.
|
|
784
|
+
*/
|
|
785
|
+
numeratorMetricName: "k8s.node.memory.working_set",
|
|
531
786
|
denominatorMetricName: "k8s.node.allocatable_memory",
|
|
532
787
|
groupByAttributeKeys: ["resource.k8s.node.name"],
|
|
533
788
|
numeratorAlias: "used_mem",
|
|
@@ -553,9 +808,9 @@ const highMemoryTemplate = {
|
|
|
553
808
|
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
554
809
|
value: 85,
|
|
555
810
|
incidentTitle: `[K8s] High Memory Utilization (>85%) - ${args.monitorName}`,
|
|
556
|
-
incidentDescription: `A node's average memory
|
|
557
|
-
criteriaName: "High Memory -
|
|
558
|
-
criteriaDescription: "Triggers when a node's average memory
|
|
811
|
+
incidentDescription: `A node's average memory working set has exceeded 85% of its allocatable memory. The working set leaves out page cache the kernel can reclaim, so this is memory in use: past the kubelet's eviction threshold it starts evicting pods, and the kernel OOM-kills containers. The affected node is named under "Affected resource" below; use the kubectl commands under "Start here" to list the pods on it and find the top memory consumers.`,
|
|
812
|
+
criteriaName: "High Memory - Working Set > 85%",
|
|
813
|
+
criteriaDescription: "Triggers when a node's average memory working set exceeds 85% of its allocatable memory over the monitoring window.",
|
|
559
814
|
}),
|
|
560
815
|
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
561
816
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
@@ -573,6 +828,7 @@ const deploymentReplicaMismatchTemplate = {
|
|
|
573
828
|
description: "Alert when a deployment has fewer available replicas than desired for fifteen minutes. Computed per deployment as k8s.deployment.desired - k8s.deployment.available, the two replica counts the agent's k8s_cluster receiver reports — it has no unavailable-replicas series.",
|
|
574
829
|
category: "Workload",
|
|
575
830
|
severity: "Warning",
|
|
831
|
+
workloadKind: "deployment",
|
|
576
832
|
getMonitorStep: (args) => {
|
|
577
833
|
const metricAlias = "replica_shortfall";
|
|
578
834
|
return buildKubernetesMonitorStep({
|
|
@@ -659,33 +915,103 @@ const deploymentReplicaMismatchTemplate = {
|
|
|
659
915
|
});
|
|
660
916
|
},
|
|
661
917
|
};
|
|
918
|
+
/*
|
|
919
|
+
* The id stays "k8s-job-failures": it is the stable key the recommendation
|
|
920
|
+
* catalog and the already-created-monitor diff match on.
|
|
921
|
+
*
|
|
922
|
+
* It used to read the growth of k8s.job.failed_pods (the Job's
|
|
923
|
+
* status.failed) between two samples of the same minute: a Max and a Min
|
|
924
|
+
* query per minute and a formula subtracting them, summed over the window.
|
|
925
|
+
* At the agent's 30-second interval a failure between the last sample of
|
|
926
|
+
* one minute and the first of the next was never counted - about half of
|
|
927
|
+
* them, so a Job that failed once had even odds of going unseen - and a Job
|
|
928
|
+
* recreated under the same name (a Helm hook's, a migration Job a deploy
|
|
929
|
+
* replaces) read the old Job's count against the new one's 0 as that many
|
|
930
|
+
* failures in one minute. The alerting path cannot difference values across
|
|
931
|
+
* minutes, so the agent does it: the cluster collector's
|
|
932
|
+
* transform/job-failures-increase sends k8s.job.failed_pods.increase with
|
|
933
|
+
* every sample, the failures since its previous sample of the same Job (by
|
|
934
|
+
* UID), however far back that was (HelmChart/Public/kubernetes-agent/
|
|
935
|
+
* templates/configmap-deployment.yaml). Summed per minute and over the
|
|
936
|
+
* window, that is every failure in it. The k8s_cluster receiver reports
|
|
937
|
+
* every Job at each interval until the Job is deleted, so a failing Job is
|
|
938
|
+
* sampled between its retries.
|
|
939
|
+
*
|
|
940
|
+
* What it cannot see: the failures before the agent's first sample of a Job
|
|
941
|
+
* are that Job's starting point, not an increase - the agent cannot tell a
|
|
942
|
+
* new Job's first failures from an old Job's history - so a Job that fails
|
|
943
|
+
* within its first half-minute and never retries goes unseen.
|
|
944
|
+
*
|
|
945
|
+
* A cluster whose agent predates k8s.job.failed_pods.increase sends nothing
|
|
946
|
+
* this query reads, so the template never fires there, and the docs tell it
|
|
947
|
+
* to upgrade the agent. That is also why monitors made from the old query
|
|
948
|
+
* are left as they are rather than rewritten to this one: against an older
|
|
949
|
+
* agent the rewrite would stop alerting.
|
|
950
|
+
*/
|
|
662
951
|
const jobFailuresTemplate = {
|
|
663
952
|
id: "k8s-job-failures",
|
|
664
953
|
name: "Job Failures",
|
|
665
|
-
summary: "A job
|
|
666
|
-
|
|
954
|
+
summary: "A pod of a job fails within 15 minutes.",
|
|
955
|
+
// See crashLoopBackOffTemplate for why no backticks.
|
|
956
|
+
description: "Alert when a pod of a Kubernetes Job fails, and clear fifteen minutes after the last failure: a Job that retried and succeeded stops alerting on its own. Reads k8s.job.failed_pods.increase, the Job's failed pods since the agent's previous sample of it, so every failure counts however far apart the samples are. A Job recreated under the same name starts a new count. Failures before the agent's first sample of a Job, in its first half-minute, are not counted. An older Kubernetes agent does not send the increase: upgrade the agent first. One incident per Job.",
|
|
667
957
|
category: "Workload",
|
|
668
958
|
severity: "Warning",
|
|
959
|
+
workloadKind: "job",
|
|
669
960
|
getMonitorStep: (args) => {
|
|
670
961
|
const metricAlias = "failed_pods";
|
|
671
962
|
return buildKubernetesMonitorStep({
|
|
672
|
-
|
|
963
|
+
/*
|
|
964
|
+
* NOT the failed-pod count itself. `k8s.job.failed_pods` is the Job's
|
|
965
|
+
* status.failed, which only grows for the life of the Job object: a
|
|
966
|
+
* Job that failed once and succeeded on its retry kept "> 0" - and
|
|
967
|
+
* the alert open - until the Job was deleted, and a CronJob keeps
|
|
968
|
+
* its last failed Job (failedJobsHistoryLimit) indefinitely. The
|
|
969
|
+
* failures the agent sends with each sample, summed over the window,
|
|
970
|
+
* are "a pod failed recently", which clears on its own.
|
|
971
|
+
*/
|
|
972
|
+
kubernetesMonitor: buildKubernetesMultiQueryMonitorConfig({
|
|
673
973
|
clusterIdentifier: args.clusterIdentifier,
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
974
|
+
queries: [
|
|
975
|
+
{
|
|
976
|
+
alias: metricAlias,
|
|
977
|
+
title: "Failed Job Pods",
|
|
978
|
+
metricName: "k8s.job.failed_pods.increase",
|
|
979
|
+
/*
|
|
980
|
+
* Sum WITHIN each Job's series: the failures in each minute.
|
|
981
|
+
* A minute with no sample of the Job has no row, not a zero,
|
|
982
|
+
* and the increase a later sample sends still counts its
|
|
983
|
+
* failures.
|
|
984
|
+
*/
|
|
985
|
+
aggregationType: MetricsAggregationType_1.default.Sum,
|
|
986
|
+
},
|
|
987
|
+
],
|
|
988
|
+
formulas: [],
|
|
679
989
|
/*
|
|
680
990
|
* Per Job object — one failing Job must not hide the next one.
|
|
681
991
|
* Jobs are short-lived: when a Job is cleaned up its series stops
|
|
682
992
|
* arriving and the per-series pass auto-resolves that Job's alert
|
|
683
|
-
* by absence, which is the behaviour we want here.
|
|
993
|
+
* by absence, which is the behaviour we want here. A Job recreated
|
|
994
|
+
* under the same name is the same series: its first sample sends
|
|
995
|
+
* nothing, its failures after that count.
|
|
996
|
+
*
|
|
997
|
+
* The increase is a copy on the Job's own resource, so it carries
|
|
998
|
+
* what k8s.job.failed_pods carries: the Job's name, UID and
|
|
999
|
+
* namespace. A Workload scope of kind Job filters on that name; the
|
|
1000
|
+
* pods a Job retries with never reach its resource, so a retry is
|
|
1001
|
+
* the same series. The receiver puts no CronJob on a Job's
|
|
1002
|
+
* metrics: a CronJob's runs are Jobs of their own.
|
|
684
1003
|
*/
|
|
685
1004
|
groupByAttributeKeys: [
|
|
686
1005
|
"resource.k8s.namespace.name",
|
|
687
1006
|
"resource.k8s.job.name",
|
|
688
1007
|
],
|
|
1008
|
+
resourceScope: MonitorStepKubernetesMonitor_1.KubernetesResourceScope.Workload,
|
|
1009
|
+
/*
|
|
1010
|
+
* Fifteen minutes: a Job that exhausts the default backoffLimit of
|
|
1011
|
+
* 6 fails seven pods over about ten minutes (back-off 10 s, 20 s,
|
|
1012
|
+
* 40 s ... capped at 6 minutes), all inside one window.
|
|
1013
|
+
*/
|
|
1014
|
+
rollingTime: RollingTime_1.default.Past15Minutes,
|
|
689
1015
|
}),
|
|
690
1016
|
offlineCriteriaInstance: buildOfflineCriteriaInstance({
|
|
691
1017
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
@@ -695,16 +1021,23 @@ const jobFailuresTemplate = {
|
|
|
695
1021
|
metricAlias,
|
|
696
1022
|
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
697
1023
|
value: 0,
|
|
1024
|
+
/*
|
|
1025
|
+
* Sum: each sample is one minute's failures, and the window total
|
|
1026
|
+
* is the number of pod failures in it.
|
|
1027
|
+
*/
|
|
1028
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Sum,
|
|
698
1029
|
incidentTitle: `[K8s] Job Failure Detected - ${args.monitorName}`,
|
|
699
|
-
incidentDescription: `A Kubernetes Job
|
|
700
|
-
criteriaName: "Job Failures - Failed Pods > 0",
|
|
701
|
-
criteriaDescription: "Triggers when
|
|
1030
|
+
incidentDescription: `A pod of a Kubernetes Job failed within the last fifteen minutes, so the Job's workload is failing. If the Job retries and succeeds, or nothing fails for fifteen minutes, the alert clears on its own. The affected namespace and job are named under "Affected resource" below, with the describe command under "Start here"; the failed pod's logs say why it exited.`,
|
|
1031
|
+
criteriaName: "Job Failures - Failed Pods in 15 min > 0",
|
|
1032
|
+
criteriaDescription: "Triggers when a pod of a Job fails within the monitoring window, counted from the failed pods the agent sends with each sample.",
|
|
702
1033
|
}),
|
|
703
1034
|
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
704
1035
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
705
1036
|
metricAlias,
|
|
706
|
-
filterType: CriteriaFilter_1.FilterType.
|
|
1037
|
+
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
707
1038
|
value: 0,
|
|
1039
|
+
// Must match the unhealthy side: a sum of per-minute failures.
|
|
1040
|
+
metricAggregationType: CriteriaFilter_1.EvaluateOverTimeType.Sum,
|
|
708
1041
|
}),
|
|
709
1042
|
});
|
|
710
1043
|
},
|
|
@@ -989,6 +1322,7 @@ const daemonSetUnavailableTemplate = {
|
|
|
989
1322
|
description: "Alert when a DaemonSet is running daemon pods on nodes that no longer match its node selector, affinity or taint tolerations. k8s.daemonset.misscheduled_nodes counts nodes that ARE running the pod but should NOT be — it is not the count of nodes that are missing the pod.",
|
|
990
1323
|
category: "Workload",
|
|
991
1324
|
severity: "Warning",
|
|
1325
|
+
workloadKind: "daemonset",
|
|
992
1326
|
getMonitorStep: (args) => {
|
|
993
1327
|
const metricAlias = "misscheduled_nodes";
|
|
994
1328
|
return buildKubernetesMonitorStep({
|
|
@@ -1144,36 +1478,72 @@ const nodeMemoryRequestUtilizationTemplate = {
|
|
|
1144
1478
|
const hpaAtMaxReplicasTemplate = {
|
|
1145
1479
|
id: "k8s-hpa-at-max-replicas",
|
|
1146
1480
|
name: "HPA Saturated at Max Replicas",
|
|
1147
|
-
summary: "An autoscaler
|
|
1148
|
-
description: "Alert when a HorizontalPodAutoscaler
|
|
1481
|
+
summary: "An autoscaler has scaled up to 90% or more of its maximum replicas.",
|
|
1482
|
+
description: "Alert when a HorizontalPodAutoscaler has scaled above its minReplicas and runs at 90% or more of its maxReplicas. Computed per HPA as k8s.hpa.current_replicas ÷ k8s.hpa.max_replicas × 100, while k8s.hpa.current_replicas is above k8s.hpa.min_replicas — an HPA whose floor is already within 10% of its ceiling sits there at idle, and is not saturated. An HPA at its ceiling has no headroom left: load it cannot absorb by scaling turns straight into latency and errors, and a workload that reaches the ceiling and stays there is usually under-resourced per pod rather than genuinely at capacity.",
|
|
1149
1483
|
category: "Workload",
|
|
1150
1484
|
severity: "Critical",
|
|
1485
|
+
/*
|
|
1486
|
+
* Its metrics carry the HPA's own name, not the name of what it scales
|
|
1487
|
+
* (KUBERNETES_HPA_KIND), so a Workload Name is read as the HPA's.
|
|
1488
|
+
*/
|
|
1489
|
+
workloadKind: "hpa",
|
|
1151
1490
|
getMonitorStep: (args) => {
|
|
1152
1491
|
const metricAlias = "hpa_replica_saturation";
|
|
1492
|
+
const aboveMinAlias = "hpa_replicas_above_min";
|
|
1153
1493
|
return buildKubernetesMonitorStep({
|
|
1154
|
-
kubernetesMonitor:
|
|
1494
|
+
kubernetesMonitor: buildKubernetesMultiQueryMonitorConfig({
|
|
1155
1495
|
clusterIdentifier: args.clusterIdentifier,
|
|
1156
|
-
|
|
1157
|
-
|
|
1496
|
+
/*
|
|
1497
|
+
* ONE series per HPA on every query (they are the same object's
|
|
1498
|
+
* status/spec fields, from the same k8s_cluster scrape), so Avg
|
|
1499
|
+
* gives the representative per-minute value independent of scrape
|
|
1500
|
+
* count. See buildKubernetesRatioMonitorConfig.
|
|
1501
|
+
*/
|
|
1502
|
+
queries: [
|
|
1503
|
+
{
|
|
1504
|
+
alias: "current_replicas",
|
|
1505
|
+
metricName: "k8s.hpa.current_replicas",
|
|
1506
|
+
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
alias: "max_replicas",
|
|
1510
|
+
metricName: "k8s.hpa.max_replicas",
|
|
1511
|
+
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
alias: "min_replicas",
|
|
1515
|
+
metricName: "k8s.hpa.min_replicas",
|
|
1516
|
+
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
1517
|
+
},
|
|
1518
|
+
],
|
|
1519
|
+
formulas: [
|
|
1520
|
+
{
|
|
1521
|
+
alias: metricAlias,
|
|
1522
|
+
legend: "HPA Replica Saturation (%)",
|
|
1523
|
+
formula: "(current_replicas / max_replicas) * 100",
|
|
1524
|
+
legendUnit: "%",
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
/*
|
|
1528
|
+
* How far the HPA has scaled above its floor. An HPA with
|
|
1529
|
+
* minReplicas 9 and maxReplicas 10 is at 90% of its ceiling
|
|
1530
|
+
* while idle, and the ratio alone paged on it forever; with
|
|
1531
|
+
* minReplicas = maxReplicas it cannot scale at all. Requiring
|
|
1532
|
+
* current > min keeps both out: the HPA must have scaled up
|
|
1533
|
+
* to get there.
|
|
1534
|
+
*/
|
|
1535
|
+
alias: aboveMinAlias,
|
|
1536
|
+
legend: "HPA Replicas Above Minimum",
|
|
1537
|
+
formula: "current_replicas - min_replicas",
|
|
1538
|
+
legendUnit: "",
|
|
1539
|
+
},
|
|
1540
|
+
],
|
|
1158
1541
|
groupByAttributeKeys: [
|
|
1159
1542
|
"resource.k8s.namespace.name",
|
|
1160
1543
|
"resource.k8s.hpa.name",
|
|
1161
1544
|
],
|
|
1162
|
-
numeratorAlias: "current_replicas",
|
|
1163
|
-
denominatorAlias: "max_replicas",
|
|
1164
|
-
resultAlias: metricAlias,
|
|
1165
|
-
resultLegend: "HPA Replica Saturation (%)",
|
|
1166
1545
|
resourceScope: MonitorStepKubernetesMonitor_1.KubernetesResourceScope.Workload,
|
|
1167
1546
|
rollingTime: RollingTime_1.default.Past5Minutes,
|
|
1168
|
-
/*
|
|
1169
|
-
* ONE series per HPA on both sides (they are the same object's
|
|
1170
|
-
* status/spec fields), so Avg gives the representative per-minute
|
|
1171
|
-
* ratio independent of scrape count. Both come from the same
|
|
1172
|
-
* k8s_cluster scrape, so Sum would also cancel — but Avg stays
|
|
1173
|
-
* correct across restarts and missed scrapes. See
|
|
1174
|
-
* buildKubernetesRatioMonitorConfig.
|
|
1175
|
-
*/
|
|
1176
|
-
aggregationType: MetricsAggregationType_1.default.Avg,
|
|
1177
1547
|
}),
|
|
1178
1548
|
offlineCriteriaInstance: buildOfflineCriteriaInstance({
|
|
1179
1549
|
offlineMonitorStatusId: args.offlineMonitorStatusId,
|
|
@@ -1183,16 +1553,36 @@ const hpaAtMaxReplicasTemplate = {
|
|
|
1183
1553
|
metricAlias,
|
|
1184
1554
|
filterType: CriteriaFilter_1.FilterType.GreaterThanOrEqualTo,
|
|
1185
1555
|
value: 90,
|
|
1556
|
+
// Both must hold for the SAME HPA (evaluated per series).
|
|
1557
|
+
filterCondition: FilterCondition_1.default.All,
|
|
1558
|
+
additionalFilters: [
|
|
1559
|
+
{
|
|
1560
|
+
metricAlias: aboveMinAlias,
|
|
1561
|
+
filterType: CriteriaFilter_1.FilterType.GreaterThan,
|
|
1562
|
+
value: 0,
|
|
1563
|
+
},
|
|
1564
|
+
],
|
|
1186
1565
|
incidentTitle: `[K8s] HPA Saturated at Max Replicas (>=90%) - ${args.monitorName}`,
|
|
1187
|
-
incidentDescription: `A HorizontalPodAutoscaler
|
|
1188
|
-
criteriaName: "HPA Saturation - Current/Max Replicas >= 90
|
|
1189
|
-
criteriaDescription: "Triggers when
|
|
1566
|
+
incidentDescription: `A HorizontalPodAutoscaler has scaled up to 90% or more of its maxReplicas and has effectively no scaling headroom left. Any further load cannot be absorbed by scaling out, so it will surface as latency and errors instead. Check whether the workload is genuinely at capacity or whether its per-pod CPU/memory limits are set too low — an under-resourced pod gets throttled or OOMKilled, which inflates the metric the HPA scales on and drives it to the ceiling. The affected namespace and HorizontalPodAutoscaler are named under "Affected resource" below, with the describe command under "Start here" for its target and current-vs-max replicas.`,
|
|
1567
|
+
criteriaName: "HPA Saturation - Current/Max Replicas >= 90%, above minReplicas",
|
|
1568
|
+
criteriaDescription: "Triggers when an HPA's current replica count stays at 90% or more of its maxReplicas, and above its minReplicas, for every sample in the monitoring window. An HPA that sits at its floor never fires, however close the floor is to the ceiling.",
|
|
1190
1569
|
}),
|
|
1191
1570
|
onlineCriteriaInstance: buildOnlineCriteriaInstance({
|
|
1192
1571
|
onlineMonitorStatusId: args.onlineMonitorStatusId,
|
|
1193
1572
|
metricAlias,
|
|
1194
1573
|
filterType: CriteriaFilter_1.FilterType.LessThan,
|
|
1195
1574
|
value: 90,
|
|
1575
|
+
/*
|
|
1576
|
+
* Either clears it (the builder default, Any): it scaled back below
|
|
1577
|
+
* the dead band, or back down to its floor.
|
|
1578
|
+
*/
|
|
1579
|
+
additionalFilters: [
|
|
1580
|
+
{
|
|
1581
|
+
metricAlias: aboveMinAlias,
|
|
1582
|
+
filterType: CriteriaFilter_1.FilterType.LessThanOrEqualTo,
|
|
1583
|
+
value: 0,
|
|
1584
|
+
},
|
|
1585
|
+
],
|
|
1196
1586
|
}),
|
|
1197
1587
|
});
|
|
1198
1588
|
},
|
|
@@ -1319,6 +1709,7 @@ const podCpuLimitSaturationTemplate = {
|
|
|
1319
1709
|
};
|
|
1320
1710
|
function getAllKubernetesAlertTemplates() {
|
|
1321
1711
|
return [
|
|
1712
|
+
clusterStoppedReportingTemplate,
|
|
1322
1713
|
crashLoopBackOffTemplate,
|
|
1323
1714
|
podPendingTemplate,
|
|
1324
1715
|
nodeNotReadyTemplate,
|
|
@@ -1348,3 +1739,11 @@ function getKubernetesAlertTemplateById(id) {
|
|
|
1348
1739
|
return template.id === id;
|
|
1349
1740
|
});
|
|
1350
1741
|
}
|
|
1742
|
+
/*
|
|
1743
|
+
* The template a NEW Kubernetes monitor starts on: the cluster going silent.
|
|
1744
|
+
* It is the one template that still speaks when every other one has stopped
|
|
1745
|
+
* being evaluated, and it has no threshold to tune.
|
|
1746
|
+
*/
|
|
1747
|
+
function getKubernetesDefaultAlertTemplateId() {
|
|
1748
|
+
return clusterStoppedReportingTemplate.id;
|
|
1749
|
+
}
|