request_control
- Property Manager name: Request Control Cloudlet
- Behavior version: The
v2024-05-31
rule format supports therequest_control
behavior v4.0. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: No (temporarily)
The Request Control Cloudlet allows you to control access to your web content based on the incoming request's IP or geographic location. With Cloudlets available on your contract, choose Your services > Edge logic Cloudlets to control how the feature works within Control Center, or use the Cloudlets API to configure it programmatically.
Option | Type | Description | Requires | |
---|---|---|---|---|
enabled | boolean | Enables the Request Control Cloudlet. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
is_shared_policy | boolean | Whether you want to apply the Cloudlet shared policy to an unlimited number of properties within your account. Learn more about shared policies and how to create them in Cloudlets Policy Manager. | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
cloudlet_policy | object | Identifies the Cloudlet policy. | is_shared_policy is false | {"displayType":"object","tag":"input","todo":true} {"if":{"attribute":"isSharedPolicy","op":"eq","value":false}} |
cloudlet_policy.id | number | Identifies the Cloudlet. | ||
cloudlet_policy.name | string | The Cloudlet's descriptive name. | ||
cloudlet_shared_policy | string | Identifies the Cloudlet shared policy to use with this behavior. Use the Cloudlets API to list available shared policies. | is_shared_policy is true | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"isSharedPolicy","op":"eq","value":true}} |
enable_branded403 | boolean | If enabled, serves a branded 403 page for this Cloudlet instance. | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
branded403status_code | enum | Specifies the response status code for the branded deny action. | enable_branded403 is true | {"displayType":"enum","options":["200","302","403","503"],"tag":"select"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true}]}} |
Supported values: 200 302 403 503 | ||||
net_storage | object | Specifies the NetStorage domain that contains the branded 403 page. | enable_branded403 is true AND branded403status_code is not 302 | {"displayType":"object","tag":"input","todo":true} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"neq","value":302}]}} |
net_storage.cpCode | integer | Identifies a CP code assigned to this storage group. | ||
net_storage.downloadDomainName | string | Domain name from which content can be downloaded. | ||
net_storage.g2oToken | string | Signature Header Authentication key. | ||
net_storage.id | integer | Unique identifier for the storage group. | ||
net_storage.name | string | Name of the storage group. | ||
branded403File | string | Specifies the full path of the branded 403 page, including the filename, but excluding the NetStorage CP code path component. | enable_branded403 is true AND branded403status_code is not 302 | {"displayType":"string","tag":"input","type":"text"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"neq","value":302}]}} |
branded403Url | string | Specifies the redirect URL for the branded deny action. | enable_branded403 is true AND branded403status_code is 302 | {"displayType":"string","tag":"input","type":"text"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"eq","value":302}]}} |
branded_deny_cache_ttl | number (5-30) | Specifies the branded response page's time to live in the cache, | enable_branded403 is true AND branded403status_code is not 302 | {"displayType":"number","max":[30],"min":[5],"tag":"input","type":"range"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableBranded403","op":"eq","value":true},{"attribute":"branded403StatusCode","op":"neq","value":302}]}} |
Updated 17 days ago