@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
|
@@ -3,7 +3,11 @@ 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.GCP_SERVICES = exports.GCP_READ_ONLY_ROLES = exports.GCP_SERVICE_HEALTH_ROLE = exports.GCP_AUDIT_LOG_ROLE = exports.GCP_INVENTORY_ROLE = exports.GCP_READ_ONLY_ROLE = exports.AZURE_READ_ONLY_ROLE = exports.AWS_SCOPED_READ_RESOURCES = exports.AWS_READ_ONLY_ACTIONS = exports.AWS_ORGANIZATION_ACTION_GROUP = exports.AWS_READ_ONLY_ACTION_GROUPS = exports.CloudConnectionSetupScope = exports.GCP_SERVICE_ACCOUNT_ID = exports.CLOUD_CONNECTION_READ_ONLY_NAME = void 0;
|
|
6
|
+
exports.AWS_DATA_SECURITY_GROUP_NAME = exports.GCP_DATA_SECURITY_RESPONSE_PERMISSIONS = exports.GCP_DATA_SECURITY_RESPONSE_ROLE_ID = exports.AZURE_DATA_SECURITY_RESPONSE_ACTIONS = exports.AZURE_DATA_SECURITY_RESPONSE_ROLE = exports.AWS_DATA_SECURITY_RESPONSE_ACTIONS = exports.AWS_DATA_SECURITY_RESPONSE_POLICY_NAME = exports.GCP_DATA_SECURITY_CONTENT_SERVICES = exports.GCP_DATA_SECURITY_CONTENT_ROLES = exports.AZURE_DATA_SECURITY_CONTENT_ROLE = exports.AWS_DATA_SECURITY_KMS_CONDITION = exports.AWS_DATA_SECURITY_CONTENT_RESOURCES = exports.AWS_DATA_SECURITY_CONTENT_ACTIONS = exports.AWS_DATA_SECURITY_CONFIGURATION_ACTIONS = exports.AWS_DATA_SECURITY_CONFIGURATION_ACTION_GROUPS = exports.AWS_DATA_SECURITY_POLICY_NAME = exports.GCP_SERVICES = exports.GCP_READ_ONLY_ROLES = exports.GCP_SERVICE_HEALTH_ROLE = exports.GCP_AUDIT_LOG_ROLE = exports.GCP_INVENTORY_ROLE = exports.GCP_READ_ONLY_ROLE = exports.AZURE_READ_ONLY_ROLE = exports.AWS_SCOPED_READ_RESOURCES = exports.AWS_READ_ONLY_ACTIONS = exports.AWS_ORGANIZATION_ACTION_GROUP = exports.AWS_READ_ONLY_ACTION_GROUPS = exports.AWS_LOG_READ_ACTION_GROUP = exports.CloudConnectionSetupScope = exports.GCP_SERVICE_ACCOUNT_ID = exports.CLOUD_CONNECTION_READ_ONLY_NAME = void 0;
|
|
7
|
+
exports.getAwsDataSecurityPolicy = getAwsDataSecurityPolicy;
|
|
8
|
+
exports.getAwsDataSecurityPolicyDocument = getAwsDataSecurityPolicyDocument;
|
|
9
|
+
exports.getAwsDataSecurityResponsePolicy = getAwsDataSecurityResponsePolicy;
|
|
10
|
+
exports.getAwsDataSecurityResponsePolicyDocument = getAwsDataSecurityResponsePolicyDocument;
|
|
7
11
|
exports.getAwsExternalIdForProject = getAwsExternalIdForProject;
|
|
8
12
|
exports.getAwsRoleNameForExternalId = getAwsRoleNameForExternalId;
|
|
9
13
|
exports.getAwsOrganizationStackSetName = getAwsOrganizationStackSetName;
|
|
@@ -28,8 +32,12 @@ const CloudConnectionCatalog_1 = require("./CloudConnectionCatalog");
|
|
|
28
32
|
* browser terminal (AWS CloudShell, Azure Cloud Shell, Google Cloud Shell),
|
|
29
33
|
* runs the command shown, and pastes back what it printed. Each command
|
|
30
34
|
* creates access that can only read - metrics, the resources and how they
|
|
31
|
-
* are configured, what changed
|
|
32
|
-
*
|
|
35
|
+
* are configured, what changed, the provider's health events, and, while
|
|
36
|
+
* OneUptime AI investigates, a resource's live status, recent events and
|
|
37
|
+
* quotas - and nothing more than a connection uses. OneUptime reads no
|
|
38
|
+
* data or secrets with it but for one thing: a resource's log lines, which
|
|
39
|
+
* can hold data, and which it reads only for an account whose AI log
|
|
40
|
+
* reading someone turned on.
|
|
33
41
|
*
|
|
34
42
|
* - AWS, IAM role: a role trusting this OneUptime's AWS account with an
|
|
35
43
|
* external id only this project's connections use, with an inline
|
|
@@ -52,6 +60,14 @@ const CloudConnectionCatalog_1 = require("./CloudConnectionCatalog");
|
|
|
52
60
|
* Each can be run again: a role, a user or a service account that is
|
|
53
61
|
* already there is updated, not duplicated.
|
|
54
62
|
*
|
|
63
|
+
* Data Security's access is opt-in, per connection (the dataSecurity
|
|
64
|
+
* setting, CloudConnectionDataSecurityLevel), and added by the same command
|
|
65
|
+
* only when it is asked for - with it off, every command is exactly the
|
|
66
|
+
* one described above. See "DATA SECURITY'S OPT-IN ACCESS" below. So is
|
|
67
|
+
* the one write a command ever grants, on a setting of its own
|
|
68
|
+
* (dataSecurityResponse): closing a data store's exposure. See "DATA
|
|
69
|
+
* SECURITY RESPONSE" below.
|
|
70
|
+
*
|
|
55
71
|
* The dashboard shows these, the docs page shows the same ones
|
|
56
72
|
* (CloudConnectDocsFacts holds them equal), and the server checks that a
|
|
57
73
|
* role to assume carries this project's external id.
|
|
@@ -70,10 +86,27 @@ var CloudConnectionSetupScope;
|
|
|
70
86
|
CloudConnectionSetupScope["Organization"] = "organization";
|
|
71
87
|
})(CloudConnectionSetupScope || (exports.CloudConnectionSetupScope = CloudConnectionSetupScope = {}));
|
|
72
88
|
/*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
89
|
+
* The one group that reads data: a resource's recent log lines, which can
|
|
90
|
+
* hold anything an application logs. OneUptime reads them only while it
|
|
91
|
+
* investigates an account whose AI log reading someone turned on; until
|
|
92
|
+
* then its read-logs live read is off, and these two actions go unused.
|
|
93
|
+
*/
|
|
94
|
+
exports.AWS_LOG_READ_ACTION_GROUP = {
|
|
95
|
+
purpose: "Read log lines, only when you let AI read an account's logs",
|
|
96
|
+
actions: ["logs:DescribeLogGroups", "logs:FilterLogEvents"],
|
|
97
|
+
};
|
|
98
|
+
/*
|
|
99
|
+
* Every AWS action a connection uses, by what it is for. Each reads, and
|
|
100
|
+
* none writes. None reads data (an object, a row, a message) or a secret
|
|
101
|
+
* store, but for the log lines of AWS_LOG_READ_ACTION_GROUP. Configuration
|
|
102
|
+
* is what a team wrote into it, though: a Lambda function's and a task
|
|
103
|
+
* definition's environment variables come with theirs.
|
|
104
|
+
*
|
|
75
105
|
* Listing a resource type through Cloud Control calls that service's own
|
|
76
|
-
* List or Describe action as the role, which is why those are here.
|
|
106
|
+
* List or Describe action as the role, which is why those are here. The
|
|
107
|
+
* groups after the health events are the live reads an investigation
|
|
108
|
+
* makes (the cloud catalog's describe, recent-events, quota-usage and
|
|
109
|
+
* read-logs), which run on the server through this connection.
|
|
77
110
|
*/
|
|
78
111
|
exports.AWS_READ_ONLY_ACTION_GROUPS = [
|
|
79
112
|
{
|
|
@@ -135,6 +168,23 @@ exports.AWS_READ_ONLY_ACTION_GROUPS = [
|
|
|
135
168
|
purpose: "Read AWS's own health events for the account",
|
|
136
169
|
actions: ["health:DescribeEvents", "health:DescribeEventDetails"],
|
|
137
170
|
},
|
|
171
|
+
{
|
|
172
|
+
purpose: "Read a resource's live status and recent events during an investigation",
|
|
173
|
+
actions: [
|
|
174
|
+
"rds:DescribeEvents",
|
|
175
|
+
"autoscaling:DescribeScalingActivities",
|
|
176
|
+
"ec2:DescribeInstanceStatus",
|
|
177
|
+
"ecs:DescribeTaskDefinition",
|
|
178
|
+
"lambda:GetFunctionConfiguration",
|
|
179
|
+
"lambda:GetFunctionConcurrency",
|
|
180
|
+
"lambda:GetAlias",
|
|
181
|
+
],
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
purpose: "Read the account's quotas during an investigation",
|
|
185
|
+
actions: ["servicequotas:ListServiceQuotas"],
|
|
186
|
+
},
|
|
187
|
+
exports.AWS_LOG_READ_ACTION_GROUP,
|
|
138
188
|
];
|
|
139
189
|
/*
|
|
140
190
|
* What only the organization's management account's role may do besides:
|
|
@@ -161,7 +211,15 @@ exports.AWS_SCOPED_READ_RESOURCES = {
|
|
|
161
211
|
"arn:aws:apigateway:*::/apis/*",
|
|
162
212
|
],
|
|
163
213
|
};
|
|
164
|
-
|
|
214
|
+
/*
|
|
215
|
+
* The built-in roles Azure and Google Cloud connections are given. They
|
|
216
|
+
* already cover an investigation's live reads: Monitoring Reader may read
|
|
217
|
+
* every resource provider's settings, which takes in the Resource Manager
|
|
218
|
+
* reads, Resource Health, the Activity Log, Compute usages and a
|
|
219
|
+
* resource's Log Analytics query; the four Google Cloud roles take in
|
|
220
|
+
* Cloud Asset's search, Logging's entries and Cloud Monitoring's time
|
|
221
|
+
* series.
|
|
222
|
+
*/
|
|
165
223
|
exports.AZURE_READ_ONLY_ROLE = "Monitoring Reader";
|
|
166
224
|
exports.GCP_READ_ONLY_ROLE = "roles/monitoring.viewer";
|
|
167
225
|
exports.GCP_INVENTORY_ROLE = "roles/cloudasset.viewer";
|
|
@@ -181,6 +239,238 @@ exports.GCP_SERVICES = [
|
|
|
181
239
|
"cloudresourcemanager.googleapis.com",
|
|
182
240
|
"servicehealth.googleapis.com",
|
|
183
241
|
];
|
|
242
|
+
/*
|
|
243
|
+
* DATA SECURITY'S OPT-IN ACCESS: what each level adds to a cloud's command.
|
|
244
|
+
*
|
|
245
|
+
* - "configuration": how every data store is set up - who can reach it,
|
|
246
|
+
* how it is encrypted, backed up, logged and copied. Still no data and
|
|
247
|
+
* no secret.
|
|
248
|
+
* AWS: a second inline policy, OneUptimeDataSecurity, with exactly
|
|
249
|
+
* the read actions the data security reader calls
|
|
250
|
+
* (AWS_DATA_SECURITY_CONFIGURATION_ACTIONS).
|
|
251
|
+
* Azure: nothing more. Monitoring Reader's wildcard read action
|
|
252
|
+
* reads every resource's configuration through Azure Resource
|
|
253
|
+
* Manager.
|
|
254
|
+
* Google Cloud: nothing more. Cloud Asset Viewer reads every
|
|
255
|
+
* resource's configuration and IAM policy.
|
|
256
|
+
* - "content": that, and samples of what the stores hold, to find
|
|
257
|
+
* sensitive data in them.
|
|
258
|
+
* AWS: the same policy, with s3:ListBucket and s3:GetObject on every
|
|
259
|
+
* bucket, and kms:Decrypt only as S3 asks for it (an object
|
|
260
|
+
* encrypted with a KMS key).
|
|
261
|
+
* Azure: Storage Blob Data Reader, on the same scope.
|
|
262
|
+
* Google Cloud: Storage Object Viewer and BigQuery Data Viewer, and
|
|
263
|
+
* the BigQuery API turned on.
|
|
264
|
+
*
|
|
265
|
+
* Choosing a lower level later and running the command again replaces the
|
|
266
|
+
* AWS policy with the lower one; "off" adds nothing, so it leaves what an
|
|
267
|
+
* earlier command granted until it is removed (aws iam delete-role-policy
|
|
268
|
+
* --policy-name OneUptimeDataSecurity).
|
|
269
|
+
*/
|
|
270
|
+
exports.AWS_DATA_SECURITY_POLICY_NAME = "OneUptimeDataSecurity";
|
|
271
|
+
/*
|
|
272
|
+
* Every AWS action the data security reader calls (AwsDataSecurityReader),
|
|
273
|
+
* by what it is for. Each reads a setting; none reads data or writes. A
|
|
274
|
+
* few are in the read-only policy too: this one stands on its own.
|
|
275
|
+
* organizations:ListAccounts, which an organization's read also calls,
|
|
276
|
+
* stays in the management account's role alone.
|
|
277
|
+
*/
|
|
278
|
+
exports.AWS_DATA_SECURITY_CONFIGURATION_ACTION_GROUPS = [
|
|
279
|
+
{
|
|
280
|
+
purpose: "List the buckets, and read who can reach each one and how it is encrypted, versioned, logged, copied and tagged",
|
|
281
|
+
actions: [
|
|
282
|
+
"s3:ListAllMyBuckets",
|
|
283
|
+
"s3:GetBucketLocation",
|
|
284
|
+
"s3:GetBucketPolicyStatus",
|
|
285
|
+
"s3:GetBucketPublicAccessBlock",
|
|
286
|
+
"s3:GetAccountPublicAccessBlock",
|
|
287
|
+
"s3:GetBucketAcl",
|
|
288
|
+
"s3:GetBucketPolicy",
|
|
289
|
+
"s3:GetEncryptionConfiguration",
|
|
290
|
+
"s3:GetBucketVersioning",
|
|
291
|
+
"s3:GetBucketLogging",
|
|
292
|
+
"s3:GetBucketOwnershipControls",
|
|
293
|
+
"s3:GetReplicationConfiguration",
|
|
294
|
+
"s3:GetBucketTagging",
|
|
295
|
+
],
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
purpose: "Read how the databases are reached, encrypted and backed up, and whom their manual snapshots are shared with",
|
|
299
|
+
actions: [
|
|
300
|
+
"rds:DescribeDBInstances",
|
|
301
|
+
"rds:DescribeDBClusters",
|
|
302
|
+
"rds:DescribeDBSnapshots",
|
|
303
|
+
"rds:DescribeDBSnapshotAttributes",
|
|
304
|
+
"rds:DescribeDBClusterSnapshots",
|
|
305
|
+
"rds:DescribeDBClusterSnapshotAttributes",
|
|
306
|
+
"dynamodb:ListTables",
|
|
307
|
+
"dynamodb:DescribeTable",
|
|
308
|
+
"dynamodb:DescribeContinuousBackups",
|
|
309
|
+
"redshift:DescribeClusters",
|
|
310
|
+
"redshift:DescribeLoggingStatus",
|
|
311
|
+
],
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
purpose: "Read how the search domains, caches and file systems are set up",
|
|
315
|
+
actions: [
|
|
316
|
+
"es:ListDomainNames",
|
|
317
|
+
"es:DescribeDomains",
|
|
318
|
+
"elasticache:DescribeReplicationGroups",
|
|
319
|
+
"elasticfilesystem:DescribeFileSystems",
|
|
320
|
+
],
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
purpose: "Tell AWS's own keys (alias/aws/...) from the keys you manage",
|
|
324
|
+
actions: ["kms:ListAliases"],
|
|
325
|
+
},
|
|
326
|
+
];
|
|
327
|
+
exports.AWS_DATA_SECURITY_CONFIGURATION_ACTIONS = exports.AWS_DATA_SECURITY_CONFIGURATION_ACTION_GROUPS.flatMap((group) => {
|
|
328
|
+
return group.actions;
|
|
329
|
+
});
|
|
330
|
+
// What "content" adds: reading objects, and the KMS key they are encrypted with.
|
|
331
|
+
exports.AWS_DATA_SECURITY_CONTENT_ACTIONS = [
|
|
332
|
+
"s3:ListBucket",
|
|
333
|
+
"s3:GetObject",
|
|
334
|
+
"kms:Decrypt",
|
|
335
|
+
];
|
|
336
|
+
// Where each content action is allowed: buckets, their objects, any key.
|
|
337
|
+
exports.AWS_DATA_SECURITY_CONTENT_RESOURCES = {
|
|
338
|
+
"s3:ListBucket": "arn:aws:s3:::*",
|
|
339
|
+
"s3:GetObject": "arn:aws:s3:::*/*",
|
|
340
|
+
"kms:Decrypt": "*",
|
|
341
|
+
};
|
|
342
|
+
/*
|
|
343
|
+
* kms:Decrypt only when S3 asks for it, reading an object encrypted with a
|
|
344
|
+
* KMS key: never a direct decrypt of anything else the key protects.
|
|
345
|
+
*/
|
|
346
|
+
exports.AWS_DATA_SECURITY_KMS_CONDITION = {
|
|
347
|
+
StringLike: { "kms:ViaService": "s3.*.amazonaws.com" },
|
|
348
|
+
};
|
|
349
|
+
/*
|
|
350
|
+
* Azure: "configuration" needs nothing beyond Monitoring Reader (its
|
|
351
|
+
* wildcard read action covers every Azure Resource Manager read);
|
|
352
|
+
* "content" adds the built-in role that reads blobs.
|
|
353
|
+
*/
|
|
354
|
+
exports.AZURE_DATA_SECURITY_CONTENT_ROLE = "Storage Blob Data Reader";
|
|
355
|
+
/*
|
|
356
|
+
* Google Cloud: "configuration" needs nothing beyond the roles above
|
|
357
|
+
* (Cloud Asset Viewer reads IAM policies and resource data); "content"
|
|
358
|
+
* adds these roles and the API they read through.
|
|
359
|
+
*/
|
|
360
|
+
exports.GCP_DATA_SECURITY_CONTENT_ROLES = [
|
|
361
|
+
"roles/storage.objectViewer",
|
|
362
|
+
"roles/bigquery.dataViewer",
|
|
363
|
+
];
|
|
364
|
+
exports.GCP_DATA_SECURITY_CONTENT_SERVICES = [
|
|
365
|
+
"bigquery.googleapis.com",
|
|
366
|
+
];
|
|
367
|
+
function isDataSecurityOn(level) {
|
|
368
|
+
return level === "configuration" || level === "content";
|
|
369
|
+
}
|
|
370
|
+
/*
|
|
371
|
+
* The data security policy for a level, or null when it is off: the
|
|
372
|
+
* configuration reads on every resource, and - for content - each content
|
|
373
|
+
* action on its own resources, kms:Decrypt with its condition.
|
|
374
|
+
*/
|
|
375
|
+
function getAwsDataSecurityPolicy(level) {
|
|
376
|
+
if (!isDataSecurityOn(level)) {
|
|
377
|
+
return null;
|
|
378
|
+
}
|
|
379
|
+
return {
|
|
380
|
+
Version: "2012-10-17",
|
|
381
|
+
Statement: [
|
|
382
|
+
{
|
|
383
|
+
Effect: "Allow",
|
|
384
|
+
Action: [...exports.AWS_DATA_SECURITY_CONFIGURATION_ACTIONS],
|
|
385
|
+
Resource: "*",
|
|
386
|
+
},
|
|
387
|
+
...(level === "content"
|
|
388
|
+
? exports.AWS_DATA_SECURITY_CONTENT_ACTIONS.map((action) => {
|
|
389
|
+
return Object.assign({ Effect: "Allow", Action: [action], Resource: exports.AWS_DATA_SECURITY_CONTENT_RESOURCES[action] }, (action === "kms:Decrypt"
|
|
390
|
+
? { Condition: exports.AWS_DATA_SECURITY_KMS_CONDITION }
|
|
391
|
+
: {}));
|
|
392
|
+
})
|
|
393
|
+
: []),
|
|
394
|
+
],
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
// The policy as the commands write it; "" when data security is off.
|
|
398
|
+
function getAwsDataSecurityPolicyDocument(level) {
|
|
399
|
+
const policy = getAwsDataSecurityPolicy(level);
|
|
400
|
+
return policy ? JSON.stringify(policy) : "";
|
|
401
|
+
}
|
|
402
|
+
/*
|
|
403
|
+
* DATA SECURITY RESPONSE: the one write any command grants, on its own
|
|
404
|
+
* setting (dataSecurityResponse) and only when it is "block" - Security
|
|
405
|
+
* Operations playbooks closing a data store's exposure, each run approved
|
|
406
|
+
* by a person unless the playbook says otherwise (AwsDataSecurityResponse).
|
|
407
|
+
* Nothing it grants deletes, reads data, or changes who may sign in.
|
|
408
|
+
*
|
|
409
|
+
* AWS: a third inline policy, OneUptimeDataSecurityResponse: read and
|
|
410
|
+
* turn on a bucket's Block Public Access, read and narrow whom an RDS
|
|
411
|
+
* manual snapshot is shared with.
|
|
412
|
+
* Azure: a custom role, OneUptime Data Security Response, that reads and
|
|
413
|
+
* updates storage accounts' settings (public blob access, network
|
|
414
|
+
* access) on the same scope - never their keys.
|
|
415
|
+
* Google Cloud: a custom role, oneuptimeDataSecurityResponse, that reads
|
|
416
|
+
* and updates buckets' settings (public access prevention), on the
|
|
417
|
+
* project or organization the command targets.
|
|
418
|
+
*/
|
|
419
|
+
exports.AWS_DATA_SECURITY_RESPONSE_POLICY_NAME = "OneUptimeDataSecurityResponse";
|
|
420
|
+
exports.AWS_DATA_SECURITY_RESPONSE_ACTIONS = [
|
|
421
|
+
"s3:GetBucketPublicAccessBlock",
|
|
422
|
+
"s3:PutBucketPublicAccessBlock",
|
|
423
|
+
"rds:DescribeDBSnapshotAttributes",
|
|
424
|
+
"rds:DescribeDBClusterSnapshotAttributes",
|
|
425
|
+
"rds:ModifyDBSnapshotAttribute",
|
|
426
|
+
"rds:ModifyDBClusterSnapshotAttribute",
|
|
427
|
+
];
|
|
428
|
+
exports.AZURE_DATA_SECURITY_RESPONSE_ROLE = "OneUptime Data Security Response";
|
|
429
|
+
// Reading and updating a storage account's settings; never listKeys.
|
|
430
|
+
exports.AZURE_DATA_SECURITY_RESPONSE_ACTIONS = [
|
|
431
|
+
"Microsoft.Storage/storageAccounts/read",
|
|
432
|
+
"Microsoft.Storage/storageAccounts/write",
|
|
433
|
+
];
|
|
434
|
+
exports.GCP_DATA_SECURITY_RESPONSE_ROLE_ID = "oneuptimeDataSecurityResponse";
|
|
435
|
+
exports.GCP_DATA_SECURITY_RESPONSE_PERMISSIONS = [
|
|
436
|
+
"storage.buckets.get",
|
|
437
|
+
"storage.buckets.update",
|
|
438
|
+
];
|
|
439
|
+
// The response policy, or null when the setting is not "block".
|
|
440
|
+
function getAwsDataSecurityResponsePolicy(response) {
|
|
441
|
+
if (!(0, CloudConnectionCatalog_1.isCloudConnectionDataSecurityResponseOn)(response)) {
|
|
442
|
+
return null;
|
|
443
|
+
}
|
|
444
|
+
return {
|
|
445
|
+
Version: "2012-10-17",
|
|
446
|
+
Statement: [
|
|
447
|
+
{
|
|
448
|
+
Effect: "Allow",
|
|
449
|
+
Action: [...exports.AWS_DATA_SECURITY_RESPONSE_ACTIONS],
|
|
450
|
+
Resource: "*",
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
// The response policy as the commands write it; "" when it is off.
|
|
456
|
+
function getAwsDataSecurityResponsePolicyDocument(response) {
|
|
457
|
+
const policy = getAwsDataSecurityResponsePolicy(response);
|
|
458
|
+
return policy ? JSON.stringify(policy) : "";
|
|
459
|
+
}
|
|
460
|
+
/*
|
|
461
|
+
* Azure's custom role, as az role definition takes it: built by jq in the
|
|
462
|
+
* shell, where the scope it may be assigned at ($SCOPE) is known.
|
|
463
|
+
*/
|
|
464
|
+
function getAzureResponseRoleLines() {
|
|
465
|
+
const actions = exports.AZURE_DATA_SECURITY_RESPONSE_ACTIONS.map((action) => {
|
|
466
|
+
return `"${action}"`;
|
|
467
|
+
}).join(", ");
|
|
468
|
+
return [
|
|
469
|
+
`RESPONSE_ROLE=$(jq -n --arg scope "$SCOPE" '{Name: "${exports.AZURE_DATA_SECURITY_RESPONSE_ROLE}", IsCustom: true, Description: "OneUptime: turn off public access to storage accounts. Never lists their keys.", Actions: [${actions}], NotActions: [], AssignableScopes: [$scope]}')`,
|
|
470
|
+
`az role definition create --role-definition "$RESPONSE_ROLE" > /dev/null 2>&1 || az role definition update --role-definition "$RESPONSE_ROLE" > /dev/null`,
|
|
471
|
+
`az role assignment create --assignee "$APP" --role "${exports.AZURE_DATA_SECURITY_RESPONSE_ROLE}" --scope "$SCOPE" > /dev/null`,
|
|
472
|
+
];
|
|
473
|
+
}
|
|
184
474
|
const EXTERNAL_ID_PREFIX = "oneuptime-";
|
|
185
475
|
/*
|
|
186
476
|
* The external id an AWS role trusts OneUptime with, for one project.
|
|
@@ -278,6 +568,16 @@ function getAwsRoleSetupCommand(data) {
|
|
|
278
568
|
`TRUST='${trust}'`,
|
|
279
569
|
`aws iam create-role --role-name "$ROLE" --assume-role-policy-document "$TRUST" > /dev/null 2>&1 || aws iam update-assume-role-policy --role-name "$ROLE" --policy-document "$TRUST"`,
|
|
280
570
|
`aws iam put-role-policy --role-name "$ROLE" --policy-name ${exports.CLOUD_CONNECTION_READ_ONLY_NAME} --policy-document '${getAwsReadOnlyPolicyDocument({ organization: data.organization })}'`,
|
|
571
|
+
...(isDataSecurityOn(data.dataSecurity)
|
|
572
|
+
? [
|
|
573
|
+
`aws iam put-role-policy --role-name "$ROLE" --policy-name ${exports.AWS_DATA_SECURITY_POLICY_NAME} --policy-document '${getAwsDataSecurityPolicyDocument(data.dataSecurity)}'`,
|
|
574
|
+
]
|
|
575
|
+
: []),
|
|
576
|
+
...((0, CloudConnectionCatalog_1.isCloudConnectionDataSecurityResponseOn)(data.dataSecurityResponse)
|
|
577
|
+
? [
|
|
578
|
+
`aws iam put-role-policy --role-name "$ROLE" --policy-name ${exports.AWS_DATA_SECURITY_RESPONSE_POLICY_NAME} --policy-document '${getAwsDataSecurityResponsePolicyDocument(data.dataSecurityResponse)}'`,
|
|
579
|
+
]
|
|
580
|
+
: []),
|
|
281
581
|
`aws iam get-role --role-name "$ROLE" --query Role.Arn --output text`,
|
|
282
582
|
].join("\n");
|
|
283
583
|
}
|
|
@@ -287,9 +587,19 @@ function getAwsRoleSetupCommand(data) {
|
|
|
287
587
|
* CloudFormation deploys itself.
|
|
288
588
|
*/
|
|
289
589
|
function getAwsReadOnlyRoleTemplate(data) {
|
|
590
|
+
const dataSecurity = getAwsDataSecurityPolicy(data.dataSecurity);
|
|
591
|
+
const response = getAwsDataSecurityResponsePolicy(data.dataSecurityResponse);
|
|
592
|
+
const reads = data.dataSecurity === "content"
|
|
593
|
+
? ", and its data stores' configuration and samples of their content"
|
|
594
|
+
: dataSecurity
|
|
595
|
+
? ", and its data stores' configuration"
|
|
596
|
+
: "";
|
|
597
|
+
const writes = response
|
|
598
|
+
? "; it may also block a data store's public access and sharing"
|
|
599
|
+
: "";
|
|
290
600
|
return JSON.stringify({
|
|
291
601
|
AWSTemplateFormatVersion: "2010-09-09",
|
|
292
|
-
Description:
|
|
602
|
+
Description: `OneUptime: a role that can only read this account's metrics, resources, changes and health events${reads}${writes}.`,
|
|
293
603
|
Resources: {
|
|
294
604
|
OneUptimeReadOnlyRole: {
|
|
295
605
|
Type: "AWS::IAM::Role",
|
|
@@ -301,6 +611,22 @@ function getAwsReadOnlyRoleTemplate(data) {
|
|
|
301
611
|
PolicyName: exports.CLOUD_CONNECTION_READ_ONLY_NAME,
|
|
302
612
|
PolicyDocument: getAwsReadOnlyPolicy(),
|
|
303
613
|
},
|
|
614
|
+
...(dataSecurity
|
|
615
|
+
? [
|
|
616
|
+
{
|
|
617
|
+
PolicyName: exports.AWS_DATA_SECURITY_POLICY_NAME,
|
|
618
|
+
PolicyDocument: dataSecurity,
|
|
619
|
+
},
|
|
620
|
+
]
|
|
621
|
+
: []),
|
|
622
|
+
...(response
|
|
623
|
+
? [
|
|
624
|
+
{
|
|
625
|
+
PolicyName: exports.AWS_DATA_SECURITY_RESPONSE_POLICY_NAME,
|
|
626
|
+
PolicyDocument: response,
|
|
627
|
+
},
|
|
628
|
+
]
|
|
629
|
+
: []),
|
|
304
630
|
],
|
|
305
631
|
},
|
|
306
632
|
},
|
|
@@ -332,11 +658,38 @@ function getAwsOrganizationSetupCommand(data) {
|
|
|
332
658
|
getAwsRoleSetupCommand(Object.assign(Object.assign({}, data), { organization: true })),
|
|
333
659
|
].join("\n");
|
|
334
660
|
}
|
|
335
|
-
|
|
661
|
+
/*
|
|
662
|
+
* IAM holds a user's inline policies to 2,048 characters in all, and the
|
|
663
|
+
* read-only policy takes most of them, so the access key's user gets Data
|
|
664
|
+
* Security's policies - reading, and the response's - through a group of
|
|
665
|
+
* its own (a group's inline policies may total 5,120): created once, its
|
|
666
|
+
* policies put again on every run.
|
|
667
|
+
*/
|
|
668
|
+
exports.AWS_DATA_SECURITY_GROUP_NAME = exports.AWS_DATA_SECURITY_POLICY_NAME;
|
|
669
|
+
function getAwsAccessKeySetupCommand(options = {}) {
|
|
336
670
|
const user = exports.CLOUD_CONNECTION_READ_ONLY_NAME;
|
|
671
|
+
const group = exports.AWS_DATA_SECURITY_GROUP_NAME;
|
|
672
|
+
const reads = isDataSecurityOn(options.dataSecurity);
|
|
673
|
+
const responds = (0, CloudConnectionCatalog_1.isCloudConnectionDataSecurityResponseOn)(options.dataSecurityResponse);
|
|
337
674
|
return [
|
|
338
675
|
`aws iam create-user --user-name ${user} > /dev/null 2>&1 || true`,
|
|
339
676
|
`aws iam put-user-policy --user-name ${user} --policy-name ${exports.CLOUD_CONNECTION_READ_ONLY_NAME} --policy-document '${getAwsReadOnlyPolicyDocument()}'`,
|
|
677
|
+
...(reads || responds
|
|
678
|
+
? [`aws iam create-group --group-name ${group} > /dev/null 2>&1 || true`]
|
|
679
|
+
: []),
|
|
680
|
+
...(reads
|
|
681
|
+
? [
|
|
682
|
+
`aws iam put-group-policy --group-name ${group} --policy-name ${exports.AWS_DATA_SECURITY_POLICY_NAME} --policy-document '${getAwsDataSecurityPolicyDocument(options.dataSecurity)}'`,
|
|
683
|
+
]
|
|
684
|
+
: []),
|
|
685
|
+
...(responds
|
|
686
|
+
? [
|
|
687
|
+
`aws iam put-group-policy --group-name ${group} --policy-name ${exports.AWS_DATA_SECURITY_RESPONSE_POLICY_NAME} --policy-document '${getAwsDataSecurityResponsePolicyDocument(options.dataSecurityResponse)}'`,
|
|
688
|
+
]
|
|
689
|
+
: []),
|
|
690
|
+
...(reads || responds
|
|
691
|
+
? [`aws iam add-user-to-group --user-name ${user} --group-name ${group}`]
|
|
692
|
+
: []),
|
|
340
693
|
`aws iam create-access-key --user-name ${user}`,
|
|
341
694
|
].join("\n");
|
|
342
695
|
}
|
|
@@ -345,7 +698,11 @@ function getAwsAccessKeySetupCommand() {
|
|
|
345
698
|
* password's expiry added, so OneUptime can say before the password stops
|
|
346
699
|
* working. The tenant's root management group is named after the tenant.
|
|
347
700
|
*/
|
|
348
|
-
function getAzureSetupCommand(scope = CloudConnectionSetupScope.Account
|
|
701
|
+
function getAzureSetupCommand(scope = CloudConnectionSetupScope.Account,
|
|
702
|
+
// "content" adds Storage Blob Data Reader on the same scope; the others nothing.
|
|
703
|
+
dataSecurity = "off",
|
|
704
|
+
// "block" adds the response's custom role, made for and assigned on the same scope.
|
|
705
|
+
dataSecurityResponse = "off") {
|
|
349
706
|
const scopeLine = scope === CloudConnectionSetupScope.Organization
|
|
350
707
|
? `SCOPE="/providers/Microsoft.Management/managementGroups/$(az account show --query tenantId --output tsv)"`
|
|
351
708
|
: `SCOPE="/subscriptions/$(az account show --query id --output tsv)"`;
|
|
@@ -353,6 +710,14 @@ function getAzureSetupCommand(scope = CloudConnectionSetupScope.Account) {
|
|
|
353
710
|
scopeLine,
|
|
354
711
|
`OUT=$(az ad sp create-for-rbac --name ${exports.CLOUD_CONNECTION_READ_ONLY_NAME} --role "${exports.AZURE_READ_ONLY_ROLE}" --scopes "$SCOPE")`,
|
|
355
712
|
`APP=$(echo "$OUT" | jq -r .appId)`,
|
|
713
|
+
...(dataSecurity === "content"
|
|
714
|
+
? [
|
|
715
|
+
`az role assignment create --assignee "$APP" --role "${exports.AZURE_DATA_SECURITY_CONTENT_ROLE}" --scope "$SCOPE" > /dev/null`,
|
|
716
|
+
]
|
|
717
|
+
: []),
|
|
718
|
+
...((0, CloudConnectionCatalog_1.isCloudConnectionDataSecurityResponseOn)(dataSecurityResponse)
|
|
719
|
+
? getAzureResponseRoleLines()
|
|
720
|
+
: []),
|
|
356
721
|
`END=$(az ad app credential list --id "$APP" --query "max([].endDateTime)" --output tsv)`,
|
|
357
722
|
`echo "$OUT" | jq --arg end "$END" '. + {endDateTime: $end}'`,
|
|
358
723
|
].join("\n");
|
|
@@ -362,13 +727,33 @@ function getAzureSetupCommand(scope = CloudConnectionSetupScope.Account) {
|
|
|
362
727
|
* roles on the project - or on the project's organization, for every
|
|
363
728
|
* project - and a key it prints and then deletes from the shell.
|
|
364
729
|
*/
|
|
365
|
-
function getGcpSetupCommand(scope = CloudConnectionSetupScope.Account
|
|
730
|
+
function getGcpSetupCommand(scope = CloudConnectionSetupScope.Account,
|
|
731
|
+
// "content" adds the object and dataset readers and the BigQuery API; the others nothing.
|
|
732
|
+
dataSecurity = "off",
|
|
733
|
+
// "block" adds the response's custom role, made where the command binds roles.
|
|
734
|
+
dataSecurityResponse = "off") {
|
|
366
735
|
const member = `${exports.GCP_SERVICE_ACCOUNT_ID}@$PROJECT_ID.iam.gserviceaccount.com`;
|
|
736
|
+
const organization = scope === CloudConnectionSetupScope.Organization;
|
|
367
737
|
const bind = (role) => {
|
|
368
|
-
return
|
|
738
|
+
return organization
|
|
369
739
|
? `gcloud organizations add-iam-policy-binding "$ORG_ID" --member "serviceAccount:${member}" --role ${role} --condition=None > /dev/null`
|
|
370
740
|
: `gcloud projects add-iam-policy-binding "$PROJECT_ID" --member "serviceAccount:${member}" --role ${role} --condition=None > /dev/null`;
|
|
371
741
|
};
|
|
742
|
+
const content = dataSecurity === "content";
|
|
743
|
+
// The custom role lives where it is bound: the project, or the organization.
|
|
744
|
+
const roleHome = organization
|
|
745
|
+
? `--organization "$ORG_ID"`
|
|
746
|
+
: `--project "$PROJECT_ID"`;
|
|
747
|
+
const responseRole = organization
|
|
748
|
+
? `organizations/$ORG_ID/roles/${exports.GCP_DATA_SECURITY_RESPONSE_ROLE_ID}`
|
|
749
|
+
: `projects/$PROJECT_ID/roles/${exports.GCP_DATA_SECURITY_RESPONSE_ROLE_ID}`;
|
|
750
|
+
const permissions = exports.GCP_DATA_SECURITY_RESPONSE_PERMISSIONS.join(",");
|
|
751
|
+
const responseLines = (0, CloudConnectionCatalog_1.isCloudConnectionDataSecurityResponseOn)(dataSecurityResponse)
|
|
752
|
+
? [
|
|
753
|
+
`gcloud iam roles create ${exports.GCP_DATA_SECURITY_RESPONSE_ROLE_ID} ${roleHome} --title "OneUptime Data Security Response" --description "OneUptime: turn on public access prevention for buckets." --permissions ${permissions} --stage GA --quiet > /dev/null 2>&1 || gcloud iam roles update ${exports.GCP_DATA_SECURITY_RESPONSE_ROLE_ID} ${roleHome} --permissions ${permissions} --quiet > /dev/null`,
|
|
754
|
+
bind(responseRole),
|
|
755
|
+
]
|
|
756
|
+
: [];
|
|
372
757
|
return [
|
|
373
758
|
"PROJECT_ID=$(gcloud config get-value project)",
|
|
374
759
|
...(scope === CloudConnectionSetupScope.Organization
|
|
@@ -376,9 +761,14 @@ function getGcpSetupCommand(scope = CloudConnectionSetupScope.Account) {
|
|
|
376
761
|
`ORG_ID=$(gcloud projects get-ancestors "$PROJECT_ID" --format="value(id)" | tail -1)`,
|
|
377
762
|
]
|
|
378
763
|
: []),
|
|
379
|
-
`gcloud services enable ${
|
|
764
|
+
`gcloud services enable ${[
|
|
765
|
+
...exports.GCP_SERVICES,
|
|
766
|
+
...(content ? exports.GCP_DATA_SECURITY_CONTENT_SERVICES : []),
|
|
767
|
+
].join(" ")}`,
|
|
380
768
|
`gcloud iam service-accounts create ${exports.GCP_SERVICE_ACCOUNT_ID} --display-name "OneUptime (read only)" > /dev/null 2>&1 || true`,
|
|
381
769
|
...exports.GCP_READ_ONLY_ROLES.map(bind),
|
|
770
|
+
...(content ? exports.GCP_DATA_SECURITY_CONTENT_ROLES.map(bind) : []),
|
|
771
|
+
...responseLines,
|
|
382
772
|
`gcloud iam service-accounts keys create oneuptime-key.json --iam-account "${member}"`,
|
|
383
773
|
"cat oneuptime-key.json && rm oneuptime-key.json",
|
|
384
774
|
].join("\n");
|
|
@@ -391,6 +781,8 @@ function getGcpSetupCommand(scope = CloudConnectionSetupScope.Account) {
|
|
|
391
781
|
*/
|
|
392
782
|
function getCloudConnectionSetupCommand(provider, method, context = {}) {
|
|
393
783
|
const scope = context.scope || CloudConnectionSetupScope.Account;
|
|
784
|
+
const dataSecurity = context.dataSecurity || "off";
|
|
785
|
+
const dataSecurityResponse = context.dataSecurityResponse || "off";
|
|
394
786
|
if (provider === CloudPlatform_1.CloudProvider.AWS) {
|
|
395
787
|
if (method === CloudConnectionCatalog_1.CloudConnectionAuthMethod.AwsRole) {
|
|
396
788
|
if (!context.trustedPrincipalArn || !context.externalId) {
|
|
@@ -399,17 +791,19 @@ function getCloudConnectionSetupCommand(provider, method, context = {}) {
|
|
|
399
791
|
const role = {
|
|
400
792
|
trustedPrincipalArn: context.trustedPrincipalArn,
|
|
401
793
|
externalId: context.externalId,
|
|
794
|
+
dataSecurity,
|
|
795
|
+
dataSecurityResponse,
|
|
402
796
|
};
|
|
403
797
|
return scope === CloudConnectionSetupScope.Organization
|
|
404
798
|
? getAwsOrganizationSetupCommand(role)
|
|
405
799
|
: getAwsRoleSetupCommand(role);
|
|
406
800
|
}
|
|
407
|
-
return getAwsAccessKeySetupCommand();
|
|
801
|
+
return getAwsAccessKeySetupCommand({ dataSecurity, dataSecurityResponse });
|
|
408
802
|
}
|
|
409
803
|
if (provider === CloudPlatform_1.CloudProvider.Azure) {
|
|
410
|
-
return getAzureSetupCommand(scope);
|
|
804
|
+
return getAzureSetupCommand(scope, dataSecurity, dataSecurityResponse);
|
|
411
805
|
}
|
|
412
|
-
return getGcpSetupCommand(scope);
|
|
806
|
+
return getGcpSetupCommand(scope, dataSecurity, dataSecurityResponse);
|
|
413
807
|
}
|
|
414
808
|
/*
|
|
415
809
|
* Whether a cloud and sign-in method can be set up for a whole
|
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
import commonJsModule from "./CloudConnectionSetupCommands.js";
|
|
2
|
+
export const AWS_DATA_SECURITY_CONFIGURATION_ACTIONS = commonJsModule.AWS_DATA_SECURITY_CONFIGURATION_ACTIONS;
|
|
3
|
+
export const AWS_DATA_SECURITY_CONFIGURATION_ACTION_GROUPS = commonJsModule.AWS_DATA_SECURITY_CONFIGURATION_ACTION_GROUPS;
|
|
4
|
+
export const AWS_DATA_SECURITY_CONTENT_ACTIONS = commonJsModule.AWS_DATA_SECURITY_CONTENT_ACTIONS;
|
|
5
|
+
export const AWS_DATA_SECURITY_CONTENT_RESOURCES = commonJsModule.AWS_DATA_SECURITY_CONTENT_RESOURCES;
|
|
6
|
+
export const AWS_DATA_SECURITY_GROUP_NAME = commonJsModule.AWS_DATA_SECURITY_GROUP_NAME;
|
|
7
|
+
export const AWS_DATA_SECURITY_KMS_CONDITION = commonJsModule.AWS_DATA_SECURITY_KMS_CONDITION;
|
|
8
|
+
export const AWS_DATA_SECURITY_POLICY_NAME = commonJsModule.AWS_DATA_SECURITY_POLICY_NAME;
|
|
9
|
+
export const AWS_DATA_SECURITY_RESPONSE_ACTIONS = commonJsModule.AWS_DATA_SECURITY_RESPONSE_ACTIONS;
|
|
10
|
+
export const AWS_DATA_SECURITY_RESPONSE_POLICY_NAME = commonJsModule.AWS_DATA_SECURITY_RESPONSE_POLICY_NAME;
|
|
11
|
+
export const AWS_LOG_READ_ACTION_GROUP = commonJsModule.AWS_LOG_READ_ACTION_GROUP;
|
|
2
12
|
export const AWS_ORGANIZATION_ACTION_GROUP = commonJsModule.AWS_ORGANIZATION_ACTION_GROUP;
|
|
3
13
|
export const AWS_READ_ONLY_ACTIONS = commonJsModule.AWS_READ_ONLY_ACTIONS;
|
|
4
14
|
export const AWS_READ_ONLY_ACTION_GROUPS = commonJsModule.AWS_READ_ONLY_ACTION_GROUPS;
|
|
5
15
|
export const AWS_SCOPED_READ_RESOURCES = commonJsModule.AWS_SCOPED_READ_RESOURCES;
|
|
16
|
+
export const AZURE_DATA_SECURITY_CONTENT_ROLE = commonJsModule.AZURE_DATA_SECURITY_CONTENT_ROLE;
|
|
17
|
+
export const AZURE_DATA_SECURITY_RESPONSE_ACTIONS = commonJsModule.AZURE_DATA_SECURITY_RESPONSE_ACTIONS;
|
|
18
|
+
export const AZURE_DATA_SECURITY_RESPONSE_ROLE = commonJsModule.AZURE_DATA_SECURITY_RESPONSE_ROLE;
|
|
6
19
|
export const AZURE_READ_ONLY_ROLE = commonJsModule.AZURE_READ_ONLY_ROLE;
|
|
7
20
|
export const CLOUD_CONNECTION_READ_ONLY_NAME = commonJsModule.CLOUD_CONNECTION_READ_ONLY_NAME;
|
|
8
21
|
export const CloudConnectionSetupScope = commonJsModule.CloudConnectionSetupScope;
|
|
9
22
|
export const GCP_AUDIT_LOG_ROLE = commonJsModule.GCP_AUDIT_LOG_ROLE;
|
|
23
|
+
export const GCP_DATA_SECURITY_CONTENT_ROLES = commonJsModule.GCP_DATA_SECURITY_CONTENT_ROLES;
|
|
24
|
+
export const GCP_DATA_SECURITY_CONTENT_SERVICES = commonJsModule.GCP_DATA_SECURITY_CONTENT_SERVICES;
|
|
25
|
+
export const GCP_DATA_SECURITY_RESPONSE_PERMISSIONS = commonJsModule.GCP_DATA_SECURITY_RESPONSE_PERMISSIONS;
|
|
26
|
+
export const GCP_DATA_SECURITY_RESPONSE_ROLE_ID = commonJsModule.GCP_DATA_SECURITY_RESPONSE_ROLE_ID;
|
|
10
27
|
export const GCP_INVENTORY_ROLE = commonJsModule.GCP_INVENTORY_ROLE;
|
|
11
28
|
export const GCP_READ_ONLY_ROLE = commonJsModule.GCP_READ_ONLY_ROLE;
|
|
12
29
|
export const GCP_READ_ONLY_ROLES = commonJsModule.GCP_READ_ONLY_ROLES;
|
|
@@ -15,6 +32,10 @@ export const GCP_SERVICE_ACCOUNT_ID = commonJsModule.GCP_SERVICE_ACCOUNT_ID;
|
|
|
15
32
|
export const GCP_SERVICE_HEALTH_ROLE = commonJsModule.GCP_SERVICE_HEALTH_ROLE;
|
|
16
33
|
export const canSetUpOrganization = commonJsModule.canSetUpOrganization;
|
|
17
34
|
export const getAwsAccessKeySetupCommand = commonJsModule.getAwsAccessKeySetupCommand;
|
|
35
|
+
export const getAwsDataSecurityPolicy = commonJsModule.getAwsDataSecurityPolicy;
|
|
36
|
+
export const getAwsDataSecurityPolicyDocument = commonJsModule.getAwsDataSecurityPolicyDocument;
|
|
37
|
+
export const getAwsDataSecurityResponsePolicy = commonJsModule.getAwsDataSecurityResponsePolicy;
|
|
38
|
+
export const getAwsDataSecurityResponsePolicyDocument = commonJsModule.getAwsDataSecurityResponsePolicyDocument;
|
|
18
39
|
export const getAwsExternalIdForProject = commonJsModule.getAwsExternalIdForProject;
|
|
19
40
|
export const getAwsOrganizationSetupCommand = commonJsModule.getAwsOrganizationSetupCommand;
|
|
20
41
|
export const getAwsOrganizationStackSetName = commonJsModule.getAwsOrganizationStackSetName;
|
|
@@ -12,12 +12,13 @@ export declare enum CodeHostConnectMethod {
|
|
|
12
12
|
AccessToken = "AccessToken",
|
|
13
13
|
GitCredentials = "GitCredentials"
|
|
14
14
|
}
|
|
15
|
+
export type PullRequestTerm = "pull request" | "merge request";
|
|
15
16
|
export interface CodeHostFacts {
|
|
16
17
|
type: CodeRepositoryType;
|
|
17
18
|
name: string;
|
|
18
19
|
connectMethod: CodeHostConnectMethod;
|
|
19
20
|
defaultHostUrl: string | null;
|
|
20
|
-
pullRequestTerm:
|
|
21
|
+
pullRequestTerm: PullRequestTerm;
|
|
21
22
|
capabilities: Array<CodeHostCapability>;
|
|
22
23
|
}
|
|
23
24
|
export declare const CODE_HOST_FACTS: Record<CodeRepositoryType, CodeHostFacts>;
|
|
@@ -12,12 +12,13 @@ export declare enum CodeHostConnectMethod {
|
|
|
12
12
|
AccessToken = "AccessToken",
|
|
13
13
|
GitCredentials = "GitCredentials"
|
|
14
14
|
}
|
|
15
|
+
export type PullRequestTerm = "pull request" | "merge request";
|
|
15
16
|
export interface CodeHostFacts {
|
|
16
17
|
type: CodeRepositoryType;
|
|
17
18
|
name: string;
|
|
18
19
|
connectMethod: CodeHostConnectMethod;
|
|
19
20
|
defaultHostUrl: string | null;
|
|
20
|
-
pullRequestTerm:
|
|
21
|
+
pullRequestTerm: PullRequestTerm;
|
|
21
22
|
capabilities: Array<CodeHostCapability>;
|
|
22
23
|
}
|
|
23
24
|
export declare const CODE_HOST_FACTS: Record<CodeRepositoryType, CodeHostFacts>;
|