@oneuptime/common 14.0.98 → 14.0.99
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/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/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/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 +83 -0
- package/Models/DatabaseModels/DataStore.d.ts +83 -0
- package/Models/DatabaseModels/DataStore.js +1343 -0
- package/Models/DatabaseModels/DataStore.mjs +2 -0
- package/Models/DatabaseModels/DataStoreAccess.d.mts +22 -0
- package/Models/DatabaseModels/DataStoreAccess.d.ts +22 -0
- package/Models/DatabaseModels/DataStoreAccess.js +407 -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 +38 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +38 -0
- package/Models/DatabaseModels/DataStoreFinding.js +683 -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/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +110 -0
- package/Models/DatabaseModels/Index.js +35 -0
- 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/ResourceAiAgent.js +3 -1
- package/Models/DatabaseModels/SecurityEntityCriticality.js +7 -6
- package/Models/DatabaseModels/SecurityEntityRisk.js +2 -2
- package/Models/DatabaseModels/TelemetryException.d.mts +5 -0
- package/Models/DatabaseModels/TelemetryException.d.ts +5 -0
- package/Models/DatabaseModels/TelemetryException.js +170 -8
- 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/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/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/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 +75 -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 +410 -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/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 +199 -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 +93 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +93 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +1183 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.mjs +10 -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 +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.ts +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.js +115 -0
- package/Types/DataSecurity/DataSecurityResponseAction.mjs +11 -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 +27 -0
- package/Types/DataSecurity/DataStoreAccess.d.ts +27 -0
- package/Types/DataSecurity/DataStoreAccess.js +35 -0
- package/Types/DataSecurity/DataStoreAccess.mjs +4 -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/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +6 -0
- package/Types/Monitor/CephAlertTemplates.d.mts +2 -1
- package/Types/Monitor/CephAlertTemplates.d.ts +2 -1
- package/Types/Monitor/CephAlertTemplates.js +49 -0
- package/Types/Monitor/CephAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerAlertTemplates.d.mts +2 -1
- package/Types/Monitor/DockerAlertTemplates.d.ts +2 -1
- package/Types/Monitor/DockerAlertTemplates.js +109 -37
- 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 +26 -52
- package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.js +65 -8
- package/Types/Monitor/DockerSwarmAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerSwarmMetricCatalog.js +7 -4
- 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/IotAlertTemplates.d.mts +1 -0
- package/Types/Monitor/IotAlertTemplates.d.ts +1 -0
- package/Types/Monitor/IotAlertTemplates.js +11 -0
- package/Types/Monitor/IotAlertTemplates.mjs +1 -0
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +49 -1
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +49 -1
- package/Types/Monitor/KubernetesAlertTemplates.js +392 -75
- package/Types/Monitor/KubernetesAlertTemplates.mjs +2 -0
- package/Types/Monitor/KubernetesMetricCatalog.js +12 -2
- 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/MonitorStepDockerSwarmMonitor.d.mts +33 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +33 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +65 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.mts +6 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +6 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.js +38 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +2 -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/PodmanAlertTemplates.d.mts +12 -1
- package/Types/Monitor/PodmanAlertTemplates.d.ts +12 -1
- package/Types/Monitor/PodmanAlertTemplates.js +161 -33
- package/Types/Monitor/PodmanAlertTemplates.mjs +2 -0
- package/Types/Monitor/PodmanMetricCatalog.d.mts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.d.ts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.js +26 -52
- package/Types/Monitor/ProxmoxAlertTemplates.d.mts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.ts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.js +49 -0
- package/Types/Monitor/ProxmoxAlertTemplates.mjs +1 -0
- 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/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/StorageArrayAlertTemplates.d.mts +2 -1
- package/Types/Monitor/StorageArrayAlertTemplates.d.ts +2 -1
- package/Types/Monitor/StorageArrayAlertTemplates.js +69 -0
- package/Types/Monitor/StorageArrayAlertTemplates.mjs +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.mts +2 -1
- package/Types/Monitor/VMwareAlertTemplates.d.ts +2 -1
- package/Types/Monitor/VMwareAlertTemplates.js +50 -0
- package/Types/Monitor/VMwareAlertTemplates.mjs +1 -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 +51 -0
- package/Types/Permission.d.ts +51 -0
- package/Types/Permission.js +542 -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/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 +2 -1
- package/Types/Rules/RuleCriteriaSubject.d.ts +2 -1
- package/Types/Rules/RuleCriteriaSubject.js +3 -0
- package/Types/Rules/RuleRun.d.mts +2 -0
- package/Types/Rules/RuleRun.d.ts +2 -0
- package/Types/Rules/RuleRun.js +4 -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/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 +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +37 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +9 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.js +8 -1
- 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/TraceSpanType.d.mts +1 -1
- package/Types/Telemetry/TraceSpanType.d.ts +1 -1
- package/Types/Telemetry/TraceSpanType.js +33 -8
- package/Types/Telemetry/TraceSpanType.mjs +1 -1
- 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/Workspace/WorkspaceMessagePayload.d.mts +1 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +1 -0
- 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/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 +20 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +20 -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/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/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/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/LabelRuleImportExport.js +17 -3
- package/Utils/Monitor/PlatformResourceIdentity.js +7 -4
- 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/OnCallPageSms.d.mts +1 -0
- package/Utils/Sms/OnCallPageSms.d.ts +1 -0
- package/Utils/Sms/OnCallPageSms.js +16 -2
- 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/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
|
@@ -162,6 +162,19 @@ let OnCallDutyPolicyExecutionLog = class OnCallDutyPolicyExecutionLog extends Da
|
|
|
162
162
|
*/
|
|
163
163
|
this.triggeredByWorkflowId = undefined;
|
|
164
164
|
this.triggeredByWorkflowName = undefined;
|
|
165
|
+
/*
|
|
166
|
+
* What the person who paged wrote to the people the page reaches: the
|
|
167
|
+
* message typed with `/oneuptime page` in Slack or "page" in Microsoft
|
|
168
|
+
* Teams, in an incident's or an alert's own channel, where the page is
|
|
169
|
+
* about that incident or alert (WorkspacePage). The run's Slack and
|
|
170
|
+
* Microsoft Teams message quotes it under its first line, and the people
|
|
171
|
+
* paged read it in their notifications (OnCallPersonPage). Empty for a
|
|
172
|
+
* page with no message, and for every run OneUptime starts on its own.
|
|
173
|
+
*
|
|
174
|
+
* No caller may write it: OneUptime writes it as it starts the page
|
|
175
|
+
* (OnCallPageService).
|
|
176
|
+
*/
|
|
177
|
+
this.pageMessage = undefined;
|
|
165
178
|
}
|
|
166
179
|
};
|
|
167
180
|
__decorate([
|
|
@@ -1598,6 +1611,36 @@ __decorate([
|
|
|
1598
1611
|
}),
|
|
1599
1612
|
__metadata("design:type", String)
|
|
1600
1613
|
], OnCallDutyPolicyExecutionLog.prototype, "triggeredByWorkflowName", void 0);
|
|
1614
|
+
__decorate([
|
|
1615
|
+
(0, ColumnAccessControl_1.default)({
|
|
1616
|
+
create: [],
|
|
1617
|
+
read: [
|
|
1618
|
+
Permission_1.default.ProjectOwner,
|
|
1619
|
+
Permission_1.default.ProjectAdmin,
|
|
1620
|
+
Permission_1.default.ProjectMember,
|
|
1621
|
+
Permission_1.default.Viewer,
|
|
1622
|
+
Permission_1.default.OnCallAdmin,
|
|
1623
|
+
Permission_1.default.OnCallMember,
|
|
1624
|
+
Permission_1.default.OnCallViewer,
|
|
1625
|
+
Permission_1.default.ReadProjectOnCallDutyPolicyExecutionLog,
|
|
1626
|
+
],
|
|
1627
|
+
update: [],
|
|
1628
|
+
}),
|
|
1629
|
+
(0, TableColumn_1.default)({
|
|
1630
|
+
type: TableColumnType_1.default.LongText,
|
|
1631
|
+
required: false,
|
|
1632
|
+
title: "Page Message",
|
|
1633
|
+
description: "What the person who paged from Slack or Microsoft Teams wrote to the people this page reaches.",
|
|
1634
|
+
canReadOnRelationQuery: false,
|
|
1635
|
+
example: "Can you check the database connection pool?",
|
|
1636
|
+
}),
|
|
1637
|
+
(0, typeorm_1.Column)({
|
|
1638
|
+
type: ColumnType_1.default.LongText,
|
|
1639
|
+
length: ColumnLength_1.default.LongText,
|
|
1640
|
+
nullable: true,
|
|
1641
|
+
}),
|
|
1642
|
+
__metadata("design:type", String)
|
|
1643
|
+
], OnCallDutyPolicyExecutionLog.prototype, "pageMessage", void 0);
|
|
1601
1644
|
OnCallDutyPolicyExecutionLog = __decorate([
|
|
1602
1645
|
(0, TableBillingAccessControl_1.default)({
|
|
1603
1646
|
create: SubscriptionPlan_1.PlanType.Growth,
|
|
@@ -30,7 +30,8 @@ const typeorm_1 = require("typeorm");
|
|
|
30
30
|
/*
|
|
31
31
|
* Who may see a resource's AI agent: whoever may read a resource of any of
|
|
32
32
|
* the AiResourceType models (DockerHost, PodmanHost, DockerSwarmCluster,
|
|
33
|
-
* ProxmoxCluster, VMwareVCenter, CephCluster, DatabaseServer, Host
|
|
33
|
+
* ProxmoxCluster, VMwareVCenter, CephCluster, DatabaseServer, Host, and the
|
|
34
|
+
* CloudAccount of the three cloud types) — the
|
|
34
35
|
* roles every one of their read lists shares, plus each model's own Read
|
|
35
36
|
* permission. The table is polymorphic, so no one list can be "exactly the
|
|
36
37
|
* resource's readers" the way KubernetesAiAgent's is the cluster's: the
|
|
@@ -56,6 +57,7 @@ const RESOURCE_READERS = [
|
|
|
56
57
|
Permission_1.default.ReadCephCluster,
|
|
57
58
|
Permission_1.default.ReadDatabaseServer,
|
|
58
59
|
Permission_1.default.ReadHost,
|
|
60
|
+
Permission_1.default.ReadCloudResource,
|
|
59
61
|
];
|
|
60
62
|
/*
|
|
61
63
|
* The resource AI agent of one infrastructure resource (a Docker or Podman
|
|
@@ -36,9 +36,10 @@ const SecurityEntity_1 = require("../../Types/SecurityCase/SecurityEntity");
|
|
|
36
36
|
const SecurityEntityRisk_1 = require("../../Types/SecurityCase/SecurityEntityRisk");
|
|
37
37
|
const typeorm_1 = require("typeorm");
|
|
38
38
|
/*
|
|
39
|
-
* How much a user, a host
|
|
40
|
-
* controller
|
|
41
|
-
*
|
|
39
|
+
* How much a user, a host, an address or a data store matters to the
|
|
40
|
+
* project: a domain controller, the finance director's account or the
|
|
41
|
+
* bucket of card numbers is worth more attention than a test machine, so
|
|
42
|
+
* the risk of an entity an entry names is weighted -
|
|
42
43
|
* Low x0.5, High x1.5, Extreme x2 (SecurityEntityRisk). An entry is a value
|
|
43
44
|
* or a `*` pattern of one, matched whatever the case, as Protected Entities
|
|
44
45
|
* are.
|
|
@@ -148,7 +149,7 @@ __decorate([
|
|
|
148
149
|
type: TableColumnType_1.default.LongText,
|
|
149
150
|
canReadOnRelationQuery: true,
|
|
150
151
|
title: "Value",
|
|
151
|
-
description: "The user's sign-in name, the host's name or the
|
|
152
|
+
description: "The user's sign-in name, the host's name, the address or the data store, matched whatever the case. * stands for any run of characters: dc-* names every domain controller.",
|
|
152
153
|
}),
|
|
153
154
|
(0, typeorm_1.Column)({
|
|
154
155
|
nullable: false,
|
|
@@ -164,7 +165,7 @@ __decorate([
|
|
|
164
165
|
type: TableColumnType_1.default.ShortText,
|
|
165
166
|
canReadOnRelationQuery: true,
|
|
166
167
|
title: "Type",
|
|
167
|
-
description: "User, Host or
|
|
168
|
+
description: "User, Host, IP Address or Data Store: the kind of entity it is for. Empty is any kind.",
|
|
168
169
|
}),
|
|
169
170
|
(0, typeorm_1.Column)({
|
|
170
171
|
nullable: true,
|
|
@@ -313,7 +314,7 @@ SecurityEntityCriticality = __decorate([
|
|
|
313
314
|
singularName: "Entity Criticality",
|
|
314
315
|
pluralName: "Entity Criticalities",
|
|
315
316
|
icon: IconProp_1.default.Star,
|
|
316
|
-
tableDescription: "How much each user, host
|
|
317
|
+
tableDescription: "How much each user, host, IP address and data store matters: the risk of an entity an entry names counts less (Low) or more (High, Extreme).",
|
|
317
318
|
})
|
|
318
319
|
], SecurityEntityCriticality);
|
|
319
320
|
exports.default = SecurityEntityCriticality;
|
|
@@ -151,7 +151,7 @@ __decorate([
|
|
|
151
151
|
computed: true,
|
|
152
152
|
canReadOnRelationQuery: true,
|
|
153
153
|
title: "Type",
|
|
154
|
-
description: "What the entity is: a User, a Host
|
|
154
|
+
description: "What the entity is: a User, a Host, an IP Address or a Data Store.",
|
|
155
155
|
}),
|
|
156
156
|
(0, typeorm_1.Column)({
|
|
157
157
|
type: ColumnType_1.default.ShortText,
|
|
@@ -432,7 +432,7 @@ SecurityEntityRisk = __decorate([
|
|
|
432
432
|
singularName: "Entity Risk",
|
|
433
433
|
pluralName: "Entity Risks",
|
|
434
434
|
icon: IconProp_1.default.Fingerprint,
|
|
435
|
-
tableDescription: "The risk of each user, host and
|
|
435
|
+
tableDescription: "The risk of each user, host, IP address and data store: what the detection rules, threat intel, connected products and Data Security found about it in the last 7 days adds up to.",
|
|
436
436
|
}),
|
|
437
437
|
(0, TableAccessControl_1.default)({
|
|
438
438
|
create: [],
|
|
@@ -2,6 +2,7 @@ import Project from "./Project.mjs";
|
|
|
2
2
|
import User from "./User.mjs";
|
|
3
3
|
import Team from "./Team.mjs";
|
|
4
4
|
import ObjectID from "../../Types/ObjectID.mjs";
|
|
5
|
+
import { ExceptionAIExplanation } from "../../Types/Telemetry/ExceptionAIExplanation.mjs";
|
|
5
6
|
import ServiceType from "../../Types/Telemetry/ServiceType.mjs";
|
|
6
7
|
import DatabaseBaseModel from "./DatabaseBaseModel/DatabaseBaseModel.mjs";
|
|
7
8
|
export default class TelemetryException extends DatabaseBaseModel {
|
|
@@ -40,4 +41,8 @@ export default class TelemetryException extends DatabaseBaseModel {
|
|
|
40
41
|
errorClass?: string;
|
|
41
42
|
errorClassSource?: string;
|
|
42
43
|
aiFixDeclinedAt?: Date;
|
|
44
|
+
regressedAt?: Date;
|
|
45
|
+
resolvedInReleaseAfter?: string;
|
|
46
|
+
aiExplanation?: ExceptionAIExplanation;
|
|
47
|
+
aiExplanationGeneratedAt?: Date;
|
|
43
48
|
}
|
|
@@ -2,6 +2,7 @@ import Project from "./Project";
|
|
|
2
2
|
import User from "./User";
|
|
3
3
|
import Team from "./Team";
|
|
4
4
|
import ObjectID from "../../Types/ObjectID";
|
|
5
|
+
import { ExceptionAIExplanation } from "../../Types/Telemetry/ExceptionAIExplanation";
|
|
5
6
|
import ServiceType from "../../Types/Telemetry/ServiceType";
|
|
6
7
|
import DatabaseBaseModel from "./DatabaseBaseModel/DatabaseBaseModel";
|
|
7
8
|
export default class TelemetryException extends DatabaseBaseModel {
|
|
@@ -40,4 +41,8 @@ export default class TelemetryException extends DatabaseBaseModel {
|
|
|
40
41
|
errorClass?: string;
|
|
41
42
|
errorClassSource?: string;
|
|
42
43
|
aiFixDeclinedAt?: Date;
|
|
44
|
+
regressedAt?: Date;
|
|
45
|
+
resolvedInReleaseAfter?: string;
|
|
46
|
+
aiExplanation?: ExceptionAIExplanation;
|
|
47
|
+
aiExplanationGeneratedAt?: Date;
|
|
43
48
|
}
|
|
@@ -95,6 +95,10 @@ let TelemetryException = class TelemetryException extends DatabaseBaseModel_1.de
|
|
|
95
95
|
this.errorClass = undefined;
|
|
96
96
|
this.errorClassSource = undefined;
|
|
97
97
|
this.aiFixDeclinedAt = undefined;
|
|
98
|
+
this.regressedAt = undefined;
|
|
99
|
+
this.resolvedInReleaseAfter = undefined;
|
|
100
|
+
this.aiExplanation = undefined;
|
|
101
|
+
this.aiExplanationGeneratedAt = undefined;
|
|
98
102
|
}
|
|
99
103
|
};
|
|
100
104
|
__decorate([
|
|
@@ -566,8 +570,8 @@ __decorate([
|
|
|
566
570
|
(0, TableColumn_1.default)({
|
|
567
571
|
required: false,
|
|
568
572
|
type: TableColumnType_1.default.Date,
|
|
569
|
-
title: "
|
|
570
|
-
description: "When
|
|
573
|
+
title: "Marked as Resolved At",
|
|
574
|
+
description: "When this exception was last resolved. Empty while it is unresolved.",
|
|
571
575
|
example: "2025-12-12T14:30:00.000Z",
|
|
572
576
|
}),
|
|
573
577
|
(0, typeorm_1.Column)({
|
|
@@ -603,8 +607,8 @@ __decorate([
|
|
|
603
607
|
(0, TableColumn_1.default)({
|
|
604
608
|
required: false,
|
|
605
609
|
type: TableColumnType_1.default.Date,
|
|
606
|
-
title: "
|
|
607
|
-
description: "When
|
|
610
|
+
title: "Marked as Archived At",
|
|
611
|
+
description: "When this exception was last archived. Empty while it is not archived.",
|
|
608
612
|
example: "2025-12-12T15:45:00.000Z",
|
|
609
613
|
}),
|
|
610
614
|
(0, typeorm_1.Column)({
|
|
@@ -640,8 +644,8 @@ __decorate([
|
|
|
640
644
|
(0, TableColumn_1.default)({
|
|
641
645
|
required: false,
|
|
642
646
|
type: TableColumnType_1.default.Date,
|
|
643
|
-
title: "
|
|
644
|
-
description: "When
|
|
647
|
+
title: "First Seen At",
|
|
648
|
+
description: "When the earliest occurrence of this exception happened.",
|
|
645
649
|
example: "2025-12-10T08:15:00.000Z",
|
|
646
650
|
}),
|
|
647
651
|
(0, typeorm_1.Column)({
|
|
@@ -677,8 +681,8 @@ __decorate([
|
|
|
677
681
|
(0, TableColumn_1.default)({
|
|
678
682
|
required: false,
|
|
679
683
|
type: TableColumnType_1.default.Date,
|
|
680
|
-
title: "
|
|
681
|
-
description: "When
|
|
684
|
+
title: "Last Seen At",
|
|
685
|
+
description: "When the latest occurrence of this exception happened.",
|
|
682
686
|
example: "2025-12-12T16:20:00.000Z",
|
|
683
687
|
}),
|
|
684
688
|
(0, typeorm_1.Column)({
|
|
@@ -1503,6 +1507,164 @@ __decorate([
|
|
|
1503
1507
|
}),
|
|
1504
1508
|
__metadata("design:type", Date)
|
|
1505
1509
|
], TelemetryException.prototype, "aiFixDeclinedAt", void 0);
|
|
1510
|
+
__decorate([
|
|
1511
|
+
(0, ColumnAccessControl_1.default)({
|
|
1512
|
+
/*
|
|
1513
|
+
* Ingest stamps it (its upsert writes as OneUptime). Editors may clear
|
|
1514
|
+
* it: resolving or reopening an exception does, in
|
|
1515
|
+
* TelemetryExceptionService.onBeforeUpdate, so the write that turns the
|
|
1516
|
+
* switch has to be allowed to carry it.
|
|
1517
|
+
*/
|
|
1518
|
+
create: [],
|
|
1519
|
+
read: [
|
|
1520
|
+
Permission_1.default.ProjectOwner,
|
|
1521
|
+
Permission_1.default.ProjectAdmin,
|
|
1522
|
+
Permission_1.default.ProjectMember,
|
|
1523
|
+
Permission_1.default.Viewer,
|
|
1524
|
+
Permission_1.default.TelemetryAdmin,
|
|
1525
|
+
Permission_1.default.TelemetryMember,
|
|
1526
|
+
Permission_1.default.TelemetryViewer,
|
|
1527
|
+
Permission_1.default.ReadTelemetryException,
|
|
1528
|
+
],
|
|
1529
|
+
update: [
|
|
1530
|
+
Permission_1.default.ProjectOwner,
|
|
1531
|
+
Permission_1.default.ProjectAdmin,
|
|
1532
|
+
Permission_1.default.EditTelemetryException,
|
|
1533
|
+
],
|
|
1534
|
+
})
|
|
1535
|
+
/*
|
|
1536
|
+
* When this exception last came back after it was resolved: the ingest
|
|
1537
|
+
* upsert reopens a resolved exception on an occurrence that happened after
|
|
1538
|
+
* it was resolved (and, when it was resolved in the next release, came from
|
|
1539
|
+
* another release) and stamps the time here. The exception reads as
|
|
1540
|
+
* Regressed while it stays unresolved. Resolving or reopening it by hand
|
|
1541
|
+
* clears it, so a manual reopen never reads as a regression.
|
|
1542
|
+
*/
|
|
1543
|
+
,
|
|
1544
|
+
(0, TableColumn_1.default)({
|
|
1545
|
+
title: "Regressed At",
|
|
1546
|
+
description: "When this exception last came back after it was resolved. Empty when it has not come back since someone last resolved or reopened it.",
|
|
1547
|
+
required: false,
|
|
1548
|
+
type: TableColumnType_1.default.Date,
|
|
1549
|
+
example: "2026-01-01T00:00:00.000Z",
|
|
1550
|
+
}),
|
|
1551
|
+
(0, typeorm_1.Column)({
|
|
1552
|
+
nullable: true,
|
|
1553
|
+
type: ColumnType_1.default.Date,
|
|
1554
|
+
}),
|
|
1555
|
+
__metadata("design:type", Date)
|
|
1556
|
+
], TelemetryException.prototype, "regressedAt", void 0);
|
|
1557
|
+
__decorate([
|
|
1558
|
+
(0, ColumnAccessControl_1.default)({
|
|
1559
|
+
create: [],
|
|
1560
|
+
read: [
|
|
1561
|
+
Permission_1.default.ProjectOwner,
|
|
1562
|
+
Permission_1.default.ProjectAdmin,
|
|
1563
|
+
Permission_1.default.ProjectMember,
|
|
1564
|
+
Permission_1.default.Viewer,
|
|
1565
|
+
Permission_1.default.TelemetryAdmin,
|
|
1566
|
+
Permission_1.default.TelemetryMember,
|
|
1567
|
+
Permission_1.default.TelemetryViewer,
|
|
1568
|
+
Permission_1.default.ReadTelemetryException,
|
|
1569
|
+
],
|
|
1570
|
+
update: [
|
|
1571
|
+
Permission_1.default.ProjectOwner,
|
|
1572
|
+
Permission_1.default.ProjectAdmin,
|
|
1573
|
+
Permission_1.default.EditTelemetryException,
|
|
1574
|
+
],
|
|
1575
|
+
})
|
|
1576
|
+
/*
|
|
1577
|
+
* "Resolve in next release": the release that was current when the
|
|
1578
|
+
* exception was resolved, while the fix ships in the one after it.
|
|
1579
|
+
* Occurrences from this release - pods still running it during a rollout -
|
|
1580
|
+
* do not reopen the exception; one from any other release does. Empty for
|
|
1581
|
+
* a plain resolve, where any later occurrence reopens it. Cleared whenever
|
|
1582
|
+
* the exception is reopened.
|
|
1583
|
+
*/
|
|
1584
|
+
,
|
|
1585
|
+
(0, TableColumn_1.default)({
|
|
1586
|
+
title: "Resolved in Release After",
|
|
1587
|
+
description: "Set when the exception was resolved in the next release: the release it was resolved after. Occurrences from this release do not reopen the exception; an occurrence from any other release does.",
|
|
1588
|
+
required: false,
|
|
1589
|
+
type: TableColumnType_1.default.LongText,
|
|
1590
|
+
canReadOnRelationQuery: true,
|
|
1591
|
+
example: "v1.4.0",
|
|
1592
|
+
}),
|
|
1593
|
+
(0, typeorm_1.Column)({
|
|
1594
|
+
nullable: true,
|
|
1595
|
+
type: ColumnType_1.default.LongText,
|
|
1596
|
+
length: ColumnLength_1.default.LongText,
|
|
1597
|
+
}),
|
|
1598
|
+
__metadata("design:type", String)
|
|
1599
|
+
], TelemetryException.prototype, "resolvedInReleaseAfter", void 0);
|
|
1600
|
+
__decorate([
|
|
1601
|
+
(0, ColumnAccessControl_1.default)({
|
|
1602
|
+
/*
|
|
1603
|
+
* Server-written only (isRoot bypasses column ACL): OneUptime AI's
|
|
1604
|
+
* answer, written by ExceptionExplainer and nobody else, so a client
|
|
1605
|
+
* PATCH cannot put words in its mouth.
|
|
1606
|
+
*/
|
|
1607
|
+
create: [],
|
|
1608
|
+
read: [
|
|
1609
|
+
Permission_1.default.ProjectOwner,
|
|
1610
|
+
Permission_1.default.ProjectAdmin,
|
|
1611
|
+
Permission_1.default.ProjectMember,
|
|
1612
|
+
Permission_1.default.Viewer,
|
|
1613
|
+
Permission_1.default.TelemetryAdmin,
|
|
1614
|
+
Permission_1.default.TelemetryMember,
|
|
1615
|
+
Permission_1.default.TelemetryViewer,
|
|
1616
|
+
Permission_1.default.ReadTelemetryException,
|
|
1617
|
+
],
|
|
1618
|
+
update: [],
|
|
1619
|
+
})
|
|
1620
|
+
/*
|
|
1621
|
+
* OneUptime AI's explanation of this exception: what happened, the likely
|
|
1622
|
+
* root cause and the suggested fix (ExceptionAIExplanation), written from
|
|
1623
|
+
* its stack trace, the trace and logs of its latest occurrence and the
|
|
1624
|
+
* deploys around it. Kept so the next reader does not pay for it again;
|
|
1625
|
+
* anyone who may read the exception can ask for a new one.
|
|
1626
|
+
*/
|
|
1627
|
+
,
|
|
1628
|
+
(0, TableColumn_1.default)({
|
|
1629
|
+
title: "AI Explanation",
|
|
1630
|
+
description: "OneUptime AI's explanation of this exception: a summary, the likely root cause, a suggested fix, how confident it is, the suspect stack frames and next steps.",
|
|
1631
|
+
required: false,
|
|
1632
|
+
type: TableColumnType_1.default.JSON,
|
|
1633
|
+
}),
|
|
1634
|
+
(0, typeorm_1.Column)({
|
|
1635
|
+
nullable: true,
|
|
1636
|
+
type: ColumnType_1.default.JSON,
|
|
1637
|
+
}),
|
|
1638
|
+
__metadata("design:type", Object)
|
|
1639
|
+
], TelemetryException.prototype, "aiExplanation", void 0);
|
|
1640
|
+
__decorate([
|
|
1641
|
+
(0, ColumnAccessControl_1.default)({
|
|
1642
|
+
create: [],
|
|
1643
|
+
read: [
|
|
1644
|
+
Permission_1.default.ProjectOwner,
|
|
1645
|
+
Permission_1.default.ProjectAdmin,
|
|
1646
|
+
Permission_1.default.ProjectMember,
|
|
1647
|
+
Permission_1.default.Viewer,
|
|
1648
|
+
Permission_1.default.TelemetryAdmin,
|
|
1649
|
+
Permission_1.default.TelemetryMember,
|
|
1650
|
+
Permission_1.default.TelemetryViewer,
|
|
1651
|
+
Permission_1.default.ReadTelemetryException,
|
|
1652
|
+
],
|
|
1653
|
+
update: [],
|
|
1654
|
+
}),
|
|
1655
|
+
(0, TableColumn_1.default)({
|
|
1656
|
+
title: "AI Explanation Generated At",
|
|
1657
|
+
description: "When OneUptime AI last wrote its explanation of this exception.",
|
|
1658
|
+
required: false,
|
|
1659
|
+
type: TableColumnType_1.default.Date,
|
|
1660
|
+
example: "2026-01-01T00:00:00.000Z",
|
|
1661
|
+
}),
|
|
1662
|
+
(0, typeorm_1.Column)({
|
|
1663
|
+
nullable: true,
|
|
1664
|
+
type: ColumnType_1.default.Date,
|
|
1665
|
+
}),
|
|
1666
|
+
__metadata("design:type", Date)
|
|
1667
|
+
], TelemetryException.prototype, "aiExplanationGeneratedAt", void 0);
|
|
1506
1668
|
TelemetryException = __decorate([
|
|
1507
1669
|
(0, EnableDocumentation_1.default)(),
|
|
1508
1670
|
(0, TenantColumn_1.default)("projectId"),
|
|
@@ -11,6 +11,8 @@ declare enum AIChatPageContextType {
|
|
|
11
11
|
Trace = "Trace",
|
|
12
12
|
Exception = "Exception",
|
|
13
13
|
SecurityCase = "SecurityCase",
|
|
14
|
+
DataStore = "DataStore",
|
|
15
|
+
DataSecurityIssue = "DataSecurityIssue",
|
|
14
16
|
IncidentsList = "IncidentsList",
|
|
15
17
|
AlertsList = "AlertsList",
|
|
16
18
|
MonitorsList = "MonitorsList",
|
|
@@ -23,7 +25,8 @@ declare enum AIChatPageContextType {
|
|
|
23
25
|
RumApplications = "RumApplications",
|
|
24
26
|
TelemetryServicesList = "TelemetryServicesList",
|
|
25
27
|
ResourcesList = "ResourcesList",
|
|
26
|
-
SecurityEvents = "SecurityEvents"
|
|
28
|
+
SecurityEvents = "SecurityEvents",
|
|
29
|
+
DataSecurity = "DataSecurity"
|
|
27
30
|
}
|
|
28
31
|
export default AIChatPageContextType;
|
|
29
32
|
export interface AIChatPageContext {
|
|
@@ -11,6 +11,8 @@ declare enum AIChatPageContextType {
|
|
|
11
11
|
Trace = "Trace",
|
|
12
12
|
Exception = "Exception",
|
|
13
13
|
SecurityCase = "SecurityCase",
|
|
14
|
+
DataStore = "DataStore",
|
|
15
|
+
DataSecurityIssue = "DataSecurityIssue",
|
|
14
16
|
IncidentsList = "IncidentsList",
|
|
15
17
|
AlertsList = "AlertsList",
|
|
16
18
|
MonitorsList = "MonitorsList",
|
|
@@ -23,7 +25,8 @@ declare enum AIChatPageContextType {
|
|
|
23
25
|
RumApplications = "RumApplications",
|
|
24
26
|
TelemetryServicesList = "TelemetryServicesList",
|
|
25
27
|
ResourcesList = "ResourcesList",
|
|
26
|
-
SecurityEvents = "SecurityEvents"
|
|
28
|
+
SecurityEvents = "SecurityEvents",
|
|
29
|
+
DataSecurity = "DataSecurity"
|
|
27
30
|
}
|
|
28
31
|
export default AIChatPageContextType;
|
|
29
32
|
export interface AIChatPageContext {
|
|
@@ -25,6 +25,9 @@ var AIChatPageContextType;
|
|
|
25
25
|
AIChatPageContextType["Exception"] = "Exception";
|
|
26
26
|
// One security case's page.
|
|
27
27
|
AIChatPageContextType["SecurityCase"] = "SecurityCase";
|
|
28
|
+
// One data store's pages, and one data security issue's (Data Security).
|
|
29
|
+
AIChatPageContextType["DataStore"] = "DataStore";
|
|
30
|
+
AIChatPageContextType["DataSecurityIssue"] = "DataSecurityIssue";
|
|
28
31
|
// Area pages — no id; the user is browsing a list or an explorer.
|
|
29
32
|
AIChatPageContextType["IncidentsList"] = "IncidentsList";
|
|
30
33
|
AIChatPageContextType["AlertsList"] = "AlertsList";
|
|
@@ -44,6 +47,8 @@ var AIChatPageContextType;
|
|
|
44
47
|
* detections and playbooks.
|
|
45
48
|
*/
|
|
46
49
|
AIChatPageContextType["SecurityEvents"] = "SecurityEvents";
|
|
50
|
+
// Any other Data Security page: the overview, stores, issues, access.
|
|
51
|
+
AIChatPageContextType["DataSecurity"] = "DataSecurity";
|
|
47
52
|
})(AIChatPageContextType || (AIChatPageContextType = {}));
|
|
48
53
|
exports.default = AIChatPageContextType;
|
|
49
54
|
/*
|
|
@@ -67,6 +72,8 @@ const ENTITY_TYPES = [
|
|
|
67
72
|
AIChatPageContextType.Trace,
|
|
68
73
|
AIChatPageContextType.Exception,
|
|
69
74
|
AIChatPageContextType.SecurityCase,
|
|
75
|
+
AIChatPageContextType.DataStore,
|
|
76
|
+
AIChatPageContextType.DataSecurityIssue,
|
|
70
77
|
];
|
|
71
78
|
class AIChatPageContextHelper {
|
|
72
79
|
/*
|
|
@@ -37,7 +37,12 @@ export declare enum AIChatCitationTargetType {
|
|
|
37
37
|
TelemetryResources = "TelemetryResources",
|
|
38
38
|
TelemetryResourceView = "TelemetryResourceView",
|
|
39
39
|
ServiceView = "ServiceView",
|
|
40
|
-
Profiles = "Profiles"
|
|
40
|
+
Profiles = "Profiles",
|
|
41
|
+
DataStores = "DataStores",
|
|
42
|
+
DataStoreView = "DataStoreView",
|
|
43
|
+
DataSecurityIssues = "DataSecurityIssues",
|
|
44
|
+
DataSecurityIssueView = "DataSecurityIssueView",
|
|
45
|
+
DataSecurityAccess = "DataSecurityAccess"
|
|
41
46
|
}
|
|
42
47
|
export interface AIChatCitationTarget {
|
|
43
48
|
type: AIChatCitationTargetType;
|
|
@@ -37,7 +37,12 @@ export declare enum AIChatCitationTargetType {
|
|
|
37
37
|
TelemetryResources = "TelemetryResources",
|
|
38
38
|
TelemetryResourceView = "TelemetryResourceView",
|
|
39
39
|
ServiceView = "ServiceView",
|
|
40
|
-
Profiles = "Profiles"
|
|
40
|
+
Profiles = "Profiles",
|
|
41
|
+
DataStores = "DataStores",
|
|
42
|
+
DataStoreView = "DataStoreView",
|
|
43
|
+
DataSecurityIssues = "DataSecurityIssues",
|
|
44
|
+
DataSecurityIssueView = "DataSecurityIssueView",
|
|
45
|
+
DataSecurityAccess = "DataSecurityAccess"
|
|
41
46
|
}
|
|
42
47
|
export interface AIChatCitationTarget {
|
|
43
48
|
type: AIChatCitationTargetType;
|
package/Types/AI/AIChatTypes.js
CHANGED
|
@@ -55,6 +55,15 @@ var AIChatCitationTargetType;
|
|
|
55
55
|
* open it on the profiles the evidence was read from.
|
|
56
56
|
*/
|
|
57
57
|
AIChatCitationTargetType["Profiles"] = "Profiles";
|
|
58
|
+
/*
|
|
59
|
+
* Data Security: the data stores and one store ({ dataStoreId }), the
|
|
60
|
+
* issues and one issue ({ dataSecurityIssueId }), and who can reach what.
|
|
61
|
+
*/
|
|
62
|
+
AIChatCitationTargetType["DataStores"] = "DataStores";
|
|
63
|
+
AIChatCitationTargetType["DataStoreView"] = "DataStoreView";
|
|
64
|
+
AIChatCitationTargetType["DataSecurityIssues"] = "DataSecurityIssues";
|
|
65
|
+
AIChatCitationTargetType["DataSecurityIssueView"] = "DataSecurityIssueView";
|
|
66
|
+
AIChatCitationTargetType["DataSecurityAccess"] = "DataSecurityAccess";
|
|
58
67
|
})(AIChatCitationTargetType || (exports.AIChatCitationTargetType = AIChatCitationTargetType = {}));
|
|
59
68
|
/*
|
|
60
69
|
* ---------------------------------------------------------------------------
|
|
@@ -149,14 +149,16 @@ exports.AI_AFFECTED_RESOURCE_KINDS = [
|
|
|
149
149
|
isFixedByOneUptimeAi: true,
|
|
150
150
|
},
|
|
151
151
|
/*
|
|
152
|
-
* Linked for its changes, its metrics and its page's Incidents tab
|
|
153
|
-
*
|
|
152
|
+
* Linked for its changes, its metrics and its page's Incidents tab, and
|
|
153
|
+
* fixed through its account's Cloud AI agent (the AwsAccount,
|
|
154
|
+
* AzureSubscription and GoogleCloudProject resource types), which a
|
|
155
|
+
* linked cloud resource names.
|
|
154
156
|
*/
|
|
155
157
|
{
|
|
156
158
|
kind: AiAffectedResourceKind.CloudResource,
|
|
157
159
|
relation: "cloudResources",
|
|
158
160
|
noun: "cloud resource",
|
|
159
|
-
isFixedByOneUptimeAi:
|
|
161
|
+
isFixedByOneUptimeAi: true,
|
|
160
162
|
},
|
|
161
163
|
{
|
|
162
164
|
kind: AiAffectedResourceKind.Service,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import GitHubCommandType, { GitHubCommentKind } from "../CodeRepository/GitHubCommand.mjs";
|
|
2
|
+
import CodeRepositoryType from "../CodeRepository/CodeRepositoryType.mjs";
|
|
2
3
|
import { CodeTaskRequest } from "./CodeTask.mjs";
|
|
3
4
|
import { ProductionReviewPosting, ProductionReviewTrigger } from "../CodeRepository/ProductionReview.mjs";
|
|
4
5
|
export declare enum PerformanceFindingType {
|
|
@@ -55,6 +56,21 @@ export interface GitHubTaskContext {
|
|
|
55
56
|
openedPullRequestUrls?: Array<string> | undefined;
|
|
56
57
|
reportedToGitHubAt?: string | undefined;
|
|
57
58
|
}
|
|
59
|
+
export interface CodeHostPullRequestTaskContext {
|
|
60
|
+
codeRepositoryId: string;
|
|
61
|
+
provider: CodeRepositoryType;
|
|
62
|
+
pullRequestNumber: number;
|
|
63
|
+
pullRequestUrl?: string | undefined;
|
|
64
|
+
isPullRequestFromFork?: boolean | undefined;
|
|
65
|
+
triggeredByLogin?: string | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface ReviewedPullRequest {
|
|
68
|
+
codeRepositoryId: string;
|
|
69
|
+
provider: CodeRepositoryType;
|
|
70
|
+
number: number;
|
|
71
|
+
isFromFork: boolean;
|
|
72
|
+
url?: string | undefined;
|
|
73
|
+
}
|
|
58
74
|
export interface ProductionReviewTaskContext {
|
|
59
75
|
requestNumber: number;
|
|
60
76
|
reviewingRequestNumber?: number | undefined;
|
|
@@ -67,6 +83,8 @@ export interface ProductionReviewTaskContext {
|
|
|
67
83
|
commentUrl?: string | undefined;
|
|
68
84
|
commentPosting?: ProductionReviewPosting | undefined;
|
|
69
85
|
reviewedHeadSha?: string | undefined;
|
|
86
|
+
checkRunId?: number | undefined;
|
|
87
|
+
checkRunHeadSha?: string | undefined;
|
|
70
88
|
aiReadDay?: string | undefined;
|
|
71
89
|
aiReadsToday?: number | undefined;
|
|
72
90
|
aiInputHash?: string | undefined;
|
|
@@ -83,9 +101,12 @@ export interface CodeFixTaskContext {
|
|
|
83
101
|
github?: GitHubTaskContext | undefined;
|
|
84
102
|
request?: CodeTaskRequest | undefined;
|
|
85
103
|
productionReview?: ProductionReviewTaskContext | undefined;
|
|
104
|
+
codeHostPullRequest?: CodeHostPullRequestTaskContext | undefined;
|
|
86
105
|
allowedCodeRepositoryIds?: Array<string> | undefined;
|
|
87
106
|
pickedCodeRepositoryId?: string | undefined;
|
|
88
107
|
}
|
|
108
|
+
export declare function getCodeHostPullRequestTaskContext(taskContext: CodeFixTaskContext | null | undefined): CodeHostPullRequestTaskContext | null;
|
|
109
|
+
export declare function getReviewedPullRequest(taskContext: CodeFixTaskContext | null | undefined): ReviewedPullRequest | null;
|
|
89
110
|
export declare function getProductionReviewTaskContext(taskContext: CodeFixTaskContext | null | undefined): ProductionReviewTaskContext | null;
|
|
90
111
|
export declare function getCodeTaskRequest(taskContext: CodeFixTaskContext | null | undefined): CodeTaskRequest | null;
|
|
91
112
|
export type InvestigationCodeFixTaskContext = CodeFixTaskContext & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import GitHubCommandType, { GitHubCommentKind } from "../CodeRepository/GitHubCommand";
|
|
2
|
+
import CodeRepositoryType from "../CodeRepository/CodeRepositoryType";
|
|
2
3
|
import { CodeTaskRequest } from "./CodeTask";
|
|
3
4
|
import { ProductionReviewPosting, ProductionReviewTrigger } from "../CodeRepository/ProductionReview";
|
|
4
5
|
export declare enum PerformanceFindingType {
|
|
@@ -55,6 +56,21 @@ export interface GitHubTaskContext {
|
|
|
55
56
|
openedPullRequestUrls?: Array<string> | undefined;
|
|
56
57
|
reportedToGitHubAt?: string | undefined;
|
|
57
58
|
}
|
|
59
|
+
export interface CodeHostPullRequestTaskContext {
|
|
60
|
+
codeRepositoryId: string;
|
|
61
|
+
provider: CodeRepositoryType;
|
|
62
|
+
pullRequestNumber: number;
|
|
63
|
+
pullRequestUrl?: string | undefined;
|
|
64
|
+
isPullRequestFromFork?: boolean | undefined;
|
|
65
|
+
triggeredByLogin?: string | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface ReviewedPullRequest {
|
|
68
|
+
codeRepositoryId: string;
|
|
69
|
+
provider: CodeRepositoryType;
|
|
70
|
+
number: number;
|
|
71
|
+
isFromFork: boolean;
|
|
72
|
+
url?: string | undefined;
|
|
73
|
+
}
|
|
58
74
|
export interface ProductionReviewTaskContext {
|
|
59
75
|
requestNumber: number;
|
|
60
76
|
reviewingRequestNumber?: number | undefined;
|
|
@@ -67,6 +83,8 @@ export interface ProductionReviewTaskContext {
|
|
|
67
83
|
commentUrl?: string | undefined;
|
|
68
84
|
commentPosting?: ProductionReviewPosting | undefined;
|
|
69
85
|
reviewedHeadSha?: string | undefined;
|
|
86
|
+
checkRunId?: number | undefined;
|
|
87
|
+
checkRunHeadSha?: string | undefined;
|
|
70
88
|
aiReadDay?: string | undefined;
|
|
71
89
|
aiReadsToday?: number | undefined;
|
|
72
90
|
aiInputHash?: string | undefined;
|
|
@@ -83,9 +101,12 @@ export interface CodeFixTaskContext {
|
|
|
83
101
|
github?: GitHubTaskContext | undefined;
|
|
84
102
|
request?: CodeTaskRequest | undefined;
|
|
85
103
|
productionReview?: ProductionReviewTaskContext | undefined;
|
|
104
|
+
codeHostPullRequest?: CodeHostPullRequestTaskContext | undefined;
|
|
86
105
|
allowedCodeRepositoryIds?: Array<string> | undefined;
|
|
87
106
|
pickedCodeRepositoryId?: string | undefined;
|
|
88
107
|
}
|
|
108
|
+
export declare function getCodeHostPullRequestTaskContext(taskContext: CodeFixTaskContext | null | undefined): CodeHostPullRequestTaskContext | null;
|
|
109
|
+
export declare function getReviewedPullRequest(taskContext: CodeFixTaskContext | null | undefined): ReviewedPullRequest | null;
|
|
89
110
|
export declare function getProductionReviewTaskContext(taskContext: CodeFixTaskContext | null | undefined): ProductionReviewTaskContext | null;
|
|
90
111
|
export declare function getCodeTaskRequest(taskContext: CodeFixTaskContext | null | undefined): CodeTaskRequest | null;
|
|
91
112
|
export type InvestigationCodeFixTaskContext = CodeFixTaskContext & {
|