Generate Serverless Bundle for Defender
POST/api/v31.02/defenders/serverless/bundle
x-prisma-cloud-target-env: {"permission":"manageDefenders","saas":true,"self-hosted":true}
x-public: true
Downloads a ZIP file with serverless Defender bundle.
cURL Request
Refer to the following example cURL command:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/octet-stream' \
-o serverless_bundle.zip \
-X POST \
-d '{"provider": ["aws"], "runtime": ["nodejs14.x"]}' \
"https://<CONSOLE>/api/v<VERSION>/defenders/serverless/bundle"
Request
Responses
- 200
- default
OK