Prisma-Azure RQL query to fetch public IPs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Prisma-Azure RQL query to fetch public IPs

L0 Member

I am able to see public IPs attached to azure Network interfaces but I am not able to fetch public IPs in a column. 

2 REPLIES 2

L0 Member

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.

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.

Customer Success Engineer | Prisma Cloud Compute | Moderator
  • 1809 Views
  • 2 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!