- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-17-2020 08:09 AM
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
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!