Prisma Cloud: What's The API Call to Generate External ID for AWS Role Trust Relationship?

Prisma Cloud: What's The API Call to Generate External ID for AWS Role Trust Relationship?

2821
Created On 07/27/22 00:31 AM - Last Modified 08/23/24 14:55 PM


Question


What's the API call to generate external ID for AWS role trust relationship?

Environment


  • Prisma Cloud
  • Rest API
  • Python
  • cURL
  • Postman


Answer


The following call to Prisma Cloud CSPM can be used to generate an external ID for AWS role trust relationship:
https://{{api-endpoint}}/cloud/aws/app_provisioner
Payload:
{
    "name":"testAPI",
    "protectionMode":"MONITOR",
    "storageScanEnabled":false
}


Additional Information


An External ID is required for you to be able to successfully onboard an AWS account via Prisma Cloud CSPM APIs.

Github Repo for Prisma Cloud Postman collection.
 


Actions
  • Print
  • Copy Link

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

Choose Language