Get Runtime Container Policy
GET/api/v33.02/policies/runtime/container
x-prisma-cloud-target-env: {"permission":"policyRuntimeContainer"}
Retrieves the runtime policy for containers protected by Defender. A policy consists of ordered rules.
This endpoint maps to Defend > Runtime > Container 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/container'
A successful response returns a list of runtime rules in the policy.
Responses
- 200
- default
ContainerPolicy represents a runtime policy enforced for a given running resource