ARI icon indicating copy to clipboard operation
ARI copied to clipboard

Privatelink IPs

Open wingcomm opened this issue 1 year ago • 15 comments

This tool is AMAZING. Thank you for building it. Can we include the Privatelink IPs in use either as a separate tab or include them as a column on the resources to which they are bound?

wingcomm avatar Feb 16 '24 20:02 wingcomm

Hi @wingcomm,

That's a good idea. I just added it.

Can you try the script now? should be a new sheet name PvtEndpoint

Thanks

Claudio-Merola avatar Feb 17 '24 20:02 Claudio-Merola

Great! I did test it. It picked up our ARC private endpoint however it was unable to enumerate the private Endpoint IP Address tied to the NIC on our Azure SQL server. The row for the Azure SQL is present, but the "IP Address" column is blank.

wingcomm avatar Feb 18 '24 04:02 wingcomm

@wingcomm

For some reason some private endpoints don't have that information in place, I believe it has something to do with the date those private endpoint were created, anyways I managed to get that information from somewhere else and it should be fine now.

Can you try it and let me know if it works?

Claudio-Merola avatar Feb 19 '24 13:02 Claudio-Merola

@Claudio-Merola That worked! Thank you! We'll test with some more endpoints.

wingcomm avatar Feb 20 '24 03:02 wingcomm

@Claudio-Merola Thanks for the new functionality! It works fine for me too, except that the IPs addresses appear without the dots. In other tabs, the IPs appear fine.

drangelc avatar Feb 20 '24 12:02 drangelc

@drangelc I am not seeing that behavior at all. All of my IPv4s use fully dotted notation. (e.g. 1.2.3.4)

wingcomm avatar Feb 20 '24 16:02 wingcomm

@Claudio-Merola We're still missing a bunch of Private IPs assigned to Network Interfaces. We're only seeing 2 out of 9.

wingcomm avatar Feb 21 '24 08:02 wingcomm

@drangelc I am not seeing that behavior at all. All of my IPv4s use fully dotted notation. (e.g. 1.2.3.4)

In my case, the format is wrong

image

In other sheets it's correct

image

drangelc avatar Feb 22 '24 11:02 drangelc

@drangelc, I assume your Excel is converting the cell to number instead of general, can you check that? Also I believe there are some O.S configurations that might cause that behavior.

@wingcomm, what you mean? The Private Endpoint sheet is missing the IPs for some Private Endpoint?

Claudio-Merola avatar Feb 22 '24 13:02 Claudio-Merola

@Claudio-Merola

When I navigate here I see 10 Private Endpoint IPs : https://portal.azure.com/#view/HubsExtension/BrowseResource/resourceType/Microsoft.Network%2Fnetworkinterfaces

The Excel spreadsheet generated by ARI only lists 2.

It looks like we're missing of bunch of Virtual Machine private IPs.

wingcomm avatar Feb 22 '24 18:02 wingcomm

@wingcomm

But Network Interfaces are different resource types than Private Endpoints. When you go to: https://portal.azure.com/#view/Microsoft_Azure_Network/PrivateLinkCenterBlade/~/privateendpoints

Do you see the same number of the Excel sheet?

Claudio-Merola avatar Feb 22 '24 18:02 Claudio-Merola

Got it. I guess my end goal is to document all Private IP Usage on Azure Virtual Networks. Would this be better suited to a different sheet?

wingcomm avatar Feb 22 '24 19:02 wingcomm

@wingcomm

Like what you get in the "connected devices" in the VNET?

Claudio-Merola avatar Feb 22 '24 19:02 Claudio-Merola

@wingcomm

Like what you get in the "connected devices" in the VNET?

Correct, across all VNETs or by VNET.

wingcomm avatar Feb 22 '24 19:02 wingcomm

I have checked the format and it is correct. The strangest thing is that, if the private endpoint has more than one IP, it appears fine. I attach an example. image

drangelc avatar Mar 04 '24 10:03 drangelc

This Issue is stale and may be automatically close soon.

github-actions[bot] avatar Apr 03 '24 14:04 github-actions[bot]