【问题标题】:Is there a way to use Azure Logic Apps or Azure Function to grab Office365 IPs and convert them into Azure Firewall ruleset?有没有办法使用 Azure Logic Apps 或 Azure Function 来获取 Office365 IP 并将它们转换为 Azure 防火墙规则集?
【发布时间】:2022-10-06 14:10:56
【问题描述】:

我想知道是否有办法使用 Azure Logic Apps 或 Azure Function 来执行以下操作;

  1. https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7

    1. 仅过滤到 IPv4 地址并去除所有其余地址
    2. 使用 IPv4 地址列表并将其另存为 .CSV 文件
    3. 使用该 .CSV 文件并将其上传到 Azure 中的 IP 组
    4. 使用 IP-GROUP 并将其应用于 Azure 防火墙规则

    原因;这样,动态变化的 MS O365 IP 地址列表将每 15 天动态更新一次,因此 Azure 防火墙规则集也会自动更新。

  • 简单的答案是肯定的,你只需要做这项工作。

标签: networking azure-functions office365 azure-logic-apps


【解决方案1】:

是的,您可以使用this 作为灵感。

我最近创建了一个 PowerShell 脚本,它解析端点信息并将其输出到 terraform 文件中。管道每月运行脚本,然后运行 ​​terraform apply。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多