Filtering Azure IP ranges based on a subset of regions?

Reply
Highlighted
L0 Member

Filtering Azure IP ranges based on a subset of regions?

I'm attempting to filter the azure.cloudIPs miner based on a subset of specific regions. I've customized IPv4 aggregators to specify individual regions (as shown below), and this works correctly. However what would the syntax be to filter on multiple regions?

 

ie, effectively something like azure_region == ['useast' or 'useast2']? I've tried a number of variations, but can't quite seem to make it work.

 

This is the syntax I have for a single region, and this does work:

 

accept withdraws
  • __method == 'withdraw'
  • accept
accept IPv4
  • type == 'IPv4'
  • azure_region == 'usnorth'
  • accept
drop all  
  • drop
L5 Sessionator

Re: Filtering Azure IP ranges based on a subset of regions?

Hi @mpetzold,

 

just add as many action lines as regions you want to capture before the "drop all" action line. Example of filter configuration to capture IPv4 indicators in regions useast and useast2

2018-01-04_09-56-46.png

 

 

 

L0 Member

Re: Filtering Azure IP ranges based on a subset of regions?

Ha, sure enough it's just that simple; I was over-complicating it.

 

Thanks @xhoms!

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!