Hi!
I want to generate a rule that looks for the value of 'target.ip' field in a reference list.
I have 3 reference lists:
customer1_public_IPs
customer2_public_IPs
customer3_public_IPs
In my events, in the 'target.namespace' field comes the value of the customer (customer1 or customer2 or customer3).
What I want to achieve in my rule is that depending on the value that the event has in the 'target.namespace field', one list or another is consulted.
Something like the following:
$e.target.ip in %($e.target.namespace)_public_IPs
but that doesn't work.
The idea is to parameterize the query to the list and not to have to put a line for each customer because if in the future there are many more, it would not compensate to have to generate a line for each one of them.
What would be the right way to do it?
Thanks in advance.