- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-28-2022 11:35 AM
I am able to see public IPs attached to azure Network interfaces but I am not able to fetch public IPs in a column.
09-28-2022 11:36 AM
I am using this query: config from cloud.resource where api.name = 'azure-vm-list' AND json.rule = ['properties.networkProfile'].networkInterfaces[*].publicIpAddress exists addcolumn ['properties.networkProfile'].networkInterfaces[*].ipConfigurations[*].publicIpAddress
Can anyone figure out how to add public Ips in a column so that I can download the list directly from Prisma.
09-29-2022 08:59 AM
The public IPs are included as a custom field. The UI hides the values behind a button, however when you download the CSV, the public IPs do appear in their own column named:
['properties.networkProfile'].networkInterfaces[*].ipConfigurations[*].publicIpAddress
I have tested this myself using your RQL query. Let me know if you have any further questions or if your downloaded file does not contain the public IPs field.
09-04-2024 11:36 AM
Hi I came across this old thread while researching this morning and figured I'd share a more comprehensive query that can be used to find public IP addresses in Azure that isn't restricted to just those assigned to a virtual machine. Give this a try:
config from cloud.resource where cloud.service = 'Azure Virtual Network' AND api.name = 'azure-network-public-ip-address' addcolumn properties.ipAddress properties.dnsSettings.fqdn
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!