@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
|
@@ -16,8 +16,10 @@ const CodeRepositoryType_1 = __importDefault(require("./CodeRepositoryType"));
|
|
|
16
16
|
* GitHub the OneUptime GitHub App: everything, including commands from
|
|
17
17
|
* GitHub comments and production reviews of pull requests;
|
|
18
18
|
* GitLab an access token on GitLab.com or a self-managed GitLab: merge
|
|
19
|
-
* requests, their state and pipelines, branches,
|
|
20
|
-
* code (stack traces, source links, OneUptime AI reading files)
|
|
19
|
+
* requests, their state and pipelines, branches, reading the
|
|
20
|
+
* code (stack traces, source links, OneUptime AI reading files)
|
|
21
|
+
* and production reviews of merge requests - everything but
|
|
22
|
+
* commands from comments;
|
|
21
23
|
* Forgejo an access token on a Forgejo or Gitea server, Codeberg among
|
|
22
24
|
* them: the same as GitLab, with pull requests;
|
|
23
25
|
* Git a username and a password or token, over HTTPS: AI pushes a
|
|
@@ -47,7 +49,12 @@ var CodeHostCapability;
|
|
|
47
49
|
CodeHostCapability["ReadCode"] = "ReadCode";
|
|
48
50
|
// People give AI work from the host itself: a mention, a label.
|
|
49
51
|
CodeHostCapability["Commands"] = "Commands";
|
|
50
|
-
|
|
52
|
+
/*
|
|
53
|
+
* OneUptime reviews each pull request against production, and posts the
|
|
54
|
+
* review on it. GitHub tells OneUptime of a pull request through the
|
|
55
|
+
* App's webhooks; GitLab's and Forgejo's are read with the repository's
|
|
56
|
+
* access token every minute (ProductionReviewPoller).
|
|
57
|
+
*/
|
|
51
58
|
CodeHostCapability["ProductionReview"] = "ProductionReview";
|
|
52
59
|
})(CodeHostCapability || (exports.CodeHostCapability = CodeHostCapability = {}));
|
|
53
60
|
// How a repository on the host is connected.
|
|
@@ -82,7 +89,7 @@ exports.CODE_HOST_FACTS = {
|
|
|
82
89
|
connectMethod: CodeHostConnectMethod.AccessToken,
|
|
83
90
|
defaultHostUrl: "https://gitlab.com",
|
|
84
91
|
pullRequestTerm: "merge request",
|
|
85
|
-
capabilities: [...FULL_CAPABILITIES],
|
|
92
|
+
capabilities: [...FULL_CAPABILITIES, CodeHostCapability.ProductionReview],
|
|
86
93
|
},
|
|
87
94
|
[CodeRepositoryType_1.default.Forgejo]: {
|
|
88
95
|
type: CodeRepositoryType_1.default.Forgejo,
|
|
@@ -90,7 +97,7 @@ exports.CODE_HOST_FACTS = {
|
|
|
90
97
|
connectMethod: CodeHostConnectMethod.AccessToken,
|
|
91
98
|
defaultHostUrl: "https://codeberg.org",
|
|
92
99
|
pullRequestTerm: "pull request",
|
|
93
|
-
capabilities: [...FULL_CAPABILITIES],
|
|
100
|
+
capabilities: [...FULL_CAPABILITIES, CodeHostCapability.ProductionReview],
|
|
94
101
|
},
|
|
95
102
|
[CodeRepositoryType_1.default.Git]: {
|
|
96
103
|
type: CodeRepositoryType_1.default.Git,
|
|
@@ -5,6 +5,7 @@ export declare enum CodeRepositorySetting {
|
|
|
5
5
|
PullRequests = "pull-requests",
|
|
6
6
|
TriggerLabel = "trigger-label",
|
|
7
7
|
ProductionReviewComment = "production-review-comment",
|
|
8
|
+
ProductionReviewLlmProvider = "production-review-llm-provider",
|
|
8
9
|
Commands = "commands",
|
|
9
10
|
Branches = "branches"
|
|
10
11
|
}
|
|
@@ -5,6 +5,7 @@ export declare enum CodeRepositorySetting {
|
|
|
5
5
|
PullRequests = "pull-requests",
|
|
6
6
|
TriggerLabel = "trigger-label",
|
|
7
7
|
ProductionReviewComment = "production-review-comment",
|
|
8
|
+
ProductionReviewLlmProvider = "production-review-llm-provider",
|
|
8
9
|
Commands = "commands",
|
|
9
10
|
Branches = "branches"
|
|
10
11
|
}
|
|
@@ -28,6 +28,8 @@ var CodeRepositorySetting;
|
|
|
28
28
|
CodeRepositorySetting["PullRequests"] = "pull-requests";
|
|
29
29
|
CodeRepositorySetting["TriggerLabel"] = "trigger-label";
|
|
30
30
|
CodeRepositorySetting["ProductionReviewComment"] = "production-review-comment";
|
|
31
|
+
// The LLM provider OneUptime AI reads pull requests with in its reviews.
|
|
32
|
+
CodeRepositorySetting["ProductionReviewLlmProvider"] = "production-review-llm-provider";
|
|
31
33
|
// Only on a repository whose operator set build and test commands.
|
|
32
34
|
CodeRepositorySetting["Commands"] = "commands";
|
|
33
35
|
/*
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LlmProviderActivity } from "../AI/LlmProviderChoice.mjs";
|
|
1
2
|
export declare enum ProductionReviewPullRequestContent {
|
|
2
3
|
Review = "Review",
|
|
3
4
|
Link = "Link",
|
|
@@ -133,10 +134,12 @@ export interface ProductionReviewReport {
|
|
|
133
134
|
suspectDeploys: Array<ProductionReviewDeployJSON>;
|
|
134
135
|
points: Array<ProductionReviewPointJSON>;
|
|
135
136
|
aiNote?: ProductionReviewAiNote | undefined;
|
|
137
|
+
llmProvider?: LlmProviderActivity | undefined;
|
|
136
138
|
unreadSections: Array<ProductionReviewSection>;
|
|
137
139
|
posting: ProductionReviewPosting;
|
|
138
140
|
isPublicRepository?: boolean | undefined;
|
|
139
141
|
commentUrl?: string | undefined;
|
|
142
|
+
isCommentRefused?: boolean | undefined;
|
|
140
143
|
}
|
|
141
144
|
export interface ProductionReviewSummaryJSON {
|
|
142
145
|
hasSignal: boolean;
|
|
@@ -174,7 +177,9 @@ export declare const PRODUCTION_REVIEW_LIMITS: {
|
|
|
174
177
|
minHotFunctionPercent: number;
|
|
175
178
|
maxAiReadsPerPullRequestPerDay: number;
|
|
176
179
|
maxAiReadsPerRepositoryPerDay: number;
|
|
180
|
+
maxPullRequestNumberDigits: number;
|
|
177
181
|
};
|
|
182
|
+
export declare const PULL_REQUEST_NUMBER_MARKS: ReadonlyArray<string>;
|
|
178
183
|
export declare const PRODUCTION_REVIEW_COMMENT_MARKER: string;
|
|
179
184
|
export declare class ProductionReviewUtil {
|
|
180
185
|
static readContent(value: string | null | undefined): ProductionReviewPullRequestContent;
|
|
@@ -186,4 +191,6 @@ export declare class ProductionReviewUtil {
|
|
|
186
191
|
static getNotableIncidents(incidents: ProductionReviewIncidentsJSON): Array<ProductionReviewIncidentJSON>;
|
|
187
192
|
static summarize(report: ProductionReviewReport): ProductionReviewSummaryJSON;
|
|
188
193
|
static shortSha(sha: string | null | undefined): string;
|
|
194
|
+
static readPullRequestNumber(raw: unknown): number | null;
|
|
195
|
+
private static readDigit;
|
|
189
196
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LlmProviderActivity } from "../AI/LlmProviderChoice";
|
|
1
2
|
export declare enum ProductionReviewPullRequestContent {
|
|
2
3
|
Review = "Review",
|
|
3
4
|
Link = "Link",
|
|
@@ -133,10 +134,12 @@ export interface ProductionReviewReport {
|
|
|
133
134
|
suspectDeploys: Array<ProductionReviewDeployJSON>;
|
|
134
135
|
points: Array<ProductionReviewPointJSON>;
|
|
135
136
|
aiNote?: ProductionReviewAiNote | undefined;
|
|
137
|
+
llmProvider?: LlmProviderActivity | undefined;
|
|
136
138
|
unreadSections: Array<ProductionReviewSection>;
|
|
137
139
|
posting: ProductionReviewPosting;
|
|
138
140
|
isPublicRepository?: boolean | undefined;
|
|
139
141
|
commentUrl?: string | undefined;
|
|
142
|
+
isCommentRefused?: boolean | undefined;
|
|
140
143
|
}
|
|
141
144
|
export interface ProductionReviewSummaryJSON {
|
|
142
145
|
hasSignal: boolean;
|
|
@@ -174,7 +177,9 @@ export declare const PRODUCTION_REVIEW_LIMITS: {
|
|
|
174
177
|
minHotFunctionPercent: number;
|
|
175
178
|
maxAiReadsPerPullRequestPerDay: number;
|
|
176
179
|
maxAiReadsPerRepositoryPerDay: number;
|
|
180
|
+
maxPullRequestNumberDigits: number;
|
|
177
181
|
};
|
|
182
|
+
export declare const PULL_REQUEST_NUMBER_MARKS: ReadonlyArray<string>;
|
|
178
183
|
export declare const PRODUCTION_REVIEW_COMMENT_MARKER: string;
|
|
179
184
|
export declare class ProductionReviewUtil {
|
|
180
185
|
static readContent(value: string | null | undefined): ProductionReviewPullRequestContent;
|
|
@@ -186,4 +191,6 @@ export declare class ProductionReviewUtil {
|
|
|
186
191
|
static getNotableIncidents(incidents: ProductionReviewIncidentsJSON): Array<ProductionReviewIncidentJSON>;
|
|
187
192
|
static summarize(report: ProductionReviewReport): ProductionReviewSummaryJSON;
|
|
188
193
|
static shortSha(sha: string | null | undefined): string;
|
|
194
|
+
static readPullRequestNumber(raw: unknown): number | null;
|
|
195
|
+
private static readDigit;
|
|
189
196
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* Pure, with no server or React imports.
|
|
25
25
|
*/
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.ProductionReviewUtil = exports.PRODUCTION_REVIEW_COMMENT_MARKER = exports.PRODUCTION_REVIEW_LIMITS = exports.PRODUCTION_REVIEW_WINDOWS = exports.ProductionReviewAiNoteCode = exports.ProductionReviewSection = exports.ProductionReviewOperationMatch = exports.ProductionReviewWhere = exports.ProductionReviewTrigger = exports.ProductionReviewPosting = exports.DEFAULT_PRODUCTION_REVIEW_PULL_REQUEST_CONTENT = exports.ProductionReviewPullRequestContent = void 0;
|
|
27
|
+
exports.ProductionReviewUtil = exports.PRODUCTION_REVIEW_COMMENT_MARKER = exports.PULL_REQUEST_NUMBER_MARKS = exports.PRODUCTION_REVIEW_LIMITS = exports.PRODUCTION_REVIEW_WINDOWS = exports.ProductionReviewAiNoteCode = exports.ProductionReviewSection = exports.ProductionReviewOperationMatch = exports.ProductionReviewWhere = exports.ProductionReviewTrigger = exports.ProductionReviewPosting = exports.DEFAULT_PRODUCTION_REVIEW_PULL_REQUEST_CONTENT = exports.ProductionReviewPullRequestContent = void 0;
|
|
28
28
|
/*
|
|
29
29
|
* What a pull request's comment shows, a repository's choice
|
|
30
30
|
* (CodeRepository.productionReviewPullRequestContent). Unset is Review.
|
|
@@ -144,7 +144,19 @@ exports.PRODUCTION_REVIEW_LIMITS = {
|
|
|
144
144
|
minHotFunctionPercent: 1,
|
|
145
145
|
maxAiReadsPerPullRequestPerDay: 10,
|
|
146
146
|
maxAiReadsPerRepositoryPerDay: 100,
|
|
147
|
+
maxPullRequestNumberDigits: 9,
|
|
147
148
|
};
|
|
149
|
+
/*
|
|
150
|
+
* The marks a pull request's number may be written after: "#12", GitLab's
|
|
151
|
+
* "!12", and the full-width "#" and "!" a Japanese or Chinese input
|
|
152
|
+
* method may type.
|
|
153
|
+
*/
|
|
154
|
+
exports.PULL_REQUEST_NUMBER_MARKS = [
|
|
155
|
+
"#",
|
|
156
|
+
"!",
|
|
157
|
+
"\uFF03",
|
|
158
|
+
"\uFF01",
|
|
159
|
+
];
|
|
148
160
|
// The hidden line every production review comment starts with.
|
|
149
161
|
exports.PRODUCTION_REVIEW_COMMENT_MARKER = "<!-- oneuptime-production-review -->";
|
|
150
162
|
class ProductionReviewUtil {
|
|
@@ -214,5 +226,59 @@ class ProductionReviewUtil {
|
|
|
214
226
|
static shortSha(sha) {
|
|
215
227
|
return (sha || "").substring(0, 7);
|
|
216
228
|
}
|
|
229
|
+
/*
|
|
230
|
+
* A pull request's number as a person gives it - 12, "12", "#12", or
|
|
231
|
+
* GitLab's "!12" - or null for anything else: a whole number from 1 up,
|
|
232
|
+
* of at most PRODUCTION_REVIEW_LIMITS.maxPullRequestNumberDigits digits.
|
|
233
|
+
* Its digits may be Persian or Arabic-Indic ones too ("۱۲"), as a
|
|
234
|
+
* Persian keyboard types them, or full-width ones ("#12"), as a
|
|
235
|
+
* Japanese or Chinese input method may. Read character by character,
|
|
236
|
+
* never with a pattern.
|
|
237
|
+
*/
|
|
238
|
+
static readPullRequestNumber(raw) {
|
|
239
|
+
if (typeof raw === "number") {
|
|
240
|
+
return Number.isSafeInteger(raw) && raw > 0 ? raw : null;
|
|
241
|
+
}
|
|
242
|
+
if (typeof raw !== "string") {
|
|
243
|
+
return null;
|
|
244
|
+
}
|
|
245
|
+
let text = raw.trim();
|
|
246
|
+
if (exports.PULL_REQUEST_NUMBER_MARKS.some((mark) => {
|
|
247
|
+
return text.startsWith(mark);
|
|
248
|
+
})) {
|
|
249
|
+
text = text.substring(1).trim();
|
|
250
|
+
}
|
|
251
|
+
if (text.length === 0 ||
|
|
252
|
+
text.length > exports.PRODUCTION_REVIEW_LIMITS.maxPullRequestNumberDigits) {
|
|
253
|
+
return null;
|
|
254
|
+
}
|
|
255
|
+
let digits = "";
|
|
256
|
+
for (const character of text) {
|
|
257
|
+
const digit = ProductionReviewUtil.readDigit(character);
|
|
258
|
+
if (digit === null) {
|
|
259
|
+
return null;
|
|
260
|
+
}
|
|
261
|
+
digits += digit.toString();
|
|
262
|
+
}
|
|
263
|
+
const number = Number(digits);
|
|
264
|
+
return Number.isSafeInteger(number) && number > 0 ? number : null;
|
|
265
|
+
}
|
|
266
|
+
/*
|
|
267
|
+
* One character's digit, 0 to 9: a Latin one, a Persian one (U+06F0 to
|
|
268
|
+
* U+06F9), an Arabic-Indic one (U+0660 to U+0669) or a full-width one
|
|
269
|
+
* (U+FF10 to U+FF19) - or null.
|
|
270
|
+
*/
|
|
271
|
+
static readDigit(character) {
|
|
272
|
+
if (character >= "0" && character <= "9") {
|
|
273
|
+
return character.charCodeAt(0) - "0".charCodeAt(0);
|
|
274
|
+
}
|
|
275
|
+
const code = character.charCodeAt(0);
|
|
276
|
+
for (const zero of [0x06f0, 0x0660, 0xff10]) {
|
|
277
|
+
if (character.length === 1 && code >= zero && code <= zero + 9) {
|
|
278
|
+
return code - zero;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
return null;
|
|
282
|
+
}
|
|
217
283
|
}
|
|
218
284
|
exports.ProductionReviewUtil = ProductionReviewUtil;
|
|
@@ -3,6 +3,7 @@ export const DEFAULT_PRODUCTION_REVIEW_PULL_REQUEST_CONTENT = commonJsModule.DEF
|
|
|
3
3
|
export const PRODUCTION_REVIEW_COMMENT_MARKER = commonJsModule.PRODUCTION_REVIEW_COMMENT_MARKER;
|
|
4
4
|
export const PRODUCTION_REVIEW_LIMITS = commonJsModule.PRODUCTION_REVIEW_LIMITS;
|
|
5
5
|
export const PRODUCTION_REVIEW_WINDOWS = commonJsModule.PRODUCTION_REVIEW_WINDOWS;
|
|
6
|
+
export const PULL_REQUEST_NUMBER_MARKS = commonJsModule.PULL_REQUEST_NUMBER_MARKS;
|
|
6
7
|
export const ProductionReviewAiNoteCode = commonJsModule.ProductionReviewAiNoteCode;
|
|
7
8
|
export const ProductionReviewOperationMatch = commonJsModule.ProductionReviewOperationMatch;
|
|
8
9
|
export const ProductionReviewPosting = commonJsModule.ProductionReviewPosting;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare enum ComplianceFramework {
|
|
2
|
+
GDPR = "GDPR",
|
|
3
|
+
CCPA = "CCPA",
|
|
4
|
+
HIPAA = "HIPAA",
|
|
5
|
+
PCIDSS = "PCI DSS",
|
|
6
|
+
SOC2 = "SOC 2",
|
|
7
|
+
ISO27001 = "ISO 27001",
|
|
8
|
+
NISTCSF = "NIST CSF",
|
|
9
|
+
LGPD = "LGPD",
|
|
10
|
+
DPDP = "DPDP"
|
|
11
|
+
}
|
|
12
|
+
export default ComplianceFramework;
|
|
13
|
+
export declare const ALL_COMPLIANCE_FRAMEWORKS: ReadonlyArray<ComplianceFramework>;
|
|
14
|
+
export interface ComplianceFrameworkInfo {
|
|
15
|
+
framework: ComplianceFramework;
|
|
16
|
+
fullName: string;
|
|
17
|
+
scope: string;
|
|
18
|
+
appliesToEveryStore: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare const COMPLIANCE_FRAMEWORK_INFO: Readonly<Record<ComplianceFramework, ComplianceFrameworkInfo>>;
|
|
21
|
+
export declare function isComplianceFramework(value: unknown): value is ComplianceFramework;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare enum ComplianceFramework {
|
|
2
|
+
GDPR = "GDPR",
|
|
3
|
+
CCPA = "CCPA",
|
|
4
|
+
HIPAA = "HIPAA",
|
|
5
|
+
PCIDSS = "PCI DSS",
|
|
6
|
+
SOC2 = "SOC 2",
|
|
7
|
+
ISO27001 = "ISO 27001",
|
|
8
|
+
NISTCSF = "NIST CSF",
|
|
9
|
+
LGPD = "LGPD",
|
|
10
|
+
DPDP = "DPDP"
|
|
11
|
+
}
|
|
12
|
+
export default ComplianceFramework;
|
|
13
|
+
export declare const ALL_COMPLIANCE_FRAMEWORKS: ReadonlyArray<ComplianceFramework>;
|
|
14
|
+
export interface ComplianceFrameworkInfo {
|
|
15
|
+
framework: ComplianceFramework;
|
|
16
|
+
fullName: string;
|
|
17
|
+
scope: string;
|
|
18
|
+
appliesToEveryStore: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare const COMPLIANCE_FRAMEWORK_INFO: Readonly<Record<ComplianceFramework, ComplianceFrameworkInfo>>;
|
|
21
|
+
export declare function isComplianceFramework(value: unknown): value is ComplianceFramework;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.COMPLIANCE_FRAMEWORK_INFO = exports.ALL_COMPLIANCE_FRAMEWORKS = void 0;
|
|
4
|
+
exports.isComplianceFramework = isComplianceFramework;
|
|
5
|
+
/*
|
|
6
|
+
* THE FRAMEWORKS DATA SECURITY REPORTS ON.
|
|
7
|
+
*
|
|
8
|
+
* Each data type says which frameworks care about it (DataTypeCatalog.ts),
|
|
9
|
+
* and each check says which requirements it is evidence for
|
|
10
|
+
* (DataSecurityCheckCatalog.ts), so a framework's scope - the stores it
|
|
11
|
+
* applies to - and its score both come from what the scans found. The
|
|
12
|
+
* values are the names people say, so they are what the UI prints.
|
|
13
|
+
*/
|
|
14
|
+
var ComplianceFramework;
|
|
15
|
+
(function (ComplianceFramework) {
|
|
16
|
+
ComplianceFramework["GDPR"] = "GDPR";
|
|
17
|
+
ComplianceFramework["CCPA"] = "CCPA";
|
|
18
|
+
ComplianceFramework["HIPAA"] = "HIPAA";
|
|
19
|
+
ComplianceFramework["PCIDSS"] = "PCI DSS";
|
|
20
|
+
ComplianceFramework["SOC2"] = "SOC 2";
|
|
21
|
+
ComplianceFramework["ISO27001"] = "ISO 27001";
|
|
22
|
+
ComplianceFramework["NISTCSF"] = "NIST CSF";
|
|
23
|
+
ComplianceFramework["LGPD"] = "LGPD";
|
|
24
|
+
ComplianceFramework["DPDP"] = "DPDP";
|
|
25
|
+
})(ComplianceFramework || (ComplianceFramework = {}));
|
|
26
|
+
exports.default = ComplianceFramework;
|
|
27
|
+
exports.ALL_COMPLIANCE_FRAMEWORKS = [
|
|
28
|
+
ComplianceFramework.GDPR,
|
|
29
|
+
ComplianceFramework.CCPA,
|
|
30
|
+
ComplianceFramework.HIPAA,
|
|
31
|
+
ComplianceFramework.PCIDSS,
|
|
32
|
+
ComplianceFramework.SOC2,
|
|
33
|
+
ComplianceFramework.ISO27001,
|
|
34
|
+
ComplianceFramework.NISTCSF,
|
|
35
|
+
ComplianceFramework.LGPD,
|
|
36
|
+
ComplianceFramework.DPDP,
|
|
37
|
+
];
|
|
38
|
+
exports.COMPLIANCE_FRAMEWORK_INFO = {
|
|
39
|
+
[ComplianceFramework.GDPR]: {
|
|
40
|
+
framework: ComplianceFramework.GDPR,
|
|
41
|
+
fullName: "EU General Data Protection Regulation",
|
|
42
|
+
scope: "Stores that hold personal data.",
|
|
43
|
+
appliesToEveryStore: false,
|
|
44
|
+
},
|
|
45
|
+
[ComplianceFramework.CCPA]: {
|
|
46
|
+
framework: ComplianceFramework.CCPA,
|
|
47
|
+
fullName: "California Consumer Privacy Act, as amended by the CPRA",
|
|
48
|
+
scope: "Stores that hold personal information.",
|
|
49
|
+
appliesToEveryStore: false,
|
|
50
|
+
},
|
|
51
|
+
[ComplianceFramework.HIPAA]: {
|
|
52
|
+
framework: ComplianceFramework.HIPAA,
|
|
53
|
+
fullName: "HIPAA Security Rule",
|
|
54
|
+
scope: "Stores that hold health data.",
|
|
55
|
+
appliesToEveryStore: false,
|
|
56
|
+
},
|
|
57
|
+
[ComplianceFramework.PCIDSS]: {
|
|
58
|
+
framework: ComplianceFramework.PCIDSS,
|
|
59
|
+
fullName: "PCI DSS v4.0",
|
|
60
|
+
scope: "Stores where card numbers were found.",
|
|
61
|
+
appliesToEveryStore: false,
|
|
62
|
+
},
|
|
63
|
+
[ComplianceFramework.SOC2]: {
|
|
64
|
+
framework: ComplianceFramework.SOC2,
|
|
65
|
+
fullName: "SOC 2 Trust Services Criteria",
|
|
66
|
+
scope: "Every data store.",
|
|
67
|
+
appliesToEveryStore: true,
|
|
68
|
+
},
|
|
69
|
+
[ComplianceFramework.ISO27001]: {
|
|
70
|
+
framework: ComplianceFramework.ISO27001,
|
|
71
|
+
fullName: "ISO/IEC 27001:2022",
|
|
72
|
+
scope: "Every data store.",
|
|
73
|
+
appliesToEveryStore: true,
|
|
74
|
+
},
|
|
75
|
+
[ComplianceFramework.NISTCSF]: {
|
|
76
|
+
framework: ComplianceFramework.NISTCSF,
|
|
77
|
+
fullName: "NIST Cybersecurity Framework 2.0",
|
|
78
|
+
scope: "Every data store.",
|
|
79
|
+
appliesToEveryStore: true,
|
|
80
|
+
},
|
|
81
|
+
[ComplianceFramework.LGPD]: {
|
|
82
|
+
framework: ComplianceFramework.LGPD,
|
|
83
|
+
fullName: "Brazil's General Data Protection Law",
|
|
84
|
+
scope: "Stores that hold personal data of people in Brazil.",
|
|
85
|
+
appliesToEveryStore: false,
|
|
86
|
+
},
|
|
87
|
+
[ComplianceFramework.DPDP]: {
|
|
88
|
+
framework: ComplianceFramework.DPDP,
|
|
89
|
+
fullName: "India's Digital Personal Data Protection Act, 2023",
|
|
90
|
+
scope: "Stores that hold personal data of people in India.",
|
|
91
|
+
appliesToEveryStore: false,
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
function isComplianceFramework(value) {
|
|
95
|
+
return (typeof value === "string" &&
|
|
96
|
+
exports.ALL_COMPLIANCE_FRAMEWORKS.includes(value));
|
|
97
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import commonJsModule from "./ComplianceFramework.js";
|
|
2
|
+
export default commonJsModule.default;
|
|
3
|
+
export const ALL_COMPLIANCE_FRAMEWORKS = commonJsModule.ALL_COMPLIANCE_FRAMEWORKS;
|
|
4
|
+
export const COMPLIANCE_FRAMEWORK_INFO = commonJsModule.COMPLIANCE_FRAMEWORK_INFO;
|
|
5
|
+
export const isComplianceFramework = commonJsModule.isComplianceFramework;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import ComplianceFramework from "./ComplianceFramework.mjs";
|
|
2
|
+
import { DataSecurityCheckInfo } from "./DataSecurityCheckCatalog.mjs";
|
|
3
|
+
export interface ComplianceRequirementInfo {
|
|
4
|
+
framework: ComplianceFramework;
|
|
5
|
+
requirement: string;
|
|
6
|
+
title: string;
|
|
7
|
+
isMetByInventory?: boolean | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare const COMPLIANCE_REQUIREMENTS: ReadonlyArray<ComplianceRequirementInfo>;
|
|
10
|
+
export declare function getRequirementsOf(framework: ComplianceFramework): Array<ComplianceRequirementInfo>;
|
|
11
|
+
export declare function getChecksForRequirement(framework: ComplianceFramework, requirement: string): Array<DataSecurityCheckInfo>;
|
|
12
|
+
export interface ComplianceStoreInput {
|
|
13
|
+
id: string;
|
|
14
|
+
dataTypeIds: ReadonlyArray<string>;
|
|
15
|
+
subjectCountries?: ReadonlyArray<string> | undefined;
|
|
16
|
+
isEvaluated: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function isStoreInFrameworkScope(framework: ComplianceFramework, store: ComplianceStoreInput): boolean;
|
|
19
|
+
export declare enum ComplianceRequirementStatus {
|
|
20
|
+
Passing = "Passing",
|
|
21
|
+
Failing = "Failing",
|
|
22
|
+
NotEvaluated = "Not evaluated"
|
|
23
|
+
}
|
|
24
|
+
export interface ComplianceIssueInput {
|
|
25
|
+
storeId: string;
|
|
26
|
+
checkId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ComplianceRequirementResult {
|
|
29
|
+
requirement: string;
|
|
30
|
+
title: string;
|
|
31
|
+
status: ComplianceRequirementStatus;
|
|
32
|
+
checkIds: Array<string>;
|
|
33
|
+
failingIssueCount: number;
|
|
34
|
+
}
|
|
35
|
+
export interface ComplianceFrameworkResult {
|
|
36
|
+
framework: ComplianceFramework;
|
|
37
|
+
score: number | null;
|
|
38
|
+
storesInScope: number;
|
|
39
|
+
requirements: Array<ComplianceRequirementResult>;
|
|
40
|
+
}
|
|
41
|
+
export declare function scoreComplianceFramework(framework: ComplianceFramework, stores: ReadonlyArray<ComplianceStoreInput>, openIssues: ReadonlyArray<ComplianceIssueInput>): ComplianceFrameworkResult;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import ComplianceFramework from "./ComplianceFramework";
|
|
2
|
+
import { DataSecurityCheckInfo } from "./DataSecurityCheckCatalog";
|
|
3
|
+
export interface ComplianceRequirementInfo {
|
|
4
|
+
framework: ComplianceFramework;
|
|
5
|
+
requirement: string;
|
|
6
|
+
title: string;
|
|
7
|
+
isMetByInventory?: boolean | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare const COMPLIANCE_REQUIREMENTS: ReadonlyArray<ComplianceRequirementInfo>;
|
|
10
|
+
export declare function getRequirementsOf(framework: ComplianceFramework): Array<ComplianceRequirementInfo>;
|
|
11
|
+
export declare function getChecksForRequirement(framework: ComplianceFramework, requirement: string): Array<DataSecurityCheckInfo>;
|
|
12
|
+
export interface ComplianceStoreInput {
|
|
13
|
+
id: string;
|
|
14
|
+
dataTypeIds: ReadonlyArray<string>;
|
|
15
|
+
subjectCountries?: ReadonlyArray<string> | undefined;
|
|
16
|
+
isEvaluated: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function isStoreInFrameworkScope(framework: ComplianceFramework, store: ComplianceStoreInput): boolean;
|
|
19
|
+
export declare enum ComplianceRequirementStatus {
|
|
20
|
+
Passing = "Passing",
|
|
21
|
+
Failing = "Failing",
|
|
22
|
+
NotEvaluated = "Not evaluated"
|
|
23
|
+
}
|
|
24
|
+
export interface ComplianceIssueInput {
|
|
25
|
+
storeId: string;
|
|
26
|
+
checkId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ComplianceRequirementResult {
|
|
29
|
+
requirement: string;
|
|
30
|
+
title: string;
|
|
31
|
+
status: ComplianceRequirementStatus;
|
|
32
|
+
checkIds: Array<string>;
|
|
33
|
+
failingIssueCount: number;
|
|
34
|
+
}
|
|
35
|
+
export interface ComplianceFrameworkResult {
|
|
36
|
+
framework: ComplianceFramework;
|
|
37
|
+
score: number | null;
|
|
38
|
+
storesInScope: number;
|
|
39
|
+
requirements: Array<ComplianceRequirementResult>;
|
|
40
|
+
}
|
|
41
|
+
export declare function scoreComplianceFramework(framework: ComplianceFramework, stores: ReadonlyArray<ComplianceStoreInput>, openIssues: ReadonlyArray<ComplianceIssueInput>): ComplianceFrameworkResult;
|