Download Serverless Function Scan Results
GET/api/v33.02/serverless/download
x-prisma-cloud-target-env: {"permission":"monitorServerless"}
Downloads all serverless scan reports in CSV format.
This endpoint maps to the CSV hyperlink in Monitor > Vulnerabilities > Functions > Scanned functions in the Console UI.
cURL Request
The following cURL command retrieves a list of all serverless resources monitored by Prisma Cloud Compute and saves the results in a CSV file called serverless.csv
:
$ curl -k \
-u <USER> \
-X GET \
'https://<CONSOLE>/api/v<VERSION>/serverless/download' \
> serverless.csv
A successful response displays the status of the download.
Request
Query Parameters
Offsets the result to a specific report count. Offset starts from 0.
Limit is the amount to fix.
Sorts the result using a key.
Sorts the result in reverse order.
Retrieves a list of cloud function IDs.
Retrieves a list of cloud controller addresses that contains the cloud functions.
Filters the result based on cloud runtimes.
Filters the result based on cloud function's versions.
Filters the result based on AWS Lambda Layers.
Filters result based on cloud functions that are connected and protected by a Defender.
Filters result based on compliance IDs.
Filters the result based on applied compliance rule name.
Filters result based on platforms (OS and architecture) such as Windows, Linux ARM x64, Linux x86, and so on.
Retrieves the result in the normalized form of low, medium, high, and critical based on vulnerability's severity level. Default is false.
Possible values: [vulnerabilities,compliance,
]
Filters results by issue type.
Responses
- 200
- default
OK