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": "all",
"addrType": "all"
}
This command retrieves the egress IP addresses for each deployed Explicit Proxy location, the authentication cache service (ACS), and the network load balancers (relevant for explicit proxy deployments only).