Creating a Policy with Advanced Rule (Simple Rules)

The advanced rule feature enables administrators to control access to applications by defining specific conditions. Admins can create rules based on criteria such as time (hourly, daily, or weekly), IP address location, and IP address CIDR. If users do not meet these criteria, their access is denied, which enhances the security of applications. This feature allows organizations to tailor access rules for critical applications, ensuring stronger protection.

To implement this feature, follow these two steps:

  1. Create the rule: Define the access conditions.
  2. Apply the rule to the policy: Enforce the rule within the appropriate policy.

Create the Rule

  1. Navigate to Settings > ZTNA > Policies> Rules (Simple) > New Rules (Simple)
  2. Once clicked, it will expand all the option for simple rule that can be used

    There are six available categories for creating a simple rule:
    Time : Allows application access between a specific start and end time each day
    Week : Allows application access on specific days of the week (Sun-Sat)
    Day : Allows application access on specific days of the month (1-31)
    Week & Time : Allows application access on specific days of the week (Sun-Sat) between a start and end time
    Location : Allows access if the user matches a specific IP address and location
    IP Address : Allows access if the user matches a specific IP address or CIDR
  3. Input the rule name; it's mandatory and must be unique compared to other policies. There is also a toggle status that can be used to enable the rule.
  4. Choose simple rule category (Check step 4 for details) and input your specific time or day or IP address. In this article, the "Time" category is used as an example.
    image-png-Dec-13-2023-04-09-35-6624-PM
  5. After completing all mandatory fields, click Save.
  6. The newly created rule will appear on the "Rules (Simple)" page.

Apply the rule to the policy

  1. After creating an Advanced Rule (Simple), you can apply it in Policies. Navigate to Settings > ZTNA > Policies > New Policy, it will expand all the option for policy that can be use for application authorization. Fill out policy name, users and applications that are included in this policy, and the advanced rules that are used in this policy. 
  2. Click save.