We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 634bccb commit c18dc0aCopy full SHA for c18dc0a
contentctl/objects/lookup.py
@@ -75,7 +75,7 @@ class Lookup(SecurityContentObject, abc.ABC):
75
# as a BOOL and this causes parsing to fail. As such, we will always
76
# convert this to a string if it is passed as a bool
77
default_match: Annotated[
78
- str, BeforeValidator(lambda dm: str(dm) if isinstance(dm, bool) else dm)
+ str, BeforeValidator(lambda dm: str(dm).lower() if isinstance(dm, bool) else dm)
79
] = Field(
80
default="",
81
description="This field is given a default value of ''"
0 commit comments