@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,230 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DATABASE_ENGINE_STORE_KINDS = exports.TELEMETRY_DATA_STORE_KINDS = exports.DATA_STORE_KINDS = exports.DataStoreFamily = exports.DataStoreProvider = exports.DataStoreKind = void 0;
|
|
7
|
+
exports.getDataStoreKindInfo = getDataStoreKindInfo;
|
|
8
|
+
exports.isDataStoreKind = isDataStoreKind;
|
|
9
|
+
exports.getDataStoreKindForCloudResourceType = getDataStoreKindForCloudResourceType;
|
|
10
|
+
const IconProp_1 = __importDefault(require("../Icon/IconProp"));
|
|
11
|
+
/*
|
|
12
|
+
* EVERY KIND OF PLACE DATA SECURITY TREATS AS A DATA STORE.
|
|
13
|
+
*
|
|
14
|
+
* Cloud buckets, databases and warehouses; databases teams run themselves;
|
|
15
|
+
* and the telemetry a project sends OneUptime, which holds whatever its
|
|
16
|
+
* code writes into logs, spans and prompts. Each kind says where it lives
|
|
17
|
+
* (its provider), what family it belongs to (so checks and pages can speak
|
|
18
|
+
* of "buckets" or "databases"), the cloud inventory type it is discovered
|
|
19
|
+
* from, and whether Data Security can read its content - configuration
|
|
20
|
+
* checks apply to every kind, content scans only where a reader exists.
|
|
21
|
+
*/
|
|
22
|
+
var DataStoreKind;
|
|
23
|
+
(function (DataStoreKind) {
|
|
24
|
+
DataStoreKind["AwsS3Bucket"] = "AWS S3 Bucket";
|
|
25
|
+
DataStoreKind["AwsRdsInstance"] = "AWS RDS Instance";
|
|
26
|
+
DataStoreKind["AwsRdsCluster"] = "AWS Aurora Cluster";
|
|
27
|
+
DataStoreKind["AwsRdsSnapshot"] = "AWS RDS Snapshot";
|
|
28
|
+
DataStoreKind["AwsDynamoDbTable"] = "AWS DynamoDB Table";
|
|
29
|
+
DataStoreKind["AwsRedshiftCluster"] = "AWS Redshift Cluster";
|
|
30
|
+
DataStoreKind["AwsDocumentDbCluster"] = "AWS DocumentDB Cluster";
|
|
31
|
+
DataStoreKind["AwsOpenSearchDomain"] = "AWS OpenSearch Domain";
|
|
32
|
+
DataStoreKind["AwsElastiCacheCluster"] = "AWS ElastiCache Cluster";
|
|
33
|
+
DataStoreKind["AwsEfsFileSystem"] = "AWS EFS File System";
|
|
34
|
+
DataStoreKind["AzureStorageAccount"] = "Azure Storage Account";
|
|
35
|
+
DataStoreKind["AzureSqlDatabase"] = "Azure SQL Database";
|
|
36
|
+
DataStoreKind["AzureCosmosDbAccount"] = "Azure Cosmos DB Account";
|
|
37
|
+
DataStoreKind["AzurePostgreSqlServer"] = "Azure PostgreSQL Server";
|
|
38
|
+
DataStoreKind["AzureMySqlServer"] = "Azure MySQL Server";
|
|
39
|
+
DataStoreKind["GcpStorageBucket"] = "Google Cloud Storage Bucket";
|
|
40
|
+
DataStoreKind["GcpCloudSqlInstance"] = "Google Cloud SQL Instance";
|
|
41
|
+
DataStoreKind["GcpBigQueryDataset"] = "Google BigQuery Dataset";
|
|
42
|
+
DataStoreKind["GcpFirestoreDatabase"] = "Google Firestore Database";
|
|
43
|
+
DataStoreKind["GcpSpannerInstance"] = "Google Spanner Instance";
|
|
44
|
+
DataStoreKind["GcpBigtableInstance"] = "Google Bigtable Instance";
|
|
45
|
+
DataStoreKind["PostgreSql"] = "PostgreSQL";
|
|
46
|
+
DataStoreKind["MySql"] = "MySQL";
|
|
47
|
+
DataStoreKind["MongoDb"] = "MongoDB";
|
|
48
|
+
DataStoreKind["SqlServer"] = "SQL Server";
|
|
49
|
+
DataStoreKind["Oracle"] = "Oracle";
|
|
50
|
+
DataStoreKind["Redis"] = "Redis";
|
|
51
|
+
DataStoreKind["Elasticsearch"] = "Elasticsearch";
|
|
52
|
+
DataStoreKind["TelemetryLogs"] = "Logs";
|
|
53
|
+
DataStoreKind["TelemetryTraces"] = "Traces";
|
|
54
|
+
DataStoreKind["TelemetryExceptions"] = "Exceptions";
|
|
55
|
+
DataStoreKind["TelemetrySessionReplays"] = "Session Replays";
|
|
56
|
+
DataStoreKind["TelemetryAiConversations"] = "AI Conversations";
|
|
57
|
+
})(DataStoreKind || (exports.DataStoreKind = DataStoreKind = {}));
|
|
58
|
+
var DataStoreProvider;
|
|
59
|
+
(function (DataStoreProvider) {
|
|
60
|
+
DataStoreProvider["Aws"] = "aws";
|
|
61
|
+
DataStoreProvider["Azure"] = "azure";
|
|
62
|
+
DataStoreProvider["Gcp"] = "gcp";
|
|
63
|
+
DataStoreProvider["SelfManaged"] = "self-managed";
|
|
64
|
+
DataStoreProvider["OneUptime"] = "oneuptime";
|
|
65
|
+
})(DataStoreProvider || (exports.DataStoreProvider = DataStoreProvider = {}));
|
|
66
|
+
var DataStoreFamily;
|
|
67
|
+
(function (DataStoreFamily) {
|
|
68
|
+
DataStoreFamily["ObjectStorage"] = "Object storage";
|
|
69
|
+
DataStoreFamily["Database"] = "Database";
|
|
70
|
+
DataStoreFamily["Warehouse"] = "Warehouse";
|
|
71
|
+
DataStoreFamily["Search"] = "Search";
|
|
72
|
+
DataStoreFamily["Cache"] = "Cache";
|
|
73
|
+
DataStoreFamily["FileSystem"] = "File system";
|
|
74
|
+
DataStoreFamily["Snapshot"] = "Snapshot";
|
|
75
|
+
DataStoreFamily["Telemetry"] = "Telemetry";
|
|
76
|
+
})(DataStoreFamily || (exports.DataStoreFamily = DataStoreFamily = {}));
|
|
77
|
+
function kind(value, provider, family, options = {}) {
|
|
78
|
+
return {
|
|
79
|
+
kind: value,
|
|
80
|
+
provider,
|
|
81
|
+
family,
|
|
82
|
+
cloudResourceType: options.cloudResourceType,
|
|
83
|
+
contentScannable: Boolean(options.contentScannable),
|
|
84
|
+
icon: options.icon ||
|
|
85
|
+
(family === DataStoreFamily.ObjectStorage
|
|
86
|
+
? IconProp_1.default.Folder
|
|
87
|
+
: family === DataStoreFamily.Telemetry
|
|
88
|
+
? IconProp_1.default.Logs
|
|
89
|
+
: IconProp_1.default.Database),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
const P = DataStoreProvider;
|
|
93
|
+
const F = DataStoreFamily;
|
|
94
|
+
const K = DataStoreKind;
|
|
95
|
+
exports.DATA_STORE_KINDS = [
|
|
96
|
+
kind(K.AwsS3Bucket, P.Aws, F.ObjectStorage, {
|
|
97
|
+
cloudResourceType: "AWS::S3::Bucket",
|
|
98
|
+
contentScannable: true,
|
|
99
|
+
}),
|
|
100
|
+
kind(K.AwsRdsInstance, P.Aws, F.Database, {
|
|
101
|
+
cloudResourceType: "AWS::RDS::DBInstance",
|
|
102
|
+
}),
|
|
103
|
+
kind(K.AwsRdsCluster, P.Aws, F.Database, {
|
|
104
|
+
cloudResourceType: "AWS::RDS::DBCluster",
|
|
105
|
+
}),
|
|
106
|
+
kind(K.AwsRdsSnapshot, P.Aws, F.Snapshot, {
|
|
107
|
+
cloudResourceType: "AWS::RDS::DBSnapshot",
|
|
108
|
+
}),
|
|
109
|
+
kind(K.AwsDynamoDbTable, P.Aws, F.Database, {
|
|
110
|
+
cloudResourceType: "AWS::DynamoDB::Table",
|
|
111
|
+
}),
|
|
112
|
+
kind(K.AwsRedshiftCluster, P.Aws, F.Warehouse, {
|
|
113
|
+
cloudResourceType: "AWS::Redshift::Cluster",
|
|
114
|
+
}),
|
|
115
|
+
kind(K.AwsDocumentDbCluster, P.Aws, F.Database, {
|
|
116
|
+
cloudResourceType: "AWS::DocDB::DBCluster",
|
|
117
|
+
}),
|
|
118
|
+
kind(K.AwsOpenSearchDomain, P.Aws, F.Search, {
|
|
119
|
+
cloudResourceType: "AWS::OpenSearchService::Domain",
|
|
120
|
+
}),
|
|
121
|
+
kind(K.AwsElastiCacheCluster, P.Aws, F.Cache, {
|
|
122
|
+
cloudResourceType: "AWS::ElastiCache::ReplicationGroup",
|
|
123
|
+
}),
|
|
124
|
+
kind(K.AwsEfsFileSystem, P.Aws, F.FileSystem, {
|
|
125
|
+
cloudResourceType: "AWS::EFS::FileSystem",
|
|
126
|
+
}),
|
|
127
|
+
kind(K.AzureStorageAccount, P.Azure, F.ObjectStorage, {
|
|
128
|
+
cloudResourceType: "Microsoft.Storage/storageAccounts",
|
|
129
|
+
contentScannable: true,
|
|
130
|
+
}),
|
|
131
|
+
kind(K.AzureSqlDatabase, P.Azure, F.Database, {
|
|
132
|
+
cloudResourceType: "Microsoft.Sql/servers/databases",
|
|
133
|
+
}),
|
|
134
|
+
kind(K.AzureCosmosDbAccount, P.Azure, F.Database, {
|
|
135
|
+
cloudResourceType: "Microsoft.DocumentDB/databaseAccounts",
|
|
136
|
+
}),
|
|
137
|
+
kind(K.AzurePostgreSqlServer, P.Azure, F.Database, {
|
|
138
|
+
cloudResourceType: "Microsoft.DBforPostgreSQL/flexibleServers",
|
|
139
|
+
}),
|
|
140
|
+
kind(K.AzureMySqlServer, P.Azure, F.Database, {
|
|
141
|
+
cloudResourceType: "Microsoft.DBforMySQL/flexibleServers",
|
|
142
|
+
}),
|
|
143
|
+
kind(K.GcpStorageBucket, P.Gcp, F.ObjectStorage, {
|
|
144
|
+
cloudResourceType: "gcs_bucket",
|
|
145
|
+
contentScannable: true,
|
|
146
|
+
}),
|
|
147
|
+
kind(K.GcpCloudSqlInstance, P.Gcp, F.Database, {
|
|
148
|
+
cloudResourceType: "cloudsql_database",
|
|
149
|
+
}),
|
|
150
|
+
kind(K.GcpBigQueryDataset, P.Gcp, F.Warehouse, {
|
|
151
|
+
cloudResourceType: "bigquery_dataset",
|
|
152
|
+
contentScannable: true,
|
|
153
|
+
}),
|
|
154
|
+
kind(K.GcpFirestoreDatabase, P.Gcp, F.Database, {
|
|
155
|
+
cloudResourceType: "firestore_instance",
|
|
156
|
+
}),
|
|
157
|
+
kind(K.GcpSpannerInstance, P.Gcp, F.Database, {
|
|
158
|
+
cloudResourceType: "spanner_instance",
|
|
159
|
+
}),
|
|
160
|
+
kind(K.GcpBigtableInstance, P.Gcp, F.Database, {
|
|
161
|
+
cloudResourceType: "bigtable_table",
|
|
162
|
+
}),
|
|
163
|
+
kind(K.PostgreSql, P.SelfManaged, F.Database, { contentScannable: true }),
|
|
164
|
+
kind(K.MySql, P.SelfManaged, F.Database, { contentScannable: true }),
|
|
165
|
+
kind(K.MongoDb, P.SelfManaged, F.Database),
|
|
166
|
+
kind(K.SqlServer, P.SelfManaged, F.Database),
|
|
167
|
+
kind(K.Oracle, P.SelfManaged, F.Database),
|
|
168
|
+
kind(K.Redis, P.SelfManaged, F.Cache),
|
|
169
|
+
kind(K.Elasticsearch, P.SelfManaged, F.Search),
|
|
170
|
+
kind(K.TelemetryLogs, P.OneUptime, F.Telemetry, {
|
|
171
|
+
contentScannable: true,
|
|
172
|
+
icon: IconProp_1.default.Logs,
|
|
173
|
+
}),
|
|
174
|
+
kind(K.TelemetryTraces, P.OneUptime, F.Telemetry, {
|
|
175
|
+
contentScannable: true,
|
|
176
|
+
icon: IconProp_1.default.Waterfall,
|
|
177
|
+
}),
|
|
178
|
+
kind(K.TelemetryExceptions, P.OneUptime, F.Telemetry, {
|
|
179
|
+
contentScannable: true,
|
|
180
|
+
icon: IconProp_1.default.Bug,
|
|
181
|
+
}),
|
|
182
|
+
kind(K.TelemetrySessionReplays, P.OneUptime, F.Telemetry, {
|
|
183
|
+
contentScannable: true,
|
|
184
|
+
icon: IconProp_1.default.Play,
|
|
185
|
+
}),
|
|
186
|
+
kind(K.TelemetryAiConversations, P.OneUptime, F.Telemetry, {
|
|
187
|
+
contentScannable: true,
|
|
188
|
+
icon: IconProp_1.default.Bolt,
|
|
189
|
+
}),
|
|
190
|
+
];
|
|
191
|
+
const KINDS_BY_VALUE = new Map(exports.DATA_STORE_KINDS.map((info) => {
|
|
192
|
+
return [info.kind, info];
|
|
193
|
+
}));
|
|
194
|
+
function getDataStoreKindInfo(value) {
|
|
195
|
+
return value ? KINDS_BY_VALUE.get(value) : undefined;
|
|
196
|
+
}
|
|
197
|
+
function isDataStoreKind(value) {
|
|
198
|
+
return typeof value === "string" && KINDS_BY_VALUE.has(value);
|
|
199
|
+
}
|
|
200
|
+
// The kind a cloud inventory row of this type becomes, if any.
|
|
201
|
+
function getDataStoreKindForCloudResourceType(cloudResourceType) {
|
|
202
|
+
var _a;
|
|
203
|
+
return (_a = exports.DATA_STORE_KINDS.find((info) => {
|
|
204
|
+
return info.cloudResourceType === cloudResourceType;
|
|
205
|
+
})) === null || _a === void 0 ? void 0 : _a.kind;
|
|
206
|
+
}
|
|
207
|
+
exports.TELEMETRY_DATA_STORE_KINDS = [
|
|
208
|
+
DataStoreKind.TelemetryLogs,
|
|
209
|
+
DataStoreKind.TelemetryTraces,
|
|
210
|
+
DataStoreKind.TelemetryExceptions,
|
|
211
|
+
DataStoreKind.TelemetrySessionReplays,
|
|
212
|
+
DataStoreKind.TelemetryAiConversations,
|
|
213
|
+
];
|
|
214
|
+
/*
|
|
215
|
+
* The database engines OneUptime's Database product monitors, mapped to the
|
|
216
|
+
* kind of store each one is (the Database Agent's receiver names).
|
|
217
|
+
*/
|
|
218
|
+
exports.DATABASE_ENGINE_STORE_KINDS = {
|
|
219
|
+
postgresql: DataStoreKind.PostgreSql,
|
|
220
|
+
postgres: DataStoreKind.PostgreSql,
|
|
221
|
+
mysql: DataStoreKind.MySql,
|
|
222
|
+
mariadb: DataStoreKind.MySql,
|
|
223
|
+
mongodb: DataStoreKind.MongoDb,
|
|
224
|
+
sqlserver: DataStoreKind.SqlServer,
|
|
225
|
+
mssql: DataStoreKind.SqlServer,
|
|
226
|
+
oracledb: DataStoreKind.Oracle,
|
|
227
|
+
oracle: DataStoreKind.Oracle,
|
|
228
|
+
redis: DataStoreKind.Redis,
|
|
229
|
+
elasticsearch: DataStoreKind.Elasticsearch,
|
|
230
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import commonJsModule from "./DataStoreKind.js";
|
|
2
|
+
export const DATABASE_ENGINE_STORE_KINDS = commonJsModule.DATABASE_ENGINE_STORE_KINDS;
|
|
3
|
+
export const DATA_STORE_KINDS = commonJsModule.DATA_STORE_KINDS;
|
|
4
|
+
export const DataStoreFamily = commonJsModule.DataStoreFamily;
|
|
5
|
+
export const DataStoreKind = commonJsModule.DataStoreKind;
|
|
6
|
+
export const DataStoreProvider = commonJsModule.DataStoreProvider;
|
|
7
|
+
export const TELEMETRY_DATA_STORE_KINDS = commonJsModule.TELEMETRY_DATA_STORE_KINDS;
|
|
8
|
+
export const getDataStoreKindForCloudResourceType = commonJsModule.getDataStoreKindForCloudResourceType;
|
|
9
|
+
export const getDataStoreKindInfo = commonJsModule.getDataStoreKindInfo;
|
|
10
|
+
export const isDataStoreKind = commonJsModule.isDataStoreKind;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface DataStorePostureFacts {
|
|
2
|
+
readAt?: string | undefined;
|
|
3
|
+
publicRead?: boolean | null | undefined;
|
|
4
|
+
publicWrite?: boolean | null | undefined;
|
|
5
|
+
publicReason?: string | undefined;
|
|
6
|
+
blockPublicAccess?: boolean | null | undefined;
|
|
7
|
+
publicNetworkAccess?: boolean | null | undefined;
|
|
8
|
+
openToAllAddresses?: boolean | null | undefined;
|
|
9
|
+
sharedWithExternal?: Array<string> | undefined;
|
|
10
|
+
snapshotPublic?: boolean | null | undefined;
|
|
11
|
+
snapshotSharedWith?: Array<string> | undefined;
|
|
12
|
+
sharedSnapshotIds?: Array<string> | undefined;
|
|
13
|
+
encryptedAtRest?: boolean | null | undefined;
|
|
14
|
+
customerManagedKey?: boolean | null | undefined;
|
|
15
|
+
encryptionInTransitEnforced?: boolean | null | undefined;
|
|
16
|
+
minimumTlsVersion?: string | null | undefined;
|
|
17
|
+
backupsEnabled?: boolean | null | undefined;
|
|
18
|
+
backupRetentionDays?: number | null | undefined;
|
|
19
|
+
pointInTimeRecovery?: boolean | null | undefined;
|
|
20
|
+
deletionProtection?: boolean | null | undefined;
|
|
21
|
+
versioning?: boolean | null | undefined;
|
|
22
|
+
softDelete?: boolean | null | undefined;
|
|
23
|
+
accessLogging?: boolean | null | undefined;
|
|
24
|
+
sharedKeyAccess?: boolean | null | undefined;
|
|
25
|
+
uniformAccess?: boolean | null | undefined;
|
|
26
|
+
replicationRegions?: Array<string> | undefined;
|
|
27
|
+
readWarnings?: Array<string> | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare enum DataStoreExposure {
|
|
30
|
+
Public = "Public",
|
|
31
|
+
OtherAccounts = "Other accounts",
|
|
32
|
+
InternetReachable = "Internet reachable",
|
|
33
|
+
Private = "Private",
|
|
34
|
+
Unknown = "Unknown"
|
|
35
|
+
}
|
|
36
|
+
export declare const ALL_DATA_STORE_EXPOSURES: ReadonlyArray<DataStoreExposure>;
|
|
37
|
+
export declare const DATA_STORE_EXPOSURE_DESCRIPTION: Readonly<Record<DataStoreExposure, string>>;
|
|
38
|
+
export declare const DATA_STORE_EXPOSURE_WEIGHT: Readonly<Record<DataStoreExposure, number>>;
|
|
39
|
+
export declare function getDataStoreExposure(facts: DataStorePostureFacts | null | undefined): DataStoreExposure;
|
|
40
|
+
export declare function tlsVersionNumber(version: string | null | undefined): number;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface DataStorePostureFacts {
|
|
2
|
+
readAt?: string | undefined;
|
|
3
|
+
publicRead?: boolean | null | undefined;
|
|
4
|
+
publicWrite?: boolean | null | undefined;
|
|
5
|
+
publicReason?: string | undefined;
|
|
6
|
+
blockPublicAccess?: boolean | null | undefined;
|
|
7
|
+
publicNetworkAccess?: boolean | null | undefined;
|
|
8
|
+
openToAllAddresses?: boolean | null | undefined;
|
|
9
|
+
sharedWithExternal?: Array<string> | undefined;
|
|
10
|
+
snapshotPublic?: boolean | null | undefined;
|
|
11
|
+
snapshotSharedWith?: Array<string> | undefined;
|
|
12
|
+
sharedSnapshotIds?: Array<string> | undefined;
|
|
13
|
+
encryptedAtRest?: boolean | null | undefined;
|
|
14
|
+
customerManagedKey?: boolean | null | undefined;
|
|
15
|
+
encryptionInTransitEnforced?: boolean | null | undefined;
|
|
16
|
+
minimumTlsVersion?: string | null | undefined;
|
|
17
|
+
backupsEnabled?: boolean | null | undefined;
|
|
18
|
+
backupRetentionDays?: number | null | undefined;
|
|
19
|
+
pointInTimeRecovery?: boolean | null | undefined;
|
|
20
|
+
deletionProtection?: boolean | null | undefined;
|
|
21
|
+
versioning?: boolean | null | undefined;
|
|
22
|
+
softDelete?: boolean | null | undefined;
|
|
23
|
+
accessLogging?: boolean | null | undefined;
|
|
24
|
+
sharedKeyAccess?: boolean | null | undefined;
|
|
25
|
+
uniformAccess?: boolean | null | undefined;
|
|
26
|
+
replicationRegions?: Array<string> | undefined;
|
|
27
|
+
readWarnings?: Array<string> | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare enum DataStoreExposure {
|
|
30
|
+
Public = "Public",
|
|
31
|
+
OtherAccounts = "Other accounts",
|
|
32
|
+
InternetReachable = "Internet reachable",
|
|
33
|
+
Private = "Private",
|
|
34
|
+
Unknown = "Unknown"
|
|
35
|
+
}
|
|
36
|
+
export declare const ALL_DATA_STORE_EXPOSURES: ReadonlyArray<DataStoreExposure>;
|
|
37
|
+
export declare const DATA_STORE_EXPOSURE_DESCRIPTION: Readonly<Record<DataStoreExposure, string>>;
|
|
38
|
+
export declare const DATA_STORE_EXPOSURE_WEIGHT: Readonly<Record<DataStoreExposure, number>>;
|
|
39
|
+
export declare function getDataStoreExposure(facts: DataStorePostureFacts | null | undefined): DataStoreExposure;
|
|
40
|
+
export declare function tlsVersionNumber(version: string | null | undefined): number;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* WHAT A STORE'S CONFIGURATION SAYS ABOUT ITS SAFETY, IN ONE SHAPE FOR EVERY
|
|
4
|
+
* CLOUD.
|
|
5
|
+
*
|
|
6
|
+
* Each cloud says the same things in its own words - an S3 bucket's public
|
|
7
|
+
* access block, an Azure storage account's allowBlobPublicAccess, a Cloud
|
|
8
|
+
* Storage bucket's allUsers binding - so the readers (one per provider)
|
|
9
|
+
* translate what they read into these facts, and every check reads only
|
|
10
|
+
* the facts. A check written once then holds for every cloud, and a new
|
|
11
|
+
* cloud needs a reader, not new checks.
|
|
12
|
+
*
|
|
13
|
+
* Every fact is three-valued. true and false are what the cloud said; null
|
|
14
|
+
* means the reader could not tell (the permission was missing, the call
|
|
15
|
+
* failed) and a check of it reports Unknown rather than guessing; a fact
|
|
16
|
+
* that is absent does not apply to the store's kind.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.DATA_STORE_EXPOSURE_WEIGHT = exports.DATA_STORE_EXPOSURE_DESCRIPTION = exports.ALL_DATA_STORE_EXPOSURES = exports.DataStoreExposure = void 0;
|
|
20
|
+
exports.getDataStoreExposure = getDataStoreExposure;
|
|
21
|
+
exports.tlsVersionNumber = tlsVersionNumber;
|
|
22
|
+
// Where a store sits relative to the internet and to other organizations.
|
|
23
|
+
var DataStoreExposure;
|
|
24
|
+
(function (DataStoreExposure) {
|
|
25
|
+
DataStoreExposure["Public"] = "Public";
|
|
26
|
+
DataStoreExposure["OtherAccounts"] = "Other accounts";
|
|
27
|
+
DataStoreExposure["InternetReachable"] = "Internet reachable";
|
|
28
|
+
DataStoreExposure["Private"] = "Private";
|
|
29
|
+
DataStoreExposure["Unknown"] = "Unknown";
|
|
30
|
+
})(DataStoreExposure || (exports.DataStoreExposure = DataStoreExposure = {}));
|
|
31
|
+
exports.ALL_DATA_STORE_EXPOSURES = [
|
|
32
|
+
DataStoreExposure.Public,
|
|
33
|
+
DataStoreExposure.OtherAccounts,
|
|
34
|
+
DataStoreExposure.InternetReachable,
|
|
35
|
+
DataStoreExposure.Private,
|
|
36
|
+
DataStoreExposure.Unknown,
|
|
37
|
+
];
|
|
38
|
+
exports.DATA_STORE_EXPOSURE_DESCRIPTION = {
|
|
39
|
+
[DataStoreExposure.Public]: "Anyone on the internet can read it.",
|
|
40
|
+
[DataStoreExposure.OtherAccounts]: "Accounts outside your connected ones can reach it.",
|
|
41
|
+
[DataStoreExposure.InternetReachable]: "Its network endpoint accepts connections from the internet.",
|
|
42
|
+
[DataStoreExposure.Private]: "Only your own accounts and networks reach it.",
|
|
43
|
+
[DataStoreExposure.Unknown]: "OneUptime could not read enough of its configuration to tell.",
|
|
44
|
+
};
|
|
45
|
+
// The weight exposure adds to an issue's risk score (DataSecurityRisk.ts).
|
|
46
|
+
exports.DATA_STORE_EXPOSURE_WEIGHT = {
|
|
47
|
+
[DataStoreExposure.Public]: 1,
|
|
48
|
+
[DataStoreExposure.OtherAccounts]: 0.8,
|
|
49
|
+
[DataStoreExposure.InternetReachable]: 0.6,
|
|
50
|
+
[DataStoreExposure.Private]: 0,
|
|
51
|
+
[DataStoreExposure.Unknown]: 0.3,
|
|
52
|
+
};
|
|
53
|
+
/*
|
|
54
|
+
* A store's exposure from its facts: public beats shared, shared beats
|
|
55
|
+
* reachable. Nothing read at all is Unknown, and so is a store whose
|
|
56
|
+
* reachability could not be read; a kind with no such facts at all (a
|
|
57
|
+
* DynamoDB table, a file system: reached only with credentials) is
|
|
58
|
+
* Private.
|
|
59
|
+
*/
|
|
60
|
+
function getDataStoreExposure(facts) {
|
|
61
|
+
if (!facts || !facts.readAt) {
|
|
62
|
+
return DataStoreExposure.Unknown;
|
|
63
|
+
}
|
|
64
|
+
if (facts.publicRead === true ||
|
|
65
|
+
facts.publicWrite === true ||
|
|
66
|
+
facts.snapshotPublic === true) {
|
|
67
|
+
return DataStoreExposure.Public;
|
|
68
|
+
}
|
|
69
|
+
if ((facts.sharedWithExternal || []).length > 0 ||
|
|
70
|
+
(facts.snapshotSharedWith || []).length > 0) {
|
|
71
|
+
return DataStoreExposure.OtherAccounts;
|
|
72
|
+
}
|
|
73
|
+
if (facts.publicNetworkAccess === true || facts.openToAllAddresses === true) {
|
|
74
|
+
return DataStoreExposure.InternetReachable;
|
|
75
|
+
}
|
|
76
|
+
/*
|
|
77
|
+
* Private only when nothing that decides it is missing. A store's policy
|
|
78
|
+
* side - who may read or write it anonymously - is unknown when either
|
|
79
|
+
* could not be read, unless public access is blocked outright; its
|
|
80
|
+
* network side is unknown when the network rules could not be read,
|
|
81
|
+
* unless public network access is off (then the firewall rules do not
|
|
82
|
+
* matter).
|
|
83
|
+
*/
|
|
84
|
+
const policyUnknown = (facts.publicRead === null || facts.publicWrite === null) &&
|
|
85
|
+
facts.blockPublicAccess !== true;
|
|
86
|
+
const networkUnknown = facts.publicNetworkAccess !== false &&
|
|
87
|
+
(facts.publicNetworkAccess === null || facts.openToAllAddresses === null);
|
|
88
|
+
if (policyUnknown || networkUnknown) {
|
|
89
|
+
return DataStoreExposure.Unknown;
|
|
90
|
+
}
|
|
91
|
+
return DataStoreExposure.Private;
|
|
92
|
+
}
|
|
93
|
+
// TLS versions as numbers, so "1.0" < "1.2" compares as people mean it.
|
|
94
|
+
function tlsVersionNumber(version) {
|
|
95
|
+
if (!version) {
|
|
96
|
+
return 0;
|
|
97
|
+
}
|
|
98
|
+
const match = version.match(/([0-9])[._]([0-9])/);
|
|
99
|
+
return match ? Number(match[1]) + Number(match[2]) / 10 : 0;
|
|
100
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import commonJsModule from "./DataStorePosture.js";
|
|
2
|
+
export const ALL_DATA_STORE_EXPOSURES = commonJsModule.ALL_DATA_STORE_EXPOSURES;
|
|
3
|
+
export const DATA_STORE_EXPOSURE_DESCRIPTION = commonJsModule.DATA_STORE_EXPOSURE_DESCRIPTION;
|
|
4
|
+
export const DATA_STORE_EXPOSURE_WEIGHT = commonJsModule.DATA_STORE_EXPOSURE_WEIGHT;
|
|
5
|
+
export const DataStoreExposure = commonJsModule.DataStoreExposure;
|
|
6
|
+
export const getDataStoreExposure = commonJsModule.getDataStoreExposure;
|
|
7
|
+
export const tlsVersionNumber = commonJsModule.tlsVersionNumber;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import ComplianceFramework from "./ComplianceFramework.mjs";
|
|
2
|
+
import DataCategory from "./DataCategory.mjs";
|
|
3
|
+
import DataSensitivity from "./DataSensitivity.mjs";
|
|
4
|
+
export interface DataTypeInfo {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
category: DataCategory;
|
|
9
|
+
sensitivity: DataSensitivity;
|
|
10
|
+
country?: string | undefined;
|
|
11
|
+
frameworks: ReadonlyArray<ComplianceFramework>;
|
|
12
|
+
nameHints: ReadonlyArray<string>;
|
|
13
|
+
foundBy: "value" | "name";
|
|
14
|
+
}
|
|
15
|
+
export declare const DATA_TYPE_CATALOG: ReadonlyArray<DataTypeInfo>;
|
|
16
|
+
export declare function getBuiltInDataType(id: string): DataTypeInfo | undefined;
|
|
17
|
+
export declare function isBuiltInDataType(id: string): boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import ComplianceFramework from "./ComplianceFramework";
|
|
2
|
+
import DataCategory from "./DataCategory";
|
|
3
|
+
import DataSensitivity from "./DataSensitivity";
|
|
4
|
+
export interface DataTypeInfo {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
category: DataCategory;
|
|
9
|
+
sensitivity: DataSensitivity;
|
|
10
|
+
country?: string | undefined;
|
|
11
|
+
frameworks: ReadonlyArray<ComplianceFramework>;
|
|
12
|
+
nameHints: ReadonlyArray<string>;
|
|
13
|
+
foundBy: "value" | "name";
|
|
14
|
+
}
|
|
15
|
+
export declare const DATA_TYPE_CATALOG: ReadonlyArray<DataTypeInfo>;
|
|
16
|
+
export declare function getBuiltInDataType(id: string): DataTypeInfo | undefined;
|
|
17
|
+
export declare function isBuiltInDataType(id: string): boolean;
|