From f1bce1bdb2de7a59754a858c8e527e70693b9898 Mon Sep 17 00:00:00 2001 From: eric-forte-elastic Date: Mon, 30 Oct 2023 18:57:18 -0400 Subject: [PATCH] Linting --- eql/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eql/utils.py b/eql/utils.py index 4889116..ad2a766 100644 --- a/eql/utils.py +++ b/eql/utils.py @@ -68,6 +68,7 @@ def is_insensitive(): """Check if insensitivity is enabled.""" return CASE_INSENSITIVE + def is_cidr_pattern(cidr): """Check if a string is a valid CIDR notation.""" if "/" not in cidr: @@ -78,6 +79,7 @@ def is_cidr_pattern(cidr): except ValueError: return False + def fold_case(s): """Helper function for normalizing case for strings.""" if is_insensitive() and is_string(s):