Get Runtime Serverless Policy
GET/api/v32.07/policies/runtime/serverless
x-prisma-cloud-target-env: {"permission":"policyRuntimeServerless"}
Retrieves the runtime policy for your serverless functions. A policy consists of ordered rules.
This endpoint maps to Defend > Runtime > Serverless policy 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/runtime/serverless'
A successful response returns a list of runtime rules in the policy.
Responses
- 200
- default
ServerlessPolicy represents a serverless runtime policy enforced for a given running resource