How to reference set conditions within infilters presented for data from the Azure JSON miner

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

How to reference set conditions within infilters presented for data from the Azure JSON miner

L0 Member

Objective - Create Processor which can take the mined Azure JSON feed and filter on prefixes from specific regions only. 

 

Issue - Region data is presented from the JSON file within dictionaries named "azure_name_list" & "azure_id_list" however I cannot find an example on the syntax to reference this. Could anyone help?

 

Log syntax from Azure JSON miner:

 

{
"confidence": 100,
"azure_system_service_list": [
""
],
"azure_platform_list": [
"azure"
],
"azure_region": "",
"share_level": "green",
"azure_id": "AzureCloud",
"sources": [
"AzureCloudIPsWithServiceTags"
],
"azure_name": "AzureCloud",
"azure_name_list": [
"azurecloud",
"azurecloud.northeurope"
],
"azure_id_list": [
"azurecloud",
"azurecloud.northeurope"
],
"azure_region_list": [
"",
"northeurope"
],
"azure_system_service": "",
"first_seen": 1579249378925,
"azure_platform": "Azure",
"type": "IPv4",
"last_seen": 1579249378925
}

 

------------------------------

Infilter script

 

infilters:
- actions:
- accept
conditions:
- __method == 'withdraw'
name: Accept Withdraws
- actions:
- accept
conditions:
- share_level == 'green'
- type == 'IPv4'
- azure_name == 'AzureCloud'
- azure_id_list == 'AzureCloud.northeurope'
- azure_platform == 'Azure'
name: North Europe
- actions:
- drop
name: drop all
whitelist_prefixes:
- wl

0 REPLIES 0
  • 1671 Views
  • 0 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!