Skip to main content

Get Serverless Vulnerability Policy

GET 

/api/v32.07/policies/vulnerability/serverless

x-prisma-cloud-target-env: {"permission":"policyServerless"}

Retrieves the vulnerability policy for serverless functions situated in your cloud provider's infrastructure. A policy consists of ordered rules.

This endpoint maps to Defend > Vulnerabilities > Functions in the Console UI.

cURL Request

Refer to the following example cURL command:

$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
'https://<CONSOLE>/api/v<VERSION>/policies/vulnerability/serverless'

A successful response contains a list of vulnerability rules in the policy.

Responses

Policy represents a policy that should be enforced by the Auditor