diff --git a/bin/contentctl_project/contentctl_core/domain/entities/detection.py b/bin/contentctl_project/contentctl_core/domain/entities/detection.py index 2f534bcd51..bc9ed22270 100644 --- a/bin/contentctl_project/contentctl_core/domain/entities/detection.py +++ b/bin/contentctl_project/contentctl_core/domain/entities/detection.py @@ -142,11 +142,14 @@ class Detection(BaseModel, SecurityContentObject): @root_validator - def description_new_line_check(cls, values): - # Check if there is a new line in description that is not escaped + def new_line_check(cls, values): + # Check if there is a new line in description and how to implement that is not escaped pattern = r'(?