API ip-geo D&R Rule - 2

The ticket titled “API ip-geo D&R Rule“ is locked, so I am starting a new thread.

I have implemented the updated D&R rule (from the previous ticket) and it is still matching US IPs.

I have a rule that only excludes US IPs and it works as expected (matches non-US IPs). So the API lookup is working.

hmmm, can you share the rule that’s not working here again? Just so we have the most up to date version all in context?

Here is the rule:

event: UserLoggedIn
metadata_rules:
  op: and
  rules:
    - case sensitive: false
      not: true
      op: is
      path: event/country/iso_code
      value: US
    - case sensitive: false
      not: true
      op: is
      path: event/country/iso_code
      value: CA
op: lookup
path: event/ActorIpAddress
resource: lcr://api/ip-geo