@oneuptime/common 14.0.98 → 14.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/DatabaseModels/CloudAccount.d.mts +8 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +8 -0
- package/Models/DatabaseModels/CloudAccount.js +167 -0
- package/Models/DatabaseModels/CloudAccountFeed.d.mts +27 -0
- package/Models/DatabaseModels/CloudAccountFeed.d.ts +27 -0
- package/Models/DatabaseModels/CloudAccountFeed.js +557 -0
- package/Models/DatabaseModels/CloudAccountFeed.mjs +3 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.d.mts +17 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.d.ts +17 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.js +304 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.d.mts +25 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.d.ts +25 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.js +431 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityFlow.d.mts +26 -0
- package/Models/DatabaseModels/DataSecurityFlow.d.ts +26 -0
- package/Models/DatabaseModels/DataSecurityFlow.js +456 -0
- package/Models/DatabaseModels/DataSecurityFlow.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityIssue.d.mts +49 -0
- package/Models/DatabaseModels/DataSecurityIssue.d.ts +49 -0
- package/Models/DatabaseModels/DataSecurityIssue.js +797 -0
- package/Models/DatabaseModels/DataSecurityIssue.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.d.mts +43 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.d.ts +43 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.js +382 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.mjs +3 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.d.mts +18 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.d.ts +18 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.js +331 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityScan.d.mts +29 -0
- package/Models/DatabaseModels/DataSecurityScan.d.ts +29 -0
- package/Models/DatabaseModels/DataSecurityScan.js +520 -0
- package/Models/DatabaseModels/DataSecurityScan.mjs +2 -0
- package/Models/DatabaseModels/DataSecuritySetting.d.mts +35 -0
- package/Models/DatabaseModels/DataSecuritySetting.d.ts +35 -0
- package/Models/DatabaseModels/DataSecuritySetting.js +631 -0
- package/Models/DatabaseModels/DataSecuritySetting.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +83 -0
- package/Models/DatabaseModels/DataStore.d.ts +83 -0
- package/Models/DatabaseModels/DataStore.js +1343 -0
- package/Models/DatabaseModels/DataStore.mjs +2 -0
- package/Models/DatabaseModels/DataStoreAccess.d.mts +22 -0
- package/Models/DatabaseModels/DataStoreAccess.d.ts +22 -0
- package/Models/DatabaseModels/DataStoreAccess.js +407 -0
- package/Models/DatabaseModels/DataStoreAccess.mjs +2 -0
- package/Models/DatabaseModels/DataStoreFeed.d.mts +36 -0
- package/Models/DatabaseModels/DataStoreFeed.d.ts +36 -0
- package/Models/DatabaseModels/DataStoreFeed.js +613 -0
- package/Models/DatabaseModels/DataStoreFeed.mjs +3 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +38 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +38 -0
- package/Models/DatabaseModels/DataStoreFinding.js +683 -0
- package/Models/DatabaseModels/DataStoreFinding.mjs +2 -0
- package/Models/DatabaseModels/DataStoreLabelRule.d.mts +21 -0
- package/Models/DatabaseModels/DataStoreLabelRule.d.ts +21 -0
- package/Models/DatabaseModels/DataStoreLabelRule.js +623 -0
- package/Models/DatabaseModels/DataStoreLabelRule.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.d.mts +24 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.d.ts +24 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.js +714 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +110 -0
- package/Models/DatabaseModels/Index.js +35 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +43 -0
- package/Models/DatabaseModels/ResourceAiAgent.js +3 -1
- package/Models/DatabaseModels/SecurityEntityCriticality.js +7 -6
- package/Models/DatabaseModels/SecurityEntityRisk.js +2 -2
- package/Models/DatabaseModels/TelemetryException.d.mts +5 -0
- package/Models/DatabaseModels/TelemetryException.d.ts +5 -0
- package/Models/DatabaseModels/TelemetryException.js +170 -8
- package/Types/AI/AIChatPageContext.d.mts +4 -1
- package/Types/AI/AIChatPageContext.d.ts +4 -1
- package/Types/AI/AIChatPageContext.js +7 -0
- package/Types/AI/AIChatTypes.d.mts +6 -1
- package/Types/AI/AIChatTypes.d.ts +6 -1
- package/Types/AI/AIChatTypes.js +9 -0
- package/Types/AI/AiAffectedResources.js +5 -3
- package/Types/AI/CodeFixTaskContext.d.mts +21 -0
- package/Types/AI/CodeFixTaskContext.d.ts +21 -0
- package/Types/AI/CodeFixTaskContext.js +61 -4
- package/Types/AI/CodeFixTaskContext.mjs +2 -0
- package/Types/AI/CodeTask.d.mts +2 -0
- package/Types/AI/CodeTask.d.ts +2 -0
- package/Types/AI/CodeTask.js +4 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +1 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +1 -0
- package/Types/AI/ResourceAiAccessPermissions.js +6 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.mts +19 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.ts +19 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.js +85 -10
- package/Types/AutoRemediation/AiRemediationCommandPlan.mjs +4 -0
- package/Types/AutoRemediation/RemediationTryAgain.d.mts +17 -0
- package/Types/AutoRemediation/RemediationTryAgain.d.ts +17 -0
- package/Types/AutoRemediation/RemediationTryAgain.js +104 -0
- package/Types/AutoRemediation/RemediationTryAgain.mjs +6 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.mts +19 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.ts +19 -0
- package/Types/CloudConnection/CloudAiAgentCost.js +95 -0
- package/Types/CloudConnection/CloudAiAgentCost.mjs +15 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +70 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +70 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +1107 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +37 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +8 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +8 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +75 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +6 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +48 -4
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +48 -4
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +410 -16
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +21 -0
- package/Types/CodeRepository/CodeHost.d.mts +2 -1
- package/Types/CodeRepository/CodeHost.d.ts +2 -1
- package/Types/CodeRepository/CodeHost.js +12 -5
- package/Types/CodeRepository/ProductionReview.d.mts +7 -0
- package/Types/CodeRepository/ProductionReview.d.ts +7 -0
- package/Types/CodeRepository/ProductionReview.js +67 -1
- package/Types/CodeRepository/ProductionReview.mjs +1 -0
- package/Types/DataSecurity/ComplianceFramework.d.mts +21 -0
- package/Types/DataSecurity/ComplianceFramework.d.ts +21 -0
- package/Types/DataSecurity/ComplianceFramework.js +97 -0
- package/Types/DataSecurity/ComplianceFramework.mjs +5 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.mts +41 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.ts +41 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +199 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.mjs +7 -0
- package/Types/DataSecurity/DataCategory.d.mts +15 -0
- package/Types/DataSecurity/DataCategory.d.ts +15 -0
- package/Types/DataSecurity/DataCategory.js +61 -0
- package/Types/DataSecurity/DataCategory.mjs +7 -0
- package/Types/DataSecurity/DataConfidence.d.mts +11 -0
- package/Types/DataSecurity/DataConfidence.d.ts +11 -0
- package/Types/DataSecurity/DataConfidence.js +49 -0
- package/Types/DataSecurity/DataConfidence.mjs +7 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +106 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +106 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +53 -0
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +3 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +93 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +93 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +1183 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.mjs +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.d.mts +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.d.ts +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.js +38 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.mjs +5 -0
- package/Types/DataSecurity/DataSecurityResidency.d.mts +21 -0
- package/Types/DataSecurity/DataSecurityResidency.d.ts +21 -0
- package/Types/DataSecurity/DataSecurityResidency.js +92 -0
- package/Types/DataSecurity/DataSecurityResidency.mjs +5 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.mts +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.ts +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.js +115 -0
- package/Types/DataSecurity/DataSecurityResponseAction.mjs +11 -0
- package/Types/DataSecurity/DataSecurityRisk.d.mts +38 -0
- package/Types/DataSecurity/DataSecurityRisk.d.ts +38 -0
- package/Types/DataSecurity/DataSecurityRisk.js +138 -0
- package/Types/DataSecurity/DataSecurityRisk.mjs +7 -0
- package/Types/DataSecurity/DataSensitivity.d.mts +13 -0
- package/Types/DataSecurity/DataSensitivity.d.ts +13 -0
- package/Types/DataSecurity/DataSensitivity.js +68 -0
- package/Types/DataSecurity/DataSensitivity.mjs +8 -0
- package/Types/DataSecurity/DataStoreAccess.d.mts +27 -0
- package/Types/DataSecurity/DataStoreAccess.d.ts +27 -0
- package/Types/DataSecurity/DataStoreAccess.js +35 -0
- package/Types/DataSecurity/DataStoreAccess.mjs +4 -0
- package/Types/DataSecurity/DataStoreEnvironment.d.mts +11 -0
- package/Types/DataSecurity/DataStoreEnvironment.d.ts +11 -0
- package/Types/DataSecurity/DataStoreEnvironment.js +80 -0
- package/Types/DataSecurity/DataStoreEnvironment.mjs +5 -0
- package/Types/DataSecurity/DataStoreKey.d.mts +18 -0
- package/Types/DataSecurity/DataStoreKey.d.ts +18 -0
- package/Types/DataSecurity/DataStoreKey.js +49 -0
- package/Types/DataSecurity/DataStoreKey.mjs +7 -0
- package/Types/DataSecurity/DataStoreKind.d.mts +67 -0
- package/Types/DataSecurity/DataStoreKind.d.ts +67 -0
- package/Types/DataSecurity/DataStoreKind.js +230 -0
- package/Types/DataSecurity/DataStoreKind.mjs +10 -0
- package/Types/DataSecurity/DataStorePosture.d.mts +40 -0
- package/Types/DataSecurity/DataStorePosture.d.ts +40 -0
- package/Types/DataSecurity/DataStorePosture.js +100 -0
- package/Types/DataSecurity/DataStorePosture.mjs +7 -0
- package/Types/DataSecurity/DataTypeCatalog.d.mts +17 -0
- package/Types/DataSecurity/DataTypeCatalog.d.ts +17 -0
- package/Types/DataSecurity/DataTypeCatalog.js +434 -0
- package/Types/DataSecurity/DataTypeCatalog.mjs +4 -0
- package/Types/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +6 -0
- package/Types/Monitor/CephAlertTemplates.d.mts +2 -1
- package/Types/Monitor/CephAlertTemplates.d.ts +2 -1
- package/Types/Monitor/CephAlertTemplates.js +49 -0
- package/Types/Monitor/CephAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerAlertTemplates.d.mts +2 -1
- package/Types/Monitor/DockerAlertTemplates.d.ts +2 -1
- package/Types/Monitor/DockerAlertTemplates.js +109 -37
- package/Types/Monitor/DockerAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerMetricCatalog.d.mts +1 -0
- package/Types/Monitor/DockerMetricCatalog.d.ts +1 -0
- package/Types/Monitor/DockerMetricCatalog.js +26 -52
- package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.js +65 -8
- package/Types/Monitor/DockerSwarmAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerSwarmMetricCatalog.js +7 -4
- package/Types/Monitor/HostAlertTemplates.d.mts +2 -1
- package/Types/Monitor/HostAlertTemplates.d.ts +2 -1
- package/Types/Monitor/HostAlertTemplates.js +48 -0
- package/Types/Monitor/HostAlertTemplates.mjs +1 -0
- package/Types/Monitor/IotAlertTemplates.d.mts +1 -0
- package/Types/Monitor/IotAlertTemplates.d.ts +1 -0
- package/Types/Monitor/IotAlertTemplates.js +11 -0
- package/Types/Monitor/IotAlertTemplates.mjs +1 -0
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +49 -1
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +49 -1
- package/Types/Monitor/KubernetesAlertTemplates.js +392 -75
- package/Types/Monitor/KubernetesAlertTemplates.mjs +2 -0
- package/Types/Monitor/KubernetesMetricCatalog.js +12 -2
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +4 -4
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +4 -4
- package/Types/Monitor/MonitorCriteriaInstance.js +107 -10
- package/Types/Monitor/MonitorStep.js +50 -3
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.mts +33 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +33 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +65 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.mts +6 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +6 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.js +38 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +2 -0
- package/Types/Monitor/MonitorType.d.mts +1 -0
- package/Types/Monitor/MonitorType.d.ts +1 -0
- package/Types/Monitor/MonitorType.js +18 -0
- package/Types/Monitor/PodmanAlertTemplates.d.mts +12 -1
- package/Types/Monitor/PodmanAlertTemplates.d.ts +12 -1
- package/Types/Monitor/PodmanAlertTemplates.js +161 -33
- package/Types/Monitor/PodmanAlertTemplates.mjs +2 -0
- package/Types/Monitor/PodmanMetricCatalog.d.mts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.d.ts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.js +26 -52
- package/Types/Monitor/ProxmoxAlertTemplates.d.mts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.ts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.js +49 -0
- package/Types/Monitor/ProxmoxAlertTemplates.mjs +1 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.mts +19 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.ts +19 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.js +50 -2
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.mjs +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.mts +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.ts +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.js +31 -2
- package/Types/Monitor/StorageArrayAlertTemplates.d.mts +2 -1
- package/Types/Monitor/StorageArrayAlertTemplates.d.ts +2 -1
- package/Types/Monitor/StorageArrayAlertTemplates.js +69 -0
- package/Types/Monitor/StorageArrayAlertTemplates.mjs +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.mts +2 -1
- package/Types/Monitor/VMwareAlertTemplates.d.ts +2 -1
- package/Types/Monitor/VMwareAlertTemplates.js +50 -0
- package/Types/Monitor/VMwareAlertTemplates.mjs +1 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.mts +44 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +44 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.js +171 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +14 -0
- package/Types/Permission.d.mts +51 -0
- package/Types/Permission.d.ts +51 -0
- package/Types/Permission.js +542 -0
- package/Types/Probe/ProbeCapability.d.mts +2 -1
- package/Types/Probe/ProbeCapability.d.ts +2 -1
- package/Types/Probe/ProbeCapability.js +8 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +2 -0
- package/Types/ProviderLogo/ProviderLogo.js +4 -0
- package/Types/ResourceAiAgent/AiResourceType.d.mts +7 -1
- package/Types/ResourceAiAgent/AiResourceType.d.ts +7 -1
- package/Types/ResourceAiAgent/AiResourceType.js +76 -2
- package/Types/ResourceAiAgent/AiResourceType.mjs +3 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +19 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +19 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +75 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +16 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +12 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +12 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +28 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +6 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +13 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +2 -1
- package/Types/Rules/RuleCriteriaSubject.d.ts +2 -1
- package/Types/Rules/RuleCriteriaSubject.js +3 -0
- package/Types/Rules/RuleRun.d.mts +2 -0
- package/Types/Rules/RuleRun.d.ts +2 -0
- package/Types/Rules/RuleRun.js +4 -0
- package/Types/SecurityCase/SecurityDetectionSource.d.mts +2 -1
- package/Types/SecurityCase/SecurityDetectionSource.d.ts +2 -1
- package/Types/SecurityCase/SecurityDetectionSource.js +5 -2
- package/Types/SecurityCase/SecurityEntity.d.mts +5 -0
- package/Types/SecurityCase/SecurityEntity.d.ts +5 -0
- package/Types/SecurityCase/SecurityEntity.js +39 -1
- package/Types/SecurityCase/SecurityEntity.mjs +4 -0
- package/Types/SecurityCase/SecurityEntityRisk.js +14 -6
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.mts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.ts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +124 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.mjs +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.mts +3 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.ts +3 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.js +4 -0
- package/Types/SecurityEvent/DataSecuritySignal.d.mts +33 -0
- package/Types/SecurityEvent/DataSecuritySignal.d.ts +33 -0
- package/Types/SecurityEvent/DataSecuritySignal.js +114 -0
- package/Types/SecurityEvent/DataSecuritySignal.mjs +14 -0
- package/Types/SecurityEvent/DetectionRuleDataKind.d.mts +7 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.d.ts +7 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.js +74 -0
- package/Types/SecurityEvent/DetectionRuleLibrary.d.mts +2 -1
- package/Types/SecurityEvent/DetectionRuleLibrary.d.ts +2 -1
- package/Types/SecurityEvent/DetectionRuleLibrary.js +730 -0
- package/Types/SecurityEvent/OcsfEventClass.js +31 -2
- package/Types/SecurityEvent/SecurityLogFormat.d.mts +15 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.ts +15 -0
- package/Types/SecurityEvent/SecurityLogFormat.js +123 -10
- package/Types/SecurityEvent/SecurityLogFormat.mjs +4 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +37 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +9 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.js +8 -1
- package/Types/Telemetry/ExceptionAIDigest.d.mts +31 -0
- package/Types/Telemetry/ExceptionAIDigest.d.ts +31 -0
- package/Types/Telemetry/ExceptionAIDigest.js +131 -0
- package/Types/Telemetry/ExceptionAIDigest.mjs +13 -0
- package/Types/Telemetry/ExceptionAIExplanation.d.mts +37 -0
- package/Types/Telemetry/ExceptionAIExplanation.d.ts +37 -0
- package/Types/Telemetry/ExceptionAIExplanation.js +110 -0
- package/Types/Telemetry/ExceptionAIExplanation.mjs +12 -0
- package/Types/Telemetry/TraceSpanType.d.mts +1 -1
- package/Types/Telemetry/TraceSpanType.d.ts +1 -1
- package/Types/Telemetry/TraceSpanType.js +33 -8
- package/Types/Telemetry/TraceSpanType.mjs +1 -1
- package/Types/UpdateCheck/SecurityAdvisory.d.mts +39 -0
- package/Types/UpdateCheck/SecurityAdvisory.d.ts +39 -0
- package/Types/UpdateCheck/SecurityAdvisory.js +221 -0
- package/Types/UpdateCheck/SecurityAdvisory.mjs +7 -0
- package/Types/UpdateCheck/UpdateCheckFailure.d.mts +9 -0
- package/Types/UpdateCheck/UpdateCheckFailure.d.ts +9 -0
- package/Types/UpdateCheck/UpdateCheckFailure.js +32 -0
- package/Types/UpdateCheck/UpdateCheckFailure.mjs +3 -0
- package/Types/UpdateCheck/UpdateStatus.d.mts +44 -0
- package/Types/UpdateCheck/UpdateStatus.d.ts +44 -0
- package/Types/UpdateCheck/UpdateStatus.js +195 -0
- package/Types/UpdateCheck/UpdateStatus.mjs +3 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +1 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +1 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.d.mts +17 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.d.ts +17 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.js +122 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.mjs +7 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.mts +4 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.ts +4 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +177 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.mjs +4 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +144 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +144 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +1964 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +48 -0
- package/Utils/AiRemediation/Resource/ResourceCommandPolicy.js +4 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.d.mts +23 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.d.ts +23 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.js +130 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.mjs +8 -0
- package/Utils/DataSecurity/Detector.d.mts +26 -0
- package/Utils/DataSecurity/Detector.d.ts +26 -0
- package/Utils/DataSecurity/Detector.js +83 -0
- package/Utils/DataSecurity/Detector.mjs +8 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.mts +12 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.ts +12 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.js +915 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.mjs +12 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.js +52 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.d.mts +8 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.d.ts +8 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.js +566 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.mjs +8 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.js +2415 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.js +258 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.js +115 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/Index.d.mts +4 -0
- package/Utils/DataSecurity/Detectors/Index.d.ts +4 -0
- package/Utils/DataSecurity/Detectors/Index.js +47 -0
- package/Utils/DataSecurity/Detectors/Index.mjs +4 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.d.mts +11 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.d.ts +11 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.js +1733 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.mjs +11 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +20 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +20 -0
- package/Utils/DataSecurity/FieldClassifier.js +247 -0
- package/Utils/DataSecurity/FieldClassifier.mjs +5 -0
- package/Utils/DataSecurity/FieldCollector.d.mts +23 -0
- package/Utils/DataSecurity/FieldCollector.d.ts +23 -0
- package/Utils/DataSecurity/FieldCollector.js +81 -0
- package/Utils/DataSecurity/FieldCollector.mjs +3 -0
- package/Utils/DataSecurity/FieldNameHints.d.mts +9 -0
- package/Utils/DataSecurity/FieldNameHints.d.ts +9 -0
- package/Utils/DataSecurity/FieldNameHints.js +184 -0
- package/Utils/DataSecurity/FieldNameHints.mjs +6 -0
- package/Utils/DataSecurity/FindingTally.d.mts +44 -0
- package/Utils/DataSecurity/FindingTally.d.ts +44 -0
- package/Utils/DataSecurity/FindingTally.js +138 -0
- package/Utils/DataSecurity/FindingTally.mjs +6 -0
- package/Utils/DataSecurity/Masking.d.mts +6 -0
- package/Utils/DataSecurity/Masking.d.ts +6 -0
- package/Utils/DataSecurity/Masking.js +159 -0
- package/Utils/DataSecurity/Masking.mjs +7 -0
- package/Utils/DataSecurity/PathPattern.d.mts +3 -0
- package/Utils/DataSecurity/PathPattern.d.ts +3 -0
- package/Utils/DataSecurity/PathPattern.js +55 -0
- package/Utils/DataSecurity/PathPattern.mjs +4 -0
- package/Utils/DataSecurity/Sha256.d.mts +1 -0
- package/Utils/DataSecurity/Sha256.d.ts +1 -0
- package/Utils/DataSecurity/Sha256.js +94 -0
- package/Utils/DataSecurity/Sha256.mjs +2 -0
- package/Utils/DataSecurity/TextScanner.d.mts +35 -0
- package/Utils/DataSecurity/TextScanner.d.ts +35 -0
- package/Utils/DataSecurity/TextScanner.js +303 -0
- package/Utils/DataSecurity/TextScanner.mjs +8 -0
- package/Utils/DataSecurity/Validators.d.mts +16 -0
- package/Utils/DataSecurity/Validators.d.ts +16 -0
- package/Utils/DataSecurity/Validators.js +339 -0
- package/Utils/DataSecurity/Validators.mjs +17 -0
- package/Utils/Exceptions/ExceptionIssueState.d.mts +18 -0
- package/Utils/Exceptions/ExceptionIssueState.d.ts +18 -0
- package/Utils/Exceptions/ExceptionIssueState.js +131 -0
- package/Utils/Exceptions/ExceptionIssueState.mjs +8 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.mts +2 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +2 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.js +39 -1
- package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +2 -0
- package/Utils/LabelRuleImportExport.js +17 -3
- package/Utils/Monitor/PlatformResourceIdentity.js +7 -4
- package/Utils/SecurityAdvisoryMatcher.d.mts +33 -0
- package/Utils/SecurityAdvisoryMatcher.d.ts +33 -0
- package/Utils/SecurityAdvisoryMatcher.js +291 -0
- package/Utils/SecurityAdvisoryMatcher.mjs +2 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.mts +24 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.ts +24 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.js +380 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.mjs +15 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.mts +29 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.ts +29 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.js +527 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.mjs +13 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.mts +21 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.ts +21 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.js +365 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.mjs +11 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.mts +17 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.ts +17 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +344 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.mjs +12 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.mts +27 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.ts +27 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +326 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.mjs +10 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.mts +38 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.ts +38 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.js +629 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.mjs +13 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +9 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +9 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +63 -3
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +4 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +54 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.mts +26 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.ts +26 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.js +1046 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.mjs +11 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.mts +19 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.ts +19 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.js +724 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.mjs +7 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.mts +32 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.ts +32 -0
- package/Utils/SecurityEvent/SecurityRecordReading.js +78 -0
- package/Utils/SecurityEvent/SecurityRecordReading.mjs +2 -0
- package/Utils/Sms/OnCallPageSms.d.mts +1 -0
- package/Utils/Sms/OnCallPageSms.d.ts +1 -0
- package/Utils/Sms/OnCallPageSms.js +16 -2
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +44 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +44 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +223 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +8 -0
- package/Utils/Syslog/LeefParser.d.mts +28 -0
- package/Utils/Syslog/LeefParser.d.ts +28 -0
- package/Utils/Syslog/LeefParser.js +326 -0
- package/Utils/Syslog/LeefParser.mjs +10 -0
- package/Utils/VersionRange.d.mts +34 -0
- package/Utils/VersionRange.d.ts +34 -0
- package/Utils/VersionRange.js +422 -0
- package/Utils/VersionRange.mjs +5 -0
- package/package.json +1 -1
|
@@ -36,8 +36,9 @@ exports.OcsfCategoryId = {
|
|
|
36
36
|
};
|
|
37
37
|
/*
|
|
38
38
|
* Class uids come from the OCSF schema. The Windows extension's Registry
|
|
39
|
-
* Key Activity (201001)
|
|
40
|
-
* events are common in the
|
|
39
|
+
* Key Activity (201001) and Registry Value Activity (201002) are included
|
|
40
|
+
* because Google SecOps UDM and Sysmon registry events are common in the
|
|
41
|
+
* wild.
|
|
41
42
|
*/
|
|
42
43
|
exports.OcsfEventClasses = [
|
|
43
44
|
{ uid: 0, name: "Base Event", category: OcsfCategory.Uncategorized },
|
|
@@ -47,6 +48,11 @@ exports.OcsfEventClasses = [
|
|
|
47
48
|
name: "File System Activity",
|
|
48
49
|
category: OcsfCategory.SystemActivity,
|
|
49
50
|
},
|
|
51
|
+
{
|
|
52
|
+
uid: 1003,
|
|
53
|
+
name: "Kernel Extension Activity",
|
|
54
|
+
category: OcsfCategory.SystemActivity,
|
|
55
|
+
},
|
|
50
56
|
{
|
|
51
57
|
uid: 1005,
|
|
52
58
|
name: "Module Activity",
|
|
@@ -62,6 +68,18 @@ exports.OcsfEventClasses = [
|
|
|
62
68
|
name: "Process Activity",
|
|
63
69
|
category: OcsfCategory.SystemActivity,
|
|
64
70
|
},
|
|
71
|
+
// A log cleared, or its policy changed (Windows 1102, 104 and 4719).
|
|
72
|
+
{
|
|
73
|
+
uid: 1008,
|
|
74
|
+
name: "Event Log Activity",
|
|
75
|
+
category: OcsfCategory.SystemActivity,
|
|
76
|
+
},
|
|
77
|
+
// A script run, such as a PowerShell script block.
|
|
78
|
+
{
|
|
79
|
+
uid: 1009,
|
|
80
|
+
name: "Script Activity",
|
|
81
|
+
category: OcsfCategory.SystemActivity,
|
|
82
|
+
},
|
|
65
83
|
// Findings (2xxx)
|
|
66
84
|
{
|
|
67
85
|
uid: 2002,
|
|
@@ -147,12 +165,23 @@ exports.OcsfEventClasses = [
|
|
|
147
165
|
name: "API Activity",
|
|
148
166
|
category: OcsfCategory.ApplicationActivity,
|
|
149
167
|
},
|
|
168
|
+
// A file shared or downloaded in a file hosting service, such as Google Drive.
|
|
169
|
+
{
|
|
170
|
+
uid: 6006,
|
|
171
|
+
name: "File Hosting Activity",
|
|
172
|
+
category: OcsfCategory.ApplicationActivity,
|
|
173
|
+
},
|
|
150
174
|
// Windows extension.
|
|
151
175
|
{
|
|
152
176
|
uid: 201001,
|
|
153
177
|
name: "Registry Key Activity",
|
|
154
178
|
category: OcsfCategory.SystemActivity,
|
|
155
179
|
},
|
|
180
|
+
{
|
|
181
|
+
uid: 201002,
|
|
182
|
+
name: "Registry Value Activity",
|
|
183
|
+
category: OcsfCategory.SystemActivity,
|
|
184
|
+
},
|
|
156
185
|
];
|
|
157
186
|
function ocsfEventClassByUid(uid) {
|
|
158
187
|
return exports.OcsfEventClasses.find((cls) => {
|
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
declare enum SecurityLogFormat {
|
|
2
2
|
SshSignIn = "ssh-sign-in",
|
|
3
3
|
Sudo = "sudo",
|
|
4
|
+
WindowsEvents = "windows-events",
|
|
4
5
|
KubernetesAudit = "kubernetes-audit",
|
|
5
6
|
AwsCloudTrail = "aws-cloudtrail",
|
|
7
|
+
GoogleCloudAudit = "google-cloud-audit",
|
|
8
|
+
AzureActivity = "azure-activity",
|
|
9
|
+
Cef = "cef",
|
|
10
|
+
Leef = "leef",
|
|
6
11
|
WebAttack = "web-attack"
|
|
7
12
|
}
|
|
8
13
|
export default SecurityLogFormat;
|
|
14
|
+
export declare enum SecurityLogFormatGroup {
|
|
15
|
+
Servers = "servers",
|
|
16
|
+
Cloud = "cloud",
|
|
17
|
+
SecurityDevices = "security-devices",
|
|
18
|
+
Applications = "applications"
|
|
19
|
+
}
|
|
20
|
+
export declare const SECURITY_LOG_FORMAT_GROUPS: ReadonlyArray<SecurityLogFormatGroup>;
|
|
9
21
|
export interface SecurityLogFormatDefinition {
|
|
10
22
|
format: SecurityLogFormat;
|
|
23
|
+
group: SecurityLogFormatGroup;
|
|
11
24
|
title: string;
|
|
12
25
|
description: string;
|
|
13
26
|
vendorName: string;
|
|
@@ -16,6 +29,8 @@ export interface SecurityLogFormatDefinition {
|
|
|
16
29
|
}
|
|
17
30
|
export declare const SECURITY_LOG_FORMATS: ReadonlyArray<SecurityLogFormatDefinition>;
|
|
18
31
|
export declare function getSecurityLogFormatDefinition(format: string | undefined): SecurityLogFormatDefinition | undefined;
|
|
32
|
+
export declare function getSecurityLogFormatsInGroup(group: SecurityLogFormatGroup): Array<SecurityLogFormatDefinition>;
|
|
33
|
+
export declare function readLastFoundAtByFormat(result: unknown): Partial<Record<SecurityLogFormat, Date>>;
|
|
19
34
|
export declare const SECURITY_LOG_SOURCE_ATTRIBUTE: string;
|
|
20
35
|
export declare const SECURITY_LOG_SOURCE_VALUE: string;
|
|
21
36
|
export declare const SECURITY_LOG_FORMAT_ATTRIBUTE: string;
|
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
declare enum SecurityLogFormat {
|
|
2
2
|
SshSignIn = "ssh-sign-in",
|
|
3
3
|
Sudo = "sudo",
|
|
4
|
+
WindowsEvents = "windows-events",
|
|
4
5
|
KubernetesAudit = "kubernetes-audit",
|
|
5
6
|
AwsCloudTrail = "aws-cloudtrail",
|
|
7
|
+
GoogleCloudAudit = "google-cloud-audit",
|
|
8
|
+
AzureActivity = "azure-activity",
|
|
9
|
+
Cef = "cef",
|
|
10
|
+
Leef = "leef",
|
|
6
11
|
WebAttack = "web-attack"
|
|
7
12
|
}
|
|
8
13
|
export default SecurityLogFormat;
|
|
14
|
+
export declare enum SecurityLogFormatGroup {
|
|
15
|
+
Servers = "servers",
|
|
16
|
+
Cloud = "cloud",
|
|
17
|
+
SecurityDevices = "security-devices",
|
|
18
|
+
Applications = "applications"
|
|
19
|
+
}
|
|
20
|
+
export declare const SECURITY_LOG_FORMAT_GROUPS: ReadonlyArray<SecurityLogFormatGroup>;
|
|
9
21
|
export interface SecurityLogFormatDefinition {
|
|
10
22
|
format: SecurityLogFormat;
|
|
23
|
+
group: SecurityLogFormatGroup;
|
|
11
24
|
title: string;
|
|
12
25
|
description: string;
|
|
13
26
|
vendorName: string;
|
|
@@ -16,6 +29,8 @@ export interface SecurityLogFormatDefinition {
|
|
|
16
29
|
}
|
|
17
30
|
export declare const SECURITY_LOG_FORMATS: ReadonlyArray<SecurityLogFormatDefinition>;
|
|
18
31
|
export declare function getSecurityLogFormatDefinition(format: string | undefined): SecurityLogFormatDefinition | undefined;
|
|
32
|
+
export declare function getSecurityLogFormatsInGroup(group: SecurityLogFormatGroup): Array<SecurityLogFormatDefinition>;
|
|
33
|
+
export declare function readLastFoundAtByFormat(result: unknown): Partial<Record<SecurityLogFormat, Date>>;
|
|
19
34
|
export declare const SECURITY_LOG_SOURCE_ATTRIBUTE: string;
|
|
20
35
|
export declare const SECURITY_LOG_SOURCE_VALUE: string;
|
|
21
36
|
export declare const SECURITY_LOG_FORMAT_ATTRIBUTE: string;
|
|
@@ -1,30 +1,61 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SECURITY_LOG_ID_ATTRIBUTE = exports.SECURITY_LOG_FORMAT_ATTRIBUTE = exports.SECURITY_LOG_SOURCE_VALUE = exports.SECURITY_LOG_SOURCE_ATTRIBUTE = exports.SECURITY_LOG_FORMATS = void 0;
|
|
3
|
+
exports.SECURITY_LOG_ID_ATTRIBUTE = exports.SECURITY_LOG_FORMAT_ATTRIBUTE = exports.SECURITY_LOG_SOURCE_VALUE = exports.SECURITY_LOG_SOURCE_ATTRIBUTE = exports.SECURITY_LOG_FORMATS = exports.SECURITY_LOG_FORMAT_GROUPS = exports.SecurityLogFormatGroup = void 0;
|
|
4
4
|
exports.getSecurityLogFormatDefinition = getSecurityLogFormatDefinition;
|
|
5
|
+
exports.getSecurityLogFormatsInGroup = getSecurityLogFormatsInGroup;
|
|
6
|
+
exports.readLastFoundAtByFormat = readLastFoundAtByFormat;
|
|
5
7
|
/*
|
|
6
8
|
* The security records OneUptime recognizes in the logs a project already
|
|
7
9
|
* sends it. With "Your logs" turned on (SecurityLogSource), every log line
|
|
8
10
|
* of one of these shapes becomes a security event too - so the rule library
|
|
9
|
-
* finds brute force in SSH
|
|
10
|
-
* logs
|
|
11
|
+
* finds brute force in SSH and Windows sign-ins, a shell opened in a pod in
|
|
12
|
+
* Kubernetes audit logs, a stopped CloudTrail in AWS's own log and an attack
|
|
13
|
+
* a firewall blocked in its CEF, with nothing new to send.
|
|
11
14
|
*
|
|
12
15
|
* Only the lines that matter for security become events: failed and
|
|
13
16
|
* successful sign-ins, commands run as another user, changes and denied
|
|
14
|
-
* calls - never every read of an API
|
|
17
|
+
* calls, threats a security product found - never every read of an API,
|
|
18
|
+
* every page a web server served or every connection a firewall allowed.
|
|
15
19
|
*/
|
|
16
20
|
var SecurityLogFormat;
|
|
17
21
|
(function (SecurityLogFormat) {
|
|
18
22
|
SecurityLogFormat["SshSignIn"] = "ssh-sign-in";
|
|
19
23
|
SecurityLogFormat["Sudo"] = "sudo";
|
|
24
|
+
SecurityLogFormat["WindowsEvents"] = "windows-events";
|
|
20
25
|
SecurityLogFormat["KubernetesAudit"] = "kubernetes-audit";
|
|
21
26
|
SecurityLogFormat["AwsCloudTrail"] = "aws-cloudtrail";
|
|
27
|
+
SecurityLogFormat["GoogleCloudAudit"] = "google-cloud-audit";
|
|
28
|
+
SecurityLogFormat["AzureActivity"] = "azure-activity";
|
|
29
|
+
SecurityLogFormat["Cef"] = "cef";
|
|
30
|
+
SecurityLogFormat["Leef"] = "leef";
|
|
22
31
|
SecurityLogFormat["WebAttack"] = "web-attack";
|
|
23
32
|
})(SecurityLogFormat || (SecurityLogFormat = {}));
|
|
24
33
|
exports.default = SecurityLogFormat;
|
|
34
|
+
/*
|
|
35
|
+
* Where the logs of a kind come from, as the Connections page groups them,
|
|
36
|
+
* so ten kinds read as four places a team knows.
|
|
37
|
+
*/
|
|
38
|
+
var SecurityLogFormatGroup;
|
|
39
|
+
(function (SecurityLogFormatGroup) {
|
|
40
|
+
// Linux and Windows machines: their sign-ins, commands and processes.
|
|
41
|
+
SecurityLogFormatGroup["Servers"] = "servers";
|
|
42
|
+
// Cloud providers' audit logs and their identity services.
|
|
43
|
+
SecurityLogFormatGroup["Cloud"] = "cloud";
|
|
44
|
+
// Firewalls, IDS, WAFs, proxies and endpoint products over syslog.
|
|
45
|
+
SecurityLogFormatGroup["SecurityDevices"] = "security-devices";
|
|
46
|
+
// What runs on the machines: clusters and web servers.
|
|
47
|
+
SecurityLogFormatGroup["Applications"] = "applications";
|
|
48
|
+
})(SecurityLogFormatGroup || (exports.SecurityLogFormatGroup = SecurityLogFormatGroup = {}));
|
|
49
|
+
exports.SECURITY_LOG_FORMAT_GROUPS = [
|
|
50
|
+
SecurityLogFormatGroup.Servers,
|
|
51
|
+
SecurityLogFormatGroup.Cloud,
|
|
52
|
+
SecurityLogFormatGroup.SecurityDevices,
|
|
53
|
+
SecurityLogFormatGroup.Applications,
|
|
54
|
+
];
|
|
25
55
|
exports.SECURITY_LOG_FORMATS = [
|
|
26
56
|
{
|
|
27
57
|
format: SecurityLogFormat.SshSignIn,
|
|
58
|
+
group: SecurityLogFormatGroup.Servers,
|
|
28
59
|
title: "SSH sign-ins",
|
|
29
60
|
description: "Failed and successful SSH sign-ins from a server's auth log, journal or syslog.",
|
|
30
61
|
vendorName: "OpenSSH",
|
|
@@ -33,6 +64,7 @@ exports.SECURITY_LOG_FORMATS = [
|
|
|
33
64
|
},
|
|
34
65
|
{
|
|
35
66
|
format: SecurityLogFormat.Sudo,
|
|
67
|
+
group: SecurityLogFormatGroup.Servers,
|
|
36
68
|
title: "sudo",
|
|
37
69
|
description: "Commands run as another user, wrong sudo passwords and people not allowed to use sudo.",
|
|
38
70
|
vendorName: "Linux",
|
|
@@ -40,23 +72,71 @@ exports.SECURITY_LOG_FORMATS = [
|
|
|
40
72
|
example: "sudo: alice : TTY=pts/0 ; PWD=/home/alice ; USER=root ; COMMAND=/usr/bin/cat /etc/shadow",
|
|
41
73
|
},
|
|
42
74
|
{
|
|
43
|
-
format: SecurityLogFormat.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
75
|
+
format: SecurityLogFormat.WindowsEvents,
|
|
76
|
+
group: SecurityLogFormatGroup.Servers,
|
|
77
|
+
title: "Windows events",
|
|
78
|
+
description: "Sign-ins, new processes, accounts and groups changed, services installed and logs cleared, from Windows, Sysmon and Microsoft Defender.",
|
|
79
|
+
vendorName: "Microsoft",
|
|
80
|
+
productName: "Windows",
|
|
81
|
+
example: '{"EventID":4625,"Channel":"Security","ProviderName":"Microsoft-Windows-Security-Auditing","Computer":"WIN-01","TargetUserName":"alice","LogonType":"3","IpAddress":"203.0.113.7","Status":"0xc000006d","SubStatus":"0xc000006a"}',
|
|
49
82
|
},
|
|
50
83
|
{
|
|
51
84
|
format: SecurityLogFormat.AwsCloudTrail,
|
|
85
|
+
group: SecurityLogFormatGroup.Cloud,
|
|
52
86
|
title: "AWS CloudTrail",
|
|
53
87
|
description: "Console sign-ins, changes made in your AWS accounts and calls AWS refused.",
|
|
54
88
|
vendorName: "AWS",
|
|
55
89
|
productName: "AWS CloudTrail",
|
|
56
90
|
example: '{"eventSource":"iam.amazonaws.com","eventName":"CreateAccessKey","userIdentity":{"type":"IAMUser"},"readOnly":false}',
|
|
57
91
|
},
|
|
92
|
+
{
|
|
93
|
+
format: SecurityLogFormat.GoogleCloudAudit,
|
|
94
|
+
group: SecurityLogFormatGroup.Cloud,
|
|
95
|
+
title: "Google Cloud audit logs",
|
|
96
|
+
description: "Changes made in your Google Cloud projects, calls Google refused, and Google Workspace sign-ins shared with Google Cloud.",
|
|
97
|
+
vendorName: "Google",
|
|
98
|
+
productName: "Google Cloud Audit Logs",
|
|
99
|
+
example: '{"logName":"projects/acme-prod/logs/cloudaudit.googleapis.com%2Factivity","protoPayload":{"@type":"type.googleapis.com/google.cloud.audit.AuditLog","serviceName":"iam.googleapis.com","methodName":"google.iam.admin.v1.CreateServiceAccountKey","authenticationInfo":{"principalEmail":"alice@example.com"},"requestMetadata":{"callerIp":"203.0.113.7"}}}',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
format: SecurityLogFormat.AzureActivity,
|
|
103
|
+
group: SecurityLogFormatGroup.Cloud,
|
|
104
|
+
title: "Azure activity and Entra ID logs",
|
|
105
|
+
description: "Changes made in your Azure subscriptions, Defender for Cloud alerts, and Microsoft Entra ID sign-ins and directory changes.",
|
|
106
|
+
vendorName: "Microsoft",
|
|
107
|
+
productName: "Azure Activity Log",
|
|
108
|
+
example: '{"category":"Administrative","operationName":"MICROSOFT.AUTHORIZATION/ROLEASSIGNMENTS/WRITE","resultType":"Success","callerIpAddress":"203.0.113.7","identity":{"claims":{"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn":"alice@example.com"}},"resourceId":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000"}',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
format: SecurityLogFormat.Cef,
|
|
112
|
+
group: SecurityLogFormatGroup.SecurityDevices,
|
|
113
|
+
title: "CEF",
|
|
114
|
+
description: "Threats, blocked connections and sign-ins from firewalls, IDS, WAFs and other security products that send Common Event Format.",
|
|
115
|
+
vendorName: "",
|
|
116
|
+
productName: "CEF",
|
|
117
|
+
example: "CEF:0|Imperva Inc.|SecureSphere|15.0|Protocol|SQL injection|High|act=block src=203.0.113.7 dst=10.0.0.5 dpt=443 request=/item?id\\=1' or 1\\=1",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
format: SecurityLogFormat.Leef,
|
|
121
|
+
group: SecurityLogFormatGroup.SecurityDevices,
|
|
122
|
+
title: "LEEF",
|
|
123
|
+
description: "The same from products that send Log Event Extended Format, as many do for IBM QRadar.",
|
|
124
|
+
vendorName: "",
|
|
125
|
+
productName: "LEEF",
|
|
126
|
+
example: "LEEF:1.0|Zscaler|NSSWeblog|5.7|Blocked|cat=Malicious Content\tsrc=192.0.2.15\tdst=203.0.113.80\tusrName=alice@example.com\taction=Blocked\tsev=9",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
format: SecurityLogFormat.KubernetesAudit,
|
|
130
|
+
group: SecurityLogFormatGroup.Applications,
|
|
131
|
+
title: "Kubernetes audit logs",
|
|
132
|
+
description: "Changes to the cluster, shells opened in pods, secrets read and requests that were refused.",
|
|
133
|
+
vendorName: "Kubernetes",
|
|
134
|
+
productName: "Kubernetes audit log",
|
|
135
|
+
example: '{"apiVersion":"audit.k8s.io/v1","kind":"Event","verb":"create","objectRef":{"resource":"pods","subresource":"exec"}}',
|
|
136
|
+
},
|
|
58
137
|
{
|
|
59
138
|
format: SecurityLogFormat.WebAttack,
|
|
139
|
+
group: SecurityLogFormatGroup.Applications,
|
|
60
140
|
title: "Web attacks",
|
|
61
141
|
description: "Requests in a web server's access log that try SQL injection, path traversal or Log4Shell.",
|
|
62
142
|
vendorName: "",
|
|
@@ -69,6 +149,39 @@ function getSecurityLogFormatDefinition(format) {
|
|
|
69
149
|
return definition.format === format;
|
|
70
150
|
});
|
|
71
151
|
}
|
|
152
|
+
// The kinds of a group, in the order the Connections page lists them.
|
|
153
|
+
function getSecurityLogFormatsInGroup(group) {
|
|
154
|
+
return exports.SECURITY_LOG_FORMATS.filter((definition) => {
|
|
155
|
+
return definition.group === group;
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
/*
|
|
159
|
+
* When the log scan last found a security event of each kind, as its
|
|
160
|
+
* result keeps it (lastFoundAtByFormat: format -> ISO time), carried from
|
|
161
|
+
* one scan to the next: the health of each source "Your logs" reads. Only
|
|
162
|
+
* known formats and readable times are read; anything else in a stored
|
|
163
|
+
* result is left out.
|
|
164
|
+
*/
|
|
165
|
+
function readLastFoundAtByFormat(result) {
|
|
166
|
+
const found = {};
|
|
167
|
+
const byFormat = result && typeof result === "object" && !Array.isArray(result)
|
|
168
|
+
? result["lastFoundAtByFormat"]
|
|
169
|
+
: undefined;
|
|
170
|
+
if (!byFormat || typeof byFormat !== "object" || Array.isArray(byFormat)) {
|
|
171
|
+
return found;
|
|
172
|
+
}
|
|
173
|
+
for (const definition of exports.SECURITY_LOG_FORMATS) {
|
|
174
|
+
const value = byFormat[definition.format];
|
|
175
|
+
if (typeof value !== "string" || !value) {
|
|
176
|
+
continue;
|
|
177
|
+
}
|
|
178
|
+
const date = new Date(value);
|
|
179
|
+
if (!Number.isNaN(date.getTime())) {
|
|
180
|
+
found[definition.format] = date;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return found;
|
|
184
|
+
}
|
|
72
185
|
// Attributes every event made from a log line carries.
|
|
73
186
|
exports.SECURITY_LOG_SOURCE_ATTRIBUTE = "oneuptime.source";
|
|
74
187
|
exports.SECURITY_LOG_SOURCE_VALUE = "logs";
|
|
@@ -2,7 +2,11 @@ import commonJsModule from "./SecurityLogFormat.js";
|
|
|
2
2
|
export default commonJsModule.default;
|
|
3
3
|
export const SECURITY_LOG_FORMATS = commonJsModule.SECURITY_LOG_FORMATS;
|
|
4
4
|
export const SECURITY_LOG_FORMAT_ATTRIBUTE = commonJsModule.SECURITY_LOG_FORMAT_ATTRIBUTE;
|
|
5
|
+
export const SECURITY_LOG_FORMAT_GROUPS = commonJsModule.SECURITY_LOG_FORMAT_GROUPS;
|
|
5
6
|
export const SECURITY_LOG_ID_ATTRIBUTE = commonJsModule.SECURITY_LOG_ID_ATTRIBUTE;
|
|
6
7
|
export const SECURITY_LOG_SOURCE_ATTRIBUTE = commonJsModule.SECURITY_LOG_SOURCE_ATTRIBUTE;
|
|
7
8
|
export const SECURITY_LOG_SOURCE_VALUE = commonJsModule.SECURITY_LOG_SOURCE_VALUE;
|
|
9
|
+
export const SecurityLogFormatGroup = commonJsModule.SecurityLogFormatGroup;
|
|
8
10
|
export const getSecurityLogFormatDefinition = commonJsModule.getSecurityLogFormatDefinition;
|
|
11
|
+
export const getSecurityLogFormatsInGroup = commonJsModule.getSecurityLogFormatsInGroup;
|
|
12
|
+
export const readLastFoundAtByFormat = commonJsModule.readLastFoundAtByFormat;
|
|
@@ -11,6 +11,7 @@ export declare enum SecurityPlaybookActionType {
|
|
|
11
11
|
LookUpEntityActivity = "Look Up Entity Activity",
|
|
12
12
|
PreserveEvidence = "Preserve Evidence",
|
|
13
13
|
EmailPeople = "Email People",
|
|
14
|
+
NotifyDataStoreOwners = "Notify Data Store Owners",
|
|
14
15
|
PostToSlack = "Post to Slack",
|
|
15
16
|
PostToMicrosoftTeams = "Post to Microsoft Teams",
|
|
16
17
|
PostStatusPageAnnouncement = "Post Status Page Announcement",
|
|
@@ -23,6 +24,8 @@ export declare enum SecurityPlaybookActionType {
|
|
|
23
24
|
UnsuspendOktaUser = "Unsuspend Okta User",
|
|
24
25
|
LiftCrowdStrikeContainment = "Lift CrowdStrike Containment",
|
|
25
26
|
ReleaseDefenderDevice = "Release Defender Device",
|
|
27
|
+
BlockDataStorePublicAccess = "Block Data Store Public Access",
|
|
28
|
+
RevokeDataStoreSharing = "Revoke Data Store Sharing",
|
|
26
29
|
SendWebhook = "Send Webhook",
|
|
27
30
|
RunWorkflow = "Run Workflow",
|
|
28
31
|
RunRunbook = "Run Runbook",
|
|
@@ -11,6 +11,7 @@ export declare enum SecurityPlaybookActionType {
|
|
|
11
11
|
LookUpEntityActivity = "Look Up Entity Activity",
|
|
12
12
|
PreserveEvidence = "Preserve Evidence",
|
|
13
13
|
EmailPeople = "Email People",
|
|
14
|
+
NotifyDataStoreOwners = "Notify Data Store Owners",
|
|
14
15
|
PostToSlack = "Post to Slack",
|
|
15
16
|
PostToMicrosoftTeams = "Post to Microsoft Teams",
|
|
16
17
|
PostStatusPageAnnouncement = "Post Status Page Announcement",
|
|
@@ -23,6 +24,8 @@ export declare enum SecurityPlaybookActionType {
|
|
|
23
24
|
UnsuspendOktaUser = "Unsuspend Okta User",
|
|
24
25
|
LiftCrowdStrikeContainment = "Lift CrowdStrike Containment",
|
|
25
26
|
ReleaseDefenderDevice = "Release Defender Device",
|
|
27
|
+
BlockDataStorePublicAccess = "Block Data Store Public Access",
|
|
28
|
+
RevokeDataStoreSharing = "Revoke Data Store Sharing",
|
|
26
29
|
SendWebhook = "Send Webhook",
|
|
27
30
|
RunWorkflow = "Run Workflow",
|
|
28
31
|
RunRunbook = "Run Runbook",
|
|
@@ -33,6 +33,7 @@ var SecurityPlaybookActionType;
|
|
|
33
33
|
SecurityPlaybookActionType["PreserveEvidence"] = "Preserve Evidence";
|
|
34
34
|
// Notify
|
|
35
35
|
SecurityPlaybookActionType["EmailPeople"] = "Email People";
|
|
36
|
+
SecurityPlaybookActionType["NotifyDataStoreOwners"] = "Notify Data Store Owners";
|
|
36
37
|
SecurityPlaybookActionType["PostToSlack"] = "Post to Slack";
|
|
37
38
|
SecurityPlaybookActionType["PostToMicrosoftTeams"] = "Post to Microsoft Teams";
|
|
38
39
|
SecurityPlaybookActionType["PostStatusPageAnnouncement"] = "Post Status Page Announcement";
|
|
@@ -47,6 +48,8 @@ var SecurityPlaybookActionType;
|
|
|
47
48
|
SecurityPlaybookActionType["UnsuspendOktaUser"] = "Unsuspend Okta User";
|
|
48
49
|
SecurityPlaybookActionType["LiftCrowdStrikeContainment"] = "Lift CrowdStrike Containment";
|
|
49
50
|
SecurityPlaybookActionType["ReleaseDefenderDevice"] = "Release Defender Device";
|
|
51
|
+
SecurityPlaybookActionType["BlockDataStorePublicAccess"] = "Block Data Store Public Access";
|
|
52
|
+
SecurityPlaybookActionType["RevokeDataStoreSharing"] = "Revoke Data Store Sharing";
|
|
50
53
|
// Automate
|
|
51
54
|
SecurityPlaybookActionType["SendWebhook"] = "Send Webhook";
|
|
52
55
|
SecurityPlaybookActionType["RunWorkflow"] = "Run Workflow";
|
|
@@ -144,6 +147,14 @@ exports.SECURITY_PLAYBOOK_ACTIONS = [
|
|
|
144
147
|
icon: IconProp_1.default.Email,
|
|
145
148
|
isDisruptive: false,
|
|
146
149
|
},
|
|
150
|
+
{
|
|
151
|
+
type: SecurityPlaybookActionType.NotifyDataStoreOwners,
|
|
152
|
+
title: "Notify data store owners",
|
|
153
|
+
description: "Email the owners of each data store the case is about, as Data Security lists them, with the store and a link to the case.",
|
|
154
|
+
category: SecurityPlaybookActionCategory.Notify,
|
|
155
|
+
icon: IconProp_1.default.Database,
|
|
156
|
+
isDisruptive: false,
|
|
157
|
+
},
|
|
147
158
|
{
|
|
148
159
|
type: SecurityPlaybookActionType.PostToSlack,
|
|
149
160
|
title: "Post to Slack",
|
|
@@ -258,6 +269,32 @@ exports.SECURITY_PLAYBOOK_ACTIONS = [
|
|
|
258
269
|
entityType: SecurityEntity_1.SecurityEntityType.Host,
|
|
259
270
|
undoes: SecurityPlaybookActionType.IsolateDefenderDevice,
|
|
260
271
|
},
|
|
272
|
+
/*
|
|
273
|
+
* A data store's exposure, closed through its cloud connection's "Data
|
|
274
|
+
* security response" role (Server/Utils/DataSecurity/
|
|
275
|
+
* DataSecurityResponse): the stores the case is about, never one marked
|
|
276
|
+
* public by design. They cut nobody off, but they change a cloud's
|
|
277
|
+
* settings - a public website stops being public - so a new step starts
|
|
278
|
+
* needing approval, which whoever adds it may turn off.
|
|
279
|
+
*/
|
|
280
|
+
{
|
|
281
|
+
type: SecurityPlaybookActionType.BlockDataStorePublicAccess,
|
|
282
|
+
title: "Block public access to data stores",
|
|
283
|
+
description: "Block public access to each bucket or storage account the case is about, through its cloud connection. A store marked public by design is left alone.",
|
|
284
|
+
category: SecurityPlaybookActionCategory.Contain,
|
|
285
|
+
icon: IconProp_1.default.Lock,
|
|
286
|
+
isDisruptive: false,
|
|
287
|
+
needsApprovalByDefault: true,
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
type: SecurityPlaybookActionType.RevokeDataStoreSharing,
|
|
291
|
+
title: "Revoke data store sharing",
|
|
292
|
+
description: "Stop sharing the snapshots of each database the case is about with everyone and with accounts outside the project's, through its cloud connection.",
|
|
293
|
+
category: SecurityPlaybookActionCategory.Contain,
|
|
294
|
+
icon: IconProp_1.default.Lock,
|
|
295
|
+
isDisruptive: false,
|
|
296
|
+
needsApprovalByDefault: true,
|
|
297
|
+
},
|
|
261
298
|
{
|
|
262
299
|
type: SecurityPlaybookActionType.SendWebhook,
|
|
263
300
|
title: "Send a webhook",
|
|
@@ -43,6 +43,9 @@ export interface EmailPeopleConfig {
|
|
|
43
43
|
teamIds: Array<string>;
|
|
44
44
|
message?: string | undefined;
|
|
45
45
|
}
|
|
46
|
+
export interface NotifyDataStoreOwnersConfig {
|
|
47
|
+
message?: string | undefined;
|
|
48
|
+
}
|
|
46
49
|
export interface PostToChannelConfig {
|
|
47
50
|
channelName: string;
|
|
48
51
|
microsoftTeamsTeamId?: string | undefined;
|
|
@@ -43,6 +43,9 @@ export interface EmailPeopleConfig {
|
|
|
43
43
|
teamIds: Array<string>;
|
|
44
44
|
message?: string | undefined;
|
|
45
45
|
}
|
|
46
|
+
export interface NotifyDataStoreOwnersConfig {
|
|
47
|
+
message?: string | undefined;
|
|
48
|
+
}
|
|
46
49
|
export interface PostToChannelConfig {
|
|
47
50
|
channelName: string;
|
|
48
51
|
microsoftTeamsTeamId?: string | undefined;
|
|
@@ -154,6 +154,13 @@ function normalizeSecurityPlaybookStepConfig(action, rawConfig, label) {
|
|
|
154
154
|
}
|
|
155
155
|
return Object.assign({ userIds, teamIds }, (message ? { message } : {}));
|
|
156
156
|
}
|
|
157
|
+
case SecurityPlaybookAction_1.SecurityPlaybookActionType.NotifyDataStoreOwners: {
|
|
158
|
+
const message = readText(rawConfig, "message");
|
|
159
|
+
if (message.length > exports.SECURITY_PLAYBOOK_NOTE_MAX_LENGTH) {
|
|
160
|
+
throw new BadDataException_1.default(`${label}: the message is longer than ${exports.SECURITY_PLAYBOOK_NOTE_MAX_LENGTH} characters.`);
|
|
161
|
+
}
|
|
162
|
+
return message ? { message } : {};
|
|
163
|
+
}
|
|
157
164
|
case SecurityPlaybookAction_1.SecurityPlaybookActionType.PostToSlack:
|
|
158
165
|
case SecurityPlaybookAction_1.SecurityPlaybookActionType.PostToMicrosoftTeams: {
|
|
159
166
|
const channelName = readText(rawConfig, "channelName").replace(/^#/, "");
|
|
@@ -245,6 +252,8 @@ function normalizeSecurityPlaybookStepConfig(action, rawConfig, label) {
|
|
|
245
252
|
// Nothing to set: each reads what it acts on from the case.
|
|
246
253
|
case SecurityPlaybookAction_1.SecurityPlaybookActionType.PreserveEvidence:
|
|
247
254
|
case SecurityPlaybookAction_1.SecurityPlaybookActionType.FixWithAi:
|
|
255
|
+
case SecurityPlaybookAction_1.SecurityPlaybookActionType.BlockDataStorePublicAccess:
|
|
256
|
+
case SecurityPlaybookAction_1.SecurityPlaybookActionType.RevokeDataStoreSharing:
|
|
248
257
|
return {};
|
|
249
258
|
}
|
|
250
259
|
}
|
|
@@ -15,7 +15,14 @@ const SecurityEntity_1 = require("../SecurityCase/SecurityEntity");
|
|
|
15
15
|
* domain. A containment step reports a protected target as protected, and
|
|
16
16
|
* neither it nor an approver can act on it.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
/*
|
|
19
|
+
* The kinds of entity containment acts on, and so the ones a project
|
|
20
|
+
* protects. A data store is neither: the steps that close a store's
|
|
21
|
+
* exposure (Block public access to data stores, Revoke data store sharing)
|
|
22
|
+
* change how it is shared, never cut anyone off, and a store meant to be
|
|
23
|
+
* public is protected where it is described - marked public by design in
|
|
24
|
+
* its Settings, which those steps leave alone.
|
|
25
|
+
*/
|
|
19
26
|
exports.PROTECTED_ENTITY_TYPES = [
|
|
20
27
|
SecurityEntity_1.SecurityEntityType.User,
|
|
21
28
|
SecurityEntity_1.SecurityEntityType.Host,
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const EXCEPTION_AI_DIGEST_VERSION: number;
|
|
2
|
+
export declare const EXCEPTION_DIGEST_WINDOW_HOURS: number;
|
|
3
|
+
export declare const MAX_DIGEST_EXCEPTIONS: number;
|
|
4
|
+
export declare enum ExceptionDigestKind {
|
|
5
|
+
New = "new",
|
|
6
|
+
Regressed = "regressed"
|
|
7
|
+
}
|
|
8
|
+
export declare enum ExceptionDigestPriority {
|
|
9
|
+
High = "high",
|
|
10
|
+
Medium = "medium",
|
|
11
|
+
Low = "low"
|
|
12
|
+
}
|
|
13
|
+
export interface ExceptionDigestItem {
|
|
14
|
+
telemetryExceptionId: string;
|
|
15
|
+
kind: ExceptionDigestKind;
|
|
16
|
+
exceptionType: string;
|
|
17
|
+
summary: string;
|
|
18
|
+
priority: ExceptionDigestPriority;
|
|
19
|
+
}
|
|
20
|
+
export interface ExceptionAIDigest {
|
|
21
|
+
version: number;
|
|
22
|
+
headline: string;
|
|
23
|
+
items: Array<ExceptionDigestItem>;
|
|
24
|
+
}
|
|
25
|
+
export declare const MAX_DIGEST_HEADLINE_LENGTH: number;
|
|
26
|
+
export declare const MAX_DIGEST_ITEM_SUMMARY_LENGTH: number;
|
|
27
|
+
export declare const MAX_DIGEST_EXCEPTION_TYPE_LENGTH: number;
|
|
28
|
+
export declare function boundedDigestText(value: unknown, max: number): string;
|
|
29
|
+
export declare function readDigestPriority(value: unknown): ExceptionDigestPriority;
|
|
30
|
+
export declare function sortDigestItems(items: Array<ExceptionDigestItem>): Array<ExceptionDigestItem>;
|
|
31
|
+
export declare function readExceptionAIDigest(value: unknown): ExceptionAIDigest | null;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const EXCEPTION_AI_DIGEST_VERSION: number;
|
|
2
|
+
export declare const EXCEPTION_DIGEST_WINDOW_HOURS: number;
|
|
3
|
+
export declare const MAX_DIGEST_EXCEPTIONS: number;
|
|
4
|
+
export declare enum ExceptionDigestKind {
|
|
5
|
+
New = "new",
|
|
6
|
+
Regressed = "regressed"
|
|
7
|
+
}
|
|
8
|
+
export declare enum ExceptionDigestPriority {
|
|
9
|
+
High = "high",
|
|
10
|
+
Medium = "medium",
|
|
11
|
+
Low = "low"
|
|
12
|
+
}
|
|
13
|
+
export interface ExceptionDigestItem {
|
|
14
|
+
telemetryExceptionId: string;
|
|
15
|
+
kind: ExceptionDigestKind;
|
|
16
|
+
exceptionType: string;
|
|
17
|
+
summary: string;
|
|
18
|
+
priority: ExceptionDigestPriority;
|
|
19
|
+
}
|
|
20
|
+
export interface ExceptionAIDigest {
|
|
21
|
+
version: number;
|
|
22
|
+
headline: string;
|
|
23
|
+
items: Array<ExceptionDigestItem>;
|
|
24
|
+
}
|
|
25
|
+
export declare const MAX_DIGEST_HEADLINE_LENGTH: number;
|
|
26
|
+
export declare const MAX_DIGEST_ITEM_SUMMARY_LENGTH: number;
|
|
27
|
+
export declare const MAX_DIGEST_EXCEPTION_TYPE_LENGTH: number;
|
|
28
|
+
export declare function boundedDigestText(value: unknown, max: number): string;
|
|
29
|
+
export declare function readDigestPriority(value: unknown): ExceptionDigestPriority;
|
|
30
|
+
export declare function sortDigestItems(items: Array<ExceptionDigestItem>): Array<ExceptionDigestItem>;
|
|
31
|
+
export declare function readExceptionAIDigest(value: unknown): ExceptionAIDigest | null;
|