Rule Structure
The format is the JSON format. The rules take the form of rules composed of matches and behaviors. For example, here is a rule containing a single rule set:
{
"rules": [
{
"matches": [
{
"name": "url-extension",
"value": "jpg gif png"
}
],
"behaviors": [
{
"name": "ip-whitelist",
"value": "198.18.48.211"
}
]
}
]
}
This rule very simply denies access to all .jpg, .gif, and .png files requested from any IP address other than 198.18.48.211.