Get Serverless Function Names
GET/api/v32.07/serverless/names
x-prisma-cloud-target-env: {"permission":"monitorServerless"}
The following curl command uses basic auth to retrieve a list of names of all Serverless resources monitored by Prisma Cloud Compute:
$ curl -k \
-X GET \
-H "Content-Type: application/json" \
-u <USER> \
http://<CONSOLE>/api/v<VERSION>/serverless/names \
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
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
string
[
"string"
]