Azure Active Directory IP ranges

L0 Member

Azure Active Directory IP ranges

Hi all, 


I'm trying to use Minemeld to create an EDL that includes only the IP address ranges used by Azure AD.

I've tried a few things, but can't seem to get it to work.


My current setup is as follows


Miner = cloudIPsWithServiceTags

Processor = based on stdlib_aggregatorIPv4Generic but using the following config


-   actions:
    - accept
    - __method == 'withdraw'
    name: accept withdraws
-   actions:
    - accept
    - type == 'IPv4'
    - azure_system_service == 'AzureAD'
    name: accept IPv4
- wl


Output = feedHCGreen


The current config kinda works. It returns 7 IP address ranges, instead of the 158 that are included in the JSON. I think what is happening is that it only returns the ones that are unique to the AzureActiveDirectory name space. All the others are duplicated elsewhere in the JSON. Any ideas for how to get it to output all the values that are shown under AzureActiveDirectory, not just the unique ones?




The output I am currently getting is:


I've also tried to modify the miner by using the following, but neither seem to work. They return all the indicators.


extractor: values[?id=='AzureActiveDirectory'].properties[].addressPrefixes[]
extractor: values[?id=='AzureActiveDirectory']


Any help would be appreciated


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!