Skip to main content

Get Runtime Host Policy

GET 

/api/v32.07/policies/runtime/host

x-prisma-cloud-target-env: {"permission":"policyRuntimeHosts"}

Retrieves the runtime policy for hosts protected by Defender. A policy consists of ordered rules.

This endpoint maps to Defend > Runtime > Host 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/host'

A successful response returns a list of runtime rules in the policy.

Responses

HostPolicy represents a host runtime policy enforced for a given running resource