@oneuptime/common 14.0.97 → 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/CodeRepository.d.mts +3 -0
- package/Models/DatabaseModels/CodeRepository.d.ts +3 -0
- package/Models/DatabaseModels/CodeRepository.js +104 -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 +37 -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/SecurityCaseEvidence.d.mts +4 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.d.ts +4 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.js +64 -5
- package/Models/DatabaseModels/SecurityEntityCriticality.js +7 -6
- package/Models/DatabaseModels/SecurityEntityRisk.js +2 -2
- package/Models/DatabaseModels/SecurityHunt.d.mts +34 -0
- package/Models/DatabaseModels/SecurityHunt.d.ts +34 -0
- package/Models/DatabaseModels/SecurityHunt.js +608 -0
- package/Models/DatabaseModels/SecurityHunt.mjs +2 -0
- 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 +7 -1
- package/Types/AI/AIChatTypes.d.ts +7 -1
- package/Types/AI/AIChatTypes.js +9 -0
- package/Types/AI/AIRunEventType.d.mts +1 -0
- package/Types/AI/AIRunEventType.d.ts +1 -0
- package/Types/AI/AIRunEventType.js +8 -0
- package/Types/AI/AiAffectedResources.js +5 -3
- package/Types/AI/AiTokenCount.d.mts +22 -1
- package/Types/AI/AiTokenCount.d.ts +22 -1
- package/Types/AI/AiTokenCount.js +126 -57
- package/Types/AI/AiTokenCount.mjs +2 -0
- package/Types/AI/CodeFixTaskContext.d.mts +22 -0
- package/Types/AI/CodeFixTaskContext.d.ts +22 -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/CodeRepositorySetting.d.mts +1 -0
- package/Types/CodeRepository/CodeRepositorySetting.d.ts +1 -0
- package/Types/CodeRepository/CodeRepositorySetting.js +2 -0
- 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 +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +8 -0
- package/Types/Link.d.mts +1 -0
- package/Types/Link.d.ts +1 -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/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 +6 -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/SecurityCaseEventEvidence.d.mts +67 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +67 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +271 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.mjs +13 -0
- package/Types/SecurityCase/SecurityCaseEvidenceKind.d.mts +2 -1
- package/Types/SecurityCase/SecurityCaseEvidenceKind.d.ts +2 -1
- package/Types/SecurityCase/SecurityCaseEvidenceKind.js +11 -1
- 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/SecurityHunt.d.mts +122 -0
- package/Types/SecurityEvent/SecurityHunt.d.ts +122 -0
- package/Types/SecurityEvent/SecurityHunt.js +391 -0
- package/Types/SecurityEvent/SecurityHunt.mjs +32 -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 +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/Workflow/RunRecord.d.mts +3 -14
- package/Types/Workflow/RunRecord.d.ts +3 -14
- package/Types/Workflow/RunRecord.js +10 -51
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +1 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +1 -0
- package/Utils/AI/InvestigationLogStall.d.mts +38 -0
- package/Utils/AI/InvestigationLogStall.d.ts +38 -0
- package/Utils/AI/InvestigationLogStall.js +163 -0
- package/Utils/AI/InvestigationLogStall.mjs +11 -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/Project/RecordNumber.d.mts +43 -0
- package/Utils/Project/RecordNumber.d.ts +43 -0
- package/Utils/Project/RecordNumber.js +151 -0
- package/Utils/Project/RecordNumber.mjs +6 -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/SecurityCase/SecurityCaseMarkdown.d.mts +9 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +9 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +20 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.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/SecurityEventSearch.d.mts +56 -0
- package/Utils/SecurityEvent/SecurityEventSearch.d.ts +56 -0
- package/Utils/SecurityEvent/SecurityEventSearch.js +422 -0
- package/Utils/SecurityEvent/SecurityEventSearch.mjs +21 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.d.mts +12 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.d.ts +12 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.js +51 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.mjs +3 -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/Suggestions/TracePerformanceFixSuggestion.d.mts +9 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.d.ts +9 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.js +69 -1
- package/Utils/Suggestions/TracePerformanceFixSuggestion.mjs +4 -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
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const SECURITY_CASE_EVENT_EVIDENCE_MAX_PER_ADD: number;
|
|
2
|
+
export declare const SECURITY_CASE_EVENT_SNAPSHOT_TEXT_MAX_LENGTH: number;
|
|
3
|
+
export declare const SECURITY_CASE_EVENT_SNAPSHOT_LIST_MAX: number;
|
|
4
|
+
export declare const SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTES_MAX: number;
|
|
5
|
+
export declare const SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTE_VALUE_MAX_LENGTH: number;
|
|
6
|
+
export declare const SECURITY_CASE_EVENT_SNAPSHOT_COLUMNS: ReadonlyArray<string>;
|
|
7
|
+
export interface SecurityCaseEventHunt {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
11
|
+
export interface SecurityCaseEventSnapshot {
|
|
12
|
+
time: string;
|
|
13
|
+
eventUid: string;
|
|
14
|
+
sourceId: string;
|
|
15
|
+
severityName: string;
|
|
16
|
+
className: string;
|
|
17
|
+
categoryName: string;
|
|
18
|
+
activityName: string;
|
|
19
|
+
statusName: string;
|
|
20
|
+
message: string;
|
|
21
|
+
vendorName: string;
|
|
22
|
+
productName: string;
|
|
23
|
+
ruleName: string;
|
|
24
|
+
principalUser: string;
|
|
25
|
+
principalHost: string;
|
|
26
|
+
principalIp: string;
|
|
27
|
+
targetUser: string;
|
|
28
|
+
targetHost: string;
|
|
29
|
+
targetIp: string;
|
|
30
|
+
targetPort: number | null;
|
|
31
|
+
processName: string;
|
|
32
|
+
processCommandLine: string;
|
|
33
|
+
observables: Array<string>;
|
|
34
|
+
mitreTactics: Array<string>;
|
|
35
|
+
mitreTechniques: Array<string>;
|
|
36
|
+
attributes: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
hunt: SecurityCaseEventHunt | null;
|
|
40
|
+
}
|
|
41
|
+
export interface SecurityCaseEventReference {
|
|
42
|
+
eventUid: string;
|
|
43
|
+
time: Date;
|
|
44
|
+
}
|
|
45
|
+
export interface SecurityCaseEventsAddResult {
|
|
46
|
+
added: Array<string>;
|
|
47
|
+
alreadyOnCase: Array<string>;
|
|
48
|
+
notFound: Array<string>;
|
|
49
|
+
}
|
|
50
|
+
export declare function readSecurityCaseEventsAddResult(value: unknown): SecurityCaseEventsAddResult;
|
|
51
|
+
export declare const SECURITY_CASE_EVENTS_ADD_REASONS: {
|
|
52
|
+
alreadyOnCase: {
|
|
53
|
+
message: string;
|
|
54
|
+
};
|
|
55
|
+
notFound: {
|
|
56
|
+
message: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare function buildSecurityCaseEventSnapshot(data: {
|
|
60
|
+
event: {
|
|
61
|
+
[column: string]: unknown;
|
|
62
|
+
};
|
|
63
|
+
hunt?: SecurityCaseEventHunt | null | undefined;
|
|
64
|
+
}): SecurityCaseEventSnapshot;
|
|
65
|
+
export declare function readSecurityCaseEventSnapshot(value: unknown): SecurityCaseEventSnapshot | null;
|
|
66
|
+
export declare function getSecurityCaseEventEvidenceName(snapshot: Pick<SecurityCaseEventSnapshot, "message" | "className" | "activityName">): string;
|
|
67
|
+
export declare function readSecurityCaseEventReferences(value: unknown): Array<SecurityCaseEventReference>;
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* SECURITY EVENTS BOOKMARKED ONTO A CASE.
|
|
4
|
+
*
|
|
5
|
+
* A person who finds events that belong to a case - with a hunt, or any
|
|
6
|
+
* search on Security Events > Events - keeps them on the case as evidence
|
|
7
|
+
* (SecurityCaseEvidenceKind.Event). OneUptime reads each event itself, as
|
|
8
|
+
* that person (only an event they can read is kept), and keeps what it read
|
|
9
|
+
* as the event's snapshot: the case still shows the event once the event is
|
|
10
|
+
* past its retention, and what is kept is what OneUptime read, never what a
|
|
11
|
+
* request said it was.
|
|
12
|
+
*
|
|
13
|
+
* Shared by the server, which reads and keeps the events
|
|
14
|
+
* (SecurityCaseEvidenceService.addEvents), and the Dashboard, which asks for
|
|
15
|
+
* it and draws each kept event on the case's Evidence page.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SECURITY_CASE_EVENTS_ADD_REASONS = exports.SECURITY_CASE_EVENT_SNAPSHOT_COLUMNS = exports.SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTE_VALUE_MAX_LENGTH = exports.SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTES_MAX = exports.SECURITY_CASE_EVENT_SNAPSHOT_LIST_MAX = exports.SECURITY_CASE_EVENT_SNAPSHOT_TEXT_MAX_LENGTH = exports.SECURITY_CASE_EVENT_EVIDENCE_MAX_PER_ADD = void 0;
|
|
19
|
+
exports.readSecurityCaseEventsAddResult = readSecurityCaseEventsAddResult;
|
|
20
|
+
exports.buildSecurityCaseEventSnapshot = buildSecurityCaseEventSnapshot;
|
|
21
|
+
exports.readSecurityCaseEventSnapshot = readSecurityCaseEventSnapshot;
|
|
22
|
+
exports.getSecurityCaseEventEvidenceName = getSecurityCaseEventEvidenceName;
|
|
23
|
+
exports.readSecurityCaseEventReferences = readSecurityCaseEventReferences;
|
|
24
|
+
// The most events one request keeps on a case: a page of a list, ticked.
|
|
25
|
+
exports.SECURITY_CASE_EVENT_EVIDENCE_MAX_PER_ADD = 100;
|
|
26
|
+
/*
|
|
27
|
+
* What a snapshot keeps of an event's longer text: enough to read it on
|
|
28
|
+
* the case. The event's full record is a click away while it is kept.
|
|
29
|
+
*/
|
|
30
|
+
exports.SECURITY_CASE_EVENT_SNAPSHOT_TEXT_MAX_LENGTH = 4000;
|
|
31
|
+
exports.SECURITY_CASE_EVENT_SNAPSHOT_LIST_MAX = 100;
|
|
32
|
+
exports.SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTES_MAX = 100;
|
|
33
|
+
exports.SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTE_VALUE_MAX_LENGTH = 1000;
|
|
34
|
+
/*
|
|
35
|
+
* The SecurityEvent columns a snapshot is read from: who, what and where,
|
|
36
|
+
* as the event's panel on Events shows them, and its source attributes.
|
|
37
|
+
*/
|
|
38
|
+
exports.SECURITY_CASE_EVENT_SNAPSHOT_COLUMNS = [
|
|
39
|
+
"time",
|
|
40
|
+
"eventUid",
|
|
41
|
+
"primaryEntityId",
|
|
42
|
+
"severityName",
|
|
43
|
+
"className",
|
|
44
|
+
"categoryName",
|
|
45
|
+
"activityName",
|
|
46
|
+
"statusName",
|
|
47
|
+
"message",
|
|
48
|
+
"vendorName",
|
|
49
|
+
"productName",
|
|
50
|
+
"ruleName",
|
|
51
|
+
"principalUser",
|
|
52
|
+
"principalHost",
|
|
53
|
+
"principalIp",
|
|
54
|
+
"targetUser",
|
|
55
|
+
"targetHost",
|
|
56
|
+
"targetIp",
|
|
57
|
+
"targetPort",
|
|
58
|
+
"processName",
|
|
59
|
+
"processCommandLine",
|
|
60
|
+
"observables",
|
|
61
|
+
"mitreTactics",
|
|
62
|
+
"mitreTechniques",
|
|
63
|
+
"attributes",
|
|
64
|
+
];
|
|
65
|
+
// The answer as the Dashboard reads it: each list of event ids, or none.
|
|
66
|
+
function readSecurityCaseEventsAddResult(value) {
|
|
67
|
+
const record = value && typeof value === "object" && !Array.isArray(value)
|
|
68
|
+
? value
|
|
69
|
+
: {};
|
|
70
|
+
const ids = (key) => {
|
|
71
|
+
const list = record[key];
|
|
72
|
+
return Array.isArray(list)
|
|
73
|
+
? list.filter((item) => {
|
|
74
|
+
return typeof item === "string" && item.length > 0;
|
|
75
|
+
})
|
|
76
|
+
: [];
|
|
77
|
+
};
|
|
78
|
+
return {
|
|
79
|
+
added: ids("added"),
|
|
80
|
+
alreadyOnCase: ids("alreadyOnCase"),
|
|
81
|
+
notFound: ids("notFound"),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
/*
|
|
85
|
+
* The reasons the answer gives per event, in words the Dashboard's result
|
|
86
|
+
* shows (and translates).
|
|
87
|
+
*/
|
|
88
|
+
exports.SECURITY_CASE_EVENTS_ADD_REASONS = {
|
|
89
|
+
alreadyOnCase: { message: "Already kept on this case." },
|
|
90
|
+
notFound: {
|
|
91
|
+
message: "This event was not found. It may be past its retention, or one you cannot read.",
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
/*
|
|
95
|
+
* A value as text, kept to `maxLength`: text, a number or a yes/no as
|
|
96
|
+
* written, and a value of a class of its own (an ObjectID) as it writes
|
|
97
|
+
* itself. Anything else - a list, a plain object - is not text.
|
|
98
|
+
*/
|
|
99
|
+
function readText(value, maxLength) {
|
|
100
|
+
let text = "";
|
|
101
|
+
if (typeof value === "string") {
|
|
102
|
+
text = value;
|
|
103
|
+
}
|
|
104
|
+
else if (typeof value === "number" || typeof value === "boolean") {
|
|
105
|
+
text = String(value);
|
|
106
|
+
}
|
|
107
|
+
else if (value &&
|
|
108
|
+
typeof value === "object" &&
|
|
109
|
+
!Array.isArray(value) &&
|
|
110
|
+
Object.getPrototypeOf(value) !== Object.prototype) {
|
|
111
|
+
text = String(value);
|
|
112
|
+
}
|
|
113
|
+
return text.length > maxLength ? text.substring(0, maxLength) : text;
|
|
114
|
+
}
|
|
115
|
+
function readList(value) {
|
|
116
|
+
if (!Array.isArray(value)) {
|
|
117
|
+
return [];
|
|
118
|
+
}
|
|
119
|
+
const list = [];
|
|
120
|
+
for (const item of value) {
|
|
121
|
+
const text = readText(item, exports.SECURITY_CASE_EVENT_SNAPSHOT_TEXT_MAX_LENGTH);
|
|
122
|
+
if (text && !list.includes(text)) {
|
|
123
|
+
list.push(text);
|
|
124
|
+
}
|
|
125
|
+
if (list.length >= exports.SECURITY_CASE_EVENT_SNAPSHOT_LIST_MAX) {
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return list;
|
|
130
|
+
}
|
|
131
|
+
function readAttributes(value) {
|
|
132
|
+
const attributes = {};
|
|
133
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
134
|
+
return attributes;
|
|
135
|
+
}
|
|
136
|
+
const keys = Object.keys(value).sort();
|
|
137
|
+
for (const key of keys) {
|
|
138
|
+
if (Object.keys(attributes).length >=
|
|
139
|
+
exports.SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTES_MAX) {
|
|
140
|
+
break;
|
|
141
|
+
}
|
|
142
|
+
const text = readText(value[key], exports.SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTE_VALUE_MAX_LENGTH);
|
|
143
|
+
if (key && text) {
|
|
144
|
+
attributes[key] = text;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return attributes;
|
|
148
|
+
}
|
|
149
|
+
function readTime(value) {
|
|
150
|
+
if (value instanceof Date) {
|
|
151
|
+
return Number.isNaN(value.getTime()) ? "" : value.toISOString();
|
|
152
|
+
}
|
|
153
|
+
if (typeof value === "string" && value) {
|
|
154
|
+
// ClickHouse writes "2026-10-14 13:05:00.123" (UTC) for a DateTime64.
|
|
155
|
+
const date = new Date(value.includes("T") || value.endsWith("Z")
|
|
156
|
+
? value
|
|
157
|
+
: `${value.replace(" ", "T")}Z`);
|
|
158
|
+
return Number.isNaN(date.getTime()) ? "" : date.toISOString();
|
|
159
|
+
}
|
|
160
|
+
return "";
|
|
161
|
+
}
|
|
162
|
+
function readPort(value) {
|
|
163
|
+
const port = Number(value);
|
|
164
|
+
return Number.isInteger(port) && port > 0 && port <= 65535 ? port : null;
|
|
165
|
+
}
|
|
166
|
+
function readHunt(value) {
|
|
167
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
168
|
+
return null;
|
|
169
|
+
}
|
|
170
|
+
const id = readText(value.id, 100);
|
|
171
|
+
const name = readText(value.name, 100);
|
|
172
|
+
return id && name ? { id, name } : null;
|
|
173
|
+
}
|
|
174
|
+
/*
|
|
175
|
+
* An event, as a snapshot: every column of
|
|
176
|
+
* SECURITY_CASE_EVENT_SNAPSHOT_COLUMNS read from the row OneUptime read
|
|
177
|
+
* (each kept to its limit), and the hunt that found it.
|
|
178
|
+
*/
|
|
179
|
+
function buildSecurityCaseEventSnapshot(data) {
|
|
180
|
+
const row = data.event;
|
|
181
|
+
const text = (column) => {
|
|
182
|
+
return readText(row[column], exports.SECURITY_CASE_EVENT_SNAPSHOT_TEXT_MAX_LENGTH);
|
|
183
|
+
};
|
|
184
|
+
return {
|
|
185
|
+
time: readTime(row["time"]),
|
|
186
|
+
eventUid: text("eventUid"),
|
|
187
|
+
sourceId: text("primaryEntityId"),
|
|
188
|
+
severityName: text("severityName"),
|
|
189
|
+
className: text("className"),
|
|
190
|
+
categoryName: text("categoryName"),
|
|
191
|
+
activityName: text("activityName"),
|
|
192
|
+
statusName: text("statusName"),
|
|
193
|
+
message: text("message"),
|
|
194
|
+
vendorName: text("vendorName"),
|
|
195
|
+
productName: text("productName"),
|
|
196
|
+
ruleName: text("ruleName"),
|
|
197
|
+
principalUser: text("principalUser"),
|
|
198
|
+
principalHost: text("principalHost"),
|
|
199
|
+
principalIp: text("principalIp"),
|
|
200
|
+
targetUser: text("targetUser"),
|
|
201
|
+
targetHost: text("targetHost"),
|
|
202
|
+
targetIp: text("targetIp"),
|
|
203
|
+
targetPort: readPort(row["targetPort"]),
|
|
204
|
+
processName: text("processName"),
|
|
205
|
+
processCommandLine: text("processCommandLine"),
|
|
206
|
+
observables: readList(row["observables"]),
|
|
207
|
+
mitreTactics: readList(row["mitreTactics"]),
|
|
208
|
+
mitreTechniques: readList(row["mitreTechniques"]),
|
|
209
|
+
attributes: readAttributes(row["attributes"]),
|
|
210
|
+
hunt: data.hunt ? readHunt(data.hunt) : null,
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
/*
|
|
214
|
+
* A kept snapshot, read back for the page: null when the value is not one
|
|
215
|
+
* (a row written by hand, a shape from before). Every field is read as the
|
|
216
|
+
* builder writes it, so a page never trusts a stored value's type.
|
|
217
|
+
*/
|
|
218
|
+
function readSecurityCaseEventSnapshot(value) {
|
|
219
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
220
|
+
return null;
|
|
221
|
+
}
|
|
222
|
+
const record = value;
|
|
223
|
+
const snapshot = buildSecurityCaseEventSnapshot({
|
|
224
|
+
event: Object.assign(Object.assign({}, record), { primaryEntityId: record["sourceId"] }),
|
|
225
|
+
hunt: readHunt(record["hunt"]),
|
|
226
|
+
});
|
|
227
|
+
return snapshot.eventUid || snapshot.time ? snapshot : null;
|
|
228
|
+
}
|
|
229
|
+
/*
|
|
230
|
+
* What a kept event is called on the case: its message, else its class
|
|
231
|
+
* and activity, else what it is.
|
|
232
|
+
*/
|
|
233
|
+
function getSecurityCaseEventEvidenceName(snapshot) {
|
|
234
|
+
const message = snapshot.message.trim();
|
|
235
|
+
if (message) {
|
|
236
|
+
return message.length > 500 ? `${message.substring(0, 499)}…` : message;
|
|
237
|
+
}
|
|
238
|
+
const kind = [snapshot.className, snapshot.activityName]
|
|
239
|
+
.map((part) => {
|
|
240
|
+
return part.trim();
|
|
241
|
+
})
|
|
242
|
+
.filter((part) => {
|
|
243
|
+
return Boolean(part);
|
|
244
|
+
})
|
|
245
|
+
.join(": ");
|
|
246
|
+
return kind || "Security event";
|
|
247
|
+
}
|
|
248
|
+
/*
|
|
249
|
+
* The events a request names, each once (by id), in the order named; any
|
|
250
|
+
* entry without an id or a time it can read is left out.
|
|
251
|
+
*/
|
|
252
|
+
function readSecurityCaseEventReferences(value) {
|
|
253
|
+
if (!Array.isArray(value)) {
|
|
254
|
+
return [];
|
|
255
|
+
}
|
|
256
|
+
const references = [];
|
|
257
|
+
const seen = new Set();
|
|
258
|
+
for (const item of value) {
|
|
259
|
+
if (!item || typeof item !== "object" || Array.isArray(item)) {
|
|
260
|
+
continue;
|
|
261
|
+
}
|
|
262
|
+
const eventUid = readText(item.eventUid, 500).trim();
|
|
263
|
+
const time = readTime(item.time);
|
|
264
|
+
if (!eventUid || !time || seen.has(eventUid)) {
|
|
265
|
+
continue;
|
|
266
|
+
}
|
|
267
|
+
seen.add(eventUid);
|
|
268
|
+
references.push({ eventUid, time: new Date(time) });
|
|
269
|
+
}
|
|
270
|
+
return references;
|
|
271
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import commonJsModule from "./SecurityCaseEventEvidence.js";
|
|
2
|
+
export const SECURITY_CASE_EVENTS_ADD_REASONS = commonJsModule.SECURITY_CASE_EVENTS_ADD_REASONS;
|
|
3
|
+
export const SECURITY_CASE_EVENT_EVIDENCE_MAX_PER_ADD = commonJsModule.SECURITY_CASE_EVENT_EVIDENCE_MAX_PER_ADD;
|
|
4
|
+
export const SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTES_MAX = commonJsModule.SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTES_MAX;
|
|
5
|
+
export const SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTE_VALUE_MAX_LENGTH = commonJsModule.SECURITY_CASE_EVENT_SNAPSHOT_ATTRIBUTE_VALUE_MAX_LENGTH;
|
|
6
|
+
export const SECURITY_CASE_EVENT_SNAPSHOT_COLUMNS = commonJsModule.SECURITY_CASE_EVENT_SNAPSHOT_COLUMNS;
|
|
7
|
+
export const SECURITY_CASE_EVENT_SNAPSHOT_LIST_MAX = commonJsModule.SECURITY_CASE_EVENT_SNAPSHOT_LIST_MAX;
|
|
8
|
+
export const SECURITY_CASE_EVENT_SNAPSHOT_TEXT_MAX_LENGTH = commonJsModule.SECURITY_CASE_EVENT_SNAPSHOT_TEXT_MAX_LENGTH;
|
|
9
|
+
export const buildSecurityCaseEventSnapshot = commonJsModule.buildSecurityCaseEventSnapshot;
|
|
10
|
+
export const getSecurityCaseEventEvidenceName = commonJsModule.getSecurityCaseEventEvidenceName;
|
|
11
|
+
export const readSecurityCaseEventReferences = commonJsModule.readSecurityCaseEventReferences;
|
|
12
|
+
export const readSecurityCaseEventSnapshot = commonJsModule.readSecurityCaseEventSnapshot;
|
|
13
|
+
export const readSecurityCaseEventsAddResult = commonJsModule.readSecurityCaseEventsAddResult;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare enum SecurityCaseEvidenceKind {
|
|
2
2
|
File = "File",
|
|
3
|
-
Link = "Link"
|
|
3
|
+
Link = "Link",
|
|
4
|
+
Event = "Event"
|
|
4
5
|
}
|
|
5
6
|
export declare const SECURITY_CASE_EVIDENCE_KINDS: ReadonlyArray<SecurityCaseEvidenceKind>;
|
|
6
7
|
export declare function isSecurityCaseEvidenceKind(value: unknown): value is SecurityCaseEvidenceKind;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare enum SecurityCaseEvidenceKind {
|
|
2
2
|
File = "File",
|
|
3
|
-
Link = "Link"
|
|
3
|
+
Link = "Link",
|
|
4
|
+
Event = "Event"
|
|
4
5
|
}
|
|
5
6
|
export declare const SECURITY_CASE_EVIDENCE_KINDS: ReadonlyArray<SecurityCaseEvidenceKind>;
|
|
6
7
|
export declare function isSecurityCaseEvidenceKind(value: unknown): value is SecurityCaseEvidenceKind;
|
|
@@ -11,13 +11,23 @@ exports.isSecurityCaseEvidenceKind = isSecurityCaseEvidenceKind;
|
|
|
11
11
|
* that what they download is what was kept.
|
|
12
12
|
* - Link: an address of evidence kept somewhere else - an EDR console's
|
|
13
13
|
* page, a ticket, an object in the team's own evidence store.
|
|
14
|
+
* - Event: a security event bookmarked onto the case from Security
|
|
15
|
+
* Events - one a hunt found, or any the Events explorer lists - kept as
|
|
16
|
+
* OneUptime read it when it was bookmarked
|
|
17
|
+
* (Types/SecurityCase/SecurityCaseEventEvidence), so the case still
|
|
18
|
+
* shows it once the event itself is past its retention.
|
|
14
19
|
*/
|
|
15
20
|
var SecurityCaseEvidenceKind;
|
|
16
21
|
(function (SecurityCaseEvidenceKind) {
|
|
17
22
|
SecurityCaseEvidenceKind["File"] = "File";
|
|
18
23
|
SecurityCaseEvidenceKind["Link"] = "Link";
|
|
24
|
+
SecurityCaseEvidenceKind["Event"] = "Event";
|
|
19
25
|
})(SecurityCaseEvidenceKind || (SecurityCaseEvidenceKind = {}));
|
|
20
|
-
exports.SECURITY_CASE_EVIDENCE_KINDS = [
|
|
26
|
+
exports.SECURITY_CASE_EVIDENCE_KINDS = [
|
|
27
|
+
SecurityCaseEvidenceKind.File,
|
|
28
|
+
SecurityCaseEvidenceKind.Link,
|
|
29
|
+
SecurityCaseEvidenceKind.Event,
|
|
30
|
+
];
|
|
21
31
|
function isSecurityCaseEvidenceKind(value) {
|
|
22
32
|
return exports.SECURITY_CASE_EVIDENCE_KINDS.includes(value);
|
|
23
33
|
}
|
|
@@ -3,7 +3,8 @@ declare enum SecurityDetectionSource {
|
|
|
3
3
|
ThreatIntel = "Threat Intel",
|
|
4
4
|
ConnectedProduct = "Connected Product",
|
|
5
5
|
Manual = "Manual",
|
|
6
|
-
EntityRisk = "Entity Risk"
|
|
6
|
+
EntityRisk = "Entity Risk",
|
|
7
|
+
DataSecurity = "Data Security"
|
|
7
8
|
}
|
|
8
9
|
export declare const SECURITY_DETECTION_SOURCES: ReadonlyArray<SecurityDetectionSource>;
|
|
9
10
|
export declare function isSecurityDetectionSource(value: unknown): value is SecurityDetectionSource;
|
|
@@ -3,7 +3,8 @@ declare enum SecurityDetectionSource {
|
|
|
3
3
|
ThreatIntel = "Threat Intel",
|
|
4
4
|
ConnectedProduct = "Connected Product",
|
|
5
5
|
Manual = "Manual",
|
|
6
|
-
EntityRisk = "Entity Risk"
|
|
6
|
+
EntityRisk = "Entity Risk",
|
|
7
|
+
DataSecurity = "Data Security"
|
|
7
8
|
}
|
|
8
9
|
export declare const SECURITY_DETECTION_SOURCES: ReadonlyArray<SecurityDetectionSource>;
|
|
9
10
|
export declare function isSecurityDetectionSource(value: unknown): value is SecurityDetectionSource;
|
|
@@ -6,9 +6,10 @@ exports.isSecurityDetectionSource = isSecurityDetectionSource;
|
|
|
6
6
|
* What raised a detection. Shown on every detection and case so an analyst
|
|
7
7
|
* knows whose judgement they are reading: one of the project's own rules,
|
|
8
8
|
* a threat-intelligence match, a product the project connected (its own
|
|
9
|
-
* alert, imported), a person,
|
|
9
|
+
* alert, imported), a person, an entity's risk - everything those found
|
|
10
10
|
* about one user, host or address adding up to the project's threshold
|
|
11
|
-
* (Types/SecurityCase/SecurityEntityRisk)
|
|
11
|
+
* (Types/SecurityCase/SecurityEntityRisk) - or Data Security, when a data
|
|
12
|
+
* store's Critical issue opens (Server/Utils/DataSecurity/DataSecurityIntegrations).
|
|
12
13
|
*/
|
|
13
14
|
var SecurityDetectionSource;
|
|
14
15
|
(function (SecurityDetectionSource) {
|
|
@@ -17,6 +18,7 @@ var SecurityDetectionSource;
|
|
|
17
18
|
SecurityDetectionSource["ConnectedProduct"] = "Connected Product";
|
|
18
19
|
SecurityDetectionSource["Manual"] = "Manual";
|
|
19
20
|
SecurityDetectionSource["EntityRisk"] = "Entity Risk";
|
|
21
|
+
SecurityDetectionSource["DataSecurity"] = "Data Security";
|
|
20
22
|
})(SecurityDetectionSource || (SecurityDetectionSource = {}));
|
|
21
23
|
exports.SECURITY_DETECTION_SOURCES = [
|
|
22
24
|
SecurityDetectionSource.DetectionRule,
|
|
@@ -24,6 +26,7 @@ exports.SECURITY_DETECTION_SOURCES = [
|
|
|
24
26
|
SecurityDetectionSource.ConnectedProduct,
|
|
25
27
|
SecurityDetectionSource.Manual,
|
|
26
28
|
SecurityDetectionSource.EntityRisk,
|
|
29
|
+
SecurityDetectionSource.DataSecurity,
|
|
27
30
|
];
|
|
28
31
|
function isSecurityDetectionSource(value) {
|
|
29
32
|
return (typeof value === "string" &&
|
|
@@ -7,6 +7,7 @@ export declare enum SecurityEntityType {
|
|
|
7
7
|
Url = "URL",
|
|
8
8
|
FileHash = "File Hash",
|
|
9
9
|
Process = "Process",
|
|
10
|
+
DataStore = "Data Store",
|
|
10
11
|
Other = "Other"
|
|
11
12
|
}
|
|
12
13
|
export interface SecurityEntity {
|
|
@@ -14,6 +15,10 @@ export interface SecurityEntity {
|
|
|
14
15
|
value: string;
|
|
15
16
|
}
|
|
16
17
|
export declare const SECURITY_ENTITY_LIMIT: number;
|
|
18
|
+
export declare const DATA_STORE_ENTITY_PREFIX: string;
|
|
19
|
+
export declare function getDataStoreEntityValue(storeKey: string): string;
|
|
20
|
+
export declare function isDataStoreEntityValue(value: string | undefined | null): boolean;
|
|
21
|
+
export declare function getDataStoreKeyOfEntityValue(value: string | undefined | null): string;
|
|
17
22
|
export declare const SECURITY_EVENT_ENTITY_FIELDS: Readonly<Record<string, SecurityEntityType>>;
|
|
18
23
|
export declare function securityEntityTypeForField(field: string | undefined | null): SecurityEntityType | undefined;
|
|
19
24
|
export declare function isIpAddress(value: string): boolean;
|
|
@@ -7,6 +7,7 @@ export declare enum SecurityEntityType {
|
|
|
7
7
|
Url = "URL",
|
|
8
8
|
FileHash = "File Hash",
|
|
9
9
|
Process = "Process",
|
|
10
|
+
DataStore = "Data Store",
|
|
10
11
|
Other = "Other"
|
|
11
12
|
}
|
|
12
13
|
export interface SecurityEntity {
|
|
@@ -14,6 +15,10 @@ export interface SecurityEntity {
|
|
|
14
15
|
value: string;
|
|
15
16
|
}
|
|
16
17
|
export declare const SECURITY_ENTITY_LIMIT: number;
|
|
18
|
+
export declare const DATA_STORE_ENTITY_PREFIX: string;
|
|
19
|
+
export declare function getDataStoreEntityValue(storeKey: string): string;
|
|
20
|
+
export declare function isDataStoreEntityValue(value: string | undefined | null): boolean;
|
|
21
|
+
export declare function getDataStoreKeyOfEntityValue(value: string | undefined | null): string;
|
|
17
22
|
export declare const SECURITY_EVENT_ENTITY_FIELDS: Readonly<Record<string, SecurityEntityType>>;
|
|
18
23
|
export declare function securityEntityTypeForField(field: string | undefined | null): SecurityEntityType | undefined;
|
|
19
24
|
export declare function isIpAddress(value: string): boolean;
|
|
@@ -3,7 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.SECURITY_EVENT_ENTITY_FIELDS = exports.SECURITY_ENTITY_LIMIT = exports.SecurityEntityType = void 0;
|
|
6
|
+
exports.SECURITY_EVENT_ENTITY_FIELDS = exports.DATA_STORE_ENTITY_PREFIX = exports.SECURITY_ENTITY_LIMIT = exports.SecurityEntityType = void 0;
|
|
7
|
+
exports.getDataStoreEntityValue = getDataStoreEntityValue;
|
|
8
|
+
exports.isDataStoreEntityValue = isDataStoreEntityValue;
|
|
9
|
+
exports.getDataStoreKeyOfEntityValue = getDataStoreKeyOfEntityValue;
|
|
7
10
|
exports.securityEntityTypeForField = securityEntityTypeForField;
|
|
8
11
|
exports.isIpAddress = isIpAddress;
|
|
9
12
|
exports.inferSecurityEntityType = inferSecurityEntityType;
|
|
@@ -29,10 +32,35 @@ var SecurityEntityType;
|
|
|
29
32
|
SecurityEntityType["Url"] = "URL";
|
|
30
33
|
SecurityEntityType["FileHash"] = "File Hash";
|
|
31
34
|
SecurityEntityType["Process"] = "Process";
|
|
35
|
+
// A bucket, database or telemetry stream Data Security watches.
|
|
36
|
+
SecurityEntityType["DataStore"] = "Data Store";
|
|
32
37
|
SecurityEntityType["Other"] = "Other";
|
|
33
38
|
})(SecurityEntityType || (exports.SecurityEntityType = SecurityEntityType = {}));
|
|
34
39
|
// The most entities a case or detection keeps, so one noisy match cannot grow a row without bound.
|
|
35
40
|
exports.SECURITY_ENTITY_LIMIT = 50;
|
|
41
|
+
/*
|
|
42
|
+
* A data store as Security Operations names it: "data-store:" and the
|
|
43
|
+
* store's key (Types/DataSecurity/DataStoreKey) - one name for the store
|
|
44
|
+
* whichever source speaks of it, so a Data Security issue, a detection
|
|
45
|
+
* rule grouped on the store and its criticality entry all mean one entity.
|
|
46
|
+
*/
|
|
47
|
+
exports.DATA_STORE_ENTITY_PREFIX = "data-store:";
|
|
48
|
+
function getDataStoreEntityValue(storeKey) {
|
|
49
|
+
return `${exports.DATA_STORE_ENTITY_PREFIX}${(storeKey || "").trim()}`;
|
|
50
|
+
}
|
|
51
|
+
// Whether a value names a data store: the prefix, whatever its case, and a key after it.
|
|
52
|
+
function isDataStoreEntityValue(value) {
|
|
53
|
+
const trimmed = (value || "").trim();
|
|
54
|
+
return (trimmed.length > exports.DATA_STORE_ENTITY_PREFIX.length &&
|
|
55
|
+
trimmed.slice(0, exports.DATA_STORE_ENTITY_PREFIX.length).toLowerCase() ===
|
|
56
|
+
exports.DATA_STORE_ENTITY_PREFIX);
|
|
57
|
+
}
|
|
58
|
+
// The store's key in a data store's entity value, or "" for any other value.
|
|
59
|
+
function getDataStoreKeyOfEntityValue(value) {
|
|
60
|
+
return isDataStoreEntityValue(value)
|
|
61
|
+
? (value || "").trim().slice(exports.DATA_STORE_ENTITY_PREFIX.length).trim()
|
|
62
|
+
: "";
|
|
63
|
+
}
|
|
36
64
|
/*
|
|
37
65
|
* The typed security-event columns, and the entity each one holds. A value
|
|
38
66
|
* read from one of these is typed by where it came from, which beats any
|
|
@@ -112,12 +140,20 @@ function isIpAddress(value) {
|
|
|
112
140
|
* An email address reads as a user (in security data it is almost always a
|
|
113
141
|
* sign-in name); a dotted name as a domain; anything that matches nothing
|
|
114
142
|
* is Other, never a guess.
|
|
143
|
+
*
|
|
144
|
+
* A data store's name is OneUptime's own ("data-store:" and its key), and
|
|
145
|
+
* is read first: a key holds an ARN, a Google Cloud resource name or a
|
|
146
|
+
* traced database's address, whose colons, slashes and "@" the shapes
|
|
147
|
+
* below would take for a URL, an address or a user.
|
|
115
148
|
*/
|
|
116
149
|
function inferSecurityEntityType(value) {
|
|
117
150
|
const trimmed = (value || "").trim();
|
|
118
151
|
if (!trimmed) {
|
|
119
152
|
return SecurityEntityType.Other;
|
|
120
153
|
}
|
|
154
|
+
if (isDataStoreEntityValue(trimmed)) {
|
|
155
|
+
return SecurityEntityType.DataStore;
|
|
156
|
+
}
|
|
121
157
|
if (isIpAddress(trimmed)) {
|
|
122
158
|
return SecurityEntityType.IpAddress;
|
|
123
159
|
}
|
|
@@ -203,6 +239,8 @@ function getSecurityEntityIcon(type) {
|
|
|
203
239
|
return IconProp_1.default.Fingerprint;
|
|
204
240
|
case SecurityEntityType.Process:
|
|
205
241
|
return IconProp_1.default.Terminal;
|
|
242
|
+
case SecurityEntityType.DataStore:
|
|
243
|
+
return IconProp_1.default.Database;
|
|
206
244
|
default:
|
|
207
245
|
return IconProp_1.default.Tag;
|
|
208
246
|
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import commonJsModule from "./SecurityEntity.js";
|
|
2
|
+
export const DATA_STORE_ENTITY_PREFIX = commonJsModule.DATA_STORE_ENTITY_PREFIX;
|
|
2
3
|
export const SECURITY_ENTITY_LIMIT = commonJsModule.SECURITY_ENTITY_LIMIT;
|
|
3
4
|
export const SECURITY_EVENT_ENTITY_FIELDS = commonJsModule.SECURITY_EVENT_ENTITY_FIELDS;
|
|
4
5
|
export const SecurityEntityType = commonJsModule.SecurityEntityType;
|
|
5
6
|
export const entitiesFromObservables = commonJsModule.entitiesFromObservables;
|
|
7
|
+
export const getDataStoreEntityValue = commonJsModule.getDataStoreEntityValue;
|
|
8
|
+
export const getDataStoreKeyOfEntityValue = commonJsModule.getDataStoreKeyOfEntityValue;
|
|
6
9
|
export const getSecurityEntityIcon = commonJsModule.getSecurityEntityIcon;
|
|
7
10
|
export const inferSecurityEntityType = commonJsModule.inferSecurityEntityType;
|
|
11
|
+
export const isDataStoreEntityValue = commonJsModule.isDataStoreEntityValue;
|
|
8
12
|
export const isIpAddress = commonJsModule.isIpAddress;
|
|
9
13
|
export const mergeSecurityEntities = commonJsModule.mergeSecurityEntities;
|
|
10
14
|
export const readSecurityEntities = commonJsModule.readSecurityEntities;
|
|
@@ -15,8 +15,9 @@ const SecurityEntity_1 = require("./SecurityEntity");
|
|
|
15
15
|
* a host and an Okta sign-in from a new country are each worth a glance; the
|
|
16
16
|
* same account in all three in a week is worth a case. So every finding -
|
|
17
17
|
* a detection rule's match, a threat intel match, an alert a connected
|
|
18
|
-
* security product raised
|
|
19
|
-
* the entity
|
|
18
|
+
* security product raised, an issue Data Security opened on a store - adds
|
|
19
|
+
* risk points to the entity it is about, and the entity's risk score is
|
|
20
|
+
* what those points add up to over the last
|
|
20
21
|
* ENTITY_RISK_WINDOW_IN_DAYS days. When it reaches the project's threshold,
|
|
21
22
|
* a case opens about the entity (or the open one about it takes the risk
|
|
22
23
|
* in), naming everything that added to it. This is how the leading SIEMs
|
|
@@ -64,7 +65,10 @@ exports.DEFAULT_ENTITY_RISK_CASE_THRESHOLD = 100;
|
|
|
64
65
|
exports.ENTITY_RISK_CASE_THRESHOLD_MIN = 10;
|
|
65
66
|
exports.ENTITY_RISK_CASE_THRESHOLD_MAX = 10000;
|
|
66
67
|
/*
|
|
67
|
-
* The kinds of entity that carry risk: who acted and where
|
|
68
|
+
* The kinds of entity that carry risk: who acted and where - and the data
|
|
69
|
+
* it was done to. A bucket made public, a snapshot shared and a Critical
|
|
70
|
+
* Data Security issue on the same store within a week are worth a case
|
|
71
|
+
* about the store, as three findings about one account are. A domain, a URL
|
|
68
72
|
* or a file hash is what threat intel already says is bad; a process name is
|
|
69
73
|
* the same on every machine. Neither is somebody to investigate.
|
|
70
74
|
*/
|
|
@@ -72,6 +76,7 @@ exports.RISK_ENTITY_TYPES = [
|
|
|
72
76
|
SecurityEntity_1.SecurityEntityType.User,
|
|
73
77
|
SecurityEntity_1.SecurityEntityType.Host,
|
|
74
78
|
SecurityEntity_1.SecurityEntityType.IpAddress,
|
|
79
|
+
SecurityEntity_1.SecurityEntityType.DataStore,
|
|
75
80
|
];
|
|
76
81
|
/*
|
|
77
82
|
* What a finding adds, by its severity. Informational findings are context
|
|
@@ -145,14 +150,17 @@ exports.SECURITY_ENTITY_CRITICALITY_WEIGHTS = {
|
|
|
145
150
|
};
|
|
146
151
|
exports.SECURITY_ENTITY_CRITICALITY_VALUE_MAX_LENGTH = 500;
|
|
147
152
|
/*
|
|
148
|
-
* What can add risk: the
|
|
149
|
-
*
|
|
150
|
-
*
|
|
153
|
+
* What can add risk: the detection sources - the project's rules, threat
|
|
154
|
+
* intel, connected products, and Data Security, whose issue on a store is a
|
|
155
|
+
* finding about the store (each check a source of its own). A person
|
|
156
|
+
* opening a case judged it already, and a case risk opened adds nothing
|
|
157
|
+
* back to the risk that opened it.
|
|
151
158
|
*/
|
|
152
159
|
exports.RISK_DETECTION_SOURCES = [
|
|
153
160
|
SecurityDetectionSource_1.default.DetectionRule,
|
|
154
161
|
SecurityDetectionSource_1.default.ThreatIntel,
|
|
155
162
|
SecurityDetectionSource_1.default.ConnectedProduct,
|
|
163
|
+
SecurityDetectionSource_1.default.DataSecurity,
|
|
156
164
|
];
|
|
157
165
|
/*
|
|
158
166
|
* THE RISKIEST ENTITIES, as the Security Overview shows them: the top of
|
|
@@ -21,6 +21,8 @@ export interface ConnectorField {
|
|
|
21
21
|
isAdvanced?: boolean | undefined;
|
|
22
22
|
}
|
|
23
23
|
export declare const CLOSE_ALERTS_WHEN_CASE_CLOSES_KEY: string;
|
|
24
|
+
export declare const MICROSOFT_365_AUDIT_KEY: string;
|
|
25
|
+
export declare const GOOGLE_WORKSPACE_DRIVE_KEY: string;
|
|
24
26
|
export interface ConnectorAlertingOnlyControl {
|
|
25
27
|
title: string;
|
|
26
28
|
description: string;
|
|
@@ -21,6 +21,8 @@ export interface ConnectorField {
|
|
|
21
21
|
isAdvanced?: boolean | undefined;
|
|
22
22
|
}
|
|
23
23
|
export declare const CLOSE_ALERTS_WHEN_CASE_CLOSES_KEY: string;
|
|
24
|
+
export declare const MICROSOFT_365_AUDIT_KEY: string;
|
|
25
|
+
export declare const GOOGLE_WORKSPACE_DRIVE_KEY: string;
|
|
24
26
|
export interface ConnectorAlertingOnlyControl {
|
|
25
27
|
title: string;
|
|
26
28
|
description: string;
|