Add an Input Validation rule
- Go to .
- On the Cloudlet Policies screen, click the name of the policy you want to add rules to.
- On the Policy Details screen, click the version you want to update or click Create New Version.
- On the Version Details screen, click Add Rule.
Complete these fields on the
Create a Rule screen:
Field Description General 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.
- If you want to add another rule, click + in the match section.
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.