2018-09-26 10:53 AM
Hello all,
I'm trying to create an ESA rule, based on a list. The problem is that the ip_dstport is in integer and not in string, and the auto conversion is forbidden. Anyone knows a way to convert the ip_dstport in string inside the rule?
2018-09-26 11:20 AM
It sounds like the cast function should work for you.
cast(ip_dstport, string)
2018-09-26 11:20 AM
It sounds like the cast function should work for you.
cast(ip_dstport, string)
2018-09-27 05:38 AM
Hello Angela,
Thank you. It worked! For other people that have the same question, here's the function working:
EXISTS (SELECT * FROM $Table WHERE (LIST = cast(Event.ip_dstport, string)))