Skip to main content

Download Cloud Discovery Scan Results

GET 

/api/v22.12/cloud/discovery/download

x-prisma-cloud-target-env: {"permission":"monitorCloud","saas":true,"self-hosted":true}

Downloads all cloud scan data in a CSV file.

cURL Request

Refer to the following cURL example command:

$ curl -k \
-u <USER> \
-H 'Content-Type: text/csv' \
-X GET \
-o cloud-discovery.csv \
https://<CONSOLE>:8083/api/v<VERSION>/cloud/discovery/download

Request

Query Parameters

    offset integer

    Offset from the start of the list from which to retrieve documents.

    limit integer

    Number of documents to return.

    search string

    Search term.

    sort string

    Key on which to sort.

    reverse boolean

    Sort order.

    collections string[]

    Scopes the query by collection.

    provider string[]

    Scopes the query by cloud provider.

    accountIDs string[]

    Scopes the query by account ID.

    resourceIDs string[]

    Scopes the query by resource ID.

    region string[]

    Scopes the query by cloud region.

    fields string[]

    List of fields to retrieve.

    credentialID string[]

    CredentialID is the account filter.

Responses

OK

Loading...