Skip to content

Commit 1f1e821

Browse files
committed
Cortex XSIAM, add escape to equal_modifier method
1 parent 4b2c89c commit 1f1e821

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uncoder-core/app/translator/platforms/palo_alto/renders/cortex_xsiam.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ class CortexXSIAMFieldValue(BaseQueryFieldValue):
3838

3939
def equal_modifier(self, field: str, value: DEFAULT_VALUE_TYPE) -> str:
4040
if isinstance(value, list):
41-
values = ", ".join(f'"{v}"' for v in value)
41+
values = ", ".join(f'"{self.apply_value(v)}"' for v in value)
4242
return f"{field} in ({values})"
4343
if isinstance(value, int):
4444
return f"{field} = {value}"
45-
return f'{field} = "{value}"'
45+
return f'{field} = "{self.apply_value(value)}"'
4646

4747
def less_modifier(self, field: str, value: Union[int, str]) -> str:
4848
return f"{field} < {value}"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy