I can block multiple countries in google cloud armor with below rule.
origin.region_code == "RU" || origin.region_code == "UA"
But it considers this rule to be having 2 expressions so I can block only 5 couontries per rule and will have to add additional rules to block additional countries.
Is there a way (like in_origin_regioncode) where I can provide a comma separated list of all countries I want to block in a single expression?
As you correctly pointed out, and as documented here, the currently custom rule limit is 5. The only workaround available to circumvent this is creating additional custom rules in order to implement additional country blocks.