Update Runtime Impacted Container Policy
GET/api/v31.02/policies/runtime/container/impacted
x-prisma-cloud-target-env: {"permission":"policyRuntimeContainer","saas":true,"self-hosted":true}
x-public: true
Returns the impacted images based on a given rule In the Console UI, you can see how it works by going to the Defend > Runtime > Container policy page and clicking the Show link.
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/impacted?ruleName={ruleName}'
For additional help with your ruleName
:
$ curl -k -G \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
--data-urlencode 'ruleName=Default - alert on suspicious runtime behavior' \
'https://<CONSOLE>/api/v<VERSION>/policies/runtime/container/impacted'
Request
Responses
- 200
- default