Get Container Compliance Policy
GET/api/v32.07/policies/compliance/container
x-prisma-cloud-target-env: {"permission":"policyContainers"}
Retrieves the compliance policy for running containers. A policy consists of ordered rules.
This endpoint maps to Defend > Compliance > Containers and images > Deployed 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/compliance/container'
A successful response returns a list of compliance rules in the policy.
Responses
- 200
- default
Policy represents a policy that should be enforced by the Auditor