Skip to content

Azure IPs and Service Tags provided using static URLs, individual files per Service Tag and versioned files for use within KQL queries, etc.

Notifications You must be signed in to change notification settings

maciejporebski/azure-ips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure IP Ranges and Service Tags – Public Cloud

Azure IPs and Service Tags provided using static URLs, individual files per Service Tag and versioned files for use within KQL queries, etc.

Latest Version

The following file tracks the current version:

ServiceTags_Public_Latest.json

Service Tag-Specific Files

Each Service Tag is broken down into a number of individual files, containing:

  • serviceTag.json: Full Service Tag json
  • ips.json: A JSON array of all IPv4 and IPv6 addresses belonging to the Service Tag
  • ipv4.json: A JSON array of just IPv4 addresses belonging to the Service Tag
  • ipv6.json: A JSON array of just IPv6 addresses belonging to the Service Tag

Service-Tag-specific files are located in the serviceTags directory, with a sub-directory named after the Service Tag's ID:

  • serviceTags
    • <service-tag-id>
      • ips.json
      • ipv4.json
      • ipv6.json

eg. files for the AzureCloud are found under:

Using in KQL

let FrontDoorBackendIps = toscalar(
    externaldata(IPs: dynamic)
    [
        'https://raw.githubusercontent.com/maciejporebski/azure-ips/refs/heads/main/serviceTags/AzureFrontDoor.Backend/ipv4.json'
    ]
    with (format = 'raw')
    | mv-expand IPs
    | summarize make_list(IPs)
);
StorageBlobLogs
| extend SourceIp = tostring(split(CallerIpAddress,":")[0])
| extend IsFrontDoor = ipv4_is_in_any_range(SourceIp, FrontDoorBackendIps)

About

Azure IPs and Service Tags provided using static URLs, individual files per Service Tag and versioned files for use within KQL queries, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published