New Azure/GCP/AWS projects taking up to 24 hours to appear

New Azure/GCP/AWS projects taking up to 24 hours to appear

95
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:04 PM


Objective


To expedite that process, you can use an API call to SCA via POST request to /policies/discovery



Environment


Secure Cloud Access (SCA)

Procedure


First, you will need to authenticate with the service account credentials to generate a Oauth2 token. Please see: ISPSS authentication prerequisites

 

Note: You will need to add the service account into SCAApiFullAccess role in Idira Identity for the service account to be able to call SCA APIs.

 

Once you have the token, you will need to send a POST request using it:

 

POST https://{{ispss_subdomain}}.sca.cyberark.cloud/api/policies/discovery

(Replace {{ispss_subdomain}} with your own subdomain)

 

You will need to include the following payload in body:

{
  "csp": "AZURE",
  "organization_id": "ORG_ID",
  "account_info": {
    "id": "ACCT_ID",
    "new_account": false
  }
}

 

You'll want to adjust the following parameters in the payload:

  • Replace the value in csp to one of the following: AWS, GCP, AZURE
  • Replace the value with your own organization ID and account ID.
  • Set new_account as True or False accordingly.

 

The expected response should be:

{
  "status": 200,
  "job_id": "ded2f779-9868-499d-91ed-d5bf170f4582"
}

 

For more information on the API endpoint, please go to: SCA policy APIs

 



Actions
  • Print
  • Copy Link

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