Prisma Access IP Address Retrieval Using the API Examples
Focus
Focus

Prisma Access IP Address Retrieval Using the API Examples

Table of Contents

Prisma Access IP Address Retrieval Using the API Examples

Shows the examples of what you need to enter to run your API commands.
Use the following examples when entering keywords and arguments in the .txt file for the API command to retrieve Prisma Access infrastructure IP addresses. To change the output of the command, change the options in the .txt file; the command itself does not change.
Retrieve These IP AddressesSpecify These Parameters in the .txt FileComments
Mobile User IP Addresses
All mobile user IP Addresses
  {
"serviceType": "gp_gateway",
"addrType": "all",
"location": "all"
   }
An addrType of all means that Prisma Access retrieves all IP addresses for the locations you selected during mobile user onboarding.
A location of all means that Prisma Access retrieves IP addresses for all available locations, including ones that you have not onboarded. Prisma Access reserves non-onboarded location IP addresses so that you can add these IP addresses to your allow lists before you onboard them.
IP addresses for onboarded mobile user locations
  {
"serviceType": "gp_gateway",
"addrType": "all",
"location": "deployed"
   }
Or
  {
"serviceType": "gp_gateway",
"addrType": "active",
"location": "deployed"
   }
A location type of deployed means that Prisma Access retrieves only the IP addresses for the locations that you selected during mobile user onboarding.
Use either an addrType of all or active to retrieve these gateway IP addresses.
Remote Network IP Addresses
Retrieve all remote network IP addresses
  {
"serviceType": "remote_network",
"addrType": "all",
"location": "all"
   }
This command retrieves the public and egress IP addresses of remote networks you have onboarded. Do not use a location of deployed. You can use an addrType of active but it retrieves the same addresses as if you specified an addrType of all.
Clean Pipe IP Addresses
Retrieve all clean pipe IP addresses
  {
"serviceType": "clean_pipe",
"addrType": "all",
"location": "all"
   }
This command retrieves the public and egress IP addresses of clean pipes you have onboarded. Do not use a location of deployed. You can use an addrType of active but it retrieves the same addresses as if you specified an addrType of all.
Explicit Proxy IP Addresses
Retrieve the ACS IP addresses for deployed locations
{
"serviceType": "swg_proxy",
"location": "deployed",
"addrType": "auth_cache_service"
}
This command retrieves the ACS IP address for your explicit proxy deployment. Entering an addrType of all retrieves all address types (the ACS and the network load balancer IP addresses).