getPageShieldPolicy
Get page shield policy by policy ID. See [eCDN PCI 4.0 Compliance Tools](https://developer.salesforce.com/docs/commerce/commerce-api/guide/cdn-pci-4-compliance.html).
Operation ID: getPageShieldPolicyGET
https://{shortCode}.api.commercecloud.salesforce.com/cdn/zones/v1/organizations/{organizationId}/zones/{zoneId}/page-shield/policies/{policyId}
Request
curl "https://{shortCode}.api.commercecloud.salesforce.com/cdn/zones/v1/organizations/{organizationId}/zones/{zoneId}/page-shield/policies/{policyId}"
Security
URI parameters
shortCode
string
Required
Default value:
shortCode
policyId
string
Required
zoneId
string
Required
organizationId
string
Required
An identifier for the organization the request is being made by
Minimum characters:
1
Maximum characters:
32
f_ecom_zzxy_prd
Responses
Successfully retrieved the details of the page shield policy.
{
"data": {
"action": "log",
"description": "example page shield policy",
"enabled": true,
"expression": "ends_with(http.request.uri.path, \"/test1\")",
"value": "script-src 'none'",
"id": "7650c87c9c2846c296ea4564ba46ebca"
}
}
Body
Media type:
application/json
data
object
Required
Page shield policy response.