Skip to main content

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

    offset integer

    Offsets the result to a specific report count. Offset starts from 0.

    limit integer

    Limit is the amount to fix.

    sort string

    Sorts the result using a key.

    reverse boolean

    Sorts the result in reverse order.

    id string[]

    Retrieves a list of cloud function IDs.

    cloudControllerAddresses string[]

    Retrieves a list of cloud controller addresses that contains the cloud functions.

    runtime string[]

    Filters the result based on cloud runtimes.

    version string[]

    Filters the result based on cloud function's versions.

    functionLayers string[]

    Filters the result based on AWS Lambda Layers.

    defended boolean

    Filters result based on cloud functions that are connected and protected by a Defender.

    complianceIDs int[]

    Filters result based on compliance IDs.

    complianceRuleName string

    Filters the result based on applied compliance rule name.

    platform string[]

    Filters result based on platforms (OS and architecture) such as Windows, Linux ARM x64, Linux x86, and so on.

    normalizedSeverity boolean

    Retrieves the result in the normalized form of low, medium, high, and critical based on vulnerability's severity level. Default is false.

    issueType string

    Possible values: [vulnerabilities,compliance,]

    Filters results by issue type.

Responses

Schema
  • Array [
  • string

  • ]
Loading...