Prisma Cloud: How to get the Subscriptions Page Information via API

Prisma Cloud: How to get the Subscriptions Page Information via API

752
Created On 04/05/24 19:20 PM - Last Modified 02/17/26 21:06 PM


Objective


How to access information provided in Prisma Cloud UI’s Subscriptions page via API

Subscriptions page location: User image(top right) > View Subscriptions
image.png



Environment


  • Prisma Cloud
  • Subscriptions


Procedure


API URL for subscriptions(features) status:
Steps

  1. Make the API call on Postman once you have your Prisma Cloud Postman collection installed.
https://<api-endpoint>/api/v1/provision/tenants/<Prisma ID>/features

Feature names on Prisma UI are not the same as the feature names in the API response.
Here is the list of correlating feature names.
UI Add-On Features > "feature_name" (API response field):

IAM security > "iam-security"

Code security > "bridgecrew"

Discovery and Exposure Management > "asm"

Data Security > "pcn"

Microsegmentation > "compute"

 

  1. (Optional API call) URL for day(s) remaining and other license info:
https://{{api-endpoint}}/license

 



Additional Information


The API call only returns the information(records) of previously activated subscriptions, whether or not they are presently enabled.

Scenario: If data security was never enabled then it will not appear in the API response. Only previously enabled features will be listed. For example, only the json object for iam-security will have a key-val pair of “enabled”: ”true”.

Note: You do not need the Postman collection to make this API call. Refer to the API docs for making this call from scratch.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000CrJfCAK&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language