英文:
Using Powershell/Python to get all IP addresses connected to an Azure Tenant
问题
对于客户使用案例,我正在研究列出连接到Azure订阅的每个IP的方法。不是Azure资源的IP,而是例如外部计算机连接到订阅的情况,我希望在列表中包括这些情况,最好包括连接失败或被拒绝的情况。是否可以使用PowerShell、Python或其他任何语言来实现这一点?
编辑:澄清一下,我正在寻求获取某人尝试连接到订阅中资源组中托管的服务时的数据。
英文:
For a client use case, I am looking into ways to list every IP that has connected to an Azure Subscription. Not azure resource IPs, but for instance if an external computer has connected to the subscription, I want to include that in the list, ideally including failed or denied connections. Is there a way to do this with PowerShell or Python (or any other language for that matter)?
Edit: To clarify, I am looking to get data for when someone tries to connect to a service hosted in a resource group in the subscription.
答案1
得分: 0
为了回答这个问题,我最终使用了EventHubs将日志文件从事件中发送到我的存储容器。感谢大家的建议!
英文:
To answer this, I ended up using EventHubs to send log file from events to my storage container. Thanks all for the advice!
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论