Add an Input Validation rule

Cloudlets rules determine what Input Validation does when an incoming request meets a set of criteria. You can use Cloudlets Policy Manager to add rules, or you can add them using a CSV file.

How to

  1. Go to > CDN > Edge logic Cloudlets.
  2. On the Cloudlet Policies screen, click the name of the policy you want to add rules to.
  3. On the Policy Details screen, click the version you want to update or click Create New Version.
  4. On the Version Details screen, click Add Rule.
  5. Complete these fields on the Create a Rule screen:
    Field Description
    Rule Name Name this rule.
    Always On Select if the rule is always applied. If deselected, fields appear for entering the start and end times.
    Start Date/Time Enter the start date and time for the rule.
    End Date/Time Enter the end date and time for the rule.
    Match definition (IF section)
    Match Type Select the match type to use for this rule.

    Enter any operators or match criteria needed for the match type you choose.

    See Cloudlets Match Types for more information.

    Input validation (AND THE FORM DATA DOES NOT MATCH section)
    Field Name/Value Select this match to set valid field names and values for the form data in the request.

    You can use regex matches for the field name and value to match on.

    Number of Fields Select this match to set how many fields should be included in a request's form data.
    Note: There is no THEN section for this rule. The Input Validation behavior in Property Manager defines the penalty actions for requests that fail.
  6. If you want to add another rule, click + in the match section.
  7. Click Save Rule. The new rule displays first on the Version Details screen.
    Important: Cloudlets Policy Manager evaluates rules from top to bottom with the first match winning.