From c610069f9b71683ded18fe9b7ae8c1cd2edc6f47 Mon Sep 17 00:00:00 2001 From: Thomas Patzke Date: Mon, 28 Oct 2024 23:04:12 +0100 Subject: [PATCH] Fixed condition imports --- sigma/processing/conditions/__init__.py | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/sigma/processing/conditions/__init__.py b/sigma/processing/conditions/__init__.py index 87ad7ae8..fa021cea 100644 --- a/sigma/processing/conditions/__init__.py +++ b/sigma/processing/conditions/__init__.py @@ -1,9 +1,35 @@ from sigma.processing.conditions.base import ( + ProcessingCondition, DetectionItemProcessingCondition, + FieldNameProcessingCondition, RuleProcessingCondition, ) from typing import Dict +from sigma.processing.conditions.fields import ExcludeFieldCondition, IncludeFieldCondition +from sigma.processing.conditions.rule import ( + IsSigmaCorrelationRuleCondition, + IsSigmaRuleCondition, + LogsourceCondition, + RuleAttributeCondition, + RuleContainsDetectionItemCondition, + RuleContainsFieldCondition, + RuleTagCondition, +) +from sigma.processing.conditions.state import ( + DetectionItemProcessingItemAppliedCondition, + DetectionItemProcessingStateCondition, + FieldNameProcessingItemAppliedCondition, + FieldNameProcessingStateCondition, + RuleProcessingItemAppliedCondition, + RuleProcessingStateCondition, +) +from sigma.processing.conditions.values import ( + ContainsWildcardCondition, + IsNullCondition, + MatchStringCondition, +) + rule_conditions: Dict[str, RuleProcessingCondition] = { "logsource": LogsourceCondition,